Ask a Question related to Coldfusion Flash Integration, Design and Development.
-
pope on acid #1
Using background images in flash forms
<cfform format="flash" action="upload.cfm"
style="background-image:url(../images/BuyAndSell.png);
background-repeat:no-repeat; background-position:top right; text-align:center;
border:1 solid black;">
</cfform>
Is there a way to use background images in a flash form?
pope on acid Guest
-
Background Images
http://www.grsites.com/textures/ Best regards, Linda Rathgeber ---------------- Victoriana |... -
CSS background images
Hello all. Newbie here, asking if it is possible for a user to change/replace background images through Contribute CS3 that are called by CSS... -
Background images in FF
Hi, I am hoping that someone can help me with the small issue that I am having. I am currently creating a small website so that friends and... -
Swapping Cell Images for Background Images
Is there any plugin or extention for DW(studio8) out there that will quickly and with one click, let me remove an image inside a cell and... -
Background images?
I am new to Fireworks and have done a couple of the tutorials but am having some trouble figuring something out. I want to do a couple of mock ups... -
-
pope on acid #3
Re: Using background images in flash forms
Well guess what, it doesn't:
[url]http://www.ctc-belgium.be/TEMP/test.cfm[/url]
This is the code (images are in the same subfolder):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<cfform format="flash" action="../upload.cfm"
style="background-image:ero1.jpg; background-repeat:no-repeat;
background-position:top right; text-align:center; border:1 solid black;">
<img src="ero2.jpg" />
</cfform>
</body>
</html>
pope on acid Guest
-
BKBK #4
Re: Using background images in flash forms
I copied your picture ero1.jpg to my web-root and was able to display the
background using
<cfform format="flash" action="../upload.cfm"
style="background-image:url('/ero1.jpg'); background-repeat:no-repeat;
background-position:top right; text-align:center; border:1 solid black;">
</cfform>
The following also worked, without me having to first copy the image
<cfform format="flash" action="../upload.cfm"
style="background-image:url('http://www.ctc-belgium.be/TEMP/ero1.jpg');
background-repeat:no-repeat; background-position:top right; text-align:center;
border:1 solid black;">
</cfform>
BKBK Guest
-
pope on acid #5
Re: Using background images in flash forms
For some strange reason only the full path works for me. So far so good, thx :).
But now I have a new problem:
background-repeat and background-position doesn't work with it.
pope on acid Guest
-
BKBK #6
Re: Using background images in flash forms
I have a new problem: background-repeat and background-position doesn't work
with it.
I have just verified. Many styles are not valid for Flash forms. Alas,
background-repeat and background-position (or, in ActionScript terms,
backgroundRepeat and backgroundPosition ) are among those that are not valid.
In fact, I even wonder why background-image works at all. Here is the
[url]http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000677.htm[/url].
BKBK Guest
-
Alex Br #7
Re: Using background images in flash forms
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.
Alex Br Guest
-
pope on acid #8
Re: Using background images in flash forms
This is how I do it now. But it would be a lot easier if it was possible to style the flash forms a bit more.
But for now it is clear I don't have to spend more time to this issue.
Thx to all.
pope on acid Guest



Reply With Quote

