Actionscript 3 - ESC making application to go out of fullscreen mode - actionscript-3

So, how do I make it so that so when I got my application at StageDisplayState.FULL_SCREEN, it wont make it StageDisplayState.NORMAL on pressing esc? like if I want to make an in-movie pop-up menu, which appears on esc that includes all the options like exit and fullscreen or not -settings?

If you are making a web based swf then there is no way to stop the escape key from quitting full screen mode, because of the security problems associated with not being able to leave a full screen movie. However if you are making an AIR application then there might be some work arounds that I am unsure of.
More in depth explanation

Related

Cursor not showing in Device Mode (Google Chrome)

So I'm trying to develop a webapplication and I'm trying to check it out on mobile.
I'm currently using Cordova and JQuery Mobile together with ripple.js to view my application in my browser.
The first issue (as far as I know) is that ripple.js will work best in Google Chrome, so this is my only test platform.
The second issue is that when I toggle Device Mode on, it doesn't show me the black dot (cursor) when I enter the rendered version.
I'll explain my situation or a scenario:
As an example I'll go to http://google.com
I press F12 to enter developer mode
I click the Toggle Device Mode button
I will see my cursor, until I enter the generated mobile canvas. While I would normally see a black transparant dot, I now see nothing.
I can however click and drag like I would normally do, but I can't see what I'm doing.
The things I already tried:
Reset all the flags back to default
Reset all developer tool settings to default
(edit) Installed a previous version of Chrome AND Chromium
So question is, how do I get my cursor back?
Extra: I'm using version 49.0.2623.87 m, but that's not related since my co-worker, has the same version and he sees the cursor.
(edit) currently I'm using the mouse option where I press Ctrl to see the circle which indicates where my cursor is, but this really has to be a temp solution.
(edit) I fixed it by doing a combination of things. So I'm not sure which exact thing fixed it. I removed a few programs that I installed after it still worked. I uninstalled about 4 of them. Also I did an update of my graphics card and then did a reboot. So it could be either the graphics card update, the software uninstall and/or the reboot.
I had the same issue. (note this question might be a duplicate of this one)
Following the advice on the Chrome forum here I changed the Quantization Range in my Intel HD Graphics Control Panel from "Default Range" to "Full Range". The touch pointer (grey circle) appeared immediately.
If that doesn't help you may have to change refresh rate too. Changing from 59p Hz to 60p Hz or some other refresh rate might help.
This should also help.
Open the mouse control panel.
Select the Pointer Options tab in the Mouse Properties window.
Then enable Display pointer trails option.
In case you don't like or are getting annoyed, like me, due to the trailer. Move the slider to the Short position and the trailer becomes near to non-existent or invisible.
I fixed it myself, yet I'm not exactly sure how I did it. I edited my original post and added the solution in the last paragraph.
Had the same on my Asus laptop with Chrome 66
Resolution that worked for me
Graphics Control Panel > Display > General Settings > Scaling > Change to Scale full screen.
OFF your Asus Eye Care Switcher.
I am posting this as answer because above mentioned answer didn't work for me but I had this issue when I had a monitor attached to my laptop, for development work. I played around with my display settings and discovered that IF the scale on my second monitor did not match the scale on my laptop, the mobile development mode cursor would disappear. (windows 10)
If this is an issue for anyone just go into Display settings -> Display -> Scale and Layout --> make sure that both your laptop/desktop matches the display scale of your second monitor.
Hope this will help.

Use AS3 to open an swf. in a browser without the browser toolbar (forward / back buttons)

I have developed a very large swf. that will only be accessed in-house. There are over 100 scenes & 10000 frames (I had no idea the project would grow this large). I have developed a navigation system within the swf., but I have found that many users are clicking the forward / back buttons in the browser toolbar (IE8). This is a big issue for me, because the user then has no way to return to the location in the swf. that they were in before hitting the back button. Is there a way to code into the swf. using AS3 to ensure that the browser toolbar is disabled?
Disabling the parts of the user interface that the users are using a lot is a very bad idea.
Instead, simply use the browser buttons for navigation.
SWFAddress let's you do that
You can have deep linking, too. (allows users to send a link of where they are to other people)
Take a look at this answer:
How to make the browser back button work for a Flash-based Website?

