Note 10 for Flash
Watch & Read:
Actions is an Action Script Editor
Download a preloader to reverse engineer the Action Scipt! (Cool tutorials are at Newgrounds)
Frame number vs Frame Label
Actionscript 3.0 tutorial from BellaOnline
YouTube video tutorial for Actionscript 3.0
Notes from Game
Added to Player Movie:
onClipEvent (enterFrame) { if (Key.isDown(Key.UP)) { _y -= 10; _rotation = 270; }}
Added to Enemy Movie:
onClipEvent (enterFrame) { if (_root.player._y<_y) { _y -= 3; }}
Review the following:
Terms you need to know:
PreLoader, Action Script, Scene, Script Assist
Object vs Frame
Code for Action Script 3.0 button to go to the Web
myButton.addEventListener(MouseEvent.CLICK, findJon)
function findJon (evt){
var url = "http://www.pvc.maricopa.edu/~storslee"
navigateToURL(new URLRequest(url))
}
Homework:
You should be reading Chapter 14 & 15 in your book
Reminder: Find as many resources that will help you "Keep up to speed" in class. You should be able to find at least one page full of resources. (The more resources you find, the better the grade.) W3schools and Builder.com and Webmonkey are examples of the type of sites you should be looking for.
Reminder: You will need to post a website that uses Flash everyweek!!!
Final Step:
Review in your mind everything we covered in class and remember to cover it again before you go to bed so your mind to process this information while you sleep.