[Extendflash] getCustomStroke() - Seems like serious bug
Gilles Drieu
gdrieu at macromedia.com
Fri Oct 7 11:21:51 PDT 2005
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.flashguru.co.uk/pipermail/extendflash/attachments/20051007/d66ddb3a/attachment-0001.htm
More information about the Extendflash
mailing list