[Extendflash] getCustomStroke() - Seems like serious bug

Ibis Fernandez ibis at cinestarfilmworks.com
Fri Oct 7 12:38:10 PDT 2005


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/59ab1ef5/attachment.htm


More information about the Extendflash mailing list