RE: [flexcoders] Theme and Loader

2006-01-09 Thread Roger Gonzalez
In 1.5, themes are a linker trick.  Basically, the default version of a
symbol is substituted at the last second for a themed version of the
same symbol.  Its pretty evil.

AS2 semantics were don't redefine a class that is already defined when
a new SWF is loaded as a child.

I would thus expect that when you dynamically load a second app, that
second app may well end up as a mishmash, where classes already defined
in the parent that were themed are also themed in the child, but classes
that are only in the child are not themed.  However, anything that uses
simple assets (attachMovie) probably stays within the context of a
single SWF, because there is no cross-SWF asset reference in FP7.

So anyway, there is no runtime theme application.  It only works at link
time, and only for the app you defined it on.

 If I specify the theme for app2.mxml also, then loader fails to load 
 app2.mxml.

What happens?  That's kinda odd.  If you're consistent, everything
should work.

One (ugly) possibility is that you might create some RSLs that have your
theme baked in, and have your server provide a different SWF for a given
URL based on some other parameter.  

Sorry I don't have better news, but this whole area was really sketchy
in Player 7, so what little theme support we added took a lot of magic.
Things should be much better in Flex 2/FP8.5 , hopefully.  It should be
possible (although we aren't exploiting this) to build an entire runtime
skinning system for an 8.5 app.

-rg


 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of bss_rao
 Sent: Monday, January 09, 2006 12:38 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Theme and Loader
 
 Hi, 
 
 There is a problem in loading an external mxml using loader control 
 when there is theme set in application tag. It never gets initialized.
 
 Here is the sample scenario,
 
 There are two flex applications, app1.mxml and app2.mxml.
 
 I have applied a theme (mac / XP / pulseBlue etc) for app1.mxml in 
 application tag using theme attribute.
 
 I created a loader control which will load app2.mxml which does not 
 have any theme specified.
 
 It fails to apply the theme that was specified in app1.mxml to 
 app2.mxml.
 
 If I specify the theme for app2.mxml also, then loader fails to load 
 app2.mxml.
 
 To apply the theme to app2.mxml also what should be done?
 
 Cheers,
 BSS
 
 
 
 
 
 --
 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] theme

2005-02-24 Thread Matt Horn



Yep, that's definitely an oversite in the styles chapter. 
The themeColor property, while visible on the asdoc page for the Application 
object, really should be mentioned in the DevApps book too since it's effect is 
so dramatic. 

This list is for us, too. :)

matt horn
flex documentation



From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 6:11 
PMTo: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] theme
np thats what the list is for ;)-ArtQuoting Robert 
Brueckmann [EMAIL PROTECTED]: themeColor 
did the trick. I couldn't seem to find that anywhere in the 
docs. Thanks! 
 From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 4:37 
PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] 
theme use the theme="" or themeColor="" 
attribute of the mx:Application tag 
-Art Quoting Robert Brueckmann 
[EMAIL PROTECTED]: If I wanted to 
apply the haloBlue theme to my Flex app, what do I need to 
do? Is there an easy way to do this because setting the 
theme attribute in the mx:CairngormApplication tag doesn't seem to 
be doing the trick...thanks for any help! 
 This email may contain confidential and privileged material 
for the sole use of the intended recipient(s). Any review, 
use, distribution or disclosure by others is strictly prohibited. 
If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply 
email and delete all copies of this message. To reply 
to our email administrator directly, send an email to 
[EMAIL PROTECTED] Littler Mendelson, 
P.C. http://www.littler.com 
 
This message contains information from Merlin Securities, LLC, or  
from one of its affiliates, that may be confidential and privileged. 
 If you are not an intended recipient, please refrain from any 
 disclosure, copying, distribution or use of this information and 
 note that such actions are prohibited. If you have received this 
 transmission in error, please notify the sender immediately by 
 telephone or by replying to this 
