FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Flash AS help, loading external movies

 


evilryu530
basically, i have a main "navigavtion"swf that has a designated area for external swfs to load into. Those external swfs im loading into have buttons within them that changes images as i click. now i am loading them in all on the same level right now into a "target", it loads fine, but those buttons on the external swfs do not work, now when i try to load the external swfs into the main swf on a different level, then the button works, but it either resizes the screen and my main navigation is overrided, or (tried different AS) it does not position itself into the target. what would be the most efficient solution for this problem? thanks in advance.
game_dev
This looks like a scope problem, meaning that your code is not finding the correct path to reference or control other objects.

You should paste your code here so that ppl can try and see what's happening.

Also, always remember to debug your flash movies using trace().

for instance, if your button has code:

Code:
on( release ){
  _root.myCurtain.lift() ;
}


... and nothing happens when you click it, you should change to:

Code:
on( release ){
  trace( _root.myCurtain );
  _root.myCurtain.lift() ;
}


... so if this traces "undefined" than you know that nothing is happening because the path to myCurtain movieclip is incorrect.


cheers,

gd
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.