IT tutorials
 
Graphics
 

Adobe Flash Professional CS5 : Controlling Movie Clips

11/3/2011 5:30:29 PM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
When you return to the front page, you’ll see the four sections, so you can click another movie clip to load a different section. But wouldn’t it be nice to replay the initial animation? The initial animations are nested inside each movie clip, and you can control the four movie clips that are on the Stage. Simply precede the command with the name of the movie clip and separate them with a dot. Flash targets that particular movie clip and moves its Timeline accordingly.

1.
Select the first frame of the actionscript layer and open the Actions panel.

2.
Add to the commands in the function called unloadcontent so the entire function appears as follows:

function unloadcontent(myevent:MouseEvent):void {

removeChild(myLoader);
page1_mc.gotoAndPlay(1);
page2_mc.gotoAndPlay(1);
page3_mc.gotoAndPlay(1);
page4_mc.gotoAndPlay(1);
}



In this function, which is executed when the user clicks the Loader object, the Loader object is removed from the Stage, and then the playhead of each movie clip on the Stage moves to the first frame and begins playing.

3.
Choose Control > Test Movie > in Flash Professional to preview the movie. Click on any of the four sections, and then click on the loaded content to return to the main movie.

When you return to the main movie, all four movie clips play their nested animations.


 
Others
 
- Adobe InDesign CS5 : Working with Points and Paths - Selecting and Moving Points and Segments
- Adobe InDesign CS5 : Working with Points and Paths - Drawing with the Pen Tool
- Exporting Files from Illustrator CS5 (part 3) - The Joint Photographic Experts Group Format
- Exporting Files from Illustrator CS5 (part 2) - AutoCAD Drawing, AutoCAD Interchange File & The Flash Format
- Exporting Files from Illustrator CS5 (part 1)
- Dreamweaver CS5.5 : Edit Tabbed Panels
- Dreamweaver CS5.5 : Add Content to Tabbed Panels
- Adobe Photoshop CS5 : Three Ways to Fix the Color in Indoor Shots
- Getting Started with Photoshop CS5 : Saving a Document
- QuarkXPress 8 : Fine-tuning spacing (part 2)
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us