Image loading does not fire events.

RESOLVED FIXED

Status

P2
normal
RESOLVED FIXED
4 years ago
3 years ago

People

(Reporter: mbx, Assigned: tschneider)

Tracking

Details

(URL)

(Reporter)

Description

4 years ago
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, ...);
(Reporter)

Updated

4 years ago
Blocks: 1037568
(Reporter)

Comment 2

4 years ago
Is it now just a problem with PROGRESS events?
(Reporter)

Updated

4 years ago
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
(Assignee)

Comment 4

4 years ago
Fixed in https://github.com/mozilla/shumway/pull/1720.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.