|
Hello
GraphicLib, XMLToObject, LibStack
and VideoDisplay inherit from AbstractLib.
It handles onLoadInit, onLoadProgress
and onTimeOut events.
You can directly use getPerCent
and getName accessors with LibEvent to make your preloader UIs working
easily.
LibStack is a polymorphic stack
implementation, you can enqueue every classe above (:ILib type) .
LibStack instance will broadcast all
the AbtractLib events + onLoadComplete when the stack is empty.
example:
import com.bourre.data.libs.*; _gl = new GraphicLib(
mcTarget, 10); _vd = new VideoDisplay( mcTarget ); _lib = new
LibStack(); _lib.enqueue( _gl, "uis", "uis.swf" ); _lib.enqueue( _vd,
"video", "file.flv" ); _lib.addEventListener( LibStack.onLoadCompleteEVENT,
this, _launchMyApplication ); _lib.execute();
francis
----- Original Message -----
Sent: Wednesday, May 10, 2006 9:02
PM
Subject: Re: [osflash] aggLibTools
Librariesloader onLibraryProgressevent.target.bytesLoaded and bytesTotal
always returns "undefined"
I´m giving up on AggLibTools LibrariesLoader... Will use ARPX´s
MovieClipQueue instead or build my own dllloader for batch loadings...
Thanks,
Marcelo.
On 5/10/06, Marcelo de
Moraes Serpa <[EMAIL PROTECTED]> wrote:
So, has nobody ever used AggLibTools
LibrariesLoader class and Sexie/SexieR? Could anyone point me to its author
then...(as I couldn´t find any means to contact him)? I really need a
solution quickly for this issue :(
Thanks,
- Marcelo.
On 5/9/06, Marcelo de
Moraes Serpa <[EMAIL PROTECTED] >
wrote:
So, no ideas on what could be happening? I
tried to contact agglibtool´s author but couldn´t find any contact form on
his site: www.aggelos.org. I
really need some help here, I already tried to debug the code but
everything seems allright... otherwise I would have to use other solution
and the deadline is coming ... Thanks,
- Marcelo.
On 5/8/06, Marcelo
de Moraes Serpa <[EMAIL PROTECTED]
> wrote:
Strange! I have another function that
also uses MovieClip loader after LibrariesLoader loads some swfs, and
the onLoadProgress callback function returns the bytesTotal and
bytesLoaded correclty, but the aggLibTools LibrariesLoader seems to have
a bug. I´m testing it locally with xat.com WebSpeed
Simulator... It loads all the assets ok but the feedback on
bytesTotal and bytesLoaded isn´t given back (=undefined) so I can´t feed
the preloader :( Does anyone know what could be happening?
Thanks in advance,
-
Marcelo.
_______________________________________________ osflash mailing
list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
|
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org