Search  

HELP NEEDED WITH CONTENT LOADING BY EXTERNAL SWF

HomeForumsFlash Discussionhelp needed with content loading by external swf
45374 rahulbist
256 posts
Sold between 1 and 100 dollars Bought between 10 and 49 items

hi everyone,

I am just confused now and don't know what to do.
I have  a website which have a main flash movie called main.swf
I load contents as external swf to a movie on main.swf.
so I have  a different swf called contents.swf
The contents.swf has a menu which on click load an image to a movie on contents.swf

because there are two separate movies on contents.swf, so when I call first movie from inside second movie, I use _root.movie

but now problem is that when I load contents.swf into main.swf. the _root.movie is not loading anything,

Please help me.

thanks in advance.

Posted about 1 month ago
19189 Palehosefan
30 posts
Referred at least one person Sold between 1 000 and 5 000 dollars Bought between 1 and 9 items

If I understand you correctly, you have a main flash movie “main.swf”, then inside the “main.swf” you have another movieclip called “content.swf” which contains a menu and another movie holder?

_root , will get you back to the “main.swf” movie. _root.main.content , will get you access to the “content.swf” movie.

If your code is inside the “content” movieclip, then… _parent , will get you control of the “content” movieclip. _parent._parent , will get you control of the “main movieclip.

If your code is inside the “main” movieclip, then… _parent , will get you control of the “main” movieclip. content or _parent.content, will get you control of the “content” swf.

_root will always get you control of your “main” movieclip.

Hope that helps a little. Chris

PS, if that wasn’t what you are looking for and nobody else can help, feel free to email me at Palehosefan at hotmail.com and I can try and help.

Posted about 1 month ago
45374 rahulbist
256 posts
Sold between 1 and 100 dollars Bought between 10 and 49 items

thanks Palehosefan ,

It is really working now. thanks a lot :)

previously I was using _lockroot and it was not working.

Posted about 1 month ago