can someone please explain to me why i cant write Russian or France or Hebrew or any other utf char
when i am embadding my swf with opaque wmode??
is there a way to work around it? i have an HTML script with flash inside it and the text filed in the flash wont except any language other then English everything else is gibberish
I am new to AS3 (LAMP dev) i looked everywhere but no decent answer
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'd like to change all occurrences of wmode to opaque. Is this easily done via jquery? In the object definition, wmode is set to opaque but in the params it becomes transparent.
When 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?
I have a html/flex app loaded in an iframe, and wmode is set to 'opaque'. I have 'mousemove' listener attached to the document of flex app and document of the parent. Once I mousedown in the flex part of iframe and move my mouse around, i can see the logs from the iframe. However, when I move the mouse around in the parent, i dont see logs from the parent. But, if I mousedown on the html part of the iframe, i can see logs from both iframe and parent. Same sort of bug is reported in Firefox 4/5, which breaks html part of it. Visit [URL]
This would be for a Flash game within Facebook. If you have a Flash object in IE, when you use the up and down arrow keys it causes the entire browser to scroll. IF you have a game that requires the up and down arrows, this makes it very frustrating to play and just not acceptable. The wmode is set to opaque and needs to be that way. I understand keeping it at the default would 'fix' this problem, but then the game wouldn't work. Some people say "don't use IE". That would be nice, but that also is not an option.
The part that really stumps me, is that it was working just a few days ago. The solution that worked the first time was to set the container that the Flash object was embedded in with overflow set to auto. But the honeymoon only lasted so long. I'm not sure if Facebook made an API change that might break this. I reverted code that could have possibly the overflow trick not work. No luck, didn't work. We have also tried to put a text field to grab the focus of the Flash game in AS3, but that trick did not work either. We have tried to use JS in more than one way, but those were dead ends. I don't have an example page I can show at this point as the game has yet to be released to the general public.
I'm absolutely stuck at this point and haven't found a solution anywhere. Other people have had this problem but nobody seems to have an answer... if there even is one. The Flash object is losing focus as soon as you push the arrow keys, and no matter what I do I just can't seem to get it to grab focus.
How to dynamically add wmode="opaque" to already displaying embed elements? Without reloading the elements, the embedded content should not lose its state.
Just setting the wmode attribute with javascript doesn't work.
Removing the element and then adding it again makes wmode take effect, but the flash element loses its state, among other problems. E.g if it's a video player its position/playback status resets. So that solution is no good.
Any other way of displaying content over the embedded element is acceptable as well.
(I'm doing this trough a content script in a Chrome extension if that is of any help.)
This is not a duplicated of How to dynamically add wmode=transparent to Youtube embed code? as there the parameter is added to a frame and not directly to the element it self.
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 m using textarea in flash 10 cs5 as3. The problem is when i try to select a text and go out of stage and leave the mouse then again move mouse on text then selection of text will move with the mouse.
Here is what causes that:
* click somewhere on the text and drag the mouse in order to select the text * then go out of the swf * leave the mouse * now move mouse on textarea
the selection of text will move with the mouse. How to stop this behavior? I tried to implement mouseleave on stage but the problem is i m not able to detect mouseleave event when mouse is pressed and it leaves the stage.
This is because of wmode="opaque" parameter. I found out that it doesn't do this when wmode="window". Is there a solution for this?
As stated in the title, I am now trying to create a chart using Google visualization: annotated time line. It's very easy to use and the documentation is fairly easy to understand as well. You can find the documentation here.I run into a problem about the wmode of the chart which is a flash object.The default value of the chart's wmode is "window" and it will always overlay all HTML objects in the same page. That is very annoying, because even the jquery block() method doesn't work on it.
When I change the chart's wmode into "opaque" or "transparent" the chart will not overlay HTML objects with higher z-index, but it doesn't recognize the mouse scroll event. It still catch the mouse click event though.I have tried it in the following browser:
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 (.NET CLR 3.5.30729) Opera/9.80 (Windows NT 5.2; U; en) Presto/2.7.62 Version/11.00 Safari 4.0.5 (531.22.7) IE 7.0.5730.13
Only the IE can catch the mouse scroll even, the others couldn't recognize it.
Ok so first I was having 2 issues with default wmode of "window". My web page navigation menus would go under my flex/flash app. The other issue was when scrolling in the flash app the whole page would scroll.
I changed wmode to "opaque" and this fixed the issue with the navigation menus and so now they show up above the flash app. Thats great but now I dont have scrolling at all in the flash app. I realize this is a big issue out there but I can't seem to find any solutions for solving both(actually 2.5 issues) of these problems.
I would like to A) Have navigation links show up above the flash app so they aren't hidden; B) Allow scrolling within the flash application; and C) Prevent scrolling of the web page if the mouse is over the flash app.
My AS3 Flash loads some file that is a JSON with some special characters : quelques caract\u00e8res sp\u00e9ciaux (updated) After using some str_replace('\\','\', myVar) i did get rid of the double slash, but it still won't display as an accent. is there a way to decode this string in AS3 (get backİ, chars...)?
so I have my php API (html Get api for Flash builder and C# apps). So if you want to submit data to it you use string like
[URL]
If there are english letters in it its ok. But what if I need to pass UTF-8 string like this Русское Имя to my api what shall I do?
I've got a gradient fill in the .swf that creates a nice background. But I want to import this file in a flash/xml website and the file has to be opaque in order to work properly.
I've got a question about a swf that needs to be opaque. I've got a gradient fill in the .swf that creates a nice background. But I want to import this file in a flash/xml website and the file has to be opaque in order to work properly.
I've got a question about a swf that needs to be opaque. I've got a gradient fill in the .swf that creates a nice background. But I want to import this file in a flash/xml website and the file has to be opaque in order to work properly.
This is the code: import flash.display.StageAlign; import flash.display.StageScaleMode; import flash.display.GradientType; import flash.display.SpreadMethod; import flash.display.InterpolationMethod; import flash.geom.Matrix; [Code] .....
I have a canvas component that I create and add as a child of a parent canvas component. I set the opaqueBackground property for the child component which makes it opaque over the parent component. However, when I add two child components, they are not opaque over each other. How do I set it up so that one child component completely covers up the other child component?
This is really stupid.. But I can't get any DisplayObjects to take an alpha setting.. They remain full opaque no matter what- if I set alpha=.5, 0.0, etc. I'm using Sprites, but I've tried with TextFields and a couple other things.. Is there any setting, or anything about the containing object that would prevent me from setting alpha? I am really confused on this.
I have a datagrid column as follows: <mx:DataGridColumn headerText="Description" dataField="description" editable="true" editorXOffset="2" editorYOffset="2" editorHeightOffset="20" editorWidthOffset="60" itemEditor="com.jono.controls.DgItemEditor" wordWrap="true" />
And a very simple DgItemEditor: <?xml version="1.0" encoding="utf-8"?> <mx:TextArea xmlns:mx="[URL]" wordWrap="true" backgroundColor="#FFFFFF" backgroundAlpha="1"> </mx:TextArea>
Basically, this allows for a small 'popup' when the user edits a cell in the datagrid, allowing for more space to type. The problem that I am having is that the datagrid gridlines show through the itemeditor - i.e. the itemeditor is transparent. Is there any way that I can force it to be opaque?
I have a flash project consisting of a single frame in the main time line. Upon user interactions many movie clips fade into the stage. My problem is that i am unable to continue working on these animations when i set the movie clips 1st frame to zero opacity. What is the correct way to access my movie clip instances when I am unable to simply double click on them?
im trying to draw opaque pixels on a transparent bitmapdata background
heres the ex:
ActionScript Code: //TRANSPARENT BACKGROUND var _pixelColor:uint = 0x9998002E; var _bmpd:BitmapData = new BitmapData(4, 7, true, 0x00333333);
[Code].....
This example paints 2 arrows, the first is using the transparent background, and the second is using an opaque background on the BitmapData.
What I'm trying to achieve is to paint the pixels of the arrow completely opaque on the transparent background. But as you can see, the pixel is at 99% of its opacity (var _pixelColor:uint = 0x9998002E) How can I paint 100% opaque pixels on a transparent BitmapData "canvas"?
I am trying to detect if a point on an image is on the opaque part of the image or the transparent part. I have a image in a 48X48 area. half the image has transparent pixels. I seem to detect a hit on every part of the image like a bounding box test but I don't want that. For example . I place a 48X48 size image on stage at 0,0. At point 40,20 on the stage the image has transparent pixels but I get it detects a hit? mm.img.hitTestPoint(40,20,true); //it should give me false
I'd like to know if there is a way for me to someone create a 1px or 2px black border around only the opaque pixels in my movie clip?
I have a movie clip that has nested inside of it a Sprite that contains a graphic that was loaded up at runtime via Loader object. The graphic is a png image that contains parts of it as transparent.
I have two png files. I import them using loaders. The images in the png files each have opaque (solid) and transparent parts. I want to use the bitmapdata.hittest method to detect when their opaque parts have collided.
[Code]...
I've been working on this for a couple of days now and nobody seems to know how to do this. Please don't post the examples on google, I've looked through at least the first five pages of results on google and haven't gotten any of them to work. The problem is that none of them provide an example of using this method with loaders, so I'm guessing the reason I can't get it to work is some gimmick associated with them.
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.