basic encoding

View previous topic View next topic Go down

basic encoding

Post by Skembri on 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


"Though a million endings, you will only ever have one journey"

avatar
Skembri
Admiral
Admiral

Posts : 2086
Join date : 2009-08-09
Age : 23

http://www.thebrokenmirror.webs.com

Back to top Go down

Re: basic encoding

Post by SilverShadows on Fri Oct 09, 2009 5:44 am

buttons are something like on mouse click


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: basic encoding

Post by Skembri on Fri Oct 09, 2009 5:46 am

i thought they where onRelease{
gotoAndPlay(602)
}
yet it sed a syntax error or sumin


"Though a million endings, you will only ever have one journey"

avatar
Skembri
Admiral
Admiral

Posts : 2086
Join date : 2009-08-09
Age : 23

http://www.thebrokenmirror.webs.com

Back to top Go down

Re: basic encoding

Post by SilverShadows on Fri Oct 09, 2009 5:50 am

no im pretty sure its on mouse click did you turn it into a button


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: basic encoding

Post by Skembri on 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


"Though a million endings, you will only ever have one journey"

avatar
Skembri
Admiral
Admiral

Posts : 2086
Join date : 2009-08-09
Age : 23

http://www.thebrokenmirror.webs.com

Back to top Go down

Re: basic encoding

Post by SilverShadows on Fri Oct 09, 2009 5:57 am

why dont just take the actionscript from somewhere else


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: basic encoding

Post by Skembri on 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


"Though a million endings, you will only ever have one journey"

avatar
Skembri
Admiral
Admiral

Posts : 2086
Join date : 2009-08-09
Age : 23

http://www.thebrokenmirror.webs.com

Back to top Go down

Re: basic encoding

Post by SilverShadows on Fri Oct 09, 2009 6:00 am

then goto a website which tells you how to write actionscript


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: basic encoding

Post by Skembri on Fri Oct 09, 2009 6:06 am

they all cost Smile


"Though a million endings, you will only ever have one journey"

avatar
Skembri
Admiral
Admiral

Posts : 2086
Join date : 2009-08-09
Age : 23

http://www.thebrokenmirror.webs.com

Back to top Go down

Re: basic encoding

Post by Skembri on Fri Oct 09, 2009 6:48 am

on (release) {

gotoAndPlay(3);

}

thats it


"Though a million endings, you will only ever have one journey"

avatar
Skembri
Admiral
Admiral

Posts : 2086
Join date : 2009-08-09
Age : 23

http://www.thebrokenmirror.webs.com

Back to top Go down

Re: basic encoding

Post by SilverShadows on Fri Oct 09, 2009 6:55 am

yeh or mouse click


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: basic encoding

Post by Galactic Crimanal on Sun Nov 15, 2009 6:38 pm

i see theres nothing to add permisson to lock
avatar
Galactic Crimanal
Lieutenant
Lieutenant

Posts : 126
Join date : 2009-10-28
Age : 30
Location : New New New New New New Cooland

http://www.vexxiang.com

Back to top Go down

Re: basic encoding

Post by SilverShadows on 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


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: basic encoding

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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