Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
Level Codes (to skip to a level)
Author: Dan H.
The Action Script: How it works...
Here is the actual code we will be examining:
on (release) {
if (_root.code == "pigs") {
gotoAndStop(2)
}
}
=======================
=======================
on (release) {
=======================
On the release of the click on me...
=======================
if (_root.code == "pigs") {
=======================
If the text in the input box called
code is
pigs, then...
=======================
gotoAndStop(2)
=======================
Go to the frame number 2 on the timeline.
=======================
}
=======================
End what happens if the text in the input box called
code is
pigs.
=======================
}
=======================
End what happens on the release of the click on me.
Very simple. Please, do not hesitate to e-mail me if you have a problem. This is my first tutorial, so I hope I did a good job!
Thank you for reading. :)
Dan H
| » Level Intermediate |
|
|
Added: : 2006-03-28
Rating: 6.00 Votes: 5
Hits: 475
|
| » Author |
|
Umm...12 yrs old...
|
| » Download |
|
Download the files used in this tutorial.
|
|
Download (0 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|