Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Input Boxes - Text Disappears



I've looked for this one but can't seem to get it right. Thoughts anyone? Got a number of input boxes. When I press print, the text doesn't stick...disappears frankly!? Added this to the print button:
Code:
on (release) { printAsBitmap("print.swf", "bframe"); }
What do people think? Cheers



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 09-18-2004, 08:29 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Input Boxes - Text Disappears
I've looked for this one but can't seem to get it right. Thoughts anyone?

Got a number of input boxes. When I press print, the text doesn't stick...disappears frankly!?

Added this to the print button:


Code:
on (release) {
printAsBitmap("print.swf", "bframe");
}
What do people think?

Cheers

Input Boxes - Then Printing A Frame With Dynamic Boxes With The Input Text In Them...
I have created a flash document with input text... I put the input text with a a variable for each.. I need to print the variables on a seperate page. I used a bounding box inside a movie clip and the printing is working correctly... However it is not reading my input boxes into the dynamic text boxes..

What I did is I have the input boxes on the root timeline........ You input it and go through a few frames and you get the option to print from a button (which is printing 2nd frame of a movie symbol) NOTE: the printing is working correctly using #b.... This is what I have on the 2nd frame of the movie clip for the dynamic text boxes to read the input boxes and place those variables inside of those dynamic text boxes so it will print them as they inputted them...

Here is what I have for my button:

on (press) {
print(_root.Printing, "bmovie")
}


Here is what my variables are on the input boxes which are sitting on the root timeline, each word is a variable:

curious
passionate
accountable
resourceful
commited
teamwork
open
engerizing

External_focus
Clear_thinker
Imagination_courage
Inclusive_leader
Expertise


INSIDE THE PRINTING MOVIE I HAVE A FRAME WITH THIS ACTION ON IT FOR THE DYNAMIC TEXT BOXES TO READ THE INPUT TEXT BOXES:

External_focus1 = _parent.External_focus;
Clear_thinker1 = _parent.Clear_thinker;
Imagination_courage1 = _parent.Imagination_courage;
Inclusive_leader1 = _parent.Inclusive_leader;
Expertise1 = _parent.Expertise;
curious1 = _parent.curious;
passionate1 = _parent.passionate;
accountable1 = _parent.accountable;
resourceful1 = _parent.resourceful;
commited1 = _parent.commited;
teamwork1 = _parent.teamwork;
open1 = _parent.open;
engerizing1 = _parent.engerizing;


FOR SOME REASON IT IS NOT PRINTING MY INPUT BOX INFORMATION IN THE DYNAMIC TEXT BOXES.... DOES ANYONE KNOW WHY?

Help With Email Form - Input Text Boxes Not Allowing Input
i placed an email form into a movie clip in this site...and the input text boxes are no longer allowing me to type into them.

the email form (which i got from flashkit), as it's own file, works fine, so i know it's possible...but for some reason when i take the movie clip from one file and drag it into the one i'm working on...it loses that input text funcionality. All the actionscript is the same...everything is identical...i don't get it.

i even tried to place it on top of a movie clip within the main content clip thinking maybe because it was an mc within an mc within an mc that had something to do with it...but not the case.

any help you can provide is appreciated.
(attached file was saved as MX..orig is in MX 2004 Pro)

thanks.

oh, also....how would i load movie clips to different layers?...if i understand some things i've read here, that will help me speed up the site overall...as it is VERY slow in browser. but...maybe i'm wrong.

Input Text Fields Disappears When Movie Is Attached Using AttachMovie()
Hi,

I am using attachMovie() to attach movies into the main timeline.

some of these movies have an input text field in them, when running the movies separately I can see the fields but when calling the movies using attachMovie() they show up with out the input text fields (I am using depth=2).

I suspect this problem has something to do with depths.

Thanks

LeoBeer

Input Text Boxes
HELP PLEASE!!!
I'm trying to allow the user to input a 2 character value into a display. I have the general idea from the calculator sample included with the Flash 5.0 software, but it doesn't really explain too well. I'm not a computer language guru, so I'm doing the best I can by example. It works if I use the keyboard to type in numbers, but if I use the keypad buttons that I created, the display allows more than 2 numbers to appear. First, how do I limit it to just 2 characters when using buttons, and second, how do I keep that display when I go to another scene? I've already set the max characters to 2 in the text options panel.
THANK YOU!!

