Re: [flexcoders] Vertical Text on a button
You could, but graphics aren't dynamic, embedded fonts allows dynamic changing of the buttons' text. - Original Message - From: "James" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 31, 2006 11:45 PM Subject: RE: [flexcoders] Vertical Text on a button I'm not sure here, but can't you just make a graphic and use that instead of text on the button? James -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Tuesday, January 31, 2006 10:50 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Vertical Text on a button Just so you know _rotation isn't suppoted, so we're in the ether realms here. If I were you, I'd extend button, and do a _rotation on the init for just the label so things like width and height are relevant. - Original Message - From: "Graham, Jason" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 31, 2006 4:48 PM Subject: RE: [flexcoders] Vertical Text on a button The problem is I want the button to be a specific size after I rotate it. For example. I want a long button that's width = 20 and height = 100% with vertical text. If I initially create the button with a width of 20 and height of 100% and do the rotate the button is now horizontal and half off the screen. If I create the button initially with width of 100% and height of 20 and do the rotate the results get even stranger. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Tuesday, January 31, 2006 2:00 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Vertical Text on a button yourButton.setStyle("embedFonts", true); yourButton.setStyle("fontFamily", "Verdana"); And ensure whatever font you are embedding is the font it's using, like Verdana for example. Then: yourButton._rotation = 90; - Original Message - From: "jgraham_us" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 31, 2006 2:56 PM Subject: [flexcoders] Vertical Text on a button I have found examples on doing vertical text on a Label but I would like to put vertical text on a button. Is there an example of doing this? The label just takes a String. -- 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 -- 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 -- 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 -- 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 -- 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 -- 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/ <*> 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/
RE: [flexcoders] Vertical Text on a button
I'm not sure here, but can't you just make a graphic and use that instead of text on the button? James -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Tuesday, January 31, 2006 10:50 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Vertical Text on a button Just so you know _rotation isn't suppoted, so we're in the ether realms here. If I were you, I'd extend button, and do a _rotation on the init for just the label so things like width and height are relevant. - Original Message - From: "Graham, Jason" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 31, 2006 4:48 PM Subject: RE: [flexcoders] Vertical Text on a button The problem is I want the button to be a specific size after I rotate it. For example. I want a long button that's width = 20 and height = 100% with vertical text. If I initially create the button with a width of 20 and height of 100% and do the rotate the button is now horizontal and half off the screen. If I create the button initially with width of 100% and height of 20 and do the rotate the results get even stranger. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Tuesday, January 31, 2006 2:00 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Vertical Text on a button yourButton.setStyle("embedFonts", true); yourButton.setStyle("fontFamily", "Verdana"); And ensure whatever font you are embedding is the font it's using, like Verdana for example. Then: yourButton._rotation = 90; - Original Message - From: "jgraham_us" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 31, 2006 2:56 PM Subject: [flexcoders] Vertical Text on a button I have found examples on doing vertical text on a Label but I would like to put vertical text on a button. Is there an example of doing this? The label just takes a String. -- 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 -- 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 -- 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 -- 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 -- 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/ <*> 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/
Re: [flexcoders] Vertical Text on a button
Just so you know _rotation isn't suppoted, so we're in the ether realms here. If I were you, I'd extend button, and do a _rotation on the init for just the label so things like width and height are relevant. - Original Message - From: "Graham, Jason" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 31, 2006 4:48 PM Subject: RE: [flexcoders] Vertical Text on a button The problem is I want the button to be a specific size after I rotate it. For example. I want a long button that's width = 20 and height = 100% with vertical text. If I initially create the button with a width of 20 and height of 100% and do the rotate the button is now horizontal and half off the screen. If I create the button initially with width of 100% and height of 20 and do the rotate the results get even stranger. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Tuesday, January 31, 2006 2:00 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Vertical Text on a button yourButton.setStyle("embedFonts", true); yourButton.setStyle("fontFamily", "Verdana"); And ensure whatever font you are embedding is the font it's using, like Verdana for example. Then: yourButton._rotation = 90; - Original Message - From: "jgraham_us" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 31, 2006 2:56 PM Subject: [flexcoders] Vertical Text on a button I have found examples on doing vertical text on a Label but I would like to put vertical text on a button. Is there an example of doing this? The label just takes a String. -- 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 -- 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 -- 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 -- 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/ <*> 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/
RE: [flexcoders] Vertical Text on a button
The problem is I want the button to be a specific size after I rotate it. For example. I want a long button that's width = 20 and height = 100% with vertical text. If I initially create the button with a width of 20 and height of 100% and do the rotate the button is now horizontal and half off the screen. If I create the button initially with width of 100% and height of 20 and do the rotate the results get even stranger. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Tuesday, January 31, 2006 2:00 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Vertical Text on a button yourButton.setStyle("embedFonts", true); yourButton.setStyle("fontFamily", "Verdana"); And ensure whatever font you are embedding is the font it's using, like Verdana for example. Then: yourButton._rotation = 90; - Original Message - From: "jgraham_us" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 31, 2006 2:56 PM Subject: [flexcoders] Vertical Text on a button I have found examples on doing vertical text on a Label but I would like to put vertical text on a button. Is there an example of doing this? The label just takes a String. -- 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 -- 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 -- 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/ <*> 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/
Re: [flexcoders] Vertical Text on a button
yourButton.setStyle("embedFonts", true); yourButton.setStyle("fontFamily", "Verdana"); And ensure whatever font you are embedding is the font it's using, like Verdana for example. Then: yourButton._rotation = 90; - Original Message - From: "jgraham_us" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 31, 2006 2:56 PM Subject: [flexcoders] Vertical Text on a button I have found examples on doing vertical text on a Label but I would like to put vertical text on a button. Is there an example of doing this? The label just takes a String. -- 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 -- 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/ <*> 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/