on (release){ _root.gotoAndPlay Not Working when I import the .swf on main site

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • matt415
    New Member
    • Jan 2012
    • 1

    on (release){ _root.gotoAndPlay Not Working when I import the .swf on main site

    Ok, this code works fine on my .swf file when I test it out in Flash. It doesn't work anymore when I externally load the .swf into the main site. I believe when imported it doesn't recognize the _root anymore.


    I have this movie clip with the navigation buttons in it. I want the buttons to travel to the labels on scene 1 when clicked and they do. Again, the code is acting fine as far as this .swf is concerned. the problem arise just when I import the .swf into another flash site.



    Code:
     
    
    on (release){ 
    _root.gotoAndPlay("century"); 
    }


    Any ideas anyone?
Working...