Flash Builder 4.7 Run game shows blank screen

I've read a lot of material online and nothing seems to work. Whenever I hit run game nothing gets displayed in the web browser. Also when I go to the project's properties. I select to run with flash player instead and disable the html wrapper. This so also displays a blank box that appears. If anyone knows a way to get the images appear please let me know thanks

When Media Player's windowlessVideo Param goes bad, now what?

Background:
We have a web "app", where on one web page we have the following:
An embedded Windows Media Player object. It's surrounded by listview's on the left, and some graphical elements on the bottom. The listview's (there are a couple), allow for data entry. Therefore, dialogs pop up to allow you to enter in various text.
Because of these pop-up dialogs (not only the data entry dialogs, but regular alerts/MessageBoxes), one of the params of the embedded Windows Media Player object is:
<param name="windowlessVideo" value="true">
Otherwise, any dialog of any type will fall behind the Media Player object and you won't be able to see it. Here's an example stackoverflow solution to the dialog problem using windowlessVideo.
Here's the issue:
And we didn't see this until more and more people started using Windows 7 and Windows Media Player 12, with the windowlessVideo setting on, it causes performance to degrade. Sort of a lag. Not the type of lag where I type a few words, a second goes by, and then you see the words that I typed finally appear. No. Imagine typing this sentence:
I am typing into a dialog box some text.
When you look up, various characters will be missing and it will look something like:
amtpin int adilg box sme txt.
So, as you can imagine, this is unacceptable. People just can't type into the dialogs anymore.
Of course, when you look at msdn it says this:
In Windows Vista, rendering video in windowless mode can degrade
performance.
OK, yep. I see it. Now what?
Before Windows Media Player 12, I used to be able to go to Tools -> Options -> Performance tab and under Video acceleration there would be a slider, and an Advanced button with a ton of other options. I've fixed a 'flickering' video problem before by turning the slider to None. So, I was hoping there was some Media Player setting I could modify to rectify this. Nope. There are no longer any video acceleration settings, and there are like 4 checkboxes under 'DVD and video playback' that don't affect things.
Meanwhile, if all I do is remove the windowlessVideo setting, I don't get that lag at all. I add it back, I get the lag. I take it away, no lag. But all that does is replace one problem with another. I might fix the lag, but now all my dialogs are behind the Media Player.
OK, Microsoft. Thanks! You win. But, now what? Anybody have any ideas? Thanks!

Disable back space key for browser based AS3 application

this is insanely annoying problem:
AS3 full screen application based on ADOBE FLEX 4, text field. User types something in text field, and then starts clicking backspace many many times to remove what he just wrote, and for some reason, instead of removing characters from text field it tells browser to GO BACK and user navigates away. Why?! Please, please help, this is so terrible. My users are losing important unsaved this is data while using my application!
i am using safari browser
PLEASE HELP.
Wow, this is terrible, I am so irritated, it happens every single time
It is possible that the focus is lost from your text field when hitting the backspace multiple times (check if you are firing some events on the text field that may cause this), which causes the main window to take focus and trigger 'Back' on the browser.
The root of the problem is that the browser carries out keyboard shortcuts REGARDLESS of the flash app having the focus or not. From what I heard this problem does not exist on Safari's for Mac, only Safari for Windows.
I would check to see what browser you are in and then create a popup saying you this app does NOT work on Safari browser ON windows.
Scratching head*
Well maybe if HAD to solve this, I would use the ExternalInterface to interact with Safari or javascript to PREVENT the history back button from getting applied. So it won't go back to an old page. That is what I would look into.