ActionScript 3.0 :: Transparent Png Not Acting Very Transparent?
Oct 6, 2009
I have two png's that kind of look like paint brush strokes. they have some transparency in them that lets the stage colour bleed through a bit.
I am adding two of these images to the stage in AS 3. One adds quite fine - looks as expected. The second one however doesn't have any transparency other than around its edges. What i mean is it looks more like GIF than a PNG. Rough around the edges, no transparency "inside" the image itself (where there should be)
i have tried re-creating the image (yes it IS a PNG) which did nothing. I ensured the library item is not being treated as a JPEG. I also even tried externally calling the PNG to see if that made a difference. Unfortunately it did not.
why this second PNG doesn't seem to have a transparency set?
View 8 Replies
Similar Posts:
Oct 17, 2010
I imported a video into flash and have a transparent photoshop layer to create an iPod skin. The video works fine, but I cannot get the "stage" to be transparent so that you do not see the flash background color behind the iPod skin.
I've read in the forums and have followed the instructions here from Adobe. If you look at my code, I have
[Code]...
View 6 Replies
Feb 5, 2012
I'm trying to draw PNGs onto BitmapData that is transparent.
I create my BitmapData like this (using ARGB for the color):
new BitmapData(width, height, true, 0x00000000);
And clean it by using the same ARGB value:
bitmapData.fillRect(bitmapData.rect, 0x00000000);
When I use copyPixels() to draw graphics onto the cleaned BitmapData, I get this result:
If I don't use ARGB for the BitmapData color, it works fine:
But I have to specify a solid fillColor, meaning I can't render what's behind the Bitmap.
How can I make my BitmapData transparent, but not have the above occur?
View 1 Replies
Feb 27, 2010
I am creating a map in flash cs4 with all the countries on it. I used photoshop for creating the map and separated countries. Now I imported all pngs in Flash and I want to give Mouse CLICK event and Mouse Hover on all pngs, but as the transparent pixels are overlapping the other states, it is getting difficult. So, I converted all pngs in movieclips and now then I broke up pngs. Now I want to delete all pixels having alpha 0 using eraser tool, as per the borders. And I have to do it manually for individual countries. So is there a way to remove transparent pixels from the bitmap data?
View 2 Replies
Oct 30, 2007
there are few comments i hear from other people. some say the axis of the carousel crooked and the icons are pixelated when they are scaled down. i m trying to add a transparent video of myself in the center but when i mask the carousel the embeded swf files also get the mask so i was wondering if there was a way to make the icons have alpha 0 when they are back all the way.. here s the link for the regular website [URL] and below is my actionscript
[Code]....
View 9 Replies
Aug 5, 2009
is it possibel to make a transparent SWF, or not? i want to make a word glow but have no background you see?
View 2 Replies
Aug 9, 2009
Id like to create a transparent stage for my site hosted here... [URL]so i can change the background in html to a pattern and it will look like the flash bit is sitting on top of it.
View 2 Replies
Nov 16, 2006
I'm the admin for this site (in swedish) and I'm thinking of redesign it soon.I thought Flash would be one of the best ways for the "square menu" but I wanted to ask you before i decide. Here's some pro's and con's Ive come up with
smaller file size?
easier then fiddling with alot of divs
more options to make cool animations
no need to use gif or pgn to get a transparent bg
View 6 Replies
Jun 11, 2009
I have an XML file that loads in JPG images great, but if I try to load either a PNG or GIF instead of a JPG - it simply does not load at all.Does ActionScript & Flash not allow for transparent files, or even these formats of images to be brought in via XML file?BTW:I used this tutorial, step 1-9, and all works well but if I change the images to my personal PNG - the only thing that displays is the preloading bar as if the file just doesn't want to file/load the image. The text does come in though.
View 4 Replies
May 21, 2009
So you've got a transparent png. Rather than importing that png with its alpha channel, I've always assumed it's better to import it with a black or white matte, then use Flash's blend modes (lighten, darken, screen, multiply) to show the transparency.Am I right on this, or does it make no difference in terms of cpu usage?I do believe that in terms of filesize, the matte saves quite a bit over the alpha channel.
View 5 Replies
Jun 9, 2009
A friend and I are working on a Flash game. He is programming it and needs the different character animations in SWF form. The problem is when he places them in-game, they are surrounded by the white block that was behind the character animation.
How do you make the background of the SWF/flash file transparent so they white block will no longer be visible. I know how to do it in HTML for the web, but this must be different.
View 4 Replies
Sep 16, 2009
I have made a slideshow from this tutorial: [URL]
I have added a reflection, and it works just great. But i would like to make the right and the left side fade to transparent. I have tried to make a little demo here: [URL]
The first movie looks good, but only because I have faded from nothing to black and the background is black on the home page. And as you can see, the movie does not look that great, when the background is white.
I found this link: [URL], but I can't figure out how to implement it into my already "working" slideshow.
View 5 Replies
Oct 17, 2009
well ive been tryin to create a small site with a banner using flash. i went to publish settings and changed the setting to transparent, published it and embedded the code into my html page on the page there is a white part at either side of the banner that shouldnt be there and doesnt look right, ive attached a picture
View 2 Replies
Feb 3, 2010
What I need to is to alter the html flash generated to have a static background that fills the browser, doesn't tile or scale that my movie can load over. I have messed with all the publish settings and I am sure I am just making all the wrong choices.
View 1 Replies
Jul 8, 2009
How do I set an area to be transparent in ActionScript 3.0?At the moment I'm creating a subtitles area to sit over the player and it has the following code:[code]
View 1 Replies
Oct 12, 2009
I have made a box with a rounded corner and a border in Flash but when I publish the file the outer edge of the corner is still white and I want it transparent so it takes on the color of the website background.
View 5 Replies
Nov 3, 2009
I have imported a button made in photoshop as a PNG into Flash. I want to animate the shadow behind the button.
How do I make the shadow png. go from 0% to 100% transparent? I have tried altering the colour alpha option but as expected this doesnt work.
View 1 Replies
Jan 28, 2010
On the opening of the map where it shows a transparent red spreading would you create the growing red transparent area over the map in the Pacific with transparent shape tween. Also any tutorials on doing this.
View 2 Replies
Oct 31, 2011
I am trying to export these gifs with transparency and I am still getting the background with transparency selected in publish settings. Does anyone know a way to remove the background and just have a transparent gif?
View 20 Replies
Jul 27, 2008
This is how you fix the flash wmode="transparent" problem in firefox.[code]basically you have to include that 2nd wmode="transparent" in the embed line.
View 2 Replies
Jun 8, 2010
I made a webapp where I need html content to popup on top of the swf objects I have. I ended up using the swfobject setting wmode: "transparent" which works fine in all browsers (Chrome, safari, IE) except firefox. In firefox I can't click the flash buttons, i tried to remove wmode=transparent and, of course, I can click any button I need (all browsers)... but this way I can't put my html content on top...
View 2 Replies
Sep 15, 2010
I have a BitmapData object created dynamically that contains user-drawn shapes. I then attach that BitmapData object to a MovieClip via a Bitmap object and set that MovieClip as a mask to another MovieClip. The mask works but the whole bounding rectangle of the BitmapData is acting as the mask. But I want to exclude the transparent portion from the mask so only user-drawn shape can be set as mask. Can anyone tell how to achieve that?
View 3 Replies
Mar 21, 2011
I'm using copyPixels to copy a parts of a larger Bitmap to smaller Bitmaps to use for individual MovieClips. However, around there is still some extra space white space and corners around the Bitmaps' edges left over. How do I set the color white in the Bitmap to be transparent so I won't see these unsightly edges?
View 2 Replies
Aug 11, 2010
i have a button in my first swf file i want to export it without background i want to load it in another flash file how can i do it?
View 2 Replies
Jul 21, 2011
How can i import a swf to flash? and how can i set the background of swf to transparent?
View 2 Replies
Mar 6, 2001
I'm trying to make a text box transparent so that when i put the image onto my web page you only see the text and the background on the web page is visable
View 3 Replies
Feb 24, 2009
In Flash MX, is there a way to make the background transparent? So once I have exported the .swf document into Dreamweaver I can place it on the background, blend in with it and only show the animation parts..
View 1 Replies
Feb 9, 2009
this is a very specific problem; in my AS I have a createTextField (as part of a button) with a onRollOver effect on it. When I set the wmode to transparent the text either disappears or does not change color.
I need the wmode transparent thanks to a BG image in the html.
View 4 Replies
Feb 23, 2009
I have a swf called scene0 which loads a swf called scene1 when a button is clicked. Scene1 just has some static text on it. My problem is that I can see scene0 through scene1, where what I want is for scene1 to cover scene0 so that it's hidden. I've tried changing the stage colour on scene1, thinking that the default white might be interpreted as transparent, but that didn't work; and I tried drawing a coloured rectangle covering the whole stage of scene1, but that didn't work either. For some reason the rectangle is... invisible. Or something.
View 1 Replies
Nov 13, 2009
have a gateway button that resizes the browser window to the size of the user's screen. since this would vary, i'd like my flash elements to have a transparent background so they can rest in the middle of the background despite the size of the window, borderless and seamless.
View 3 Replies