I will be out the remainder of the week. Thank you for staying on task while I'm gone.
Assignments for 3/4/09:
Today you are going to apply key controls with action script through conditional (if/then) statements.
First- Open your BeeScene.fla file. Save it as BeeControls.fla in a folder called "Gaming" so we can make changes that will not effect your BeeScene.fla file.
Second - Delete your guide and sound layer. If you don't have a sound layer it will take a few more steps to get rid of the buzz sound (you would have to figure out which layer the sound is on and move everything else in that layer to a new layer so you can delete the layer that would then have only have the sound remaining).
Third - Review the code below. Notice the syntax (the wording and sequence) of the code. Line 1 tells the code between the brackets (line 2) to apply when the flash file loads. In line 2the movespeed is declared. You can experiment with that. Line 5 tells the code between the following brackets to apply when the active symbol enters the frame. "this" refers to the active symbol, so in our case the bee movie. "x" refers to the x-axis (horizontal movement) and "y" refers to the "y" axis (vertical movement). Be mindful of the difference between brackets } and parenthesis ). Brackets surround instructions, parenthesis surround references. Apply the screen captured code below to your bee movie. Make sure you have the bee movie selected before going into the actions panel so that the code is applied to the movie, not a frame.

If input correctly, you should have keyboard control of your bee movie with the up, down, left, right keys. Once complete, continue to work on your PSA's. You will need sound. You can take turns with the four microphones in the closet behind my desk. Or you can sample freeplaymusic.com for appropriate sound and edit it in Audacity. If you are unable to download songs or have any questions or comments, post the link to the song or comments here and I will reply and/or get it on the U drive tomorrow. I realize most of you are not yet familiar with Audacity, but most of its functions are basic and you will likely find it user friendly.