Including both images on the page, the first is missing the transparent background. The second is fine. I have manually checked the images, both in the dev directory and bin directory. In fact, I have manually copied the dev ones over the top of the bin ones to make sure. If I drag the images to Firefox, both appear with no background. The background color is teal, so I would definitely notice.
Near as I can tell, the embed is causing the background transparency to not be processed. I can't find anything in the docs saying this is expected behavior.
I've run into a situation where the exact same PNG file will show up as transparent only when it's not embedded. Here is the mxml: <mx:Image...
Pan Troglodytes
chimpathetic@...
Dec 6, 2006 10:36 pm
This is still a problem. I couldn't remember if I entered it in the Adobe bug page, so I just went ahead and did it. This is a bit of a pain as transparent...
Pan Troglodytes
chimpathetic@...
Jan 31, 2007 4:54 pm
According to the docs, the correct syntax is: <mx:Image source="@Embed(source='assets/user-big.png')"/> Does that work? HTH, Ben ... Adobe ... limited ... up...
Sadly, no. It also doesn't work if you declare a variable like [Embed(source="/assets/user-big.png")] private var userIcon:Class; FYI, from the docs: About...
Pan Troglodytes
chimpathetic@...
Jan 31, 2007 6:40 pm
<mx:Image source="@Embed(source='plusSymbol.png')"/> orks for me... Not sure what else to recommend. ... metadata tag; ... pain as...
Could you clarify what you mean by "works for me"? Do you mean you are getting transparency on the PNG? I uploaded my full code for an example: ...
Pan Troglodytes
chimpathetic@...
Jan 31, 2007 8:38 pm
Yes, I get transparency with that syntax... but not with your PNG. Opening your PNG in Photoshop also doesn't yield any transparency. So I am confused on how...
Pan, I see the background in one and no background in the other. I think I am having the same problem and I have had no idea what is causing it. Take a look at...
You're definitely right, that's a clear bug in how SWFLoader works. I have a solution that involves duplicating the code for SWFLoader and modifying it a...
Doug, Very cool that you tracked it down in SWFLoader. Right now I can get by with using GIF, but it's great to know if I absolutely have to have more than...
Pan Troglodytes
chimpathetic@...
Jan 31, 2007 11:15 pm
Just to follow up, here's my post that explains the issue and my workaround: ...
Please file a bug too if you haven't already. Matt ________________________________ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On ...
It seems to me like there is something funky going on with the PNG itself. Like I said, Photoshop doesn't even recognize the transparency, and that makes me...
Open it in Fireworks, he's the master of PNG's. If yall don't have it, fire it my way. jesse.warden@... On Feb 1, 2007, at 12:28 AM, ben.clinkinbeard...
heres my image: http://judahfrangipane.com/blog/wp-content/themes/default/bin/images/kubrickheader_mask.png i'm loading it in externally though. it works at...
FYI, I got a response from my bug report. Since I couldn't include the PNG on the bug report page, the Adobe person wasn't able to reproduce the problem. So...