Re: [flexcoders] Loading AVM1 content into AVM2

2006-09-17 Thread Ian Thomas
On 9/17/06, Daniel Wabyick [EMAIL PROTECTED] wrote: Yeah, I just reproduced your bug ... Seems like the reference to _root gets screwed up on subsequent calls. What's *really* interesting ... If I comment out the cleanup in your AVMLoader class, I can *crash* Eclipse ... if (_loader!=null)

[flexcoders] Loading AVM1 content into AVM2

2006-09-16 Thread Ian Thomas
Hi guys, I've hit a huge hurdle when trying to communicate between AVM1 and AVM2. I've been trying to create a component - call it AVM1Loader - which will allow simple communication between an AVM2 flex app and a contained AVM1 file. In theory, it's pretty simple: - Use Loader to load the

Re: [flexcoders] Loading AVM1 content into AVM2

2006-09-16 Thread Daniel Wabyick
That most definitely sounds like a bug ... I think the following would work: - Create a class LocalConnectionDaemon in AVM2 that is connected under a hardcoded LC name. ( e.g. LC_DAEMON ); - Create a class LocalConnectionDaemon in AVM1 that does the following: - Generates a unique

Re: [flexcoders] Loading AVM1 content into AVM2

2006-09-16 Thread Daniel Wabyick
That most definitely sounds like a bug ... I think the following would work: - Create a class LocalConnectionDaemon in AVM2 that is connected under a hardcoded LC name. ( e.g. LC_DAEMON ); - Create a class LocalConnectionDaemon in AVM1 that does the following: - Generates a unique

Re: [flexcoders] Loading AVM1 content into AVM2

2006-09-16 Thread Ian Thomas
Hi Daniel, Thanks for that. If I understand you correctly, you're suggesting creating a known LocalConnection which acts as an 'ID server' in AVM2. I had thought about something similar. The issue is that I can't see how the pairing up works between an AVM1Loader (the AS3 component) and it's