On 3/20/13 9:55 AM, "jude" <flexcapaci...@gmail.com> wrote:


> 
> Ha, yes. :) I was concerned that we may still need a drawing canvas at
> runtime or that we should keep looking into it. What if you change the
> color of a button? I was looking online and I think the HTML canvas has a
> draw command. So we could mix and match. We draw to the canvas and then
> rasterize it and load it into the dictionary replacing the last instance if
> it's been updated. If the canvas doesn't allow it we can also check webgl.
> I haven't had a chance to look at Flex JS but I will this weekend.
> 
For sure, we will probably have to support runtime vector rasterization, but
we have to make it clear to folks that it could be very expensive.  It might
be far cheaper to have two button bitmaps of different colors.  Even a dozen
bitmaps might be less expensive.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui

Reply via email to