 |
 |
 |
|
Page 1 of 1
|
[ 4 posts ] |
|
| Author |
Message |
|
sway
Member
Joined: Tue Oct 12, 2010 3:53 pm Posts: 3
|
 External SWF and SWC
Hi,
I have a main SWF which load externals SWFs. Each of these SWFs use 1 or more differents SWC and they work while running separately.
Then I addChild the external SWF once loaded, it's like the SWC of these SWF are not correctly loaded. I can't add all these SWC into my main SWF because some of them use the same class name inside.
What can I do to fix it ?
This is the error I got while addChilding it: "[Fault] exception, information=TypeError: Error #1009: Cannot access a property or method of a null object reference."
Thank you
|
| Tue Oct 12, 2010 3:56 pm |
|
 |
|
VortixGames
Member
Joined: Tue Jun 08, 2010 10:16 am Posts: 35
|
 Re: External SWF and SWC
Just a wild guess, but I think that the path to any file loaded externaly has to be relative to the first swf. That's something you can check.
|
| Tue Oct 12, 2010 4:42 pm |
|
 |
|
sway
Member
Joined: Tue Oct 12, 2010 3:53 pm Posts: 3
|
 Re: External SWF and SWC
Each of my external SWF is in the same folder as my main SWF...
If I remove each call from my SWC in my loaded SWF, it work. I just don't know what to do to make it work with my SWC.
|
| Tue Oct 12, 2010 5:02 pm |
|
 |
|
sway
Member
Joined: Tue Oct 12, 2010 3:53 pm Posts: 3
|
 Re: External SWF and SWC
|
| Tue Oct 12, 2010 5:52 pm |
|
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum
|
|
 |
|