ActionScript 3.0 :: MCs With Filters Disappear With Wmode: Transparent?
Feb 26, 2010
This has directly affected the last two AS3 projects I had, but I remember it happening with AS2 projects as well The following conditions apply:
- I have a fullscreen site with fluid design (stage resize listeners)
- On the stage there are movieclips with filters (glow, blur, whatever)
- In the browser, my movie is set to 'wmode = transparent'
When I resize my browser, any clips being repositioned that have filters on them just disappear. The only way to stop this from happening is to either a) kill the filters, or b) kill the transparency.
It doesn't matter if I apply the filters manually in the Properties panel or dynamically in AS. I've tried setting 'cache as bitmap', embedding the movieclip in another movieclip, all to no effect.
The only (fairly horrible) solution I've found is to add an ENTER_FRAME event listener to the clips that constantly check for their position until it's been found. That seems to work, but seems like a ridiculous workaround.
Im the new kid on the block so I apologyze if I'm not doing very well.Everything works fine till the moment in which I set the wmode param of the flash movie to transparent, then the movie completely disappears (it loads, as I can listen at the sounds) but it doesn't show.I would like to have a full background image with the transparent flash movie over it, that's all, if somebody can tell me how to fix this or even a new way to do it, it will be so good!!Here is my code, so simple, by the way:
I 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 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...
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.
I'm experiencing a very odd problem. I have n sprites that I'm drawing through Actionscript 3. There is a DropShadowFilter (also happens with BevelFilter) applied to each sprite. With 0-20, there is no problem. Once I get to about 30, other nearby sprites start disappearing. The greater the number n, the more external sprites disappear. If I toggle the visibility (even without a redraw), the other sprites start reappearing.
I searched and searched.Anyway, I have a swf sitting in a layer above html text. It's set to wmode transparent, and looks fine. it stays small until rolled over, then the buttons slid out as expected. However, when the swf buttons are still hiding, the html text in the area that the swf buttons will eventually occupy is not selectable when directly clicked.
I 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.
I need to embed some flash games but I'm disallowed to use wmode=transparent due to performance issues & sideFX. I need to place a DIV above the SWF, but without the wmode the SWF is always on top. Hiding the swf when div is visible resets the flash.
is there anyway to get the External.Interface.call functionality to work in Internet Explorer 7 when you have wmode set to transparent on the flash object in question?I've tried pretty much everything under the sun I can think of without any success after a long time browsing the net for fixes. I should point out that I get the calls to work in chrome and firefox with identical code and that it also seems to work in ie if I dont have wmode set to transparent.Essentially what I want to accomplish is to have a flash dropdown menu set to transparent so it can go down over html content without covering it and then using external.interface to resize the div the flash object is contained in when the mouse goes off or on the menu. In doing so making the html content accessable again when the mouse goes off the menu.
I have several objects that share a single mask. I can see all of them when wmode is set to window but i want the background image on the page to show through the flash and have designed the flash around that. However when I set the wmode to transparent some of the objects don't render at all even though others do and they share the same mask.
I was wondering if there is a way to get the External.Interface.call functionality to work in Internet Explorer 7 when you have wmode set to transparent on the flash object in question?I've tried pretty much everything under the sun I can think of without any success after a long time browsing the net for fixes. I should point out that I get the calls to work in chrome and firefox with identical code and that it also seems to work in ie if I dont have wmode set to transparent.Essentially what I want to accomplish is to have a flash dropdown menu set to transparent so it can go down over html content without covering it and then using external.interface to resize the div the flash object is contained in when the mouse goes off or on the menu. In doing so making the html content accessable again when the mouse goes off the menu.
I am using lightbox++ to load images outside of flash in order to make that work I have to set wmode=transparent in the object properties But doing this lightens the gray color used in the swf.. Without adding wmode=transparent Screenshot with wmode=transparent
The newest version of chrome seems to have killed my transparent backgrounds on my SWF. On a website, I use flash to have a transparent video on top of the elements. However, the background is now black under the newest versions of Chrome.
Has anyone encountered weirdness with Firefox/Vista and wmode setting of transparent? It is the strangest thing, when I turn on wmode of transparent, my swf breaks! The actual swf acts as though the AS3 is broken (everything fails, buttons stop working, external assets do not load)... But when I turn off wmode of transparent then everything works fine.I have tried using a coulple different embed techiniques (one being swfobject) and both fail when using wmode of transparent, and only in FF/vista.
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.
I have a Youtube video on my homepage, and now I need a modal to display on certain events.For some reason, even when adding <param name="wmode" value="transparent"> to the Flash object, it still covers the HTML elements (with higher z-index too).I've got it on JSfiddle.I figured maybe an iframe could solve this, but that would require me to make a new page just to put the video on.
im using key.addlisteners to check for key presses. but if a person presses all 3 keys at once (RIGHT, LEFT, UP) then releases one at a time, only the first release is noted by flash. see a demo at:
http:[url]....is there any way to solve this?
NOTE: I do not want to use if(Key.isDown...etc) to get this to work. if you are interested in why see below.here is the code:
myListener = new Object(); myListener.onKeyDown = function() { if (Key.getCode()==39) {[code]....
i want to publish my movie with WMODE set to transparent windowless. there is a glitch in flash that makes it so if(key.isDown(key.right)) sort of codes dont work in anything but IE when WMODE is set this way.
My flash piece loads an external image depending on the XML that gets pulled in. The problem is that it sits in with a busted *** calendar that won't let me z-index until the wmode = invisible. When I change it from "window" (aka default) to "invisible" my external images do not load in but the stage assets remain. So external images appear in window mode. Do not appear in invisible / opaque mode.
I have found that events Events.ACTIVATE and Events.DEACTIVATE do not fire in the browser when wmode = transparent or when wmode = opaque. This is found when the swf is published with or without fullscreen mode capability.However, the events do fire:In the standalone player, such as opening the publised swf locally ( not using a browser ) In the browser when wmode = window
My Goal:Is to detect Events.ACTIVATE and Events.DEACTIVATE with a swf that has been published with fullscreen capability, where the wmode = opaque. ( I have found that when in fullscreen and wmode = window, mouse interactivity events, such as clicks, do not fire. Mouse interactivity is something I need, which I get with wmode = transparent or opaque. )
FYI:I have found that when wmode = window, the DEACTIVATE event fires both when entering and leaving fullscreen mode. The event ACTIVATE does not fire when entering fullscreen mode or when returning to the browser from fullscreen ( user presses Escape, etc ). In the event the user switched to a different window, the DEACTIVATE event fires. When the user returns to the browser, the ACTIVATE fires in IE but does not fire in Firefox until the user clicks in the swf
Setup: Flash CS4 Using the Flash published HTML ( wmode = transparent / opaque ) Firefox 3.6.6 ( Windows XP Pro ) IE 8.0.60 ( Windows XP Pro )
I have a Flash-based SWFUpload upload button in a HTML page. I am trying to style that button. SWFUpload provides a Javascript setup interface to the Flash button's settings. I don't have Flash myself, so I have to work with the pre-compiled SWF file.
We know set wmode to transparent in flash player can reveal pulldown menu behind the flash player but this seems not always true. Take a look at this , when the video starts to play, it still block the pulldown menu. I've used browser debug tool to check the code of that video player, it did set wmode to transparent
Why are text fields not catching events properly in Safari when wmode is transparent (no problems in ie/ff/chrome)? The only workarounds I've found involve sending html form field events to flash through an external interface (eg. overlaying html form on flash).
Edit: Swfobject embed code...
<script> var swfVersionStr = "10.2.0"; var xiSwfUrlStr = "playerProductInstall.swf"; var flashvars = {};
To get flash to sit behind html elements on a page I read that I have to add this inside the object tag:
<param name="wmode" value="transparent"></param>
And this to the embed tag:
wmode="transparent"
Is it necessary to add both? Because in FF I got it to work with just the second, just wondering if that may cause issues in other browsers and devices.
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.
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 = {};
I have an activex object (developed in delphi 6) and floating div message. When I dragging floating div over activex object its blinking. I'd like to add wmode param to my activex object like in flash objects to overcome this blinking, how does this feature works exactly ? By the way I developing activex in Delphi 6 and already tried to use DoubleBuffered and VCLFixPack and there were a little improvement but it didnt fixed the problem.
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