The other major difference is easily shown:
Place a movieClip on stage.
Give it an onRelease handler:
clip.onRelease=function(){trace("Release!");}

Test your movie - click on it, and Release! is traced.

Set clip._alpha to 0

Test the movie - click on where the clip should be, and Release! is traced.

Set clip._visible=false
Test the movie - click on where the clip should be, and nothing
happens. The clip has effectively been removed from the drawing
heirarchy completely.

Cheers,
  Ian


On 4/6/06, zikey Han <[EMAIL PROTECTED]> wrote:
> I kown that one different between _alpha=0 and _visible =flase.
>
> when we load a picture or swf ,like this:
>
> this.createEmptyMovieClip("container_mc",0);
> container_mc.loadMovie("test.jpg");
> container_mc._alpha =0 ;
> ////////////////////you can see nothing in the scene.because of ._alpha =0;
> but if you
> container_mc_visible=false ;
> ////////////////////you can see the test.jpg on the scene._visible = false
> do nothing.
>
> i want to kown ,what the other different between them.
>
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to