I'm building an application for AIR, written in AS3, and sometimes (most of the time), when I move my mouse over the right-click menu (I've tried both ContextMenu and NativeMenu - am currently using NativeMenu because of needed submenus), the Video object slows down significantly (it is showing the image of a local webcam), and the FPS counter also drops (obviously). This happens both while debugging, and while runnning the application after installing. It's a real deal breaker, I would really appreciate some help. I've yet to find anything resembling this on the Internet, it's really weird.
AIR application slow-down while mouse-over-ing ContextMenu/NativeMenu
483 Views Asked by manabk At
1
There are 1 best solutions below
Related Questions in FLASH
- How to create an ActionScript 3.0 in Flash to display Current Date, Time and Day of Week
- textinput.needsSoftKeyboard does not work (air for android)
- Flash erase image with mask - gotoandplay next frame
- Flash CS3: Text appears on button mouse over or text mouse over
- import a sound externally or from the library? AS3
- How to use Database in Flash App?
- undefined method loadCompressedDataFromByteArray through a reference with static type flash.media:Sound
- Cam streaming Flash client/widget
- Pairing a draggable object to a target object in AS3
- update flashVars of flowplayer to change video via swfObject
- Adobe Flash Pro: Locate asset with missing font
- Making an HTML Jigsaw Puzzle in Flash CC
- Passing data between MXML files and opening one after Click on another
- Moving things inside a two-dimensional array in as3?
- AS3 + webcam. Dispatch event on presence
Related Questions in ACTIONSCRIPT-3
- How to create an ActionScript 3.0 in Flash to display Current Date, Time and Day of Week
- textinput.needsSoftKeyboard does not work (air for android)
- AS3 Get currentFrame of current MovieClip
- call Win32 API in flex to set Window Display Affinity
- Air Native Extensions: Released Air App w/Windows Native Extension works fine on develpment PC but not on other computers
- TestFlight API and stats with as3
- Error while using removeChild() and accessing members of array
- Flash erase image with mask - gotoandplay next frame
- Adding a listener to a VerticalScrollBar in flex
- AS3 array to clean up long code?
- AS3 - How can objects that appear randomly never touch each other?
- import a sound externally or from the library? AS3
- Nesting Asynchronous Promises in ActionScript
- AS3 - How can multiple objects that appear randomly NEVER touch each other?
- ActionScript + Ruby
Related Questions in WEBCAM
- webcam displayed on LAN not to the internet
- .jpg out of .cgi with java (IP Webcam)
- AS3 + webcam. Dispatch event on presence
- Trying to write a UDP streaming webcam service on C
- Extrenal webcam show black screen with WPFMediaKit
- Image not being displayed using webcam in opencv
- Webcam MotionDetection hidden Canvas
- Enable getUserMedia using Javascript/jQuery
- Stream webcam via. Wowza streaming server
- avconv webcam image to standard output for using in php
- Streaming webcam from c# Windows Form to ASP.NET
- How to stream webcam feed on web page using react js component?
- Ubuntu OpenCV error while reading webCamera
- How to make unrecognized faces in opencv2 be labeled "unknown"?
- on windows 7/8, how to read usb device descriptor from a usb camera, and read picture stream with webcam meanwhile
Related Questions in FRAME-RATE
- iOS set video frame rate
- (UNITY3d android game) When i don't touch the screen, my fps are lower than when i touch
- Low FPS with Python, OpenCV on Raspberry Pi
- How to update the "forward" movement in OpenGL
- Java Implementing A Working FPS System
- How to put the "camera" inside a cube in OpenGL
- Why does setting frameInterval on a SKView not work?
- Java 2D Game - Drawing fps on screen
- Improving framerate of instanced geometry scene
- How to set camera fps in opencv?
- Unity Render.TransparentGeometry performance issue
- What is going on with deltaTime in Unity?
- EnterFrame listener that rotates sprite KILLS my framerate?
- Frame rate control of a ts file
- OpenGL first person camera - rotating directionVector
Related Questions in SLOWDOWN
- Python: why is my O(n) slowing down as it progresses?
- Navigation drawer takes time to open and close
- ResultSet.next() is too slow for an oracle ref cursor
- Visual Studio slowdown traversing entire solution looking for/creating Dapper SqlMapper.cs
- Connection to MySQL inside fooreach loop slow down my php page
- Slowing down audio of a video using FFMPEG
- Random slowdown when inserting elements at random into vectors
- How to simulate slow connection with Javascript?
- Why is calling masm from C# so slow?
- Why is not all ram memory available in Python?
- Oracle process getting slower in time
- Running jar in eclipse works slower
- pyspark 3.4.0 row-wise reduction taking too long
- canvas 'requestAnimFrame' is slow when any event fire
- Slow builds, tons of "Considered 'path', but it didn't exist." in build log
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This is because the ContextMenu needs to be drawn through Windows GDI (software level) and your Flash video object is beeing rendered through the GPU (of course it could be fixed by Adobe, but as of now they haven't).
The only solution is to pause the video (or remove it from stage) before the ContextMenu appears, by catching ContextMenuEvent.MENU_SELECT on all existing ContextMenu objects (if there are none, add one for each object which inherits InteractiveObject added directly to the
stage).If you want to resume the video playback, you will have to accept some limitations. Since there is no event on close of a ContextMenu, you need to rely on
In some situations you won't be able to detect the closing of the ContextMenu, such as