|
-
Senior Member
List Component - Transparent Background?
Does anyone know if there's a way to make the list component's background transparent? I want to put a custom image in the background of the list menu.
Thanks!
FOO
Foochuck
http://www.myspace.com/foochuck
-
Senior Member
I did not get the image alpha to 100, but try this. Create a movieclip with your image and export for actionscript. Here is a script for a clip named my_skin:
var themeShape:String = "my_skin";
myList.setSkin (1,themeShape);
myList._alpha=50;
- The right of the People to create Flash movies shall not be infringed. -
-
Senior Member
I'll give that a try. What about the alpha though? Can I make it 99? I'm not sure what you meant when you said you couldn't get 100...
Foochuck
http://www.myspace.com/foochuck
-
Senior Member
50 is a compromise. When it is 100 the image is hidden behind the list. When it is 0, the list is not visible so isn't the image, which is part of the list.
- The right of the People to create Flash movies shall not be infringed. -
-
Senior Member
cancerinform,
I've tried this method and although it functions, it doesn't work for what I need. Instead of a bitmap, I'd like to put a vector gradient in the background. Is that possible without having to mess around with the alpha settings?
Thanks
FOO
Foochuck
http://www.myspace.com/foochuck
-
Senior Member
You can still put a vector gradient by placing it in a movieclip.
The only way to get rid of the background is this:
_global.styles.ScrollSelectList.setStyle("backgrou ndColor", "transparent");
but then you also loose the eventhandler.
If you switch to AS3 components you can easily manipulate them.
- The right of the People to create Flash movies shall not be infringed. -
-
Senior Member
Switching to AS3 will require a flash CS3 upgrade, correct?
Foochuck
http://www.myspace.com/foochuck
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|