flash 로딩 onClipEvent(load){ this._parent.gotoAndStop(1); //this._x = Stage.width/2; //this._y = Stage.height/2; this.onEnterFrame = function(){ if( _root.getBytesLoaded() == _root.getBytesTotal() ){ this._parent.gotoAndPlay(2); }else{ this._parent.gotoAndStop(1); } } } Flash 2009.08.19
startDrag 의 문제점 startDrag(this, false, 250, 35, 600, 370); this.startDrag( false, 250, 35, 600, 370); 위 둘의 차이점은? Flash 2009.08.17
change MovieClip color colorTo = function (theHex, theMc) { colorful = new Color(theMc); colorful.setRGB(theHex); }; colorTo(0x00FFFF, theMc); 출처 : http://mattsflashjournal.blogspot.com/2007/03/change-movieclip-color.html Flash 2009.08.13
flash AS3.0 amfphp http://hi.baidu.com/wwwanq/blog/item/60a32a4e6551183eaec3ab17.html // Wade Arnold: 1/6/2008 // Example is designed to show how to use PHP sessions. package { // required for flash file and output display import flash.display.MovieClip; import fl.events.*; import flash.events.*; // required to send/recieve data over AMF import flash.net.NetConnection; import flash.net.Responder; // Flash CS3 Docu.. Flash 2009.08.05