Category:Learn Flash
From Flash Wiki
Learning Flash is Easy. Once you get the hang of it, No one can stop you.
[edit] Basics
This are some of the easiest AS. It's the timeline control. You can insert this into the frame or a button. These are some examples:
Insert this in a frame to stop the timeline
stop();
Insert this in a frame to make the timeline go to a specific frame
gotoAndPlay(1); //You can replace 1 with any number. You can also replace Play with Stop
If you want a button to do these commands. Insert them like this:
on(press) { //you can change press with release or rollOver
_root.play() //you can change play with stop or gotoAndPlay or gotoAndStop
}
You can also direct the browser to another website:
on(press) {
getURL("www.anywebsiteyowant.com",_blank)
}
That will take you to www.anywebsiteyouwant.com I think that should roughly cover all the basics.
Pages in category "Learn Flash"
The following 2 pages are in this category, out of 2 total.
