-
Senior Member
using a function to play a MC in an external swf loaded
Hello,
This is kinda hard to explain but I will do my best.
I have a main movie called "all"
inside that I have to external swf's loaded.
1 called "content"
2 called "scrolledContent"
I am trying to communicate between "content" and "scrolledContent".
The problem is that when I publish "scrolledContent" it gives me an error.
1120: Access of undefined property animation. animation.play();
This is happening because the mc called animation is in the swf called "content", so it is not there until its loaded into my main stage with "content".
How can I get this to work?
Hope this makes sense, here are my source files to help.
Any help is greatly appreciated :-)
ClickME
Last edited by freshly; 01-26-2010 at 10:27 PM.
-
Have both children dispatch events when they want something - then have the parent catch those events and move the data between them when appropriate. http://www.calypso88.com/?p=301
Please use [php] or [code] tags, and mark your threads resolved 8)
-
Senior Member
Thanks I wil take a look in the morning :-)
-
Senior Member
Well I think this is way over my head, I have been trying to work this with no luck.
Can you maybe help a little more. I understand that the function needs to be called after the childs are loaded and this information needs to happen at that point but I can't write the code to make it happen. Looking at the link you provided I still can't write the code to make this work. Attached is my new working versions, not sure how far off I am.
Click ME
Any help is much appreciated!!
-
Senior Member
Hmm looks like I am getting no more help on this one, anyone help anyone :-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|