Old 06-02-2008, 11:49 PM   #1 (permalink)
Junior Member
 
Join Date: Jun 2008
Posts: 6
Default Transparent Image

Hi I love your FLA but if you could tell me how to do transparent PNG's or Giff I want to set up a BG image on the middle so the images would when rolloed over be placed there...

Thanks

robertlopez_home@yahoo.com
robertlopez is offline   Reply With Quote
Old 06-03-2008, 07:18 AM   #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

Hello,
For transparent images, open Image.as file and add a new line just before line number 32 (you must use the original file so that the line numbers match):

Code:
Border._visible = Bground._visible = false;
With that line adde go to line number 133 and change it to:

Code:
var bd:BitmapData = new BitmapData(ni._width, ni._height, true, 0x000000);
Republish the swf and test it with your transparent images.
Adrian is offline   Reply With Quote
Old 06-03-2008, 12:48 PM   #3 (permalink)
Junior Member
 
Join Date: Jun 2008
Posts: 6
Default Works fine

Hi Adrian, It works fine when i publish the SWF but once a scroll thru it gives me a balck border again...

Thanks!

Robert
robertlopez is offline   Reply With Quote
Old 06-03-2008, 01:03 PM   #4 (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

Can you show me an online sample, please ?
Adrian is offline   Reply With Quote
Old 06-03-2008, 02:15 PM   #5 (permalink)
Junior Member
 
Join Date: Jun 2008
Posts: 6
Default Online sample

Adrian, thanks for the help:

http://trytyku.com/tyku08/mixologists.html

Robert
robertlopez is offline   Reply With Quote
Old 06-03-2008, 05:42 PM   #6 (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

Hi Robert,
It seems like those png images are not valid. I tried opening them with several programs (including PS) to see the transparent areas but everytime I get an error message. I've tried with this image. Please, test it yourself.
Adrian is offline   Reply With Quote
Old 06-03-2008, 07:57 PM   #7 (permalink)
Junior Member
 
Join Date: Jun 2008
Posts: 6
Default Images

Hi Adrian, all the images that used are transparent png the image you placed the link for has no transparent, all the images for that FLA are under pic2 folder, if you click on the link again you can see how it does give me the trnasperncy but once you click to scroll left or right it brings the black border and the black placing to it...

Thanks

Robert
robertlopez is offline   Reply With Quote
Old 06-04-2008, 11:54 PM   #8 (permalink)
Junior Member
 
Join Date: Jun 2008
Posts: 6
Default Any Luck

Hi Adrian, any luck with my question
robertlopez is offline   Reply With Quote
Old 06-05-2008, 07:07 AM   #9 (permalink)
Junior Member
 
Join Date: Jun 2008
Posts: 6
Default Fixed!

I found the fixfor the transparent background!

If intrested post help here and i will help!


Robert

Thanks Adrian for all the help!
robertlopez is offline   Reply With Quote
Old 06-10-2008, 01:25 PM   #10 (permalink)
Junior Member
 
Join Date: Jun 2008
Posts: 3
Default help transparent img and next-prev buttons

How did you fixed?
I've seen your link, you have also added next-prev buttons, how I can do that?
simoneb is offline   Reply With Quote
Reply

Bookmarks

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:19 PM.