I have developed a component.swf and the component has set "export for action script", "export in first frame" and with identifier "myComponent".
I loaded this file into my application.swf. In the application.swf, I try to use the component by a_movie_clip.attachMovie("myComponent", abc, 1).
But it fail. Can anyone help me?? Thz.
Are you using an actual component? Or did you create your own component? Or is component just the name of the file?
Also, when loading a movie into another movie the _root will become the _root of the main movie, so you will need to use _parent instead inside the loaded movie.
Hi,
I have attached the file, pls help me.
In the source file, there is a component “FPushButtonSymbol”, I want to attach this component into the main file. But I fail.
:hangover:
YOu need to do the attachMovie code inside the source.fla file. I think the only way you can attach a movie from another library is to use Shared Libraries. I don’t know how to do that though, and I don’t know if it works how I am thinking.
Check the attachment to see what I mean about using attachMovie in the same movie.