Input Text Boxes
I have an input text box on the stage called 'input' and four buttons which load their buttons names (variables) into this box when clicked.

I have a text box (called 'output') in an m/c within an m/c, and i want to the contents of the 'input' text box to be loaded into this box when the movie plays.

1. how do i do this,
2. does the text box have to be a input text box or dynamic?
3. basically i'm after the actionscript which gets the input and output boxes communicating

Text Input Boxes
I have a series of input boxes in Flash which enable the user to email a friend, the idea being that they email more than one friend. The boxes allow the user to type in their name and email address, then their friends name and email address, then a message...once they've pressed the 'send' button, I'd like the friends name and email address and the message boxes to clear, but the users name and email address to remain.

I imagine this has something to do with the text box variable names, but can't work out the code...any clues anyone?!

Input Text Boxes
how to make this.....

if the input box = (forexample)"go"

tell Target "movie" gotoandstop frame 1

hope you understand it...

i want the movie to do something when the input box has a certain word in it

Input Text Boxes
I'm having trouble with input text boxes. I am loading an swf into one of the scroll pane flash components, but the input text boxes in that swf will not work, any suggestions?

Tab Between Input Text Boxes
Is there a way to allow a user to tab between input text boxes in a particular order (e.g. down one column then down the next column) rather than just accepting the default left to right?

Input Text Boxes?
I know this is very basic,
but I still don't know this?
How do you send data from an input text box?, to say a server side script? (eg. contact form)

any help would be greatly appreciated.

Input Text Boxes
Hi all.

I'm having this trouble:
When I upload my .swf file on the web, my input text boxes don't work anymore. When I test it on flash mx (ctrl+enter) they work and everything is ok.

Does anyone knows what am I doing wrong here?

Thanks

Input Text Boxes
how do you format input text boxes? i want to be able to change the background color and border on it. thanks!

Input Text Boxes
does anyone else have issues with input text boxes being very unresponsive and slow in filling with text when a user inputs text? I have experienced this problem before ... anyone got any ideas? Are these best avoided?

Input Text Boxes
Hello People,

I am working on another project, I know how to use text boxes, but I would like to know if you can input information on the same screen. Picture a scenerio, making an interactive excercise for creating a chemical atom, and the user types in the number of electrons that are needed in the atom, lets say 7.

The number 7 will be typed in to the input box.

I would like to have 7 electrons appear on the atom, now these can be a movie clip. So what ever number the user types into the input box, that number of electrons will appear on the screen.

An example the user types 9 in the box, you'd see 9 on screen,
If they type 3 in the text box, you'd see 3 on the screen.

If that makes sense and if anyone out there can help I'd be very grateful.

I am multimedia designer not a programmer. However, I want to learn more actionscript, because there is tonnes of benefits.

Thanking you in advance,

Best wishes

James,

Help With Input Text Boxes
I have a small flash project with an input text box, and the input text box should use the information entered and take you to a specific website, for example:

www.{INPUT TEXT BOX HERE}.org

People would enter "actionscript" into the text box, and then when they click the go button, it will take them to www.actionscript.org

Now I'm not very good with actionscript, and need a bit of code to help me out, I've been told (By a very unhelpful b***ard) that .text collects the information from the box, but then they ignored me when I asked how to use it, so any help will be appreciated.

Help With Input Text Boxes
Is it possible in Actionscript 3 to have a input text box on stage, for example located down at the bottom, and have a static or dynamic text box somewhere else on the stage, and when you type IN the input text box, it appears in the other text (dynamic / static). I need to make something along the lines of an online shopping center, and am building it in flash. I would like to use this step for when the client is customizing their information.

Text Input Boxes
I have four text input boxes, and I need to be able to script it so that when the "Done" button is pushed each of the boxes are checked for the right input. I've tried two different methods, neither of which work or the answer is automatically correct. Please help.

