A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [CS3] Stop MC from restarting when a navigation button is clicked?!

  1. #1
    Senior Member
    Join Date
    Feb 2001
    Posts
    185

    [CS3] Stop MC from restarting when a navigation button is clicked?!

    Hi everyone.

    its been so long, I can't remember how to do the simplest things

    I am making a website... it has a MC of rotating skylines and the navigation is also done in flash.

    Any time I click on any of the nav options, the MC with the rotating skylines resets itself.

    is there a way of doing this so that it doesn't happen?

    Tanks

    Nina
    nu kto iz vas umeet govorit' po russki?

  2. #2
    Jack Foster cabbar's Avatar
    Join Date
    Feb 2007
    Location
    England
    Posts
    111
    yeah, put a stop to it !

    MC_with_the _rotating_skylines.stop();

    if that doesnt answer your question then you've not explained it well.

  3. #3
    Junior Member
    Join Date
    Dec 2007
    Posts
    26
    I assume what's happening here is that you're navigating to a new page and the swf with the rotating skyline is being reloaded and therefore starting over at the beginning again (resetting)? In that case you either need to use frames (talking about HTML here, not anything in Flash) and put it in a page which just loads the other pages into a frame on that page, in which case your skyline swf won't get reloaded. Otherwise (I'd use this option) you can pass the skyline's previous position to the new page's swf using a FlashVar and use that info to rotate the new skyline to the correct position! Yay!

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