yes exactly, basicly they load a bare bones application component with a defined <mx:Style and boom all styles changed. I guess they replaced the loaded style that was compiled in or somthing. Anyway that was flex 1.5, I think... it's been a while, and i'm trying to do this in Flex 2. It did not do any parseing of it at all which is why it rocked :)
 
Jason
-----Message d'origine-----
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Michael Schmalle
Envoyé : lundi 5 juin 2006 15:07
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] Runtime CSS Styles Flex 2.0 B3

Hmm,

I don't follow, you mean load a style sheet that changes fill color styles?

Peace, Mike

On 6/5/06, Jason Hawryluk <[EMAIL PROTECTED]> wrote:
I was thinking more along the lines of styles for components fill colors etc. Someone had done it in Flex 1.5 and it was very slick or it may have been in the alpha (can't recollect).
 
-----Message d'origine-----
De : flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com]De la part de Michael Schmalle
Envoyé : lundi 5 juin 2006 13:33
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] Runtime CSS Styles Flex 2.0 B3

Hi,

Search the list, there are a couple of posts on this. You need to use the styleSheet load of the TextField. Then custom parse through values. I am sure there will be some class libraries for this in the future. Gordon Smith (Adobe) hinted that there might also be this in a future version of Flex, I am sure of this.

The 'apply' part of the algorithm is the hardest. I created this in Flash8 for components, havn't finished it to Flex2. When I do I will post the code as it's kinda fun loading css from styleSheets at runtime ;-)

Peace, Mike

On 6/5/06, sourcecoderia <[EMAIL PROTECTED]> wrote:
Has anyone figured out a way to do runtime CSS file loading? Is it
possible? I know in Flex 1.5 it was, but the framework has changed so
extensively that I have not figured out a way to do it yet.

Any idea or help appreciated

Jason






--
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






--
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






--
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




Reply via email to