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
485 Views Asked by manabk At
1
There are 1 best solutions below
Related Questions in FLASH
- Failing write/read on RH850 with NOR flash
- Unique ID to transfer guest account data from Adobe AIR to Unity
- flashplayer_32_sa: SecurityError: Error #2028: Local-with-filesystem SWF file
- what is the simplest way and what applications to use in making an exe file that runs .swf file assetss
- Does a physical filesystem works only for a specific type of storage media?
- when I try to enable flash encryption in esp32, the bootloader size is large . But I'm unable to find bootloader field in partition table
- Manage FIFO implemented in a non-volatile flash NOR memory
- create a quiz with actionscript 3
- How to connect two x16 nor flash to nor flash controller?
- Looping in Adobe Flash Professional CS6
- AOSP flahed to android emulator
- How do I compile Flash app files with mxml and as extensions?
- Winbond W25Q01 (1G-BIT) Flash erases 256-bytes not 4K and fails write-read-verify after address 0x07000000
- On Pixel 7a Android AOSP
- Defer implementation of interface functions to child class
Related Questions in ACTIONSCRIPT-3
- [Actionscript]How to display the information inside an array of objects
- How to set a colour variable in JS
- When using INSERT OR REPLACE INTO in SQL is there any way to tell if a record was inserted as new or replaced in SQL for AS3?
- How to inject a bean in a view with Crux
- AS3 - Unable to resize Image width and height
- How do I move Pac-Man smoothly in AS3?
- Export Release Build is not working in Adobe Flash Builder, It does nothing on Finish button
- 1009 Error for a Character Skin Symbol in AS3
- Issue setting domain memory
- Implicit coercion of a value with static type Object to a possibly unrelated type Number
- Defer implementation of interface functions to child class
- Simple top 3 scores from an array to textfield
- Need ActionScript 3 coding for input boxes that will determine amount of color fill in a movieclip
- AS3 Caling MC on Parent Timeline from Child
- 2 error problems for simple music players
Related Questions in WEBCAM
- How to refresh a webcam snapshot periodically in a webpage
- Capturing Images using Webcam in Jupyter Notebook
- Stop live video
- aforge.video.directshow. "GetDevicesOfCat" not working
- My webcam is not showing using Tkinter in a while loop
- m_pTransform->ProcessInput(0, pInputSample, 0) fails
- How to integrate real-time webcam MediaPipe code to Django
- opencv 4.5.4 with StreamCam Plus not getting expected FPS
- Can uvc-gadget can go up to 4K on a Rasperry Pi 4B?
- Not Able to access external webcam in react-use-face-detection
- Is there a way to intercept webcam "TakePhoto" trigger button in Windows Media Foundation?
- Why am i get error like this : "Python stopped working"
- GStreamer. How to share v4l2src?
- Too much memory used when using WebCamTexture in unity
- How to stream video from an IP camera using PyQt5 QtMultimedia?
Related Questions in FRAME-RATE
- Java Swing Paint Performance
- Incorrect Framerate Limitation in Program
- How to set frame rate in GLFW based metal application?
- opencv 4.5.4 with StreamCam Plus not getting expected FPS
- Optimizing moving JPanels in Java Swing program
- Why FPS (frames per second) dropped after I added a 30ms delay between frames sending to client using RTC in python?
- Why is Robocode running at max 1-2FPS (with target FPS slider set to 30 FPS)?
- How to grab/capture images from usb camera with OpenCV using EmguCV at high FPS?
- Android animation Frame dropped a lot when view Layout at same time
- C++ std::this_thread::sleep_for() sleeping longer than expected for small durations
- Open camera shows correct fps but when recording the fps is different
- Is there any way to extract the actual clock (not frequency) from a monitor?
- Android FPS measuring on other apps
- Why is it inaccurate to calculate fps using setTimeout?
- Different Scene, different framerate in AS3
Related Questions in SLOWDOWN
- C# COM Port slowing down to read one byte a second after sending message
- pyspark 3.4.0 row-wise reduction taking too long
- Using common database for multiple developers in local environment gets slow in drupal 9
- I want to know why my code has low performance when using compile in PyTorch
- Apache Kafka + MongoDB weird behaviour when time measure
- Performance Issue - Page slow when kendo grid is loaded fully
- How can I change the playback speed of my audio file using a module in python?
- Slow screen scrolling in pygame
- Two label printer installed on same computer become too slow after about one month
- Facing this issue in Next js: TypeError: __webpack_require__.nmd is not a function, when i deployed on aws, and slow loading of webpack-hmr
- How can I fix my backgroundworker getting progressively slower in VB.NET?
- python scrapy is slowing down by the time it is parsing
- fwrite becomes slow after long uptime
- How do I slow down a function or a for-loop in JavaScript?
- Vscode induces strong network bandwidth?
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 # Hahtags
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