Thats just the thing, I'm accessing it from another component. :( I'm trying a few things now to try and get the instantiated class and call the functions from that...on it goes.
--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > You shouldn't need Application.application unless you are accessing from > another component/document. > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of neilwcameron > Sent: Friday, September 14, 2007 8:02 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] SWFLoader Issue > > > > Hi Guys, > > In my application I have a line of code that is used to set up my > components: > > Application.application.mainDisplay.createComponentsFromDescriptors(true > ); > > But when I try to load my app with SWFLoader for testing purposes, it > fails because on the SWFLoader app, there is no such component as > mainDisplay of course. > > Is there anyways around this? I've tried quite a few things but to no > avail. Any ideas? > > Thanks > > Neil >