First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing!
Search tutorials
Author: Purnawijaya Citra and Mimi Widjaja | Website: http://www.theenlightment.net

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
(10 being the highest)
» 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.
» Forums
More help? Search our boards for quick answers!

Comments

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

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: work2survive
» Title: Girl Walking 1kb
» Description: Walking girl, animation just takes 1kb, using high heels shoes, and fashion model attitude.
Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.