Was trying to create instances of a movie clip using attachMovie. Didnt give an error but the instances were not created.
If attachMovie is not implemented yet in KoolMoves, is there any other way to create movieclip instances dynamically?
Thanks
Printable View
Was trying to create instances of a movie clip using attachMovie. Didnt give an error but the instances were not created.
If attachMovie is not implemented yet in KoolMoves, is there any other way to create movieclip instances dynamically?
Thanks
movieclip.duplicatemovieclip(target,newname,depth)
Its not exactly the same but is a way to dynamically create movieclips. Attach Movieclip uses the Library function which isn't implemented yet.
I used it in the Star Cursor that is floating around. I also did a snowflake example using it. Both have been posted here before.
Unfortunatly, attachmovie is not implemented yet, as you have discovered.
The work around would be to use duplicateMovieClip. I usually place the movie clip I want duplicated somewhere off the main stage so that it is not visible, and then duplicate it.
You can download an example of this from my site at:
http://www.bridel.org/cogs.zip
Hilary
--
Johnie beat me to it...
I think we both need to get a life :)
Hilary
--
Yes, but you know exactly where your examples are located... I have examples all over 4 web spaces and can't remember where I stashed them all. I've got some on a Tripod space, some on a GeoCities space, some on Brinkstar, and the latest Web space Provider I was using to store examples on was 0catch.
I'm playing with Sharp MotionArt- http://web1.galamo.com/sharpmotionart/
It's a neat little toy.
lol. thanks for the help. we used to have slang at college.. put feet.. meant sort of bow in reverence. u both are definitely awesome and friendly.
seems like all i need to do is post a question and take a short stroll and come back ... and they are already answered by then.
thanks again. appreciate it.
duplicateMovieClip() becomes a "way of life" for me into KoolMoves. ha ha ha
(It works faster than attachMovie() ,but eats more resources )
cheers