Hi,
This will not be in Flex 2.0.
It is something we'd like to see in a future version of
Flex (2.5? 3.0?) but we don't have a specific date or release planned
yet. We'll get to that after we ship 2.0.
Regards,
David
Adobe
__._,_.___
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Lu
Sent: Tuesday, June 06, 2006 6:51 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Runtime CSS Styles Flex 2.0 B3
Ely post in Ben's comment saying Adobe is working on this thing (although it might not make it to the v2 release).
Maybe engineers from Adobe can confirm this ?
On 6/6/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:But to be able to do it with out going
through every control and using the built in setStyle would be the cherry on
the cake.yeah, it's nice.
I agree with you on Adobe, and getting a timeline. That is why I have been dragging my feet on this. Knowing adobe, they did a good job and it's almost done ;-)
Peace, Mike
On 6/6/06, Jason Hawryluk < [EMAIL PROTECTED]> wrote:Definitely interested in collaborating on a solid solution, even if Adobe does come out with it built in at a later date. However if it's going to be in the final release of Flex 2.0 I would rather not waste the time. AFAIK it is not slated for Flex 2.0, but then I don't work for Adobe.
Can anyone from Adobe confirm or not if runtime style sheet loading will be built in within the context we have been discussing?
Anyway between what I have, you have, and mikes work with a little elbow grease I should be able to get a solution going. Keep in mind I have not looked at your code yet which may simply solve the problem.
Jason
-----Message d'origine-----
De : flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com]De la part de mail
Envoyé : lundi 5 juin 2006 17:43
À : flexcoders@yahoogroups.com
Objet : RE: [flexcoders] Runtime CSS Styles Flex 2.0 B3I've done some work in this area as well, and posted an example a few weeks ago on my blog ( http://blog.benstucki.net/?id=22 ). With a slight change it can be used to update the style of anything in the application, not just custom styles. I will try to update it toward that end tonight. Also, I would be happy to collaborate with anyone else working on similar functionality until we hear what Adobe's timeline is for it.
Ben Stucki
http://blog.benstucki.net/
From: "Jason Hawryluk" <[EMAIL PROTECTED]>
Sent: Monday, June 05, 2006 7:34 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Runtime CSS Styles Flex 2.0 B3
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-----Hmm,
De : flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com]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
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 B3Hi,
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
- 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.
--
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.