Does anyone know how this is done?
RichieDee - 23 May 2007 02:52 GMT
Arent all text input boxes transparent?
michaelfb - 23 May 2007 08:11 GMT
No, they're white. I want to use a photo as a background to the input fields.
aniebel - 23 May 2007 12:11 GMT
michaelfb - 23 May 2007 12:40 GMT
Thanks, but that didn't work.
To clarify: I'm refering to the textinput and textarea components.
RichieDee - 23 May 2007 13:24 GMT
All my text input boxes are transparent.
http://rapidshare.com/files/32914897/textinput.fla.html
aniebel - 23 May 2007 13:43 GMT
_global.styles.TextInput.setStyle("backgroundColor", 0); //for entire document
myInput.backgroundColor = 0;//for individual instance of text input component
michaelfb - 23 May 2007 14:21 GMT
Amy, many thanks.
The transparency was achieved when I added a full hex number. 0=black background with white border. Is there a way to add coloured bkgs with alpha and also change the border?
aniebel - 24 May 2007 11:52 GMT
Sorry, my bad... while I was testing I had a black background and it didn't
occur to me that it was the same color. DERRR!
Anyway, try this one:
_global.styles.TextInput.backgroundColor = undefined;
I can't seem to get one instance to change. I'll keep at it and let you know
if I find anything.
michaelfb - 23 May 2007 17:07 GMT
Update.
I found some useful info here: http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?con
text=LiveDocs_Parts&file=00003949.html