Actionscript 3 :: Flash Transparency Of Overlapping Items?
Sep 7, 2010
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.
View 2 Replies
Similar Posts:
Jan 17, 2010
I have a program that generates multiple circles that need to be semi-transparent (50% alpha). The circles will overlap in places, and I need those overlapping areas to continue to be 50% transparent. Obviously the default behavior is for the overlapped areas to become nore than 50%. I have tried putting these circles in a container together and setting that containers alpha to 50%, but the default behavior still exists.
View 2 Replies
Jan 13, 2004
I having a problem with this menu I'm making. Everything is working pretty well, however, there is an overlapping problem within the menu once it reaches its destination.
[AS]
(i<=2) {
i++;
bar_mc.duplicateMovieClip("bar_mc"+i, i);
this["bar_mc"+i]._y = (bar_mc._y-i*bar_mc._height);
} startPos = bar_mc._y;
MovieClip.prototype.myBar = function() {
[Code] .....
View 1 Replies
Apr 4, 2006
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?
View 7 Replies
Mar 15, 2011
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;
[code].....
View 1 Replies
Oct 21, 2009
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?
View 2 Replies
Nov 20, 2010
I am facing the problem in showing Ajax Modal Popup Extender over Flash.when Popup comes out it will overlap by flash(Its giving me problem in IE 8,its work fine with the Firefox).
View 3 Replies
Nov 24, 2009
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.
Attachments:Hone Bird Anim DEMO.mov (983.4 K)
View 3 Replies
Feb 17, 2011
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.
View 1 Replies
Mar 28, 2010
i've a MovieClip and i would like to change the transparency of this movieclip how can i do?
View 1 Replies
Apr 23, 2011
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).
package {
import flash.display.;
import flash.net.;
import flash.events.;
[Code].....
View 2 Replies
Jul 25, 2011
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.
[Code]...
View 1 Replies
Apr 30, 2009
is there a way I can have my flash content visible outside the swf area and have it overlap HTML content?
View 4 Replies
Mar 18, 2010
This only happens if I've just launched IE after being restarted and goes away once I refresh the page. I even added a jQuery $(document).ready function that sets a margin between the html and the flash content to add 1px of space when the page is loaded. It's so hard to figure out, because once I refresh the page, it goes away.########### SOLVED ###################### SOLVEDI set the flash output as a javascript var (actually json_encoded PHP output) and on document load inserted the object into the "flashContent" div with the jQuery.(document).ready event.
View 3 Replies
Apr 1, 2011
I have a weather widget that is flash and expandable. one of the issues i had is when I expand the widget, it wouldn't expand passed the flash container size, so most of the content is cut up. I increased the size of the flash container and that worked. The problem is that the I have another facebook widget that is below the weather widget and that got pushed a lot. I moved the facebook widget up with a negative margin and now they are aligned fine. BUT i can't interact with the facebook widget. and I think the reason is that it is actually behind the flash container. it works fine on ie but i am trying to get it to work on chrome. I have changed the z-index to make the facebook widget on top of the flash, but the flash started to appear behind the facebook now.[URL]...
View 2 Replies
Jan 25, 2011
I have not used Flash for around 10 years so am fighting my way back in. For my website about mountain biking I have created a scrolling map withe buttons on in the correct locations that you will click and take you too the relevant page.
My problem is on the mouse over for the buttons text comes out of the side but if there is a button next to it the text comes out under the next button. How do I make it so that its not overlapped by anything. I did think about creating a layer at the top of my flash file and putting all of the text movies in it so that they would not be overlapped. Check out my work so far below, you can see what I mean if you mouse over the button to the bottom left.
[Code]...
View 1 Replies
Jul 16, 2009
when i tell Flash to load a movie in on top of the existing movie, how do I disable the links below while that movie is still loaded and then re-enable the links once it's closed.i.e - I'm clicking an image to load a enlarged version of that image directly over the top. if you accidentally click the mouse anywhere in that area it automatically reloads the same movie?Anyway to disable the level below?
View 3 Replies
May 15, 2008
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.
View 1 Replies
Feb 16, 2010
flash mask working - transparency (wmode) is not
[Code].....
View 1 Replies
Aug 27, 2010
Here is my code:
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.
Menu(); is generated from XML.
View 2 Replies
Sep 21, 2010
What is the best way to create a video with an alpha channel, suitable for flex/flash? Does it need to be FLV, or can it be MP4/MOV as well?
View 1 Replies
Dec 2, 2010
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();
[Code]...
View 2 Replies
Jan 25, 2012
I have a list that has alternating item colors.
<s:List id="myList" change="selectionChanged(event)" alternatingItemColors="[0x000000, 0xFFFFFF]" dataProvider="{alResults}" itemRenderer="itemRenders.Results" width="100%"></s:List>
[code].....
View 1 Replies
Oct 20, 2008
audio from Flash CS3 Video overlapping stopping the FLVPlayback instance (which has an instance name of theVideo) when another button is clicked! How do I stop flv playback when user clicks a navigation button ...
I'm using the attached code to go from the main stage to one subset of .swf files (loaded movies) and I apparently have no problems with overlapping. Hell, the files even seem to unload themselves correctly. Then, when I go to my second subset of .swf files (with the exact same AS3 structure), which has a Flash Video file (made by the FLV Playback component), I get into an overlapping problem associated with the audio.How can I stop, cancel, or unload the audio when the file is clicked away from (the user selects another button on the mainstage)?
View 27 Replies
Apr 10, 2012
I know that I have to set the wmode property, but where do I set the property in flex paper.Following is the code to embed Flexpaper into the HTML document.
<script type="text/javascript">
var doc = '<?php print $doc; ?>';
var numPages = <?php echo getTotalPages($pdfFilePath . $doc) ?>;
[code].....
View 1 Replies
Jan 27, 2010
When outputting links dynamically, I cannot determine the Y-Pos dynamically. It will work find if my links are single lined. link_txt.y = i*20;
this will only work if the links are Single Lined. assuming they are 15px for height + 5 for spacing.
As soon as they are 2 lines, they overlap. I've tried different methods but unable to figure it out.
View 3 Replies
May 18, 2011
I have to display a multitude of labels on-screen without overlap.The label positions should be as close as possible to the features they describe. The features may be points, lines, or polygons on-screen (imagine any variety of map).I have to satisfy the following requirements in my application:labels must be positioned to avoid overposting (overlap) with other labels..labels must be positioned to avoid overlapping with other features (polygons and line segments) optimum position for a label is above and to the right of the feature they describe below and to the right is less acceptable least acceptable positions are to the left.I need to come up with a method for doing this.Before I just start attempting to do this at random, I am hoping someone here may have already done this and be able to give me some advice as to where to start.Basically, with the labels, I could use bounding boxes to compare them to each other. Although I don't know a good way to do this. With the line segments and polygons onscreen that they are labeling, I really don't have a clue what I should do to avoid overlap. I am hoping it won't require much more effort on top of avoiding the overlap of the labels themselves.
I think repulsion would work if I only had to deal with labels overlapping other labels. But if I have a line segment drawn across half the screen, I don't know how I can avoid overlap with that using the repulsion technique.The language I am using is Actionscript 3 and the Flex framework. I don't believe Flex has any layout manager classes like there are in Java Spring that can do this work for me.Anyway, links or suggestions would be welcome. I can allow for some brute force; I don't see how I can accomplish this otherwise.
View 1 Replies
Jan 6, 2010
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.
View 1 Replies
Oct 15, 2011
I'm a beginner with this whole As3 lango and running into a couple of road blocks.I designed a flash site with a total of four pages. I have background music playing when at the homepage and continues to play when browsing the other three pages, but when I navigate back to the homepage the background music replays and overlaps itself. Is there a way I can stop the background from repeating itself every time I navigate back to the home page?
View 11 Replies
May 7, 2011
I have just done using the tutorial (url.....) for creating a XML Grid Image Gallery in Flash for my portfolio.Since I created my website entirely with flash cs5, I have put the script in a new action layer on top of one of the pages.It worked fine when I just tested that page, but when I clicked into other pages, the gallery wouldn't go away, I tried to put "stop();" in front of my script but still didn't work, everything overlapped with each other.The following is my script
PHP Code:
stop();
import fl.controls.ProgressBar;
import fl.transitions.Tween;[code].....
View 5 Replies