Absolute..
I'm stumped.
Does loader somehow eval the url before making the request.
I've noticed for example with FileReference.upload if the servlet
destination is a 404 an upload attempt is never made.
Is there something in the security policy that prevents the request
from even being made?
Bjorn
On 09/03/2007, at 1:18 PM, Alex Harui wrote:
Dunno. What’s the URL to the SWF? Are you loading absolute or
relative path? We fix up relative paths in loadContent().
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss
Sent: Thursday, March 08, 2007 6:06 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Loading Remote SWF Assets in FireFox
The path is correct, registered for progress and complete but no
events are fired.
Viewing the url in loadContent through a browser shows the asset.
We use serviceCapture and this also shows no attempt at loading any
of the assets.
Is it perhaps a security issue that is only enforced in firefox?
thanks.
On 09/03/2007, at 12:52 PM, Alex Harui wrote:
OK, so “dies in the a**” means “nothing shows up”?
I would debug into SWFLoader.loadContent to make sure we fix up the
path correctly, and see if you get progress events and/or the
complete event. Maybe it got there, but is the wrong size.
-Alex
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss
Sent: Thursday, March 08, 2007 5:31 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Loading Remote SWF Assets in FireFox
A,
No exceptions, Flash 8 Swfs, The image assets are basically
graphics (jpeg etc) with a swf wrapper, but we are also loading swf
assets via SWFLoader with graphics and code ( think banner ads ).
Both are showing the same behaviour, that is working in IE and not
Firefox.
thanks,
Bjorn
On 09/03/2007, at 12:25 PM, Alex Harui wrote:
Do you get an exception? What kind of SWF (player 9, as code, or
just graphics, etc)?
-Alex
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss
Sent: Thursday, March 08, 2007 4:40 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Loading Remote SWF Assets in FireFox
Hi,
Are there any known issues with displaying Remote swf assets in your
flex 2 app (container) in Firefox?
I'm loading swf assets from a remote location via mx:SWFLoader and
mx:Image.
I have set the ContextLoader objects, Security.loadPolicyFile
(crossdomainurl) when the app inits, every security option i can
think of.
Everything runs fine in IE6, IE7, Safari. FireFox dies in the a**.
Can any elaborate further on this for me?
regards,
Bjorn