Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can I use Loadmovie to load to a specif frame?

Status
Not open for further replies.
hi

yes you can do this.

In your main movie, load the movie into place.
Set up an action layer in the top layer of your loaded movie and put the action:

Go to and Stop (framenumber) >or 'Play', whatever suits.

If your looping this movie remember to label the second frame and send the loop to that, avoiding the first blank frame, otherwise you'll just keep sending yourself to the frame you specify.

hope it helps
dD davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
sorry for the delay in responding, i was on a defragmenting mission for 7 hours!!

Sure you can do this, by adding the following actions to your button:

On (Press)
If (loaded <> 1)
Load Movie (&quot;yourmovie.swf&quot;, 1)
End If
End On
On (Release)
If (loaded <> 1)
Begin Tell Target (&quot;_level1&quot;)
Go to and Stop (3)
End Tell Target
Set Variable: &quot;loaded&quot; = &quot;1&quot;
End If
End On

If you wanted this button to made available again you'd put a SetVariable: &quot;loaded&quot;=&quot;0&quot; action on corresponding buttons.

It all seems long-winded but it's the only way I could get it to work.

Hope it helps
dD
davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
Ouch

The last post works.....provided the swf your loading is small in byte-size.

However, the solution reduces the actions on the button and allows you to use this type of frame-calling on any size of movie.

I won't go into detail, but in order to call the third frame of a larger movie I've inserted an invisible movie-clip onto the main stage of the original movie (activated by pressing the button). This loops until the required frame is loaded into level1.

The example is at:


And the following files are available for download:


Hope this helps
Glad to get this sorted eventually...
dD
davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
Ouch

The last post works.....provided the swf your loading is small in byte-size.

However, the solution reduces the actions on the button and allows you to use this type of frame-calling on any size of movie.

I won't go into detail, but in order to call the third frame of a larger movie I've inserted an invisible movie-clip onto the main stage of the original movie (activated by pressing the button). This loops until the required frame is loaded into level1.

The example is at:


And the following files are available for download:


Hope this helps
Glad to get this sorted eventually...
dD
davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top