Re: [flexcoders] Loading Remote SWF Assets in FireFox

2007-03-09 Thread Tom Chiverton
On Friday 09 Mar 2007, Bjorn Schultheiss wrote:
 Absolute..
 I'm stumped.

Have you stuck Wireshark on the client PC and looked at what requests are 
made ?


-- 
Tom Chiverton
Helping to ambassadorially engineer real-time portals
On: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/hOt0.A/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 


RE: [flexcoders] Loading Remote SWF Assets in FireFox

2007-03-09 Thread Alex Harui
Bjorn.

 

Still stuck?  Nobody here recognizes the symptoms.  Can you send a
mini-example?

 

-Alex

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Bjorn Schultheiss
Sent: Thursday, March 08, 2007 6:33 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Loading Remote SWF Assets in FireFox

 

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:flexcoders mailto:flexcoders
@yahoogroups.com] 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:flexcoders mailto:flexcoders
@yahoogroups.com] 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

 

 

 

 

 

 

 

 

 

 



RE: [flexcoders] Loading Remote SWF Assets in FireFox

2007-03-08 Thread Alex Harui
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

 



Re: [flexcoders] Loading Remote SWF Assets in FireFox

2007-03-08 Thread Bjorn Schultheiss

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








RE: [flexcoders] Loading Remote SWF Assets in FireFox

2007-03-08 Thread Alex Harui
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

 

 

 

 



Re: [flexcoders] Loading Remote SWF Assets in FireFox

2007-03-08 Thread Bjorn Schultheiss
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














RE: [flexcoders] Loading Remote SWF Assets in FireFox

2007-03-08 Thread Alex Harui
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:flexcoders mailto:flexcoders
@yahoogroups.com] 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

 

 

 

 

 

 

 



Re: [flexcoders] Loading Remote SWF Assets in FireFox

2007-03-08 Thread Bjorn Schultheiss

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