4/21/08
In Class Tue Apr 22nd
Actionscript Review
Frame Actions:
var = ?
ex. var A1 = 10;
Button Actions:
on (release) {
}
ex. on (release) { gotoAndPlay(800);}
Button or Frame Actions:
stop();
ex. stop();
if (comparison) { statement }
ex. if(x == 10) {loadMovieNum("http://www.josephvonstengel.com", 60); }
loadMovieNum("url", level);
ex. loadMovieNum("http://www.josephvonstengel.com", 100);
unloadMovieNum(level);
ex. unloadMovieNum(70);
getURL("url", blank or self);
ex. getURL("http://www.culturerecycling.com", self);
gotoAndPlay(frame#);
ex. gotoAndPlay(69);
random(#);
ex. a = random(9)+1;
ex. x = random(50) - random(y);
ex. z = random(x)-y+10;
Lets look at examples:
theyrule
joes examples
How to backwards engineer an FLA
Frame Actions:
var = ?
ex. var A1 = 10;
Button Actions:
on (release) {
}
ex. on (release) { gotoAndPlay(800);}
Button or Frame Actions:
stop();
ex. stop();
if (comparison) { statement }
ex. if(x == 10) {loadMovieNum("http://www.josephvonstengel.com", 60); }
loadMovieNum("url", level);
ex. loadMovieNum("http://www.josephvonstengel.com", 100);
unloadMovieNum(level);
ex. unloadMovieNum(70);
getURL("url", blank or self);
ex. getURL("http://www.culturerecycling.com", self);
gotoAndPlay(frame#);
ex. gotoAndPlay(69);
random(#);
ex. a = random(9)+1;
ex. x = random(50) - random(y);
ex. z = random(x)-y+10;
Lets look at examples:
theyrule
joes examples
How to backwards engineer an FLA
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment