[Extendflash] getCustomStroke() - Seems like serious bug

Ibis Fernandez ibis at cinestarfilmworks.com
Thu Oct 6 23:34:45 PDT 2005


Can some please verify that this is in fact a bug and that I’m not just
going crazy trying to fix something that is the result of a bug in flash as
opposed to something in my code.
 
Basically, in one of my extensions there is a series of functions that send
color data to the color chip of the stroke. In flash 8 this no longer works.
At first I though this was due to some of the changes such as the additional
properties that have been added to the stroke object but…. And here is the
big “BUTT” after going over and over the manual, and the messing with it for
hours I just cant seem to get it to work the way its supposed to…
 
Here’s the basic function:
 
var stroke = fl.getDocumentDOM().getCustomStroke();
stroke.style= "solid";
stroke.color = "#CCCCCC";
fl.getDocumentDOM().setCustomStroke(stroke);
 
Try it, you’ll see that rather than changing the color to #cccccc it
actually changes to a shade of black with like 1% alpha… The wacky thing is
that if you click the stroke chip and look at the pull out color picker, the
little field reads “#CCCCC” yet displays the black color. If you look at the
color mixer panel, the hex color reads “#90DE59” (how the heck did that
happened?). It also seems to change the stroke size to 6.6 for some crazy
reason.
 
Hopefully one of you can confirm that this is a bug, or hopefully suggest a
work around to use.
 
Thanks.

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.11/121 - Release Date: 10/6/2005
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.flashguru.co.uk/pipermail/extendflash/attachments/20051006/4b00459c/attachment.htm


More information about the Extendflash mailing list