Input Text Boxes
I have a swf which contains several input text boxes , named a1 , a2 , a3 etc.
Is there a way of getting the cursor to go to a particular text box when the swf starts rather than having to click on it first.?
Thanks in advance.

Input Text Boxes
I have several input text boxes. When I test them and hit TAB to move to the next one that it works fine for the first two. Each row has four different text boxes and when I TAB to the thirs box in the row it skips to the next line. So the question is "How can I make it where I can TAB all the way through one row and at the end it will then go to the next line?" Thank you!

Text Input Boxes
I have a website in flash and have a comment section that I need to have working... and at the moment it doesnt.. I want people that visit my website to be able to put in thier name, email, and comments and click the send button and have an email go to me... but am not sure how to do this... actionscript I am guessing??.. which is not something I am very good at..
help me please!
Thanks
Sonrisa

Input Text Boxes
I want to know why this code does not work. Anyone know how to help me with this?

b1_mc.addEventListener (MouseEvent.CLICK, getIt);

var tBox:Array = [t1,t2];
for (var i:int = 0; i<tBox.length; i++)
{
tBox.type = TextFieldType.INPUT;
tBox[i].border = true;
tBox[i].y += 100;
tBox[i].width = 150;
tBox[i].height = 20;
addChild(tBox[i]);
}

t3.type = TextFieldType.DYNAMIC;

function getIt (e:MouseEvent):void
{
t3.y = 300;
t3.width = 200;
t3.text = t1.text + t2.text;
}

Loading Text Files Into Multiline Input Text Boxes
Can someone tell me if it is possible to load text files (.asp, .txt, .css, .js) into a multiline input text box in FlashMX?

I have a text box called "textArea" that I want to use as the text editor for any text file on the server.

myTextStream = "somefile.xxx";
textArea.text = myTextStream;

Text Files And Input Boxes.....
i want a flash movie to be looping all the time, reading the input from a text box so the content changes as changes are made to the text file...

for a chat script iv written in php.

any help you guys could give me would be great... basically all i want is to have the flash movie spit out

NAME >> Message
NAME >> Message

etc etc... but dont know how to go about reading from a file....

Dynamic Text And Input Boxes
O.K., I'm trying to get the contents of multiple input boxes to add up and display in a dynamic text box.

To illustrate, A+B+C=D. A, B, and C are the input boxes and D is the dynamic text box. Is there any way I can get D to change as A, B, and C change without having to use a button to change it?

ScrollPane And Input Text Boxes?
This is a new one. I have a massive CD demo that is being put together. I use the scrollpane throughout the entire thing, No problems. But when i create a form with input text boxes for the scrollpane, it blows the thing up. The content of the MC now shows up outside the pane window. The boxes appear over the rest of the movie. Plus none of the content appears except empty text boxes. This happens with either the Input Text as well as Dynamic Text. Any Static text has no problems. Anyone have any ideas or seen this before?

Sorry but due to company rules, can't post a link . . .

Input Text Boxes And Tracking
I have an Input Box which I use to display the current Date and Time (using ActionScript). I want to adjust the Tracking e.g. the space between each character in the date/time displaying in order to match the other text I have in my movie. I cant seem to Adjust the tracking through the Text Options dialog box, can this be achieved using ActionScript e.g. inputTextBox.Tracking = "20" or something, or any other way?

Thanks

Why Don't My Input Text Boxes Show Up When I Run?
Hey, on my site, in the feedback page, I have made a little scroll thing that scrolls down the movie clip (that contains my input fields). When I publish the movie, I can't see or click on the input text fields (and I have checked that the 'outline text box' is pressed). It is at asi.says.it and if you do go there (it's not on it's www address cause their are multiple little flaws), but if you do visit it, please, if ya have any ideas on how to make it easier more professional don't heisitate!

Thanks so much in advance
Greg Overholt

Something Strange About Input Text Boxes
Okay, here's the problem. I have an input text box in my form. Whenever I test the file locally on my machine, everything works. But when I upload the file to my server and test it, the last character is always dropped from the Input text box so I get an error.

