ActionScript 1/2 :: Input Text Filds Not Working When Fullsceen Mode In Browser?
Sep 20, 2011Input text filds not working when fullsceen mode in browser
View 1 RepliesInput text filds not working when fullsceen mode in browser
View 1 Repliesi am trying to load array of pictures dynamically in to a loader component,the picture after loading in to loader component i am resizing it to required size.
115 is the width and height of loader component.
.complete = function (eventObject)
{
loader.redraw();
x_txt1= loader.width;
y_txt1= loader.height;
[Code]....
but if i select next picture while fullscreen then loader.width and .height shows as 0 and picture is not displaying.
I have a contact form, made up from several input text fields (for: name, e-mail...etc). And the flash site which contains the form starts in full screen, but full screen mode I am unable to input any text in the text field (the cursor appears in the field but as I type no letters appear). But as I switch to normal screen the form works fine.
View 4 RepliesI am working on a budget project where users input text (numbers) and it is automatically added. The swfs works great, but when I export an exe it does not work. Users can delete the "0" that is there, but can not type in anything. I've embedded the font. I also had a exe that externally loaded the swf, but it still did not work. I'm attaching my code.
Actionscript Code:
import flash.events.Event;rent.restrict = "0-9";util.restrict = "0-9";gro.restrict = "0-9";toi.restrict = "0-9";car.restrict = "0-9";gas.restrict =
[Code].....
I'm using ActionScript 2.0 with Flash CS4 Professional, andI'm running into conflicting info on how to do this depending onwhich Flash book I'm looking at (and is that really a surprise?).1) I want the user to type text into a text field and thenFlash places what they've typed into a variable.So I created a text field of the type 'Input Text' andassigned this variable 'myInput'2) When the user presses a button, I want Flash to look atwhat is in the variable. THEN... If they have typed the correctword, they are sent to frame 19. If they type anything else, theyare sent to frame 38.In this example, the correct word is: "move"So, I placed this script on the button:
on (release) {
trace(myInput);
if (myInput = "move") {
[code]........
I have a main movie that loads a child movie clip. The child movie clip is a security access movie with 2 input boxes (standard input box components). When I run the child movie on its own the input boxes work fine.When I load the child movie from the main movie input boxes do not allow me to write in the input boxes. The cursor remains blinking inside the component but does not respond to keyboard.This is the code in the main movie that loads the child:
security.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, fsecurity);
function fsecurity(e:ContextMenuEvent):void{var loadera = new Loader();addChild(loadera);loadera.load(new U
[code].....
i cant seem to get a simple if/then statement working with an input text. Here is my AS
[AS]
on (release) {
password = inputName
if (password == "test") {
[Code].....
For some reason when i type in test in the movieclip inputName it still sends me to ign.com. Everything is in the same frame and i just cant get it working.
I am working on a line rider/ free rider style game in flash (which is coming along quite nicely ). For the whole night I've been trying to create a way to save and load data simply off text and have finally come up with a basic solution for it! I have my information all stored into an array neatly to be later used with the function lineTo upon load. My problem here is that when I actually input the data into the textbox to be picked up by the load button it does not draw the lines like its supposed to.My load button has the following code:
onClipEvent (enterFrame) {
onRelease = function() {
var points = new Array(_root.xInput);[code]......
I know that adobe has blocked the keyboard input in fullscreen mode. But, is there any other way to implement that.
View 2 Repliesi have a problem in flex fullscreen mode... that is my input box doesnot work in fullscreen mode.I could'nt able to type anything. and no keydown events are working.
View 1 RepliesI have an issue with font scaling of a dynamic text box.
Currently i have one input box named input_1 with a variable attached to it named "choc_1".
Also, i have a dynamic text box named dynamic_1 with variable "choc_1".
When the user types something on the input box then the dynamic box changes instantly and displays what the user has written.
auto scale-size the fonts to a smaller size if the user types many letters.
The input_1 box has a 13 character limit. My initial font size is 200, i want to scale down so when the user types 10 letters they fit the box and they don't go out of screen. I want to use one line, so wrap or multiline is not possible.
here's a code that i'm trying to fix but i can't get the dynamic box to change:
[Code].....
i have created a page in flash with input text field and a toggle button which implies full screen mode as well as normal mode by including the below script. stage.display = "fullscreen".
Users cannot enter text in text input fields while in full screen mode. All keyboard input and key-related ActionScript is disabled while in full screen mode, with the exception of the keyboard shortcuts that take the viewer out of fullscreen mode Is there any solution to enable the keyboad inputs.
I have an issue with font scaling of a dynamic text box.
Currently i have one input box named input_1 with a variable attached to it named "choc_1".
Also, i have a dynamic text box named dynamic_1 with variable "choc_1".
When the user types something on the input box then the dynamic box changes instantly and displays what the user has written.
I've googled a lot, but i can't find a solution to auto scale-size the fonts to a smaller size if the user types many letters.
The input_1 box has a 13 character limit. My initial font size is 200, i want to scale down so when the user types 10 letters they fit the box and they don't go out of screen. I want to use one line, so wrap or multiline is not possible.
here's a code that i'm trying to fix but i can't get the dynamic box to change:
[Code]....
I'm not really getting this...in a flex HTML template I have this
HTML Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
id="${application}" width="${width}" height="${height}"
[code]....
I'm trying to extend the text input that comes in flex to support an icon, just like mac os x search text input has a grey circle aligned to the right, the text input has a addChild method, but it didn't work for me.
View 2 Repliesthe last of many problems, is that at the very end of the test, you're shown your score, and you have the option to type your name in a text box and click "save". Doing so will apply you score data (time elapsed, date, correct answers and percentage) along with the name you typed in, and output in a form, that you can save or print off, or whatever. The problem is, the input text box will not let you type in it. If you mouse over it, the mouse stays a pointer, you don't get the text tool. If you click on it, the cursor appears for a split second after you release the mouse button, but you cannot type anything in it.This is the actionscript for the output form:
Code:
//
function saveRecord(record:String, field:String, now:Object, score:Object):Void {
[code]......
I have an input textbox on the stage and I can't seem to set its text when I do
Code:
inputbox.text = "A";
inputbox.appendText ("A");
inputbox.htmlText = "A":
The idea is when I click on a movieclip I want the input textbox to show the value of one of that movieclip's properties. Then I can change the value using the textbox if I want to.
I have a 100% width and height flash object in my site. Activating and exiting browser full screen mode with F11 only works as long the user didn't click the Flash movie. And I doubt many users know they have to click the address bar to enable F11 after using a (browser) full screen Flash movie.
View 1 RepliesEven while publishing in Transparent Windowless mode, I'm still unable to see the background pattern I have implemented in my HTML page, as follows:
<body bgcolor="#ffffff" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" background="BlackHollows.jpg">
I see the background while in design mode within FrontPage, but not in preview mode nor once it is published online.I have also tried adding the following code:
1. Add the following parameter to the OBJECT tag: <param name="wmode" value="transparent"> 2. Add the following parameter to the EMBED tag: wmode="transparent"
When i try to open my mxml script in design mode i'm always getting following message "This Component is base on VBox, which is not a visual component. Switch to source mode to edit it"
View 1 RepliesI am working on a Flash app that is 900x700 pixels. When viewed in misc. browsers at 1024x768, the browser chrome causes robs too much of the vertical space and the app appears in a window with a vertical scrollbar. Unacceptable.
The flash app will be launched via a link emailed to the viewers.
I'd like to avoid resizing the flash app and am wondering if there's a way to do the following via javascript, with no clicks involved:maximize the current browser window remove current window address bar and tabs / switch browser to full screen view (equivalent to pressing F11).
An alternative would be to resize the flash app vertically to match the browser canvas height to avoid scrolling. This may cause the app to become unreadable, so not the best approach in my case.
UPDATE: Seems that browser resizing and autoswitch to full screen won't work and neither will the flash app auto resize. What is the best approach then? And, some users may have browsers with toolbars or open a small browser window.
The only idea I have is to use javascript and display a message to users with small browser windows to pres F11 manually. The audience is executes and some may not even know what an F11 means...
I have a movie clip button with a dynamic text field inside.I am loading dynamically to the stage while a video is running in the background.I also have a fullscreen button (Flash component)on the stage. After clicking the fullscreen button and in Full_Screen mode the static buttons including the full screen button work without a problem, but the dynamic button seems not to work at all. Basically the dynamic button when clicked should change its message to "You have clicked button 1".This works in normal mode, but not in Full screen.I tried btn_cuePt_1.enabled= true; but without success.Does it have something to do with not using the fullscreen events?
exp. stage.addEventListener(FullScreenEvent.FULL_SCREEN,
fullScreenRedraw)
I'm struggling with the transition to AS3, specifically not being able to use parent like I used to. Aside from it making me a better coder, are there any good reasons to use strict mode? If I dont use it, are there any 'side effects' to my swf I should be aware of? Any input on parent and strict mode.
View 5 RepliesI am using Actionscript 2 in Flash Player 9.I have created a movie which preloads then plays a very short animation.When the user clicks an 'enter' button it goes full screen.However, from within Flash the buttons work ok, but when it goes live on the server, when Fullscreen is called, all the buttons stop working. (they are movieclips with actions against them, not actual button clips).
View 3 RepliesJust run into an odd little problem. My project allows for the user to press numbers on the keyboard to call specific functions accordingly.It all works fine, until the user goes into "fullscreen" mode. When they are in fullscreen mode, keypress actions no longer seem to work at all. Have I missed something out with an EvenListeners? Or have I overlooked something entirely?Here's a sample of how the keyboardEvent is being used:
Code:
stage.addEventListener(KeyboardEvent.KEY_DOWN, keypress);
function keypress(keyEvent:KeyboardEvent) {
[code]......
ive pretty much finished my website(link is below).but there is one issue i am having problems finding articles/solution to;the fullscreen stage function works on Internet explorer but firefox does not go fullscreen when the button is pressed. you can test it for yourself and youll see.
View 3 Repliesi've drawn an ellipse sprite and added it to the display list of a container, which is added to the display list of the stage. to move the sprites with the keyboard arrows, it appears that my shiftModifier:Number variable is not working when the stage's display state is set to full screen. shiftModifier works as it should when the stage's display state is set to Normal.
stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyboardDown);
function onKeyboardDown(evt:KeyboardEvent):void
{
[code]....
I am working on a simple flash game of peanut catcher.Everything is working fine on my local computer and when i upload the game on server and play the game in normal mode than game is working fine but when i try to play in fullscreen mode the game crashes within 2-3 seconds(i mean game over) specially in firefox and IE.
View 1 RepliesI am working on a simple flash game of peanut catcher.Everything is working fine on my local computer and when i upload the game on server and play the game in normal mode than also game is working fine but when i try to play in fullscreen mode the game crashes within 2-3 seconds(i mean game over screen appears) specially in firefox and IE.
View 14 RepliesI have an SWF file with a full-screen button working perfectly. I have added an FLVPlayback component, working correctly.
However, if the whole stage is in "Full Screen" mode, and I click on the button which loads the FLVPlayback component, the screen becomes black and the FLV doesn't even load.
I have tried addind the action movieHolder.fullScreenTakeOver = false; but it did not help.
I m working with Flash CS5 and AS 3