#1 (permalink)  
Old 06-02-2008, 11:49 PM
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
Reply With Quote
  #2 (permalink)  
Old 06-03-2008, 07:18 AM
Super Moderator
 
Join Date: May 2008
Posts: 519
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.
Reply With Quote
  #3 (permalink)  
Old 06-03-2008, 12:48 PM
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
Reply With Quote
  #4 (permalink)  
Old 06-03-2008, 01:03 PM
Super Moderator
 
Join Date: May 2008
Posts: 519
Send a message via Skype™ to Adrian
Default

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

Adrian, thanks for the help:

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

Robert
Reply With Quote
  #6 (permalink)  
Old 06-03-2008, 05:42 PM
Super Moderator
 
Join Date: May 2008
Posts: 519
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.
Reply With Quote
  #7 (permalink)  
Old 06-03-2008, 07:57 PM
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
Reply With Quote
  #8 (permalink)  
Old 06-04-2008, 11:54 PM
Junior Member
 
Join Date: Jun 2008
Posts: 6
Default Any Luck

Hi Adrian, any luck with my question
Reply With Quote
  #9 (permalink)  
Old 06-05-2008, 07:07 AM
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!
Reply With Quote
  #10 (permalink)  
Old 06-10-2008, 01:25 PM
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?
Reply With Quote
Reply

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


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.