nevermind, i figured it out shortly after hitting send...

[EMAIL PROTECTED] = colorGroup.selectedValue.toString();
[EMAIL PROTECTED] = "none";
path["@stroke-width"]= lineThickness.selectedLabel;

==============
im creating a flex widget which converts flash player drawing api graphics 
into svg.  So far, this has gone well, but i hit an ugly snag.  it seems 
the svg spec uses "stroke-width" as the attribute to specify the width of a 
line, however, the flex compiler doesn't allow for hyphens in an attribute.

does any one know of a work around for this, either on the flex side 
(tricking the compiler into letting me add [EMAIL PROTECTED] 
lineThickness.selectedLabel) or on the SVG side (any other way to specify a 
lineWidth which doesnt involve a hyphenated attribute?

as always, any help greatly appreciated.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to