Re: [flexcoders] Rotating html text
dunno if there is another work around but takinhg a snapshot using bitmapdata might solve the rotation. won't be particulary editable thoughOn 9/12/06, jeremyrichman [EMAIL PROTECTED] wrote: I have a Text field that I want to rotate but it must display htmltext, not just plain text.I have embedded the font that I am settingin the html with the CSS font face style but on rotation, the textvanishes. I have tested this with the non-htmltext property, and it rotates fineprovided I dotextObject.setStyle(fontFamily, myFont), but not thehtml version with the font face property set (unless I also set the textObject fontFamily CSS style, but I don't want to do that becauseeventually I'd like to embed several fonts and have text that couldcome from a mix of them).Any suggestions?Jeremt --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/-- j:pn http://www.lennel.org __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Rotating html text
Are you sure your fonts are embedded properly?AliasOn 12/09/06, jeremyrichman [EMAIL PROTECTED] wrote:I have a Text field that I want to rotate but it must display html text, not just plain text.I have embedded the font that I am settingin the html with the CSS font face style but on rotation, the textvanishes.I have tested this with the non-htmltext property, and it rotates fine provided I dotextObject.setStyle(fontFamily, myFont), but not thehtml version with the font face property set (unless I also set thetextObject fontFamily CSS style, but I don't want to do that because eventually I'd like to embed several fonts and have text that couldcome from a mix of them).Any suggestions?Jeremt--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Rotating html text
Can you please post the code that is not working? I tried to rotate Text, Label, and TextInput components that had htmlText and an embedded fontFamily specified. The rotation seemed to work for me. I tried specifying the fontFamily in the css and by using setStyle. These all worked, so maybe Im not getting the case that you are running into. Here is the code I was using: ?xml version=1.0 encoding=iso-8859-1? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml mx:Script ![CDATA[ private function setcc(): void { label1.setStyle(fontFamily, ComicSans); text1.setStyle(fontFamily, ComicSans); ti1.setStyle(fontFamily, ComicSans); } ]] /mx:Script mx:Rotate id=myRotate angleFrom=0 angleTo=180 / mx:Style source=comicsans.css / mx:Label id=label1 htmlText=lt;a href=''gt;I am sss comic sanslt;/agt; / mx:Button label=play rotate click=myRotate.play([label1, text1, ti1]) / mx:Text id=text1 htmlText=lt;a href=''gt;I am sss comic sanslt;/agt; / mx:TextInput id=ti1 htmlText=lt;a href=''gt;I am sss comic sanslt;/agt; / mx:Button label=set styles click=setcc() / /mx:Application comicsans.css @font-face { src: url(assets/comic.ttf); fontWeight: normal; fontFamily: ComicSans; } @font-face { src: url(assets/comicbd.ttf); fontWeight: bold; fontFamily: ComicSans; } Thanks, Joan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jeremyrichman Sent: Tuesday, September 12, 2006 1:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Rotating html text I have a Text field that I want to rotate but it must display html text, not just plain text. I have embedded the font that I am setting in the html with the CSS font face style but on rotation, the text vanishes. I have tested this with the non-htmltext property, and it rotates fine provided I do textObject.setStyle(fontFamily, myFont), but not the html version with the font face property set (unless I also set the textObject fontFamily CSS style, but I don't want to do that because eventually I'd like to embed several fonts and have text that could come from a mix of them). Any suggestions? Jeremt __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Rotating html text
I have a Text field that I want to rotate but it must display html text, not just plain text. I have embedded the font that I am setting in the html with the CSS font face style but on rotation, the text vanishes. I have tested this with the non-htmltext property, and it rotates fine provided I do textObject.setStyle(fontFamily, myFont), but not the html version with the font face property set (unless I also set the textObject fontFamily CSS style, but I don't want to do that because eventually I'd like to embed several fonts and have text that could come from a mix of them). Any suggestions? Jeremt -- 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/