Skip to main content
Inspiring
Feb 17, 2014 7:19 PM UTC
Question

loading external SWF with code and asset, possible?

it may sound easy but I've been literally struggling to get it done. I've main SWF, which loads child SWF. Child SWF file has some graphics as well as a Vector.<Object> variable. Now, if I load it normally using Loader.load(), it can access child SWF.Vector.<Object>, but there is an issue with it, child SWF's mouseEvents and parent SWF's mouseEvents do not match, parent SWF's MouseEvent.MOUSE_MOVE won't fire if mouse cursor is over child SWF. If I use Loader.loadByte method, mouse issue is solved but I can not access child SWF's.Vector<Object>... I use LoaderContext(false, ApplicationDomain.currentDomain, null) and LoaderContext.allowCodeImport = true...

any idea?? any suggestion???

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

User Unknow
Legend
Feb 18, 2014 8:59 AM UTC

Please let us know your desired platform

Translate
Inspiring
Feb 18, 2014 12:38 PM UTC

OS: Any Windows (XP to 8.1)

AIR 4.0 application

Translate