Just so I'm clear.  You have a AIR SWF based on Flex that is using
HTMLLoader to load another Flex SWF off the web?  Are the two SWFs
supposed to be able to communicate?  What error are you getting?
 
FWIW, the Marshall Plan will allow an AIR/Flex SWF to load another Flex
SWF off the web directly, but the loaded SWF will be untrusted and can't
access AIR things like NativeWindow and the file system.

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Jim Hayes
Sent: Monday, August 04, 2008 4:58 PM
To: [email protected]
Subject: RE: [flexcoders] Where are the AIR resources?



> My understanding is that because I can't load Flex into Flex

I missed that bit (and was unaware of that in any case, never tried it
so far), so I don't think I can offer any useful advice I'm afraid.

Sorry about that, hopefully someone else can comment/advise.

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Steve Mathews
Sent: 05 August 2008 00:49
To: [email protected]
Subject: Re: [flexcoders] Where are the AIR resources?

My AIR app is Flex based. I am using the HTMLLoader to load a
(currently) standard html page with the Flex swf embedded. This
HTMLLoader is in a new Native Window (in case that makes any
difference).

My understanding is that because I can't load Flex into Flex this method
runs the loaded html in a separate security/application domain. Would I
benefit by creating a new Native Window with a html source (can I even
do that?), then loading the Flex into that window?

Thanks,

Steve

On Mon, Aug 4, 2008 at 3:46 PM, Jim Hayes <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:

Are you loading it into an html based AIR app using the built in flash
plugin?

Or loading it via swfLoader into an AS/mxml based application?

-----Original Message-----
From: [email protected] <mailto:[email protected]>
[mailto:[email protected] <mailto:[email protected]> ]
On Behalf Of Steve Mathews

Sent: 04 August 2008 23:34 


To: [email protected] <mailto:[email protected]> 
Subject: Re: [flexcoders] Where are the AIR resources?

Specifically I have a Flex based swf that I am loading into my AIR app.
It is dynamically driven (i.e. external content) and is intended to be
running on the web. So of course in it's compiler options I have
-use-network=true. So when run from the desktop you get the security
dialog asking if you would like to allow it. My question is, would it be
possible to get around this? I trust the swf as I created and maintain
it, but I would rather not have two versions of it (one for web, one for
local).

Thanks,

Steve

2008/8/4 Dimitrios Gianninas <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> >

I've been building AIR apps recently, I always look at the online docs
at http://livedocs.adobe.com/flex/3/html/index.html
<http://livedocs.adobe.com/flex/3/html/index.html> 

I usually ask my questions on this list...just a habbit. What questions
do you have?

Dimitrios Gianninas

RIA Developer and Team Lead

Optimal Payments Inc.

________________________________

From: [email protected] <mailto:[email protected]>
[mailto:[email protected] <mailto:[email protected]> ]
On Behalf Of Steve Mathews
Sent: Monday, August 04, 2008 2:06 PM
To: [email protected] <mailto:[email protected]> 
Subject: [flexcoders] Where are the AIR resources?

I am trying to learn more about building AIR apps, but it seems that
when I run into a roadblock I have a lot of trouble finding information.
I am subscribed to apollocoders, but that list is next to dead (although
I did get a couple answers from there). Is this just a sign that hardly
anyone is using the technology, or am I just missing where are the talk
is? I am looking for any sites or lists where there is better info than
just what is in the help docs.

...

[Message clipped]  


______________________________________________________________________
This communication is from Primal Pictures Ltd., a company registered in
England and Wales with registration No. 02622298 and registered office:
4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W
5PA, UK. VAT registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read,
copied and used only by the intended recipient. If you have received it
in error, please contact the sender immediately by return e-mail or by
telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not
disclose its contents to any person.
This email has been scanned for Primal Pictures by the MessageLabs Email
Security System.
______________________________________________________________________


 

Reply via email to