Control Movies from another Level

  • ToshTrent
  • Newbie
  • Newbie
  • ToshTrent
  • Posts: 14

Post 3+ Months Ago

Hi,

I have a site which has been broken down into several different ".swfs" as the entire site reaches a rather large file size, plus it's easier to manage. When the user changes the page selection I have "_level2" load a transition page which has sliding doors closing, when the reach the middle the previous page is hidden, then the new page displayed, and the doors re-open. (quickish action)

How do i delay the movie change until the doors are closed? Should I somehow pass a variable to the movie on _level2 then state IF lala then loadMovieNum(lala,1) ?

Any ideas on how to do this would be most welcome! Please.

Also there is a preloader on the sliding doors, which will show loading progress for _level1, if the movie is not loaded. Doesn't seem to be working correctly.

I can post an example on my test url if you like.

It seems to pause and and go weird on me, and that's the good stuff it does, lol.

Thanks for you help.

Cheers
Tosh.
  • phpSelectah
  • Student
  • Student
  • User avatar
  • Posts: 97

Post 3+ Months Ago

I would use
Code: [ Select ]
hitTest

REF: http://actionscript-toolbox.com/samplem ... ollide.php

to determine when the doors are fully closed, and to control the other levels I would use the FQP (fully qualified path) as:
Code: [ Select ]
_level10.doors.leftDoor 


etc.

:D

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 10 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.