RE: [flexcoders] Handling CSS
Hello, Thanks for your answers. Two questions : Gordon, do you know a CSS to XML translator ? Mike, do you have some code to show ? -- Damien From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: mercredi 17 mai 2006 05:01 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Handling CSS I meant that the framework isn't designed to make this "just work". The player has some CSS parsing capabilities, you could write your own CSS parser in AS3, you could transform CSS into XML on the server and send it down to be parsed with E4X, etc. We will likely make runtime CSS support a feature in a future release. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Sent: Tuesday, May 16, 2006 2:22 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Handling CSS ... obviously there are some things 'not supported' I think anybody that is logical can consider the things that couldn't work :) Peace, Mike On 5/16/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: < Flex doesn't support runtime CSS. You must compile the CSS into your SWF. Yeah it does ;-) I've got a scheme in my extended workspace component set comming out. You'll have to see then how I implemented it. There are always ways to get in, always... :-) Peace, Mike On 5/16/06, Gordon Smith < [EMAIL PROTECTED]> wrote: Flex doesn't support runtime CSS. You must compile the CSS into your SWF. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of dmandrio Sent: Tuesday, May 16, 2006 2:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Handling CSS Hello, I am coding a visual component with custom CSS styling. The CSS stylesheet is accessible via an URL, how can i put the stylesheet in memory to use it, i haven't found a generic parser on flex documentation. Any Idea ? Damien. -- 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- What goes up, does come down. -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Handling CSS
Thanks for your answer. Your tricky solution is interesting but you're right, it can't be applied to my problem. An AS3 CSS Parser would be a solution, Are you the future writer of such a tool? -- Damien -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: mardi 16 mai 2006 17:32 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Handling CSS On 5/16/06, dmandrio <[EMAIL PROTECTED]> wrote: > I am coding a visual component with custom CSS styling. The CSS > stylesheet is accessible via an URL, how can i put the stylesheet in > memory to use it, i haven't found a generic parser on flex documentation. CSS currently is parsed at compile time. I had figured out a way to do it at runtime in Flex 1.5 [1], but I guess it won't work in your case. One of these days somebody's going to write a CSS parser in AS3 and integrate with Flex 2.0. [1]: http://mannu.livejournal.com/286686.html -- 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Handling CSS
I meant that the framework isn't designed to make this "just work". The player has some CSS parsing capabilities, you could write your own CSS parser in AS3, you could transform CSS into XML on the server and send it down to be parsed with E4X, etc. We will likely make runtime CSS support a feature in a future release. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Sent: Tuesday, May 16, 2006 2:22 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Handling CSS ... obviously there are some things 'not supported' I think anybody that is logical can consider the things that couldn't work :) Peace, Mike On 5/16/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: < Flex doesn't support runtime CSS. You must compile the CSS into your SWF. Yeah it does ;-) I've got a scheme in my extended workspace component set comming out. You'll have to see then how I implemented it. There are always ways to get in, always... :-) Peace, Mike On 5/16/06, Gordon Smith < [EMAIL PROTECTED]> wrote: Flex doesn't support runtime CSS. You must compile the CSS into your SWF. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of dmandrio Sent: Tuesday, May 16, 2006 2:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Handling CSS Hello, I am coding a visual component with custom CSS styling. The CSS stylesheet is accessible via an URL, how can i put the stylesheet in memory to use it, i haven't found a generic parser on flex documentation. Any Idea ? Damien. -- 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- What goes up, does come down. -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Handling CSS
BTW, You can achieve this by loading and using regexp. Then set the styles however you feel fit. It's not to hard, but as I said there are things you can't do that the compiler does. This dosn't mean you couldn't create a secondary protocal for such things. Peace, MikeOn 5/16/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: ... obviously there are some things 'not supported' I think anybody that is logical can consider the things that couldn't work :) Peace, MikeOn 5/16/06, Michael Schmalle < [EMAIL PROTECTED]> wrote: < Flex doesn't support runtime CSS. You must compile the CSS into your SWF. Yeah it does ;-) I've got a scheme in my extended workspace component set comming out. You'll have to see then how I implemented it. There are always ways to get in, always... :-) Peace, MikeOn 5/16/06, Gordon Smith < [EMAIL PROTECTED]> wrote: Flex doesn't support runtime CSS. You must compile the CSS into your SWF. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of dmandrio Sent: Tuesday, May 16, 2006 2:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Handling CSS Hello, I am coding a visual component with custom CSS styling. The CSS stylesheet is accessible via an URL, how can i put the stylesheet in memory to use it, i haven't found a generic parser on flex documentation. Any Idea ? Damien. -- 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- What goes up, does come down. -- What goes up, does come down. -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Handling CSS
< Flex doesn't support runtime CSS. You must compile the CSS into your SWF. Yeah it does ;-) I've got a scheme in my extended workspace component set comming out. You'll have to see then how I implemented it. There are always ways to get in, always... :-) Peace, MikeOn 5/16/06, Gordon Smith <[EMAIL PROTECTED]> wrote: Flex doesn't support runtime CSS. You must compile the CSS into your SWF. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of dmandrio Sent: Tuesday, May 16, 2006 2:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Handling CSS Hello, I am coding a visual component with custom CSS styling. The CSS stylesheet is accessible via an URL, how can i put the stylesheet in memory to use it, i haven't found a generic parser on flex documentation. Any Idea ? Damien. -- 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Handling CSS
... obviously there are some things 'not supported' I think anybody that is logical can consider the things that couldn't work :) Peace, MikeOn 5/16/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: < Flex doesn't support runtime CSS. You must compile the CSS into your SWF. Yeah it does ;-) I've got a scheme in my extended workspace component set comming out. You'll have to see then how I implemented it. There are always ways to get in, always... :-) Peace, MikeOn 5/16/06, Gordon Smith < [EMAIL PROTECTED]> wrote: Flex doesn't support runtime CSS. You must compile the CSS into your SWF. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of dmandrio Sent: Tuesday, May 16, 2006 2:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Handling CSS Hello, I am coding a visual component with custom CSS styling. The CSS stylesheet is accessible via an URL, how can i put the stylesheet in memory to use it, i haven't found a generic parser on flex documentation. Any Idea ? Damien. -- 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- What goes up, does come down. -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Handling CSS
Flex doesn't support runtime CSS. You must compile the CSS into your SWF. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dmandrio Sent: Tuesday, May 16, 2006 2:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Handling CSS Hello, I am coding a visual component with custom CSS styling. The CSS stylesheet is accessible via an URL, how can i put the stylesheet in memory to use it, i haven't found a generic parser on flex documentation. Any Idea ? Damien. -- 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Handling CSS
On 5/16/06, dmandrio <[EMAIL PROTECTED]> wrote: > I am coding a visual component with custom CSS styling. The CSS > stylesheet is accessible via an URL, how can i put the stylesheet in > memory to use it, i haven't found a generic parser on flex documentation. CSS currently is parsed at compile time. I had figured out a way to do it at runtime in Flex 1.5 [1], but I guess it won't work in your case. One of these days somebody's going to write a CSS parser in AS3 and integrate with Flex 2.0. [1]: http://mannu.livejournal.com/286686.html -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Handling CSS
Hello, I am coding a visual component with custom CSS styling. The CSS stylesheet is accessible via an URL, how can i put the stylesheet in memory to use it, i haven't found a generic parser on flex documentation. Any Idea ? Damien. -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.