MovieClip's have security sandboxes. As such, you are "allowed" to do certain commands and access on MovieClip's only if that MovieClip's contents reside in your approved security sandbox. SWF's, JPEG's, FLV's, and now PNG's and GIF's all have abide by these rules.
My guess is, _alpha actually tells the container MovieClip, in this case _root, or container._parent, to blit the contents on it's display list whereas visible actually tells the MovieClip, "container" to render it's contents invisible. One deals with the parent, one deals with the movieclip itself. Just guessing; I didn't write the Flash Player, hehe! Additionally, you can only set some properties of MovieClip's until their content has loaded AND taken 1 frame to initialize. Since you are setting the visible property before the content is done, it'll adopt the new security sandbox settings when you load it. If you waited 2 frames after the image is done loading, I bet it'd turn invisible. ----- Original Message ----- From: "zikey Han" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" <[email protected]> Sent: Thursday, April 06, 2006 1:37 AM Subject: [Flashcoders] What's different between _alpha=0 and _visible =flase; 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. -- 亲爱的朋友,祝你天天快了! http://www.flashpixy.com -------------------------------------------------------------------------------- _______________________________________________ [email protected] 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 _______________________________________________ [email protected] 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

