Closed Bug 1063301 Opened 10 years ago Closed 10 years ago

Image loading does not fire events.

Categories

(Firefox Graveyard :: Shumway, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mbx, Assigned: tschneider)

References

()

Details

Loading images using 'flash.display.Loader' does not work. The following code is from the referenced example SWF:

var imageLoader = new flash.display.Loader();
var imageURLReq = new flash.net.URLRequest(url);
imageLoader.load(imageURLReq);

imageLoader.contentLoaderInfo.addEventListener(flash.events.Event.INIT, ...);
imageLoader.contentLoaderInfo.addEventListener(flash.events.ProgressEvent.PROGRESS, ...);
imageLoader.contentLoaderInfo.addEventListener(flash.events.Event.COMPLETE, ...);
imageLoader.contentLoaderInfo.addEventListener(flash.events.IOErrorEvent.IO_ERROR, ...);
Blocks: shumway-m3
Is it now just a problem with PROGRESS events?
Flags: needinfo?(ydelendik)
(In reply to Michael Bebenita [:mbx] from comment #2)
> Is it now just a problem with PROGRESS events?

Yes, the PROGRESS event is fired with wrong amount of total bytes and, I think, after COMPLETE.
Flags: needinfo?(ydelendik)
Assignee: nobody → schneider
Priority: -- → P2
Fixed in https://github.com/mozilla/shumway/pull/1720.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.