Hehe, here's a hack... not sure which class "Modal" extends, but
setStyle("color") doesn't work on him, so went straight for the color object
itself. Prepare to have your app swim in Kool-aid.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"
creationComplete="initApp()">
<mx:Script>
<![CDATA[
import mx.managers.PopUpManager;
import mx.containers.TitleWindow;
private function initApp():Void
{
setStyle("modalTransparency", 50);
var ref =
TitleWindow(PopUpManager.createPopUp(MovieClip(mx.core.Application.application),
TitleWindow, true));
ref.setSize(320, 240);
ref.centerPopUp();
var c:Color = new Color(ref.modalWindow);
c.setRGB(0x990000);
}
function d(o)
{
debug_ta.text += o + "\n";
debug_ta.vPosition += 20;
}
]]>
</mx:Script>
<mx:TextArea id="debug_ta" width="400" height="120" />
</mx:Application>
----- Original Message -----
From: "jgraham_us" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, January 25, 2006 11:53 AM
Subject: [flexcoders] modalTransparency and color question in Flex 1.5
I am able to set the modalTransparency and get a fade like effect when
my modal dialogs popup, right now its a white fade, I read a post on
JesterXL's from a while back on this and he said you can set
the 'Modal' color property in the halo.fla or the
StandardComponents.fla. How can this be done in Flex 1.5?
I want to make the modal transparency color something darker.
I tried to set modalTransparencyColor but I think thats only supported
in the Flash 8.5 player
Thanks
--
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/