1. adding objects to surface
surfaceGalleriesDisplay.addChild(grpFrame); //rect that used as a frame for
an image - added object is a GeometryGroup
surfaceGalleriesDisplay.addChild(im); //Flex Image
surfaceGalleriesDisplay.addChild(grpThump); //another rect used as mask for
the image
surfaceGalleriesDisplay.addChild(detailsCanvas);//a flex canvas object
over the image
2.hook to the canvas (details canvas) ROLL_OUT event
details.addEventListener(MouseEvent.ROLL_OUT,hideItemDetails);
3.event handler will change the image frame (rect inside a geometryGroup)
stroke
var stroke:SolidStroke = isOver ? strokeWhite : strokeBlack;
var frame:RoundedRectangle =
grpItem.frame.geometryCollection.getItemAt(0) as RoundedRectangle;
frame.stroke = stroke; //THE PROBLEM
the actual stroke reference is updated on the object ,
but the view doesn't change event after a call to invalidate
Original issue reported on code.google.com by alon.ag...@gmail.com on 27 Aug 2009 at 12:02
Original issue reported on code.google.com by
alon.ag...@gmail.com
on 27 Aug 2009 at 12:02