Attaching MC's and Masking and apply _width/_height of MC's


i’m creating a flash presentation. and the following have had me hating Flash MX

  1. when i use the “attachMovie” command to attach several movies (which are just gif’s inside movie clips).

onCLipEvent (load) {
completeMC.animMC.Blank.attachMove (xLnk, xMC, 21)
completeMC.animMC.Blank.attachMove (yLnk, yMC, 22)
completeMC.animMC.Blank.attachMove (zLnk, zMC, 23)

now this works…great BUT the problem is,
I want different buttons to make different “xMC, yMC and zMC” appear and switch off - i’m using “_visible” for this.

All of the mc’s sit within “BLANK” (if blank ._visible = true) then the zMC (layer 23) is visible irrespective of BLANK.zMC._visible = false, and the earlier depth being _visible = true … ???

why is this … I can turn the “whole bunch” of them off or on… not the individual “depths” ?

surely they are ALL individual MC’s within “Blank” and i can alter the properties of each of them individually ?

Anyhelp would be SOOOOOo appreciated (i’ve had to find a work around but this confuses me)

regards in advance for your help…


[email protected] (web site not up yet)

it looks like you’re changing the _visible property for Blank. Dont you want to change that property for the new mc?

I prefer changing the alpha… but that’s just me…

here’s a sample:

&nbsp &nbsp &nbsp &nbsp cit=_root.empty.bluec
&nbsp &nbsp &nbsp &nbsp if(_root.buttonstate1==“on”){
&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp cit._alpha=0;
&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp _root.buttonstate1=“off”;
&nbsp &nbsp &nbsp &nbsp } else if(_root.buttonstate1==“off”){
&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp cit._alpha=100;
&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp _root.buttonstate1=“on”;
&nbsp &nbsp &nbsp &nbsp
&nbsp &nbsp &nbsp &nbsp }
&nbsp &nbsp &nbsp &nbsp
&nbsp &nbsp &nbsp &nbsp

empty is “blank” in your case…
I just used buttonstate as a toggle…

Hi there matey,
cheers for taht, i’ll have a look into it… and play around with your suggestions …