Call addEventListener in the handler for the "complete" event.
creationComplete is probably too soon.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of grimmwerks
Sent: Saturday, September 22, 2007 8:07 PM
To: [email protected]
Subject: [flexcoders] SWFLoader onRoll: can it be set in Actionscript?

 

I've got a swfloader that I want to assign it's rollOver / rollOut 
handler to call only after it's creationComplete fires - can I do it 
in actionscript?

In other worse, I've a page that loads in - and if the user's cursor 
is right over the area of the swfloader as it's being drawn, it gets 
all screwed up; is there a simple way of setting this? 

 

Reply via email to