PDA

View Full Version : Dynamically swap symbols etc?



mawooshen
March 1st, 2006, 12:05 AM
Hi, can anyone tell me if there is a simple way to dynamically swap symbols with actionscript?
ie i have two buttons. When i click one i want to replace the other with a graphic or movie.

I guess i could use loadMovie but it seems a little complicated and overkill.

any ideas?

phorte
March 1st, 2006, 03:36 AM
ud have to give u movieclip a linkageID in the library, then use the attachMovieClip function to load it in.

mawooshen
March 1st, 2006, 10:41 AM
ud have to give u movieclip a linkageID in the library, then use the attachMovieClip function to load it in.

Thanks, I'll give it go.