macromedia.coldfusion.flash_integration
[Top] [All Lists]

Re: Using background images in flash forms

Subject: Re: Using background images in flash forms
From: "Alex Br" <webforumsuser@xxxxxxxxxxxxxx>
Date: Mon, 16 Jul 2007 04:22:42 +0000 (UTC)
Newsgroups: macromedia.coldfusion.flash_integration

For more complex background styles you could set the Flash background to 
transparent, then surround the form with a div  (or whatever) that contains the 
appropriate background... something like this:

 <div style="background-image:url(../../images/some_banner.gif); 
background-repeat:no-repeat; background-position:top right; width: {width of 
form}; height: {height of form};">
 <cfform format="flash" wmode="transparent" style="backgroundAlpha: 0;" {other 
form parameters...}>
 {form stuff}
 </cfform>
 </div>

 You can then set the backgroundAlpha style to 100 for the panels and other 
formgroups in the form so the the background doesn't show through them. 

 True, it's not as neat as having more styles supported natively within flash 
forms, but transparent backgrounds can lead to some interesting possibilities.

 Hope this is helpful.


<Prev in Thread] Current Thread [Next in Thread>