Can you verify that the SWF has fully loaded before assigning the
rollover?
On Mar 21, 2006, at 1:47 PM, Christopher Whiteford wrote:
I am having a problem with figuring out why I am having scoping
issues with
a rollover button. I am trying to load a swf file "outside_btn.swf"
in that
has a movie with an instance name of smBtn on the main timeline.
now I have
done traces from the button that indeed returns
"_level.smFindBtn1_mc.smBtn"
but yet I still cant get teh onRelease to execute.
var smFindBtn1_mc:MovieClip = this.createEmptyMovieClip
("smFindBtn1_mc",
this.getNextHighestDepth());
var smFindBtn1:MovieClipLoader = new MovieClipLoader();
smFindBtn1.loadClip("outside_btn.swf", smFindBtn1_mc);
smFindBtn1_mc.smBtn.onRelease = function(){
getURL("www.yahoo.com")
};
Does anyone have any ideas?
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com