[Flashcoders] preloader issue

2006-03-15 Thread Edward Hotchkiss
I am really trying to have my preloader work, with a site that is 100% AS. the entire site resides either in classes or as on the first frame. there has got to be some way to preload a site, with a single function that is entirely dynamic. this is what i have, but it will not even appear on the

[Flashcoders] preloader issue

2006-03-09 Thread murder design
well, the preloader does display load status, then simply repeats, instead of deleting itself, it just repeats the loading ... any ideas??? i just want the swf it loads to not play or start until it is fully loaded, and the label_txt is deleted etc ... onClipEvent(load) {

[Flashcoders] preloader issue?

2006-03-07 Thread murder design
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);

RE: [Flashcoders] preloader issue?

2006-03-07 Thread Hairy Dog Digital
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

RE: [Flashcoders] preloader issue?

2006-03-07 Thread Hairy Dog Digital
Also, double check the string concatenation. You had an ampersand in... _root.label_txt.text = percent % LOADED It should be a plus sign... _root.label_txt.text = percent + % LOADED ___ Flashcoders@chattyfig.figleaf.com To change your

Re: [Flashcoders] preloader issue?

2006-03-07 Thread Van Tuck
If you attach this to the clip itself, it does work - onClipEvent (load) { this.loadMovie(bigfile.swf); } onClipEvent (enterFrame) { tBytes = this.getBytesTotal(); trace(tBytes: +tBytes); bLoaded = this.getBytesLoaded(); trace(bLoaded: +bLoaded);

Re: [Flashcoders] preloader issue?

2006-03-07 Thread Morrison
one for all those with gmail On 3/7/06, Van Tuck [EMAIL PROTECTED] wrote: If you attach this to the clip itself, it does work - onClipEvent (load) { this.loadMovie(bigfile.swf); } onClipEvent (enterFrame) { tBytes = this.getBytesTotal(); trace(tBytes: +tBytes);

Re: [Flashcoders] preloader issue?

2006-03-07 Thread Byron Canfield
Part of the problem is that your onEnterFrame is getting stomped on by the reinstantiation of the target movieclip when the SWF actually begins to load. That effectively (quite) deletes the onEnterFrame. Either attach the onEnterFrame to some other timeline, or load the movie into some other

Re: [Flashcoders] preloader issue?

2006-03-07 Thread murder design
this code does work, however the percent displays something like 15 places ... onClipEvent (load) { this.loadMovie(bigfile.swf); } onClipEvent (enterFrame) { tBytes = this.getBytesTotal(); trace(tBytes: +tBytes); bLoaded = this.getBytesLoaded(); trace(bLoaded: