Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading external swf that uses the _currentframe variable

Status
Not open for further replies.

freakyjas

Programmer
May 12, 2003
10
NZ
In my external swfs there is a back button that uses the _currentframe variable. This works fine when run on its own or even if I use the loadMovie command to load it directly.

However its loaded from a dropdown combo box and I use the createemptymovieclip function & load the external swf into that - the _currentframe variable doesnt work now!

Help!

thanks

freakyjas
 
Can you be a little more specific...
And even post a link to your .fla?

Regards,

cubalibre2.gif
 
sounds like a path problem.

could be either _parent._currentframe

or emptyclip._currentframe

cant tell from your question
 
thanks bill, that was it, took a little while to troubleshoot but eventually discovered i needed to specify the path to the array i was building with the currentframe variable e.g.

on (release) {
if (_root.picHolder.navStack.length>1) {
recentFrame = _root.picHolder.navStack.pop();
previousFrame = _root.picHolder.navStack.pop();
gotoAndPlay(previousFrame);
}
}

thx 4 ur help (thx 2 oldnewbie as well)

thanks

freakyjas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top