when you say "load" are you talking externally? or embedded in the component swc? are we talking AS3? is this a new FLA based component for AS3 or swc?
AS3 wraps the component at designtime with a livePreviewParent class and it's running a swf essentially. So, you should be able to load an external file without a problem. I'm building a component right now thats loading XML and multiple images at design time in the IDE without any problem without any special tricks. Although, i will say, you have to use an absolute path - relative won't work from where the FLA is saved if that's what you're assuming. C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\ActionScript 3.0\Classes\fl\livepreview\LivePreviewParent.as hth, John On 6/26/07, Mike Lyda <[EMAIL PROTECTED]> wrote:
I've been building components since.. well.. the Flash 5 days, and every once in a while I need a component to load an image and display it while the component is in livepreview (on the stage, before test movie, etc). Each time I dig around thinking this is just nuts.. there has to be a way, and most of the time I fake it and embed the image into the component or do some other hokey workaround. Well.. now I really need to have a component load an image during livepreview and I'm not finding a way. bah! Anybody out there have the secret? Or.. is it just not possible? ____________________________________________________________________________________ Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. http://tools.search.yahoo.com/toolbar/features/mail/ _______________________________________________ [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
-- [ JPG ] _______________________________________________ [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

