If you're using 2.0 (and maybe this would even work in 1.5)... try the method Roger came up with for me a few weeks ago...
http://www.mail-archive.com/[email protected]/msg18756.html Just put off creating an instance of the "swf" class until your data has been loaded into Flex... Hope this helps, Brendan --- In [email protected], "nextadvantage" <[EMAIL PROTECTED]> wrote: > > Well... we are having a hard time embedding a swf that gets populated > with dynamic data. What I think is happening is the swf is loading to > quick before flex has the data/parameters available. When we hard code > the data in flex it works but when we try to get the data via xml > parameters it seems the parameters are not available until after the > swf has started playing. What steps can we take to get the flash/swf > to wait to receive the data? > > FYI This is an existing swf we typically load via html and pass in the > xml parameters now that we are embedding it we are having issues is we > don't embed it it works but it sometimes does not initialize. Any > ideas why it would occasionally not initialize when not embedded? > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

