AS3 - fullscreen disables input field? - actionscript-3

I have made an application in AS3 that goes fullscreen.
in the application I have a settings panel where the user has some input fields which he can't manipulate, once I go fullscreen the user's ability to change those fields are gone, you can only select the text but not change it. Once we change back to the regular view of the application (in the browser) you can manipulate those settings again.
Anyone has an idea?

Related

Flash - AS3 - TextInput - Slow

I am using Adobe Flash CS6 to create a form that the user fills out. There are 3 text input fields an a submit button. For the text input I am using the TextInput component (fl.controls.TextInput). When the flash first loads the background, labels, and button display and about a second later the 3 text input fields show up. Also when typing into the text fields there is a delay where I can type in something like "92683" and it seems to wait till I am done typing before the characters appear all at once. Any ideas on what could be causing these problems?
I have 2 layers. 1 layer has the button, textinput and labels. The other layer is the background that rotates between 3 background images every 10 seconds.
Try to use compressed bitmap images as background (don't use vectors).
You can compress here: File -> Publish Settings -> JPEG Quality.
If you are creating this in air for mobile phones then,
be sure you set render mode to GPU (Application Settings -> General -> Render Mode : GPU)
Hope this helps!

Adobe Flash Player Settings not show Remember button

I have an Adobe Flash Player Application, when the page loads it shows a popup ( the Adobe flash player settings ), but in that popup it doesn't show the Remember checkbox.
Please help.
There are two different kind of popup:
The first one is displayed when then application try to access a webcam or a microphone. This one does not display a remember option. That the one you see in your application;
The second one is displayed programmatically by performing a call to Security.showSettings()
It is good practice to open the security panel before trying to access any of the webcams / cameras / microphones of the user anyway.
In case you don't develop this application but still want to display the popup with the remember option, you can do so by right-clicking on it and select Settings.... The privacy tab should be the second one.

Auto suggest with Rendering issue

I have an issue in our currently running .net application. we are using autocomplete extender control associated with city textbox for city selection. Due to slow internet connection, when user uses this application with partially rendered, it is not suggesting for entered city (highlighted in red).
I have used Page_Init event for first disable the textbox, than enable it on Page_Load, but it's not working (to prevent user for enter text when the page is not loaded completely).
Is there any solution to overcome this problem?
After loaded successfully,
So you want to disable the textboxes until the page has loaded? I am not sure if it will work like you want but have you considered using jQuery to disable the textbox? For example here, here, here

create a page which contain a flash can be add text dynamiclly

I have to create a web page which can be set to full screen(I mean the real full screen,not like press the F11),in the full screen there should be some words displaying.
Take the http://stackoverflow.com for example:
Normally,it show its contents(the questions),but someday,maybe a VIP come to visit the page,so we want to replace the whole page with a welcome screen.
Of course we can replace the https://stackoverflow.com/index.html (suppose it is the index page) with the welcome text(welcome xxx to our site...) in the server side.
However this is not convenient,and the text can not be full screened.
So I thought the flash,I can add a controller button at the page,when required,I click this button,and set the welcome words,then a flash will start to play with the sepcified words in a full screen model. It would be better if the flash can show the text with a Animation.
I have never did the flash development,so I want to know if this is possible?
BTW,can all the clients change to flash with juse one click?
I mean I click the controller button,then all the client who is visit this page should see the contents replaced by the flash at the same time.
I am not sure if you guys know what I am meaning. If not,I can update more details.
I am really Anxious, Thanks. :)
Since you're starting from scratch with Flash, I made a quick example of what I think you want to do. http://clearmpls.com/temp/fullscreen/ - the source files that I made this example with can be grabbed from here: http://clearmpls.com/temp/xml-loading-fullscreen-thing.zip
I used the Flash IDE to create this. You can grab a 60-day trial from Adobe's site here: https://www.adobe.com/cfusion/tdrc/index.cfm?product=flash
This example shows examples of these functions:
- it loads an XML file with text data
- displays that data in a textfield on the stage
- gives you a button where you can toggle back and forth between fullscreen and regular
- resizes the stage and textfield based on what you have written in your XML file

Flex Textfield doesnot gain focus when cursor is in text field of iframe

I have a web page which has a SWF file embeded. I have an issue with the focus.
Steps to reproduce:
1)Click on a HTML Text Field which is inside a Iframe
2)Click on a Flex Field.
3)Begin to type some text.
Expected Result is the entered text should go in the Flex TextInput field but the actual Result is it goes into HTML text field.
This is the bug which was filed but closed without any resolution. The workaround suggested there doesnt work. ( bugs.adobe.com/jira/browse/SDK-12377 )
This is happening only in IE 6.0 and IE 7.0. Below is the live example.
http://drumbeatinsight.com/examples/htmlcomponent/iframe/HTMLFrameInApplication.html
Any Suggestions or workaround to solve this problem are requested.
Your browser is maintaining focus instead of giving it back to the flash player. I ran into this issue when trying to 'embed' html content inside my flex app ... accomplished by floating html iframe above the flash player.
I have to hide and restore the iframe if I want to interact with flex because the iframe needs to be on top of the flash player, but all that is easy. I would find, even if I hid the iframe, flash player was never getting keyboard focus back. You need to tell the browser to give keyboard focus back to the flash player.
Now there is no really good way to determine if you need to instruct the browser to give keyboard focus back, I end up executing this javascript on every mouse down, rather inefficient, but it was the only way to gaurentee whenever my user clicked on flash player content, that the browser gave keyboard focus back.
Execute a javascript method that looks up the embeded content by name and call focus().
Basically - document.getElementById('flexEmbedID').focus();
Use the external interface to call that on stage.mouseDown(). Lots of overhead as it executes a lot, but it will fix your problem.