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

 
 

bug #32516: findObject fails to cross soft references

Submitted by:  Sandro Santilli <strk>
Submitted on:  Thu 17 Feb 2011 03:30:18 PM UTC  
 
Category: ActionScriptSeverity: 4 - Important
Release: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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>
Project 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>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 17 Feb 2011 04:49:04 PM UTCstrkSeverity5 - Blocker=>4 - Important

    Back to the top


    Powered by Savane 3.1-cleanup