PDA

View Full Version : LoadMovie or duplicatemovieclip


Skwerlz
04-09-2007, 11:47 PM
Ok here goes. I am making a see your home before yuo have your exterior work done.

I'm on windows, of which there will be multiple choices of windows to put in certain areas. That part I have no problem with.

My problem comes with adding shutters as each window is a different size so I would need to place the shutters differently for each window, but be able to load the same shutter for all windows, but be able to change the shutter color as well.

I was thinking I could create a movie clip called "shutters_mc".
Inside "shutters_mc" I would have an mc called "color_mc" which I would use colortransform to change the color, and "shutload_mc" that I would use to load the shutter image.

I then want to load "shutters_mc" into the externally loaded movie called "windows_mc" which has 2 MCs maybe called "shuts_mc" to load "shutters_mc" into.

So I want to load _root.shutters_mc into _root.windows_mc.shuts_mc

I am wondering if waht I am suggesting is possible or if there is a better or alternate way to do it.

evride
04-10-2007, 12:17 AM
well if you use a lot of colors for the shutters you can use the color picker compcolor i would use the Zcolor picker component. It's on the flash exchange site. Click here (http://www.adobe.com/cfusion/exchange/index.cfm?view=sn110#view=sn106&viewName=Exchange%20Search%20Details&loc=en_us&authorid=64545675&page=0&scrollPos=0&subcatid=0&snid=sn106&itemnumber=9&extid=1020265&catid=0) to go to the exchange site for it.

And since the windows are a different size you could probably use the xscale yscale features of actionscript, but I don't know how you can tell what to change the scale to.

Skwerlz
04-10-2007, 12:44 AM
Maybe this is a better way for me to explain what I am trying to do.
I want to load an external swf into a child MC so I can apply an overlay movie to it, and then load that MC into multiple MCs.

So...
load shutter.swf into _root.shutters_mc.shutload_mc

then load shutters_mc into
window1_mc.shuts_mc
window2_mc.shuts_mc
and so on. Any help would be appreciated.
Thanks for all and any efferts given or to come.