Professional :: Flash Mask Working - Transparency (wmode) Is Not
Feb 16, 2010flash mask working - transparency (wmode) is not
[Code].....
flash mask working - transparency (wmode) is not
[Code].....
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.
View 4 RepliesI am creating a very simple mask using motion tweening. I created some text on a layer and made it a masked layer. Then I created a mask layer which consists of a circle that will span across the text. When I play the movie the circle does not show up at all in the frames the mask layer spans (it's purple on a black background) and the circle does not move across the text like I told it to with the motion tweening. I don't know why it's not working. For some reason the circle isn't showing on the stage at all and it's not moving across the text. I don't know if I have it set up wrong on the timeline or what. Here's the steps I followed to create the mask:
1.insert a new layer in which I named it mask and click frame 1 on this layer
2. select the oval tools on the tools panel and set the stroke to none
3. set the fill color to purple
4. draw a circle and click the selection tool and drag a marquee around the circle to select it.
5. click insert on the menu bar, click motion tween then click ok in dialog box about converting it to a symbol to be tweened
6. click the last frame in the mask layer and drag the circle to the end of the line of text
7.click mask on the timeline to select the mask layer, click modify on the menu bar, point to timeline then click layer properties
8. verify the show check box is selected in the name section, click the lock check box to select it, click the mask option button in he type section, then click ok.
9. play the movie in which the circle object covers the text on the masked layer as it moves across the stage.
I've read through umpteen Flash threads of frustrated users who export SWF and anything visible outside the stage appears in the SWF when opened in a browser.None of the solutions have worked for me.My file is called statement_onlineheader.fla.URL...I have my mask layer above a folder containing all other layers.I have also tried moving the mask layer above individual layers.Stuff outside the stage appears in the exported SWF.
View 5 RepliesWhen setting wmode to "opaque" (or transparent) my flash app becomes slow on Facebook. I can particularly notice it when moving the mouse around (even on a tiny area of the screen), if I don't move the mouse then the slowdown doesn't seem to happen. Maybe its because its sending all events to facebook too?
View 1 RepliesI have a customized drag event that works great for most things:
[Code]...
The issue is that when I use this code with wmode=transparent or wmode=opaque the MOUSE_LEAVE event is not detected when the MOUSE_UP event occurs off the stage. Is there a way to detect the MOUSE_LEAVE event when wmode is transparent or opaque? OR Is there a way to detect that the wmode is set to transparent or opaque so that a work-around may be implemented?
I have a flash banner and css menu to use.I tried flash with wmode as transparent for flash banner which makes the css menu to come over the flash banner.but the button which is there in flash is not working in IE 7 and it's lower version.
View 1 Replies[code]The problem is that the mask isn't applied. Now, if I just add mask_container it adds to the stage just fine. If I mask mask_container with square, it masks just fine. They're both Sprites so both are on the display list.
View 3 RepliesThis is a very complex question, and I reckon for the real gurus on the forum. Before reading the rest of this post, please take a look at the attached image. Basically, I need a dynamic system of masks to do these things:
1. Display six images of identical dimensions, with different fills and blanks. Fills represent 12% opaqueness, blanks represent full transparency.
2. From the first to the last image, there will be an "adding" effect, which results in the last image incorporating all the opaque fills of the previous images.
3. Hopefully, the filled areas' shapes can be modified at runtime, adding or deleting lines (like in Paint/Photoshop/SketchUp).
ive gotten one movie clip to mask another in the actions frame but i cant seem to be able to mask the flames which are a shape with a movieclip in this as file. im not getting any errors but the mask isnt covering anything look near the bottom at s.mask=mask_mc; there are about 20 "s" shapes spawning per second if that has anything to do with it
Code:
//this package turns an mc into a flaming button that calls a javascript function
package
{
import flash.display.MovieClip;
[Code].....
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.
I'm currently constructing a scrollbar as part of a website using as3 and png images. I've got loaders for each image inside of an array, and when loading on each image finishes, it's added as a child to a sprite on the stage. I've got a background image with no transparency, which loads fine. On top of that, I've got the actual slider, which loads the RGB data, and appears to be using the alpha as a 1-bit mask. So anywhere that I have partial transparency, it just shows up as black, where it should be showing the background underneath. I can't find any attribute that will change the way loaded images process alpha transparency.
View 2 RepliesI have a jpg that I load dynamically into my swf. When I try to set a mask to it doesn't work?
[AS]mymovieclip.setMask(mymask);[/AS]
I download "scrollbar_vfinal_2004 from this site and use it my own movie but when I test the movie, the text is not showing. Without text lay mask, the scrollbar works.
View 2 RepliesI have a flash project that when published with the "Transparent Windowless" Window Mode setting under File, Publish Settings, under the HTML tab... the following Action Script 3 code causes the link to be blocked by the IE 7 and 8 pop-up blocker when I use the "_blank" target and embed the flash movie on my page in Dotnetnuke, however if I use the "_self" target the link opens fine in the same window. If I publish the Flash project using the "Window" Window Mode the link opens in a new window with the "_blank" target without a problem. I need the Transparent setting because I have a menu bar on my page the drops down over the Flash and the menu goes behind the Flash movie unless it is published using the transparent setting.
[Code]...
Im going out of my mind trying to find a workaround to the supposedly well known ff bug [URL] regarding MouseScroll Events when wmode is set to transparent. I've spend a good part of a day googling for solutions, but nothing seems to work.
The majority of fixes are focused on the issue of being able to scroll down/up on the page, but im using the scroll to zoom in/out. An example can be seen here (its still a prototype so if anyone gets tempted to click on a box stay with nr 1 or 2 )[URL]
It works fine in IE (though im still working on making the zoom more elegant and smooth), but in FF, Chrome etc it wont work.
My embed code can be seen here
ActionScript Code:
<script type="text/javascript">
var flashvars = {};
var params = {};
[Code].....
I've made a flash image with the gif extention with Adobe Flash CS4 Pro. I have set the WMODE to tranparent and i've set the Transparency at the giv tab to transparent to. But now comes the difficult part. Each time when I export the image the background is still white.
What did I do wrong? and how can I fix it?
Here is the code :-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
[code]....
I saw one video on how to use flv file in flash and mask it. It is working fine when I am using the following option while importing a video file to flash:
Load external video with playback component
But when I tried with the following option it doesn't show the background, it shows only movie which is playing nicely. But not the background which has a bill board.Embed FLV in SWF and play in timeline.It seems the mask is not working with this option.Actually it should be like the above.But when I am using the option Embed FLV in SWF and play in timeline while importing the flv video, getting the result like below: It is not showing the Bill board as above.See the layers created:
I have created mask layer with single MC cosisting of couple of instaces of another MC. This is a set of growing squares. The problem is that only first instance gives mask effect. Rest of instances are not used to. Does anybody knows what is wrong and how to workaround this (most likely)bug ? I would like to avoid creating one masking MC consisting of e.g. 100 layers - with teened growing sqare on each layer but in different position. Wiser is just to create one MC consisting of many instances of another single MC.Second example describing issue.Mask layer contains shape tween which consist of 3 keyframes.Masked layer contains single keyframe at first frame with one MC. This MCrestarts when middle keyframe in the mask is played. It seems that masked MC (on different layer obviously) is recreated when playhead meets keyframe in mask layer in tweened shape. In the same moment our MC stopped beeing visible for AS3 under given name as well.It seems that if mask layer contains more complex animation then basic shape move/scale then masking stops working properly. Is it bug in Flash palaer or am I doing mistake?
View 3 RepliesI have used a loader to play a swf, and I've managed to scale it like I want it - now I would like for it to fade in and out. How do i do that? Below is the as3 script I am using:
var loader:Loader=new Loader();loader.contentLoaderInfo.addEventListener(Event.COMPLETE,f);loader.load(new URLRequest("BldgBanner_r3an.swf"));addChild(loader); function f(e:Event):void{loader.scaleX=.80;loader.scaleY=.80;}
Is it possible to mask the background music in my flash website so it stops when I have my videos running?
View 5 RepliesLong time lurker who can't find an answer thatfits this specific problem. I apologize if it has been answered. In the pic below,notice the edges. They look great on the stage, but I can't get the rendered .swfto look the same.
View 1 RepliesI have gone through a nightmare trying to apply a gradient/soft mask. I know I will be dreaming it tonight.. Anyways. This is a link of my attempt: [URL] And the problem is FLASH CS3 is bugged to actually work out a simple piece of code:
[Code]...
Has there been an update this weekend thats broke masking I have tried to gradient mask an object both by using a vector mask and a png mask. NONE OF THEM WORK! Last week it woeked - and nooene else here at my job can get it to work either.Gradient masks are just shows by a square. No way of of getting smooth edges (gradients on a masked object anymore).
View 13 RepliesSo I am working on an interactive piece that requires the use of pre rendered 3D animation clips with transparency. what I was curious about is... Would it be better to export the video as a series of PNGs (the longest is about 600 frames long) and import those into my movie clip or should I export the video as an FLV that is close to 400 Mb in size? Or am I completely missing a a better way to get this pre-rendered animation into my piece as a clickable movie cllip with transparency?
View 2 Replieswhy my masking effect is not working,i mean on Library display is displaying correctly[Type:Movie],i just did draged into main pannel the movie clip,and when i run it,it just show static text,why?
View 13 RepliesI realize this is a total newbie question, but it is driving me crazy. In Flash Professional I have a movie clip, say 1000px high and 50px wide. I have it contained within (under) a mask layer where the mask is 100px high and 50px wide. In my program I move the movie clip vertically and as expected it is masked such that I only see 100px vertically.
My question is: how do I remove the mask from my movie clip? When I debug inspect the movie clip in Flash Builder, its .mask property is null. But it is masked..
I am trying to do some text effects by using a text mask but I can't get the mask to work. I can successfully mask a circle over a rectangle, and even mask a rectangle over text, but text over a gradient rectangle just doesn't work - I end up with the rectangle moving across the stage, but no text mask.
View 2 Repliesi want to collapse a complex scene with all different layers and different transparency into a single layer (or as few as possible) to optimize the flash file for online (were experince proformance issues). I have tried the combine and manually copying pasting into one layer but it cuts the fill below and replace with transparent fill. I want to have a end file that is 100% solid.
View 1 Replies