|
-
can you swap movieclips using actionscript?
i have a mc(movie clip) as a sword attack that my character uses but through out the game i want him to be able to aquire different swords. Therefore the sword in his attack should be the same as the one hes using. Basically, i just need to know if you can swap movieclips using actionscript.
-
Senior Member
You could swap the subclip each time the weapon is changed.
But the best way would probably just to have the sword movieclip to have multiple frames, and change the frames accordingly.
Cheers!
-
M.D.
As long as the new sword has the same name as the previous one you can swap it using attachMovie(), but unknown Guy is right, create multiple frames for your sword.
-
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
|