My Input text box is for entering a zip code so you must have 5 digits. Say for example I enter "91505", when I do a trace using php on my server, I notice that only "9150" is being sent to the script, there-by generating an error since that isn't a valid zip code. Its with any digit, regardless of whether its a 5, 0, 1, etc.., flash only sends the first 4 digits.

Wassup with that???

Focus And Input Text Boxes
I have 6 input text boxes. I have some buttons that I would like to have insert foreign text symbols into the last textbox to have focus.

I'm calling the following functions from a button...

myShuffle=sharedobject.getLocal("stuff");

function myFocus() {
mylength = length(myTextbox);
Selection.setFocus("_root.myTextbox");
Selection.setSelection(mylength, mylength);
}

function accentA() {
myShuffle.data.accenteda = _root.myTextbox+"á";
_root.myTextbox = myShuffle.data.accenteda;
}

On the button I put the following code...

on (press, keyPress "1") {
_root.accentA();
}
on (release, keyPress "0") {
_root.myFocus();
}


This works fine if I only have one textbox. But I don't know how to make it work if I have several and want the symbol to be placed in the last textbox to have focus. Any help would be appreciated. Thanks.

Backspace Key In Text Input Boxes
My application is using the MX 04 TexInput component and the "conventional" text input boxes. When the cursor is inside the component or text box, and the user hits the Backspace key, the browser refreshes! Needless to say, this can have disastrous consequences for any app built in MX 04.

Does anyone know of a fix for this?

Please help!!!

Problem With Input Text Boxes
The problem is the following:

I made several input text boxes in my file so that the page viewers could insert values for a function that would run on the release of a button.

It works well when I test the movie, but when I upload it to the web, I can't input text on the boxes anymore.

Anyone knows what is happening?

If you want to see it go to http://dispersaoatmosferica.no.sapo.pt/ASSA.swf

For those of you who don't undestand portuguese, first press "jogo", then choose the flower, and after that you can see the text boxes.

If anyone care to try it, thanks for the help

Don't Want Horizontal Input Text Boxes
I am using Flash5 and I have a contact form. However, I wish to have input text boxes that are rotated somewhat so that they are not horizontal (slightly rising from left to right.

Is it possible ?

Thanks

MM

Input And Dynamic Text Boxes
Hello,

There are two things I am trying to do.

The first is on the trigger of a btn, info./text entered into a input box text would appear in a "mc_dynamic" text field. The "mc_dynamic" text field will be a external loaded movie.swf.

The second is to have a dynamic text field that has a default word until a btn triggers a "new_title" to appear in the dynamic text field.

I hope this makes sense.

Thanks in advance for any help.

xcaliber

Tabbing Through Input Text Boxes
how do you set up the tabbing order (or tabbing at all for that matter) in/between input text boxes in flash mx?

I've got a form in a separate .swf that loads in an empty mc on my main timeline. when you click in the initial input text box and hit tab it starts hilighting buttons on my main timeline...

?

Clearing Text In Input Boxes
I have seen input boxes on some websites that automatically clear when they are clicked on. How do you do this in flash? I am using Flash MX. Thanks a lot. Dan

Restricting Input Text Boxes
Hi all

I have two input text boxes, but is there a way of restricting the user to only input a string or a number?

so if one says 'enter age' and the user trys to type letters, nothing shows up?

and visa versa for text?

does anyone know if this is possible

Hope someone can help.

Thanx

Scrolling Input Text Boxes Help
Hey all...

Here's my problem... i have a scrollable test area (static) and i want to put input boxes into the scrollable text area. (fill in the blanks). SO the user
can scroll through a list of these....

However... i noticed that the input text boxes won't scroll or work if the text area has a mask...

is there anyway around this...

thanks in advance

Clear Input Text Boxes
I'm sure this is really simple, at least it seems like it would be, but i have 16 input text boxes that the user can type in, what would I do so that when you press a button it clears anything in all 16 boxes?

Print() For Input Text Boxes
Hello There!

I have created a form that uses input text boxes to capture information from the user.

The form is laid out over three frames - each frame is a different form from the other depending on radio button selected.

By using the printAsBitmap() together with the #p I can successfully get all three frames to print out BUT the printers pop up box wipes out all of the users input text before printing the forms. Is there any way to prevent this from happening??

Note: I noticed that if the form is layed out over only one frame (i.e. no other choices of forms for the user to go to) the input boxes are not wiped out by the pop up printer box, the problem only exists when it has to print out multiple frames.

[F8] Selecting Input Text Boxes.
How do I make it so the text cursor goes to a text box so the user doesn't have to click on the box.

External Swf And Input Text Boxes
i am loading an external swf into my main movie. this external swf has input text boxes for users to fill out a "contact us" form. this form then exports the values and emails it. it works perfectly separate from the main swf. the problem occurs when i load it as an external swf. i test the form out and it sends information, but the values are "undefined". is there something i have to do for the main swf to recognize these values inputted into the external swf? i don't know if the send button is looking for values in the wrong place. is there a way i can make sure the send button only looks for values in the external swf MC? please help!

Problem Using 2 Input Text Boxes In Row
I've placed an input text box in the first frame of the attached file - when you type something in the box and click Next, your text appears in the box shown in the next frame. This works as it should.

In the next (third) frame, you are asked to type in something new but when you click Next the text that appears in the 4th frame is the same as you entered in frame 1. The text should be the same as that you entered in frame 3.

Can someone please help me fix this? I've tried changing the instance names of the text boxes, etc. but with no luck. I've attached the file - only 4 frames.
Thanks!
Joyce

Navigating Through Only The Text Input Boxes Using The Tab Key.
I have a contact form with 3 text input fields that the user enters their email, subject, and message. I want the user to be able to press tab from move from one text input field to the next field. Currently when I test it, when I press the tab key, instead of going to the next input box, it highlights the next movie clip button, and then the 2nd time I press tab, it then goes to the next text input field. Is there a way to have only the 3 text input boxes react to the tab key? Is there a way to turn off the tab key function for the other buttons or movie clip buttons. I want to navigate from one input text box to the next input text box by pressing the tab. I don't want it to go to other buttons, etc. Thanks...

Default Value For Input Text Boxes
Hello everyone,

I am trying to figure out how to get an input text box in Flash 8 Professional to show a default value, like you would a real form in HTML. I'm passing the values via the Flash URL in the Object tag like so:

component.swf?value1=1&value2=2 etc.

I'm using Cold Fusion as the scripting platform.

Can anyone tell me what to do to get the input text boxes in Flash to reflect the values in the URL?

Many thanks.


Gary

Default Value For Input Text Boxes
Hello everyone,

I am trying to figure out how to get an input text box in Flash 8 Professional to show a default value, like you would a real form in HTML. I'm passing the values via the Flash URL in the Object tag like so:

component.swf?value1=1&value2=2 etc.

I'm using Cold Fusion as the scripting platform.

Can anyone tell me what to do to get the input text boxes in Flash to reflect the values in the URL?

Many thanks.


Gary

2 Questions About Input Text Boxes
Hi !


First post here...


I'd like to ask you how can I have a text written on an input text box (I will be using it for a newsletter submission, where I want to appear something like "insert your email") that automatically clears itself (empty string, right?) when people click on it to start typing.

I'd also like to know how I can achieve a similar highlight effect as the one on www.macromedia.com 's search box, when you have it selected.


Thank you for your help

Problem With Input Text Boxes
I am having problems with this chunk of code. I realize the problem has to do something with the line _root["input"+ver] = enterAnswer but im not sure how to fix it - when i trace enterAnswer it gives me an undefined. Any suggestions would be greatly appreciated!


ActionScript Code:
function checkAnswer(ver) {    _root["input"+ver] = enterAnswer    correctAns = holdData[ver][2]    trace (enterAnswer)    trace (correctAns)    if ( enterAnswer == correctAns ){        reply.text = "correct!"        reply.setTextFormat(replyFormat);        this["button"+ver]._alpha = 10;        this["button"+ver]._enabled = false    }else{        reply.text = "no im sorry try again"        reply.setTextFormat(replyFormat);    }    }

Locking Input Text Boxes
How can you make an input text box read-only once someone has typed something into it? (i.e. they are unable to change the contents)

Copyright © 2005-08 www.BigResource.com, All rights reserved