Shouldn't be, appcomplete is way late, long after host is ready.  Can I
see what your code looks like now?  Both the app and the TestSprite.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Merrill, Jason
Sent: Wednesday, September 19, 2007 1:36 PM
To: [email protected]
Subject: RE: [flexcoders] Actionscript sprite within the Flex framework

 

Alex, thanks, but changing to your code suggestion, I still get an
error, 

 

Main Thread (Suspended: ReferenceError: Error #1069: Property host not
found on MyTestApplication and there is no default value.)

 

and I think it is because EntryClass.main() gets called on the event
applicationComplete, so the id for the UICompoenent does not exist yet,
since it is further down the MXML.  Chicken and egg thing, and not sure
how to fix?

 

Jason Merrill 
Bank of America  
GT&O Learning & Leadership Development 
eTools & Multimedia Team 

 

Reply via email to