Setup Message
After setup a dynamic text movie clip, now we have to prepare the messages to be displayed. Double clik the text movie clip, add a new layer as action layer. Named the variable of dynamic text as mess.
Put action in each keyframe which contains the message you want to display, then followed by the stop action. For example action at keyframe 1.
mess="hi... how are you? "; stop();
Repeat the above step for the rest keyframes one by one, using the different messages.
At the last keyframe (24 - in this tutorial), put the action:
play();
Action Analysis
Action script in each keyframe displays the value of message in variable mess. The stop action is (of course) to stop the message and avoid of changing to next message. This gives enough time for visitor to read one message before rolling to the next one.The changing message is triggered when while the loading process reachs the action at keyframe 23 in preloader scene, which tells to change to the next message.
The action at last keyframe (24) allows the message for looping. It will happen when the loading process still works but all the message has displayed.
| » Level Intermediate |
|
Added: 2002-10-07 Rating: 7.9 Votes: 138 |
| » Author |
| Purnawijaya Citra is a flash developer, spend most of his time for flash development. Proficient handling multimedia projects using Flash and PHP. Experience some years in teaching flash, graphic and multimedia design. Mimi Widjaja is basically an agronomist who has strong interest in flash and web/ multimedia design. Having experience working in graphic design for agricultural products. Fond of flashing, writing and travelling. |
| » Download |
| Download the files used in this tutorial. |
| Download (411 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!