TO WHOM IT MAY CONCERN:
I need help with the attached movieclip.
My question is in the example1.fla.
Kevin
TO WHOM IT MAY CONCERN:
I need help with the attached movieclip.
My question is in the example1.fla.
Kevin
Wow man… your code is all screwey.
First
You need to right click on the mov1 clip in your library and choose “Linkage”, in there select the checkbox for “Export for Actionscript”.
Second…
blank.attachMovie( mov1 );
That line should be blank<B>1</B>.attachMovie(<B>"</B>mov1<B>"</B>, <B>"</B><I>newName</I><B>"</B>, <I>Depth</I>)
Third
tellTarget (“blank1”) {
}
blank1.gotoAndPlay( 1 );
That line should be like this…
tellTarget (“blank1”) {
gotoAndPlay( 1 );
}
But tellTarget was deprecated, so you can make it…
_root.blank1.gotoAndPlay(1)
And well actually since you don’t have a stop action in the first frame of your attached movie you do not need that line at all.
That leaves us with…
on (release) {
_root.blank1.attachMovie("mov1", "movie1", 1);
}
mov1 is the clip to attach. movie1 is the new name of the clip, and 1 is the depth (or level) it is on.
TO WHOM IT MAY CONERN:
I have been wanting to attach a arbitrary movieclip to a blank movieclip
by using a button.
First let me ask the question. Dose attachmove mean that the arbitrary
movieclip’s contents is copied into the timeline of the blank movieclip?
If this is not so, could some soneone give me a script that can do this, in
addition, I need the response to be associated with a button when I ]
click it.
Sincreely,
Kevin Smith
“Dose attachmove mean that the arbitrary
movieclip’s contents is copied into the timeline of the blank movieclip?”
If you mean can you target a specific frame inside the attached clip, that answer is yes.
In the script before you used blank1 as the empty movie clip, so I will continue with that.
You can do…
_root.blank1.gotoAndPlay(frame# or label)
_root.blank1.stop();
And whatever else you need. It will control the clip you have attached to it.
:: Copyright KIRUPA 2024 //--