dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [F8] Load Movie after clearing question

  1. #1
    3D kiwi
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    95

    [F8] Load Movie after clearing question

    I have a main stage for a site. Each "page of the site is a container mc with all the minor mc called inside. The container mc's have intro frames then stop to load content and when another page is clicked there is exit frames.

    Question:
    is i have movie1 as the current mc inside the container mc, what is the code to tell movie1 to play until the last frame of the exit sequence then clear movie1 from the container mc and then load the user selected movie (movie2, movie3 etc.) from menu options. This needs to work for all menu options i.e. if movie2 is playing and the user clicks movie1 then 2 will play until the end and then clear for movie1.

    I was thinking that the menu buttons pass a target movie variable im just not sure of the function to play until the last frame, clear the mc and load another.

  2. #2
    Junior Member
    Join Date
    May 2007
    Posts
    26
    check framesloaded (if your are lading swf) and vaidate with currentframe hope this helps

  3. #3
    3D kiwi
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    95
    Quote Originally Posted by pradeep78
    check framesloaded (if your are lading swf) and vaidate with currentframe hope this helps
    Ok will try that thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center