bugGnash - The GNU Flash player - Bugs: bug #21498, Color class not implemented

 
 

bug #21498: Color class not implemented

Submitted by:  Sandro Santilli <strk>
Submitted on:  Fri 02 Nov 2007 01:18:36 AM UTC  
 
Category: ActionScriptSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 04 Nov 2007 11:14:26 PM UTC, comment #4:

Considering all the paths when computing ray crossing fixed this case. Would be hart to test with the drawing API as moving the pen triggers closing the path. Further reducing the attached files might give us an usable SWF for automated testing.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Fri 02 Nov 2007 06:18:15 PM UTC, comment #3:

_level0.table.instance27 is the table.

instance27 should be character id 81 (a button) containing a single element (charater 80).

80 is a shape. RECT: (-5452,-1836)x(5452,1836):14

I used swfmill to isolate the
sprite containing the button containing the shape.
Attached both XML and SWF, which can be used for furhter debugging.

(file #14282, file #14283)

Sandro Santilli <strk>
Project MemberIn charge of this item.
Fri 02 Nov 2007 06:05:43 PM UTC, comment #2:

I'm almost satisfied with the Color class implementation now,
except pixel-checking automated testing is needed (adding to DrawingApiTest.as should be fun for anyone willing to help).

On the hit test thing, it seems all active characters are buttons.
The table seems to get events directed at the color picker instead.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Fri 02 Nov 2007 03:12:32 PM UTC, comment #1:

I implemented setTransform, which seems to fix this movie, at least for the color part.

Other failures in the movie seem related to hit tests.
The color support itself is not yet finished, but needs another testcase to go on. In particular we need to better implement setRGB/getRGB and getTransform.

swfdec has some tests and I added a few in our actionscript.all/Colors.as (still not all passing).

Sandro Santilli <strk>
Project MemberIn charge of this item.
Fri 02 Nov 2007 01:18:36 AM UTC, original submission:

Attached useful testcase for whoever will want to implement it.

Sandro Santilli <strk>
Project MemberIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #14282:  halloweenpaint-reduced.swf added by strk (1KiB - application/x-shockwave-flash)
file #14274:  halloweenpaint.swf added by strk (27KiB - application/x-shockwave-flash)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk
  • -unavailable- added by strk
  • -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):

     

     

    Follow 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 05 Nov 2007 08:08:05 AM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sun 04 Nov 2007 11:14:26 PM UTCstrkStatusIn Progress=>Ready For Test
    Fri 02 Nov 2007 06:18:15 PM UTCstrkAttached File-=>Added halloweenpaint-reduced.swf, #14282
      Attached File-=>Added halloweenpaint-reduced.xml, #14283
    Fri 02 Nov 2007 06:05:43 PM UTCstrkCarbon-Copy-=>Added zoulunkai
      Carbon-Copy-=>Added meteoryte
    Fri 02 Nov 2007 03:12:32 PM UTCstrkStatusNone=>In Progress
      Assigned toNone=>strk
    Fri 02 Nov 2007 01:18:36 AM UTCstrkAttached File-=>Added halloweenpaint.swf, #14274

    Back to the top


    Powered by Savane 3.1-cleanup1