Adobe Dreamweaver Forums



Last 10 THreads :         Re: I can´t start photoshop cs4 error:Photoshop CS4 stopped working. (Last Post : roft@adobeforums.com - Replies : 0 - Views : 1 )           »          Networked Webcams (Last Post : VirginiaBeachCity - Replies : 0 - Views : 1 )           »          Preloading a game (Last Post : trigger2160 - Replies : 0 - Views : 1 )           »          FAO: Murray RE: Mailchimp (Last Post : joeq - Replies : 5 - Views : 6 )           »          PS CS4 "Save As ..." format choices appear in duplicate (Last Post : Dan_Dill@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: Colour differences on the web (Last Post : g_ballard@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: SFW and date created (Last Post : Ann_Shelbourne@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: sRGB vs. Adobe (1998) RGB (Last Post : Neil_Keller@adobeforums.com - Replies : 0 - Views : 1 )           »          help my flash site opens pop ups? (Last Post : Awebus - Replies : 2 - Views : 3 )           »          Flash IDE randomly creating Symbols (Last Post : MediaMackenzie.com - Replies : 0 - Views : 1 )           »         


User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-04-2008, 09:02 AM
ligerdave
 
Posts: n/a
Diggs:
Default How do i have a vBox shadow over another vBox

alright, I have two vBox lined up in an application layer and i have the
vertical gap of the application layer set to be 0. now, i wanna make the top
vBox to have a shadow over the bottom one. how do i accomplish that? plz help!

<mx:VBox width="100%" height="50" backgroundColor="#FF9900"
dropShadowEnabled="true" borderThickness="0" borderStyle="solid">
</mx:VBox>
<mx:VBox width="100%" height="350" backgroundColor="#FFFFFF"
horizontalScrollPolicy="off" verticalScrollPolicy="on">
</mx:VBox>



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-04-2008, 09:02 AM
Greg Lafrance
 
Posts: n/a
Diggs:
Default Re: How do i have a vBox shadow over another vBox

Whadda ya mean? You want one VBox to be positioned over the other so they are kinda like cascading?
Reply With Quote
  #3 (permalink)  
Old 11-04-2008, 09:02 AM
bholli
 
Posts: n/a
Diggs:
Default Re: How do i have a vBox shadow over another vBox

ligerdave,

remember that the last items added to any container are the will be displayed
over anything before it. The mxml markup for the white vbox is listed last so
it's placed on top. To get the orange vbox to be on top, simply place its
markup after the white vbox...(I think I'm making this sound more confusing
than it really is...)

Take a look at the sample code. It should do what you're looking for.

<mx:VBox width="100%" height="350" backgroundColor="#FFFFFF"
horizontalScrollPolicy="off" verticalScrollPolicy="on">
</mx:VBox>
<mx:VBox width="100%" height="50" backgroundColor="#FF9900"
dropShadowEnabled="true" borderThickness="0" borderStyle="solid">
</mx:VBox>

Reply With Quote


  #4 (permalink)  
Old 11-04-2008, 09:02 AM
Karl_Sigiscar_1971
 
Posts: n/a
Diggs:
Default Re: How do i have a vBox shadow over another vBox

You could also use the black Glow filter to simulate a shadow, like MacOS X
windows. I do this on my project and it works perfect:

<mx:VBox filters="{[new GlowFilter(0x000000, 0.5, 35.0, 35.0, 0.5)]}"
/>

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 12:21 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk