Results 1 to 1 of 1
Thread: 8 / AS2.0
Hybrid View
-
23rd December 2006 16:09 #1
8 / AS2.0
,
flash/actionscript 2-3 , .. , . Flash8 / AS2.0:
. XML . , movieClip.
, listenerObj, .. :
ui_img_holder img_holder, MovieClip.Code:class img_pad extends movieClip { private var ui_img_holder:MovieClip; ... ... function LoadInfo( img_name:String... ) { .... .... var lis:Object = new Object(); lis.onLoadStart = function( targetMC ) { trace( "loading started" ); } this.ui_img_holder = this.attachMovie( "img_holder_mc", "mc_img_holder_"+pr_id, this.getNextHighestDepth() ); this.ui_img_holder.addListener( lis ); this.ui_img_holder.loadMovie( img_url ); } }
, MovieClip. " " , , onLoadStart
. , event , MovieClip. AS2.0 , EventListener -.




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in