bugGnash - The GNU Flash player - Bugs: bug #32516, findObject fails to cross soft...

 
 

bug #32516: findObject fails to cross soft references

Submitter:  Sandro Santilli <strk>
Submitted:  Thu 17 Feb 2011 03:30:18 PM UTC
   
 
Category:  ActionScript Severity:  4 - Important
Release:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 17 Feb 2011 06:23:33 PM UTC, comment #2: 

Another case of failure is loading into a target string
which contains element being soft-references.
Such an example would be:

http://cdn.flashtalking.com/tagsv3/89378/160859/swf/URL_S_WASH_BE_728x90.swf

Sandro Santilli <strk>
Group Member
Thu 17 Feb 2011 05:51:14 PM UTC, comment #1: 

So, not skipping rebinds triggers an infinite loop during rebinding (which uses findCharacterByTarget).

The loop is triggered by a test in actioncript.all/MovieClip.as

Sandro Santilli <strk>
Group Member
Thu 17 Feb 2011 03:30:18 PM UTC, original submission:  

The new loadMovieTestRunner failures are due to this.

removeMovieClip(_level0.coverart.child0);

Gnash considers it invalid, as 'coverart' component is a
rebound soft reference to a movieclip, so for gnash doesn't
yeld a DIsplayObject.

This is in MovieClip::pathElement, near the end:

        return getObject(tmp.toDisplayObject(true));

Passing 'false' argument would allow that.

Note that other tests in loadMovieTest are disabled for the
same reason (or similar): GETURL _level0.coverart failing
due to 'coverart' not recognized as a DisplayObject.

Sandro Santilli <strk>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by strk (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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-02-17 strk Severity5 - Blocker 4 - Important

    Back to the top

    Powered by Savane 3.13-5190.
    Corresponding source code