are your trace statements showing the expected info?
> -----Original Message----- > From: murder design [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 07, 2006 1:46 PM > To: Flashcoders mailing list > Subject: [Flashcoders] preloader issue? > > I have posted this before, and gotten some feedback, this is > the result, yet i still cannot get the clip to display the > load progress of "bigfile.swf" > inside the label_txt. the swf loads inside of _root.target_mc > ... any ideas here people? > > // - begin code > target_mc.loadMovie("bigfile.swf"); > target_mc.onEnterFrame = function() { > tBytes = getBytesTotal(); > trace ("tBytes: " + tBytes); > bLoaded = getBytesLoaded(); > trace ("bLoaded: " + bLoaded); > percent = (bLoaded/tBytes) * 100; > if (bLoaded < tBytes){ > _root.bar_mc._xscale = (bLoaded/tBytes)*100; > _root.label_txt.text = percent & " % LOADED" > } else { > //play(); > //_root.target_mc.unloadMovie(); > delete this.onEnterFrame; > } > } > > // end code > > regards, edward > _______________________________________________ > 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 > > > _______________________________________________ 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