Use a LocalConnection for Flex->Flash communication.

http://weblogs.macromedia.com/pent/archives/2006/07/using_actionscr.cfm
http://kb.adobe.com/selfservice/viewContent.do?externalId=749eaa47&sliceId=1

regards,
Muzak

----- Original Message ----- 
From: "Eric E. Dolecki" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, September 09, 2007 12:50 AM
Subject: Re: [Flashcoders] AIR & SWFLoader Question


> swf is as2. how would i go about doing what you suggest?
>
> On Sep 8, 2007, at 10:19 AM, Randy Troppmann wrote:
>
>> Hi Eric. Is your swf AS2 or AS3? I think you will need to add logic to
>> your swf so that Flex can capture the stage resize event and call the
>> resize method in the swf.
>>
>> Randy
>>
>>
>> On 9/7/07, eric e. dolecki <[EMAIL PROTECTED]> wrote:
>>> I have a SWFLoader in Flex 3 that runs in a transparent  application. I have
>>> the SWFLoader set to 100% height of the application window its in.
>>> I have a local SWF that I load in there, and I want it to resize  the Flash
>>> to the height of the window. The SWF loads in fine, but the  onResize() in
>>> the SWF isn't firing. How can I make sure that onResize actually  happens? I
>>> have elements that lay themselves out based on that function in  the SWF.
>>>
>>> - eric


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to