News:

GinGly.com - Used by 85,000 Members - SMS Backed up 7,35,000 - Contacts Stored  28,850 !!

Main Menu

Post reply

The message has the following error or errors that must be corrected before continuing:
Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Note: this post will not display until it has been approved by a moderator.
Attachments: (Clear attachments)
Restrictions: 20 per post (20 remaining), maximum total size 32.00 MB, maximum individual size 32.00 MB
Uncheck the attachments you no longer want attached
Click or drag files here to attach them.
Other options
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S post or ALT+P preview

Topic summary

Posted by Kalyan
 - Oct 25, 2008, 05:46 PM
Controlling Movieclips using Flash Actionscript

   1. Create a Movieclip with some animation and name the instance say, 'mask_mc'.

   2. Create a Button for Start and Stop action of the movieclip and name them as 'start_btn' and 'stop_btn' respectively.

   3. Write the following Actionscript code for the 2 Buttons as given below:

      Start Button
      on(press)
      {
      mask_mc.play();
      }

      Stop Button
      on(press)
      {
      mask_mc.stop();
      }

   4. Save your work and test the Movie (Ctrl + Enter). Thats it you have learnt how to control movieclips in Flash using Actionscript.