Old 08-14-2008, 07:36 PM   #1 (permalink)
Junior Member
 
Join Date: Aug 2008
Posts: 2
Default Adding Transparency

I would like to make the images in the fadding slider transparent so that the background shows through. I thought by simply changing the .jpgs to transparent .pngs it would be enough to work.

Does anyone know how to edit the files so that this will work?

-Scott
sdshell is offline   Reply With Quote
Old 08-18-2008, 10:08 PM   #2 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,981
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

Try the following: open Thumbnail.as and at line 32 hit Enter and add these two lines of code:

Code:
Over._alpha = 0;
Bground._alpha = 0;
...this will hide the background and the over movieclip.

Now go to line 61 and change it to:

Code:
var bd:BitmapData = new BitmapData(Image._width, Image._height, true, 0x000000);
Let me know if it worked for you,

Adrian
Adrian is offline   Reply With Quote
Old 09-04-2008, 10:15 PM   #3 (permalink)
Junior Member
 
Join Date: Aug 2008
Posts: 2
Default That Worked

It worked perfectly, thanks!
sdshell is offline   Reply With Quote
Reply

Bookmarks

Tags
fading, png, slider, transparency, transparent

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:24 PM.