bugGnash - The GNU Flash player - Bugs: bug #46865, Gnash rejects `levelNumber`...

 
 

bug #46865: Gnash rejects `levelNumber` parameter in `MovieClipLoader.loadClip(URL,levelNumber)`

Submitter:  Nutchanon Wetchasit <nachanon>
Submitted:  Sun 10 Jan 2016 05:00:25 AM UTC
   
 
Category:  core Severity:  3 - Normal
Release:  master Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 10 Jan 2016 05:10:38 AM UTC, comment #2: 

This is a video result from Adobe Flash Player:
http://www.mediafire.com/?4jfu111z8azfcvk

You'll see that the animation (which is loaded from external SWF) plays.

This is a video result from Gnash:
http://www.mediafire.com/?uj7a5i7w909irk4

You'll see that the external SWF animation does not load.

Gnash's console output shows:

119 TRACE: loader: starting
120 ACTIONSCRIPT ERROR: Could not find target 1 (evaluated from [number:1])
120 TRACE: loader: failed to start animation loading


Test SWF, full source code, build scripts, screencasts, and logs (verbosity 2
with action error log) are attached.

Gnash: 0.8.11dev (git 15d61a8 26-Dec-2015)
Flash Player: 11.2 r202 (11.2.202.491) Standalone
System: Debian GNU/Linux 7.0 Wheezy i386

(file #35960)

Nutchanon Wetchasit <nachanon>
Sun 10 Jan 2016 05:03:15 AM UTC, comment #1: 

Markup on previous post was messed up a bit, here is the original post:

I have created a test Flash file which tries to display an external SWF file,
by loading it to `_level1` using `MovieClipLoader.loadClip(URL,levelNumber)`:

var loader:MovieClipLoader;

trace("loader: starting");
loader = new MovieClipLoader();
if(!loader.loadClip("testanimation.swf", 1)) {
        trace("loader: failed to start animation loading");
}


It works as expected under Flash Player, but failed under Gnash;
`MovieClipLoader.loadClip()` rejected `levelNumber` argument,
and returned `false`.

Gnash: 0.8.11dev (git 15d61a8 26-Dec-2015)
Flash Player: 11.2 r202 (11.2.202.491) Standalone
System: Debian GNU/Linux 7.0 Wheezy i386.

Note: If I replaced the `levelNumber` argument with a `MovieClip` instance,
it would work without problem under both Gnash and Flash Player.

Nutchanon Wetchasit <nachanon>
Sun 10 Jan 2016 05:00:25 AM UTC, original submission:  

I have created a test Flash file which tries to display an external SWF file,
by loading it to `_level1` using `MovieClipLoader.loadClip(URL,levelNumber)`:

var loader:MovieClipLoader;

trace("loader: starting");
loader = new MovieClipLoader();
if(!loader.loadClip("testanimation.swf", 1)) {
        trace("loader: failed to start animation loading");
}
-verbatim+

It works as expected under Flash Player, but failed under Gnash;
`MovieClipLoader.loadClip()` rejected `levelNumber` argument,
and returned `false`.

Gnash: 0.8.11dev (git 15d61a8 26-Dec-2015)
Flash Player: 11.2 r202 (11.2.202.491) Standalone
System: Debian GNU/Linux 7.0 Wheezy i386.

Note: If I replaced the `levelNumber` argument with a `MovieClip` instance,
it would work without problem under both Gnash and Flash Player.

Nutchanon Wetchasit <nachanon>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #35963:  loaderlevelno_gnash0.8.11dev-15d61a8.ogv added by nachanon (25KiB - video/ogg - Screencast and debug log (verbosity 2 + action error log) from Gnash 0.8.11dev git 15d61a8)
file #35964:  loaderlevelno_gnash0.8.11dev-15d61a8.log added by nachanon (3KiB - text/x-log - Screencast and debug log (verbosity 2 + action error log) from Gnash 0.8.11dev git 15d61a8)
file #35961:  loaderlevelno_fp11.2.202.491.ogv added by nachanon (133KiB - video/ogg - Screencast and trace log from Adobe Flash Player)
file #35962:  loaderlevelno_fp11.2.202.491.log added by nachanon (341B - text/x-log - Screencast and trace log from Adobe Flash Player)
file #35960:  loaderlevelno.zip added by nachanon (27KiB - application/zip - Test SWF, source code, and build script)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nachanon (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-01-10 nachanon Attached File- Added loaderlevelno_gnash0.8.11dev-15d61a8.ogv, #35963
        Attached File- Added loaderlevelno_gnash0.8.11dev-15d61a8.log, #35964
    2016-01-10 nachanon Attached File- Added loaderlevelno_fp11.2.202.491.ogv, #35961
        Attached File- Added loaderlevelno_fp11.2.202.491.log, #35962
    2016-01-10 nachanon Attached File- Added loaderlevelno.zip, #35960

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code