Re: [flexcoders] Runtime Class Loading

2008-03-30 Thread Paul Spitzer
I'm not ever getting an INIT event either. Maybe I should try compiling from the command line instead of letting Flex Builder build my SWC. Not sure why that would make a difference but it does seem like something is going on with the SWF. gabriel montagné wrote: Also, you should wait for the

RE: [flexcoders] Runtime Class Loading

2008-03-29 Thread Alex Harui
Of Paul Spitzer Sent: Friday, March 28, 2008 2:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Runtime Class Loading Hi All, Hoping someone can help me out here... I'm near the point of loosing my mind. I'm trying to do a simple load of a library SWF in order to use the classes within

Re: [flexcoders] Runtime Class Loading

2008-03-29 Thread Paul Spitzer
. *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Paul Spitzer *Sent:* Friday, March 28, 2008 2:53 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Runtime Class Loading Hi All, Hoping someone can help me out here... I'm near

Re: [flexcoders] Runtime Class Loading

2008-03-29 Thread gabriel montagné
Also, you should wait for the INIT event to be sure that the loaded movie is ready. COMPLETE signals that all the bytes have loaded, but init gets fired after all initialization is complete and the swf is already added to the loader. -- gabriel montagné láscaris comneno http://rojored.com

[flexcoders] Runtime Class Loading

2008-03-28 Thread Paul Spitzer
Hi All, Hoping someone can help me out here... I'm near the point of loosing my mind. I'm trying to do a simple load of a library SWF in order to use the classes within. Unfortunately it's not working. What I did was create a new library project, stuffed in a couple of classes, extracted the

Re: [flexcoders] Runtime Class Loading

2008-03-28 Thread Paul Spitzer
Ok, so I made some progress. If in the progress handler I do something like... if(event.bytesLoaded == event.bytesTotal) { var timer: Timer = new Timer(1000, 1); timer.addEventListener(TimerEvent.TIMER, this.handleTimer); timer.start(); } I can the access the the lib in the timer