Broken Mirror
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
Skembri
Skembri
Admiral
Admiral
Posts : 2086
Join date : 2009-08-09
Age : 30
http://www.thebrokenmirror.webs.com

basic encoding Empty basic encoding

Fri Oct 09, 2009 5:41 am
ive got a bad memory i need to know some flash things such as on as2 what is the code for a button

here are the ones i know off the top of my head, i think iwe should to help other members out aswell put code on here and explain wht it does E.g.

stop(); stops the timeline completely

gotoAndPlay(insert frame number) goes to the specified frame you told it to and plays from there

gotoAndStop(insert frame number) goes to and stops on the specified frame

stopAllSounds(); stops all sounds that are playing

these are very basic but are very handy and there like not anywherwe as no one puts themm up cos they are so basic
SilverShadows
SilverShadows
Admin
Admin
Posts : 6708
Join date : 2009-08-09
Age : 30
Location : Guildford, United kingdom
https://brokenmirror.forumotion.co.uk

basic encoding Empty Re: basic encoding

Fri Oct 09, 2009 5:44 am
buttons are something like on mouse click
Skembri
Skembri
Admiral
Admiral
Posts : 2086
Join date : 2009-08-09
Age : 30
http://www.thebrokenmirror.webs.com

basic encoding Empty Re: basic encoding

Fri Oct 09, 2009 5:46 am
i thought they where onRelease{
gotoAndPlay(602)
}
yet it sed a syntax error or sumin
SilverShadows
SilverShadows
Admin
Admin
Posts : 6708
Join date : 2009-08-09
Age : 30
Location : Guildford, United kingdom
https://brokenmirror.forumotion.co.uk

basic encoding Empty Re: basic encoding

Fri Oct 09, 2009 5:50 am
no im pretty sure its on mouse click did you turn it into a button
Skembri
Skembri
Admiral
Admiral
Posts : 2086
Join date : 2009-08-09
Age : 30
http://www.thebrokenmirror.webs.com

basic encoding Empty Re: basic encoding

Fri Oct 09, 2009 5:51 am
yeer im doing the actionscript onto the button itself or should it be on the frame or what
SilverShadows
SilverShadows
Admin
Admin
Posts : 6708
Join date : 2009-08-09
Age : 30
Location : Guildford, United kingdom
https://brokenmirror.forumotion.co.uk

basic encoding Empty Re: basic encoding

Fri Oct 09, 2009 5:57 am
why dont just take the actionscript from somewhere else
Skembri
Skembri
Admiral
Admiral
Posts : 2086
Join date : 2009-08-09
Age : 30
http://www.thebrokenmirror.webs.com

basic encoding Empty Re: basic encoding

Fri Oct 09, 2009 5:58 am
all my flash folders on my EXT HD of which my parents are using to backup there pc's
SilverShadows
SilverShadows
Admin
Admin
Posts : 6708
Join date : 2009-08-09
Age : 30
Location : Guildford, United kingdom
https://brokenmirror.forumotion.co.uk

basic encoding Empty Re: basic encoding

Fri Oct 09, 2009 6:00 am
then goto a website which tells you how to write actionscript
Skembri
Skembri
Admiral
Admiral
Posts : 2086
Join date : 2009-08-09
Age : 30
http://www.thebrokenmirror.webs.com

basic encoding Empty Re: basic encoding

Fri Oct 09, 2009 6:06 am
they all cost Smile
Skembri
Skembri
Admiral
Admiral
Posts : 2086
Join date : 2009-08-09
Age : 30
http://www.thebrokenmirror.webs.com

basic encoding Empty Re: basic encoding

Fri Oct 09, 2009 6:48 am
on (release) {

gotoAndPlay(3);

}

thats it
SilverShadows
SilverShadows
Admin
Admin
Posts : 6708
Join date : 2009-08-09
Age : 30
Location : Guildford, United kingdom
https://brokenmirror.forumotion.co.uk

basic encoding Empty Re: basic encoding

Fri Oct 09, 2009 6:55 am
yeh or mouse click
Galactic Crimanal
Galactic Crimanal
Lieutenant
Lieutenant
Posts : 126
Join date : 2009-10-28
Age : 37
Location : New New New New New New Cooland
http://www.vexxiang.com

basic encoding Empty Re: basic encoding

Sun Nov 15, 2009 6:38 pm
i see theres nothing to add permisson to lock
SilverShadows
SilverShadows
Admin
Admin
Posts : 6708
Join date : 2009-08-09
Age : 30
Location : Guildford, United kingdom
https://brokenmirror.forumotion.co.uk

basic encoding Empty Re: basic encoding

Sun Nov 15, 2009 11:56 pm
you only lock when someone has necroed like youve just done if it dies just leave it sith
Sponsored content

basic encoding Empty Re: basic encoding

Back to top
Permissions in this forum:
You cannot reply to topics in this forum