Lesson
In this part, we make simple interactive environment with buttons.
Below is the flash.
Actionscript behind "Enter" button:
on (release) {gotoAndPlay("top",1);
}
Scene : top, bottom, head, foot
Every clothes is hotspot.
Each hotspot is converted into buttons (Modify > Convert to Symbol > Button).
Double click the button to enter the button stage.
4 states:
UP - Picture only
OVER - Picture and name of the clothes
DOWN - Picture, name of the clothes and how to pronounce it.
HIT - no keyframe
Actionscript behind "Next" button:
on (release) {gotoAndPlay("bottom",1);
}
Actionscript behind "Back" button:
on (release) {gotoAndPlay("Introduction",1);
}
Repeat these steps to others scene but change the "scene" accordingly.
No comments:
Post a Comment