Huh? If you load an image without a computer it will probably be relative to your hand.
Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of hannes.stockner Sent: Tuesday, September 23, 2008 3:39 PM To: [email protected] Subject: [flexcoders] Re: SWFLoader loads image relative to the SWF when i load an image without flex classes the image will be loaded relatively to the html!!! --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Haykel BEN JEMIA" <[EMAIL PROTECTED]> wrote: > > Why you don't believe it? It's just normal as the application is the swf and > not the html file! You can get the url of the html page with: > ExternalInterface.call("window.location.href.toString") > > You could then remove the last part (html file name) to get the path of the > html page. > > > On Sun, Sep 21, 2008 at 1:21 PM, hannes.stockner <[EMAIL PROTECTED]>wrote: > > > Hello > > > > i can not believe it. why does the SWFLoader class loads images > > relative to the SWF loading it? > > > > SWFLoader line number 1323 describes it. > > > > i want to load it relative to the html. how can I change this? > > > > thank you for your help! > > > > > > > > > > -- > Haykel Ben Jemia > > Allmas > Web & RIA Development > http://www.allmas-tn.com <http://www.allmas-tn.com> >

