SunQuest
           Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 9th, 2003, 01:21 PM
skimleshanks skimleshanks is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 2 skimleshanks User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Need Flash MX movie clips help

5 movieclips. Each assigned to a frame. Using the "goto" action assignment to graphic buttons on the stage to play the clips. I need help in getting the movie clips to stay and not go away when another is chosen. Is there a scripty thing that will keep the last frame of the previous clip visible while the next chosen one plays?

Reply With Quote
  #2  
Old August 27th, 2003, 01:55 PM
RedDog's Avatar
RedDog RedDog is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Toronto
Posts: 167 RedDog User rank is Private First Class (20 - 50 Reputation Level)RedDog User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 31 m 20 sec
Reputation Power: 5
Put all 5 movie clips on the stage in the spots you want them to appear. Edit each movie clip, one at a time, and add a blank frame at the start of the clip. Above the blank frame create a new layer and add a STOP action frame (right above it). This will make the movie clip not visible until it is played. Next, go to the end of the clip and add another STOP action frame, above the last frame with the image you want to stay visible. This will allow the movie to stop and stay at the last viewed frame.

Once that is finished, it should be fine.

You should also use Tell Targets, instead of GoTo.

If you create a name for each clip you can use the TellTarget to command each individual movie clip.

Hope that helps.
__________________

- Infinityws.com - Providing Reliable Web Hosting Solutions Since 2000
- Web Hosting - Reseller Accounts - E-Commerce Packages
- Free ClientExec License With ALL Reseller Accounts

A Satisfied Customer

Reply With Quote
  #3  
Old January 7th, 2004, 12:48 AM
Al-Professor Al-Professor is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 1 Al-Professor User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Cool This could help in some manners:

Writing target paths

To control a movie clip, loaded movie, or button, you must specify a target path. In order to specify a target path for a movie clip or button, you must assign the movie clip or button an instance name. A loaded document doesn't require an instance name, because you use its level number as an instance name (for example, _level5).

You can specify a target path in several different ways:

-Use the Insert Target Path button (and dialog box) in the Actions panel.
-Enter the target path manually.
-Create an expression that evaluates to a target path. You can use the built-in functions targetPath and eval.

To assign an instance name:

Select a movie clip or button on the Stage.
Enter an instance name in the Property inspector.

To insert a target path using the Insert Target Path dialog box:

1. Select the movie clip, frame, or button instance to which you want to assign the action.
This becomes the controlling Timeline.

2. Select Window > Development Panels > Actions to display the Actions panel if it's not already open.

3. In the Actions toolbox (at the left of the panel), select an action or method that requires a target path.

4. Click the parameter box or location in the script where you want to insert the target path.

5. Click the Insert Target Path button above the Script pane.

6. In the Insert Target Path dialog box, select a syntax: Dots (the default) or Slashes.

7. Select Absolute or Relative for the target path mode.

8. Select a movie clip in the Insert Target Path display list.
Click OK.


To insert a target path manually:

Follow steps 1-4 above and enter an absolute or relative target path in the Actions panel.

To use an expression as a target path:

Follow steps 1-3 above.
Do one of the following:
Enter an expression that evaluates to a target path in a parameter box.
Click to place the insertion point in the script. Then, in the Functions category of the Actions toolbox, double-click the targetPath function.
The targetPath function converts a reference to a movie clip into a string.

Click to place the insertion point in the script. Then, in the Functions category of the Actions toolbox, select the eval function.
The eval function converts a string to a movie clip reference that can be used to call methods such as play.

The following script assigns the value 1 to the variable i. It then uses the eval function to create a reference to a movie clip instance and assigns it to the variable x. The variable x is now a reference to a movie clip instance and can call the MovieClip object methods, as in the following:

i = 1;
x = eval("mc"+i);
x.play();
// this is equivalent to mc1.play();

You can also use the eval function to call methods directly, as in the following:

eval("mc" + i).play();

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Need Flash MX movie clips help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway