Showing posts with label actionscript. Show all posts
Showing posts with label actionscript. Show all posts
3/19/08
In Class Thur Mar 20th
Lets look at what we need to make a Flash website again!
- SWFs on different levels that bring up and take away content as it is needed.
- Interaction can happen through keystrokes or buttons activated by the mouse.
- you will need the loadmovienum, unloadmovienum, geturl, on & stop actionscript commands
- all SWF's need to be the same size and frame rate (fps)
- 'Levels' stack from level 0 on the bottom to level 999 on the top. Level 0 controls the size and fps of the SWF's on all the other levels
More Advanced ActionScript
- variables var = ?
- lets randomize things random(#);
- test for action if (comparison) { statement }
ex. a = random(9)+1;
ex. x = random(50) - random(y);
ex. z = random(x)-y+10;
- SWFs on different levels that bring up and take away content as it is needed.
- Interaction can happen through keystrokes or buttons activated by the mouse.
- you will need the loadmovienum, unloadmovienum, geturl, on & stop actionscript commands
- all SWF's need to be the same size and frame rate (fps)
- 'Levels' stack from level 0 on the bottom to level 999 on the top. Level 0 controls the size and fps of the SWF's on all the other levels
More Advanced ActionScript
- variables var = ?
- lets randomize things random(#);
- test for action if (comparison) { statement }
ex. a = random(9)+1;
ex. x = random(50) - random(y);
ex. z = random(x)-y+10;
3/17/08
In Class Tue Mar 18th
Flash - the Web
Lets look at makin' an advnced Flash Web site
- gettin it layed out (at least the basics)
- buttons for navigation
- what the heck are LEVELS?
* flow - load movie / unload movie like loading new html pages
new action script
loadMovieNum("url", level);
unloadMovieNum(level);
getURL("url", blank or self);
Lets look at makin' an advnced Flash Web site
- gettin it layed out (at least the basics)
- buttons for navigation
- what the heck are LEVELS?
* flow - load movie / unload movie like loading new html pages
new action script
loadMovieNum("url", level);
unloadMovieNum(level);
getURL("url", blank or self);
10/7/07
In Class Mon Oct 8th
Work on your Flash Website
come in and ask questions!
Important Actionscript
loadMovieNum("the url of the SWF", level);
unloadMovieNum(level);
example on a button:
on(release) { loadMovieNum("nav.swf", 30);
unloadMovieNum(40);
}
this would load up the "nav" SWF on level 30 and would unload whatever SWF is on level 40
come in and ask questions!
Important Actionscript
loadMovieNum("the url of the SWF", level);
unloadMovieNum(level);
example on a button:
on(release) { loadMovieNum("nav.swf", 30);
unloadMovieNum(40);
}
this would load up the "nav" SWF on level 30 and would unload whatever SWF is on level 40
9/23/07
In Class Mon Sept 24th
Flash
--- Adding Images
----- Photoshop save for web : the PNG
----- Trace bitmap
--- Adding Video
--- Adding Sound
Moving around the Timeline using action script:
stop();
on (release) {gotoAndPlay(frame#);
}
--- Adding Images
----- Photoshop save for web : the PNG
----- Trace bitmap
--- Adding Video
--- Adding Sound
Moving around the Timeline using action script:
stop();
on (release) {gotoAndPlay(frame#);
}
Subscribe to:
Posts (Atom)