[Extendflash] getCustomStroke() - Seems like serious bug
Tomas van der Haase
tvander at macromedia.com
Fri Oct 7 12:03:08 PDT 2005
Hello:
Although there is a bug here, a viable workaround is:
fl.getDocumentDOM().setStrokeColor("#cc00cc");
fl.getDocumentDOM().setStrokeStyle('solid');
Tomas van der Haase
Flash Authoring QA
Macromedia, Inc.
On Oct 7, 2005, at 10:21 AM, Gilles Drieu wrote:
> Thanks for your feedback.
>
>
>
> How did you submit the bug? Do you have a bug number? We are looking
> into the problem and will make sure it gets fixed. I am not sure there
> is much of a workaround here but if we find one, we will send it as
> well.
>
>
>
> -Gilles.
>
>
>
> -----
>
> Gilles Drieu
>
> Sr. Manager, Engineering
>
> Flash Authoring Team
>
> Macromedia
>
>
>
>
> From: extendflash-bounces at flashguru.co.uk
> [mailto:extendflash-bounces at flashguru.co.uk] On Behalf Of Ibis
> Fernandez
> Sent: Friday, October 07, 2005 9:38 AM
> To: extendflash at flashguru.co.uk
> Subject: RE: [Extendflash] getCustomStroke() - Seems like serious bug
>
>
>
> Yes I have, and it’s still buggy. I have also tried defining the alpha
> like “#RRGGBBAA” and no luck
>
>
>
> I have also tried defining the Toolbar and selection parameter and the
> only thing that accomplishes is to lock up the other two panels
> properties and color mixer to null and lock up the toolbar chip so
> that you can’t change it. According to the new manual, leaving out the
> parameter applies the setting to all selected items, the tool bard and
> the properties panel, which is what I want.
>
>
>
> If you try the very same function in flash mx 2004 it works perfectly
> fine. (works in mx2004 perfectly).
>
>
>
> I’m pretty sure this is a bug, I went ahead and submitted it, and
> hopefully it can be looked at by someone at macromedia.
>
>
>
> Note: this is snipplet that sets up a new color for the fill…
>
>
>
> var fill = fl.getDocumentDOM().getCustomFill();
>
> fill.style= "solid";
>
> fill.color = "#CCCCCC";
>
> fl.getDocumentDOM().setCustomFill(fill);
>
>
>
> The snipplet for the stroke is exactly the same except for the the
> words “fill” which are changed to “stroke”.
>
>
>
> var stroke = fl.getDocumentDOM().getCustomStroke();
>
> stroke.style= "solid";
>
> stroke.color = "#CCCCCC";
>
> fl.getDocumentDOM().setCustomStroke(stroke);
>
>
>
> Both bits work perfectly fine in flash 7. But only the fill part works
> in flash 8.
>
>
>
> - Ibis
>
>
>
>
>
>
>
>
> From: Jim Allman [mailto:jim at ibang.com]
> Sent: Friday, October 07, 2005 9:32 AM
> To: ibis at cinestarfilmworks.com
> Subject: Re: [Extendflash] getCustomStroke() - Seems like serious bug
>
>
>
> On Oct 6, 2005, at 11:34 PM, Ibis Fernandez wrote:
>
> stroke.color = "#CCCCCC";
>
>
>
> Sorry, I don't have time to test this at the moment, but have you
> tried passing the color value as 0xCCCCCC instead?
>
>
>
> stroke.color = 0xCCCCCC;
>
>
>
> Perhaps they're expecting this format, and misinterpreting your string
> version.
>
>
>
> =jimA=
>
>
>
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> . . . . . . . . . . . . . . . .
>
> Jim Allman
>
> Interrobang Digital Media
>
> http://www.ibang.com/
>
> (919) 649-5760
>
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.11.13/123 - Release Date:
> 10/6/2005
>
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.11.13/123 - Release Date:
> 10/6/2005
>
> _______________________________________________
> Extendflash mailing list
> Extendflash at flashguru.co.uk
> http://lists.flashguru.co.uk/mailman/listinfo/extendflash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 11389 bytes
Desc: not available
Url : http://lists.flashguru.co.uk/pipermail/extendflash/attachments/20051007/e506f2e6/attachment.bin
More information about the Extendflash
mailing list