Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-06-2007, 08:58 PM   #81
jmgraffix
Graphic Designer
 
Join Date: Aug 2007
Posts: 3
Default List component - I need a transparent "selectionColor" and "rollOverColor"

Hey Brisa or anyone of you geneous' out there - I need help with this one now!

I just applied the transparent background code from Brisa but now I want to make the rollovers a20% alpha.

I'm using Flash Pro 8 and need something written in AS2 to allow for an alpha style for the "selectionColor" and "rollOverColor" properties.

I currently have this for the colors (which work) but I want to make the colors 20% alpha:

_global.styles.ScrollSelectList.setStyle ("rollOverColor", 0xF0FF00);
_global.styles.ScrollSelectList.setStyle ("selectionColor", 0x1228F6);

Any help on this will be gratefully appreciated!
jmgraffix is offline   Reply With Quote
Old 12-04-2007, 09:24 AM   #82
FreakyStyley
Registered User
 
Join Date: Oct 2006
Posts: 7
Default

hi guys,

Im using the folowing code:
_global.styles.TextInput.setStyle("backgroundColor ", "transparent");
_global.styles.TextInput.setStyle("borderStyle", "none");

to set the textArea background to invisible. but when it loads in external content (when live) there is an UGLY flash of white (only the textArea background)

how do i fix this, or what component asset is it (and where) that i need to edit. I've totally modified the "ScrollBar Assets" to my liking.

anyone know how to do this? thanks
FreakyStyley is offline   Reply With Quote
Old 12-14-2007, 11:38 AM   #83
Sabir
Registered User
 
Join Date: Dec 2007
Posts: 1
Default sabia

Hi, This post is very informative, however I would like some specific information. If someone can help me then please send me a private message. Best Regards,
Sabir is offline   Reply With Quote
Old 10-06-2008, 03:13 PM   #84
emogazine
Registered User
 
Join Date: Oct 2008
Posts: 6
Default hi

is it the one you r looking for :
http://emogazine.com/linhtinh/testbox.jpg


------------------------------------------------
www.emogazine.com - The best online text editor
emogazine is offline   Reply With Quote
Old 07-29-2010, 03:13 PM   #85
kerry_rnl
Registered User
 
Join Date: Jul 2010
Posts: 1
Default

I'm a complete Flash noob. I have no idea where I'm supposed to enter this code. I tried doing it on the actionscript for the text area itself and it didn't work. I'm working in AS2, by the way.

Quote:
Originally Posted by motionid View Post
Ok,
looks like I'm going to answer my own post!


ActionScript Code:
_level0.componentName.depthChild0._alpha=0


Where "componentName" should be the instance name of your component.

Tested and working (I've been looking for the answer to this for ages).

Cheers,

Sean.
kerry_rnl is offline   Reply With Quote
Old 08-07-2010, 05:07 AM   #86
pepeu
Registered User
 
Join Date: Apr 2010
Location: Stockholm
Posts: 3
Default

Quote:
Originally Posted by kerry_rnl View Post
I'm a complete Flash noob. I have no idea where I'm supposed to enter this code. I tried doing it on the actionscript for the text area itself and it didn't work. I'm working in AS2, by the way.
Try this one.
Attached Files
File Type: zip _textarea.fla.zip (133.8 KB, 340 views)
pepeu is offline   Reply With Quote
Old 10-10-2013, 04:45 AM   #87
zarmeda
Registered User
 
Join Date: Sep 2013
Posts: 17
Default

Thanks!
zarmeda is offline   Reply With Quote
Old 11-08-2013, 11:29 AM   #88
zarmeda
Registered User
 
Join Date: Sep 2013
Posts: 17
Default

the same problem
zarmeda is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:38 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.