transmission. Merlin Securities, LLC is a registered 
broker-dealer. Services  offered through Merlin Securities, LLC 
are not insured by the FDIC  or any other Federal Government 
Agency, are not deposits of or  guaranteed by Merlin Securities, 
LLC and may lose value. Nothing in  this communication shall 
constitute a solicitation or recommendation  to buy or sell a 
particular 
security. 
Yahoo! Groups Sponsor ADVERTISEMENT click here 
http://us.ard.yahoo.com/SIG=129c5iobj/M=298184.6018725.7038619.3001176/ 
D=groups/S=1705007207:HM/EXP=1109280966/A=2593423/R=0/SIG=11el9gslf/*htt 
p:/www.netflix.com/Default?mqso=60190075 http://us.adserver.yahoo.com/l?M=298184.6018725.7038619.3001176/D=group 
s/S=:HM/A=2593423/rand=964276110 
 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] 
mailto:[EMAIL PROTECTED] 
* Your use of Yahoo! Groups is subject to the 
Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ 
. 
 This 
message contains information from Merlin Securities, LLC, or  from one 
of its affiliates, that may be confidential and privileged.  If you 
are not an intended recipient, please refrain from any  disclosure, 
copying, distribution or use of this information and note  that such 
actions are prohibited. If you have received this  transmission in 
error, please notify the sender immediately by  telephone or by 
replying to this transmission. Merlin Securities, LLC is a 
registered broker-dealer. Services  offered through Merlin Securities, 
LLC are not insured by the FDIC or  any other Federal Government 
Agency, are not deposits of or  guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in  this communication shall constitute a 
solicitation or recommendation  to buy or sell a particular 
security.


Re: [flexcoders] theme

2005-02-23 Thread alf
use the theme= or themeColor= attribute of the mx:Application tag
-Art
Quoting Robert Brueckmann [EMAIL PROTECTED]:
If I wanted to apply the haloBlue theme to my Flex app, what do I need
to do? Is there an easy way to do this because setting the theme
attribute in the mx:CairngormApplication tag doesn't seem to be doing
the trick...thanks for any help!

This email may contain confidential and privileged material for the sole
use of the intended recipient(s). Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply email and delete all copies of this message.
To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]
Littler Mendelson, P.C.
http://www.littler.com

This message contains information from Merlin Securities, LLC, or 
from one of its affiliates, that may be confidential and privileged. 
If you are not an intended recipient, please refrain from any 
disclosure, copying, distribution or use of this information and note 
that such actions are prohibited. If you have received this 
transmission in error, please notify the sender immediately by 
telephone or by replying to this transmission.

Merlin Securities, LLC is a registered broker-dealer. Services 
offered through Merlin Securities, LLC are not insured by the FDIC or 
any other Federal Government Agency, are not deposits of or 
guaranteed by Merlin Securities, LLC and may lose value. Nothing in 
this communication shall constitute a solicitation or recommendation 
to buy or sell a particular security.





RE: [flexcoders] theme

2005-02-23 Thread Robert Brueckmann







themeColor did the trick. I couldnt
seem to find that anywhere in the docs. Thanks!











From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 23, 2005
4:37 PM
To: [EMAIL PROTECTED]
Subject: Re: [flexcoders] theme





use the theme= or themeColor= attributeof the
mx:Application tag

-Art

Quoting Robert Brueckmann [EMAIL PROTECTED]:

 If I wanted to apply the haloBlue themeto my
Flex app, what do I need
 to do? Is there an easy way to dothis
because setting the theme
 attribute in the mx:CairngormApplication tag
doesn't seem to be doing
 the trick...thanks for any help!

 
 This email may contain confidential and
privileged material for the sole
 use of the intended recipient(s). Any review,
use, distribution or
 disclosure by others is strictly prohibited.
If you are not the intended
 recipient (or authorized to receive forthe
recipient), please contact
 the sender by reply email and delete all
copies of this message.

 To reply to our email administrator directly,
send an email to
 [EMAIL PROTECTED]

 Littler Mendelson, P.C.
 http://www.littler.com

 

 This message contains information from Merlin
Securities, LLC, or 
 from one of its affiliates, that may be
confidential and privileged. 
 If you are not an intended recipient, please
refrain from any 
 disclosure, copying, distribution or use of
this information and note 
 that such actions are prohibited. If you have
received this 
 transmission in error, please notify the
sender immediately by 
 telephone or by replying to this
transmission.

 Merlin Securities, LLC is a registered
broker-dealer. Services 
 offered through Merlin Securities, LLC are
not insured by the FDIC or 
 any other Federal Government Agency, are not
deposits of or 
 guaranteed by Merlin Securities, LLC and may
lose value. Nothing in 
 this communication shall constitute a
solicitation or recommendation 
 to buy or sell a particular security.













This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, pleaserefrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


RE: [flexcoders] theme

2005-02-23 Thread alf
np thats what the list is for ;)
-Art
Quoting Robert Brueckmann [EMAIL PROTECTED]:
themeColor did the trick. I couldn't seem to find that anywhere in the
docs. Thanks!


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 23, 2005 4:37 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] theme

use the theme= or themeColor= attribute of the mx:Application tag
-Art
Quoting Robert Brueckmann [EMAIL PROTECTED]:
If I wanted to apply the haloBlue theme to my Flex app, what do I need
to do? Is there an easy way to do this because setting the theme
attribute in the mx:CairngormApplication tag doesn't seem to be doing
the trick...thanks for any help!

This email may contain confidential and privileged material for the
sole
use of the intended recipient(s). Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the
intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply email and delete all copies of this message.
To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]
Littler Mendelson, P.C.
http://www.littler.com

This message contains information from Merlin Securities, LLC, or 
from one of its affiliates, that may be confidential and privileged. 
If you are not an intended recipient, please refrain from any 
disclosure, copying, distribution or use of this information and 
note that such actions are prohibited. If you have received this 
transmission in error, please notify the sender immediately by 
telephone or by replying to this transmission.

Merlin Securities, LLC is a registered broker-dealer. Services 
offered through Merlin Securities, LLC are not insured by the FDIC 
or any other Federal Government Agency, are not deposits of or 
guaranteed by Merlin Securities, LLC and may lose value. Nothing in 
this communication shall constitute a solicitation or recommendation 
to buy or sell a particular security.



Yahoo! Groups Sponsor
ADVERTISEMENT
click here
http://us.ard.yahoo.com/SIG=129c5iobj/M=298184.6018725.7038619.3001176/
D=groups/S=1705007207:HM/EXP=1109280966/A=2593423/R=0/SIG=11el9gslf/*htt
p:/www.netflix.com/Default?mqso=60190075
http://us.adserver.yahoo.com/l?M=298184.6018725.7038619.3001176/D=group
s/S=:HM/A=2593423/rand=964276110


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]
mailto:[EMAIL PROTECTED]
*   Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service http://docs.yahoo.com/info/terms/ .

This message contains information from Merlin Securities, LLC, or 
from one of its affiliates, that may be confidential and privileged. 
If you are not an intended recipient, please refrain from any 
disclosure, copying, distribution or use of this information and note 
that such actions are prohibited. If you have received this 
transmission in error, please notify the sender immediately by 
telephone or by replying to this transmission.

Merlin Securities, LLC is a registered broker-dealer. Services 
offered through Merlin Securities, LLC are not insured by the FDIC or 
any other Federal Government Agency, are not deposits of or 
guaranteed by Merlin Securities, LLC and may lose value. Nothing in 
this communication shall constitute a solicitation or recommendation 
to buy or sell a particular security.