I ended up getting this to work.  Initially, I was waiting for the 
"onLoadComplete" event before trying to interact with a loaded movie via a 
moviecliploader in the Flash 8 proxy file.  I changed it so that it waits for 
the "onLoadInit" event, which was happening after the "onLoadComplete" event, 
at least when I tested it locally.  So, if I wait for the "onLoadInit" event 
via the moviecliploader, and then call functions, I'm good.

Thanks for your help,
Brandon


----- Original Message ----
From: Brandon Krakowsky <[EMAIL PROTECTED]>
To: [email protected]
Sent: Monday, September 22, 2008 2:25:28 PM
Subject: Re: [flexcoders] Does localconnection Class works with different Port 
numbers ?


Sorry for the delay on this.  I'm using LocalConnection to talk to proxy, which 
loads Flash 8 movie and talks to it using Standard AS2.  I also send message 
from the proxy back to the main app using LocalConnection.  The proxy is an 
adapted version of Jesse Warden's:
http://jessewarden.com/2007/06/flex-controlling-flash.html

Thanks Jesse!
Brandon



----- Original Message ----
From: Gregor Kiddie <[EMAIL PROTECTED]>
To: [email protected]
Sent: Friday, September 19, 2008 10:21:00 AM
Subject: RE: [flexcoders] Does localconnection Class works with different Port 
numbers ?


So you’re using LocalConnection to speak
from your main app to the proxy, or from the proxy to the Flash 8 movie?
 
Gk.
Gregor Kiddie
Senior Developer
INPS
Tel:       01382
564343
Registered address: The Bread Factory, 1a Broughton Street, LondonSW8 3QJ
Registered Number: 1788577
Registered in the UK
Visit our Internet Web site at www.inps.co. uk
The information in this internet email is confidential and
is intended solely for the addressee. Access, copying or re-use of information
in it by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of INPS or
any of its affiliates. If you are not the intended recipient please contact
is.helpdesk@ inps.co.uk

________________________________
 
From:[EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf 
Of Brandon Krakowsky
Sent: 19 September 2008 14:18
To: [EMAIL PROTECTED] ups.com
Subject: Re: [flexcoders] Does
localconnection Class works with different Port numbers ?
 
I'm working with LocalConnection now and having some issues.  I'm
trying to load and control some Flash 8 movies with some success.  I'm
first loading in a proxy Flash 8 file, and then loading the movies into there. 
I'm calling functions in the proxy file which basically tell the loaded movies
to go to certain frames, etc.

It seems to work most of the time but every now and again I get weird
"undefined" traces in the Flex IDE.  I have a lot more testing
to do but I'm not sure how the Flash 9 debugger tries to debug AS2 in a Flash 8
file.

Thanks,
Brandon
     



      

Reply via email to