I have a problem I can't seem to fix - why wont the transparent attributes of the PNG files I have substituted into the XML gallery wont show? instead there is a heavy white border that overlaps other images in when the flash is rendered
var tn:Number = 0;
var current_tn_x:Number;
var current_tn_y:Number;
I have a PSD with about 30 layered transparencies. I exported each individual layer as a PNG 24 with the transparent background in tact. I then made identical layers in Flash just like I had in Photoshop, and imported each PNG to it's corresponding layer at which point I converted the graphic to a movie clip for future scripting animations. Once I got to the 24th layer Flash quit recognizing my transparencies and my first Flash layer masked anything else I brought in from layer 24 on....but the layers above remained OK!! I checked and double checked my Photoshop exports and had several Flash "gurus" check my work. Nobody can figure out what is wrong! Is there a limit to the number of PNG tranparencies allowed on seperate layers in a Flash document?
What's the best way to bring in an image with transparency in Flash CS4?I have a logo in Photoshop that looks great on a black background. But when I bring it in as a GIF or PNG in Flash, the edges get really jagged.Is there a preferred way to import this so the edges are smooth?
I have created an animation using illustrator files in AE CS3 and now want to convert this to flash so it will play on my website.The problem I am having (or rather my web designer) is getting the transparency in flash.
1. How should I export out of AE
2. Do I need to bring the video into Flash and export out of there to get the transparency?
3. Can this workflow even be done?
4. What is the best way for me to deliver the files to my web designer?
I have attached a movie file of the look I am going for. The birds were done in AE and I want them to move across my home page.
Overlay blending mode in flash on trasnaprent, imported images, doesn't work properly! It leaves dimmed black background instead of transparency. Same thing is in CS4 and in CS5. What is even more weird is that in Flash preview stage window everything is fine, and it works, but after publishing the SWF, you can see black background.I looked for workaround that...no success. No one answeres to this question.
-I tried with 24png, 8png, gif with different settings. No success. -Tried also with After Effects, and then export to SWF, it works surprisingly.
In Flash, I have a container with several overlapping children. When I give this container an alpha value of .5, some of the children can be seen behind others that overlap them. I would rather be able to take the whole thing as a composite image and blend it that way.
For a class project I'm working on "Pissed Off Pigs" (I think you get the idea, the pigs get revenge, don't worry, I'm not going to release it!) and I want to create circles with a fill from a bitmap (circles because the collision math is easier). Here is how they look now.
Of course, the white is the problem. Below is my "pigs" class. I've tried gif's, pngs, 8-bit pngs, etc and it seems to make no difference. The image itself is 20px square and the radius of the circle is 10px (so a 20px diameter). Here is the image I'm using:
And I know I should probably load the image outside the class and just pass the BitmapData when I make a new pig so I don't have to load the image every time I create a new pig but for now it works! (Sorta).
Oh, and I have checked bmpImage.transparent and it returns true (even when I don't specify true in the constructor).
I use a flash program in my website to resize pictures before transfert, for preserve my bandwidth.
But, when i try to transfer a .png file with transparency, the resize don't maintain transparency in the .png file result. It's a problem for use it after.
I've tried to export my vector work from Flash to Illustrator. The result is bad : colors have faded and transparent colors became opaque. It is a shame that Flash doesn't provide a correct export function to Illustrator now that Flash and Illustrator are both Adobe's softwares.
var menu = new Menu (); menu.x = 0; menu.y = 0;[code]...........
This works, but transparency varies for each element MovieClip separately, but I would like that would have changed the whole MovieClip transparency as a single image.
I am trying to print a movieclip with printjob in flash. This movieclip contains two layers: one with a PNG image with transparency and one below with a jpg image. The problem is that the transparency of the png is not respected so the jpg image does not appear. The code i'm using is real simple: var my_pj:PrintJob = new PrintJob();
I need to find a way to copy a masked bitmap. I have a bitmap on stage, and a user drawn sprite that acts as a mask. I need to capture/copy the masked area bitmap, maintaining the transparency created by the masking to eventually encode as a png.
I could find no documentation on how to accomplish this using copyPixels(), or any other directions.
I have a page which displays dynamic flash content from issuu.com. I need to add wmode="transparent" because otherwise navigation menu shows under flash. Is there a short way to do this with jQuery or simple java-script?I don't want to change embed code every time a flash is added.
I'm creating a DressUp kind of game using only external .png files for items (such as dresses, hair styles, bags etc).Some of my image files have transparent space left/right of the drawing itself. What I want to do, is set the hitArea of that certain movieclip (which contains the .png file) only to the visible area (to the actual drawing). This would be a fairly easy job if all the items had have the same size, but sizes are different from item to another.Taking the attached image, the grey area should not respond to mouse events.
I created an image in Photoshop that included a gradient layer fading from transparency to a foreground color (in this case, black). I saved this image as a PNG file and imported the file onto my Flash stage. The gradient appears on the image as expected when viewing the stage in the Flash editor, however, when I test the movie, the gradient no longer appears.
I have created a swf for the header of my website. On the top layer I have an image that stays static while the rest of the header changes images. I am trying to get the static image to be fairly transparent but am not having much luck. I created the image in PS I saved it with transparency but it doesn't look right in the swf.
URL..they rocky frame you see is a PNG and it's converted in MovieClip to be able to change it's index so it's always in front of the other objects.Problem: once I get what I want (MC+png is in front of everything) I'm not able to interact with anything under the MC anymore.I know the problem it's that the png extends for all the MC space but I really need to make those object under the frame interactable.
I'm working on a project where I want to use a transparent png, and when authoring in Flash CS3 (using actionscript 2.0) the png image appears transparent just as it should. However when I test it the .swf file loses the transparency entirely. The png image was saved for web from photoshop as png-24.
With CS3, when I entered a movieclip, I could see the other movieclips/stage in the background. But now when I enter a movieclip with CS4, I get the stage color as the background. If I try to test that "scene", the objects are in the top left corner.
It makes positioning from within a movieclip very very difficult.
I have a flash SWFObject on a pafge and i want to make the background transparent so that the base HTML background shows through. This is my code:
var so = new SWFObject("images/topnav.swf", "flash", "100%", "100%", "6","#000000"); so.addVariable("xml", "data.xml?time="+new Date().getTime()) so.write("flashcontent");
In my flex datagird i have a checkbox and a datgrid with seven columns. im populating values in first five column(remaining two column no values) of datgrid by an Arraycollection. now,By clicking the checkbox i want to show all seven column values and if i uncheck five columns has to show... how its possible?? heres my code