_level Is Showing In My Text Input Fields - Please Help
I am creating a site for a customer and having some problems:
If you can open the link click here
On the contact form - the php and the button works fine but I am getting _level0.cont.message _level0.cont.email and _level0.cont.name in my input text fields.
Contact is the movie name
Can someone please explain why this is happening and how to work around it?
ActionScript.org Forums > ActionScript Forums Group > ActionScript 1.0 (and below)
Posted on: 09-06-2005, 10:49 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Input Text Fields Not Showing Up?
I am placing input text fields into my movie, and I am even making the outline viewable. They are not showing up in the movie upon export though. I get a cursor when i rollover the area, but no text box. if i click the cursor in the text box and type nothing happens. I have checked and it is on the top layer, and in front. not sure what is going on here. HELP!
Input Text Fields Not Showing
Hi there.
I have a movieclip which is an emailform with some input text fields in it.
When i test this email form movie clip on its own, its fine and the text fields show and i can type in them. When i attach it to my main timeline and test it, the form shows with the text titles (name, email etc), but the text boxes do not show up at all. They should be white boxes. When i hover over where they should be, the cursor changes to the 'I' symbol to tell you that you can input text.
I can't seem to fatham what the hell is going on and need some help.
Many thanks
M
[CS3] Input Txt Fields Not Showing When Put In A Graphic?
Hi I have a form which i have proven works on a previous site I created but this was just using 1 movie clip. I now have another site and im using the same form but I have to put the form which is inside its usual movie clip then inside a graphic and now it does not seem to show the input fields. Is there a way around this?
thx
Eddie
Flash Showing ? In Text Fields
I have made a flash slide show with captions describing the images. All works fine on my computer but when I upload the files onto the web I see a diamond shape with a "?" in it where the text should show the apostrophe ( ') character such as the word "it's" or "Karen's". I get "It?s" or "Karen?s".
A test file can be seen here:
http://www.marinethemes.com/SWFtest.html
I assume this is a problem related to the Mac as I sometimes see text "weirdness" when switching text documents between platforms. Details are:
Mac OSX 10.4.10
Flash MX 2004
The flash file at the above link uses an xml file to find an image in a folder then display the caption associated with that file. The xml file is in this form:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<images>
<pic>
<image>FlashImages/M07B02 61464.jpg</image>
<caption>Fin Whale (Balaenoptera physalus) lunge feeding at the surface showing throat pleats as it rolls on it’s side.</caption>
</pic>
Printing & Dynamic Text Fields Not Showing Up.
I am havingtrouble trying to print from a button in my FLASH movie.
this is what I am usign for my code:
Code:
on (release) {
print("_root.partsPanel_mc.choices_mc.objectClip_mc", "bframe");
}
now this DOES print, and it DOES print the correct target MC. (objectClip_mc)
objectClip_mc is a movie clip that consists of some STATIC text and some dynamic textFields that are populated by choices throughout my movie.
It only prints the STATIS text though..and NOT the text inside the dynamic textFields.
The font (ARIAL) "IS" embeded. I also have a (#b) in the frame/layer that has the objectClip_mc on it. the layer above it (and NOT inside the objectClip_mc) is a mask.... and when teste, the text is visible so I know the embeding is working. (I have "ALL CHARACTERS" checked for embed option)
Id appreciate any help on this...or tips. If you have experiencewith printing form FLASH..PLEASE post!!
thanks
Dynamic Text Fields Not Showing Values Assigned
I'm trying to add text to a dynamic text field on a movie clip that I am using as a button. It's actually a DTMF keypad I'm trying to create by using for loops to populate the text fields. No matter what I try it is not working. I step through the code and it goes through my function in its entirety, but the text labels are not showing any values.
I don't know if it matters, but the parent movie clip object of the buttons is not visible at start up (_visible = "false");
here's the code below for anyone who might be able to help:
function initializePageWindow(){
var alpha:Array= new Array("A", "B", "C", "D");
for(i=0;i<10;i++){
_root.winPage["btn"+i].txtBlack.text = i;
_root.winPage["btn"+i].txtWhite.text = i;
}
for(i=0;i<4;i++){
_root.winPage["btn"+i].txtBlack.text = alpha[i];
_root.winPage["btn"+i].txtWhite.text = alpha[i];
}
_root.winPage.btnStar.txtBlack.text = "*";
_root.winPage.btnStar.txtWhite.text = "*";
_root.winPage.btnHash.txtBlack.text = "#";
_root.winPage.btnHash.txtWhite.text = "#";
}
winPage is the parent, and the buttons are labeled btn0 through btn9, btnHash, and btnStar, and the reason for the two test boxes is for shading effect.
The text fields are named txtBlack and txtWhite respectively.
I would really appreciate any help I can get with this, I'm losing it.
Thanks in advance to anyone who can help.
Text Input Fields
I am creating a sort of calculator tool for a client.
I have some input fields that I have set the character limit to four but upon testing the file some of these fields are being over-rided and giving me answers like 2.19865493554 instead of 2.19
Anybody know of a reason why????? I've tried it in Flash 4 and five. Both give me the same results. I've doubled checked the action scripts and the input fields that the answers are calculated from and everything seems to be in order.
Second question: Is there an algebraic equation to make these numbers round without limiting the character spaces?
Thanks, nauhs
Input Text Fields
Greets all.
I have a page with an input text field and I need the cursor to be blinking in the field when the page loads.
Any way to do that?
Text Input Fields
Hmm, Ok... Well I want to be able to create a name/password thing... I know how to do the programming for the variable, like If name=____ goto _____ or something along those lines... But I know not hot to create the text input boxs, at all.
I would simply like to know how to create a simple white box so that someone cane type something in it and store what they type as a variable... Anyone have any idea how to? (I'm sure you do, so PLEASE help!)
--Samsa--
Input Text Fields?
Hi, I am trying to figure out how to implement user input text
fields into my site. I would like to have text fields for the customers name, addy, email and a comments area. Thanks much
Input Text Fields?
I was on a website... http://www.tiredofthinking.com
On his CONTACT section he has form mail fields.
The fields are pre-filled with text (name, email, etc)
until you click into the field...then it disappears so you can fill in your name or email address or message, etc.
How is that done? Thanks for you reply in advance.
Getting Sum Of Input Text Fields
Hello I have 3 input text fields and one dynamic one. When i click i want it to display the total of the 3. right now im getting the 3 numbers in sequence
ex.
2+2+2 = 222
i need it to say 6
thnx
on (release) {
myTot_var = h1_var+h2_var+h3_var;
}
Input Text Fields Help
I have a form with a few input text fields inside of a movie clip. When I goto tab from one field to another, it tabs to the navigation on the main scene, not the next text field in the movie clip. Does anyone know how to fix this?
Input Text Fields....
Ok i no how to use them a restrict them and so on thats nor the problem.
What im trying to work out is if i set the input box so that u can only type a maximum of 500 characters is there a way of having another text box that will display 500 and count down as another character is typed so you no how many characters are left ??
And then if u where to delete some it would count back up basicly keeping track of what u have imputed to that text box ??
PHP Input Text Fields?
Ok I've tried to do a tutorial on the PHP Text boxes that you submit infomation to a e-mail account..but it's not working.
Is there a site that explains it real well or how would I go about doing this. I've got Flash MX and I'm building the input text - area into the flash site..then going to Dreamweaver and saving it as html and uploading it to my host-server.
How do I build one? What might I be doig wrong?
Thanks for your timem.
JT
ATL
Input Text Fields
this is probably a real easy fix but i can't seem to get it workin.
i've got a form set up and i want the input fields to use device fonts when the user types in them. right now, they're aliased even though i selected device fonts for those fields.
is there something special i need to do to get this working?
thanks,
Clint
Input Text Fields.
I am a very newb at falsh so could somebody help me out. I want to create a flash swf so that if you type inyour name and press a button, the swf/screen will say : "Hello (inputed name)!" Can somebody pleez help me...
Help With Text Input Fields
Hi.
I am trying to modify a text input field component. Right now no matter what size in length my text input field is, the number of characters that show at a time are limited to 14 or so characters. they wont all display in the text input field from left to right. The letters are truncated and scroll.
How do I expand the number of characters that display in the textbox at a time. Note, I am an action script idiot. I can cut and paste the code but my knowledge is limited.
Any help is appreciated,
2 Instead Of @ In Input Text Fields?
i have a simple little guestbook, that has name/email/message. and sometimes, when you try and type in your email address the number 2 comes up instead of the @ symbol.
on the keyboard i have, you have to press ctrl+alt+2 to get the @ symbol.
i've embedded danish letters (å,æ,ø) and the @ symbol, but it still won't except it??
any suggestions?
[F8] Input Text Fields
how do i use them to create variables and thier values for use later on?
come on, please!
Input Text Fields
Hi.
I've posted this before but it is still not working.
Basically i have an email form which is a movie clip. I've put this emailform movieclip in another movie clip which is then in another movie clip. I think this is where my problem lies. What happens is that the text fields don't show when i test the main movie. When i place the emailform movie clip on the main timeline it shows, this is why i think my problem is due to the fact that the emailform MC is located in a MC in a MC.
Any help, script to ensure that the text fields show would be greatly appreciated.
Thanks
[F8] Using Text Input For Other Fields
I've created a form that invites a user to input their name, email, phone, postal address. When they click the submit button, the data is sent to a php file and emailed to a recipient, while the form rolls over to a confirmation page, providing feedback to the user that the form was submitted successfully.
So far so good, this all works
What I would like to do is customise the confirmation page with the users inputed data. How do I have the input text of one field appear as static text in the next frame?
Input Text Fields
Is there any way to read the highlited area of a inpu text field in actionscript.
exaple: if i had the sentenced.
The dog jumped over the cat.
And highlighted "jumped over".
could i save it to a variable that returns "jumped over".
Thank You
Help My Input Text Fields Are Gone :(
they appear when i put them on root and one level up, but the higher levels like level 5 is the thing that make my input field dissapear. someone knows what this can be? everything else like text is loaded except the input fields
Input Text Fields
Hello,
I'm trying to create a simulation using Flash Professional 8. What I would like to do is have the user type information into a text field and either press a button on the keyboard like tab or enter, then if the information they inputed is correct it will move them on to the next frame. This seems like it should be pretty easy to do but I can't figure it out.
If you have any information or examples I would greatly appreciate it!
Thanks in advance!!!
Input Text Fields
Here's a two parter usin AS2 in CS3-
I have two input text boxes, one for a user name and one for a password. There is also a button with an instance name of "enter_btn. There are additional frames labeled "correct" and "wrong". Here is the AS on the first frame:
stop();
enter_btn.onPress = function() {
if ((username == "John") && (password == "awesome")) {
gotoAndStop("correct");
}
else {
gotoAndStop("wrong");
};
}
That works fine except when the input text boxes have "auto kern" checked in the PI. When that is checked, it sends it to the "wrong" frame every time. Why should the auto kern affect the collecting of the variables?
Second question-
In the Flash help, it recommends not to use the "var" field in the PI to create input text field variables that will be populated by the user. It says that should only be done for previous versions of Flash players (even though it still works that way). I'm assuming that it then means to give the text field an instance name and define the variable in a frame action like:
var name:String;
If that's the case, what is the AS to tell the input text to be "name" and then test for it?
var name:String;
name_txt.text = name;
button_mc.onPress = function() {
if (name == "John") {
gotoAndStop(10);
} else {
gotoAndStop(20);
}
};
The above does not work.
Input Text Fields
Does anybody know why when a swf that contains input text boxes they stop functioning properly but they work when the swf is previewed on its own..
Thanks
R
Input Text Fields
when i try to send my variables through to php from my input text fields IT ONLY WORKS WHEN PUBLISHED IN FLASH PLAYER VERSION 6 but when i put it to version 8 which is what i need...my input text fields still let me to write but it won't recognise anything i type in it??
why is this??? any solutions??
Input Text Fields
Hi,
I was wondering if there was a way to tell if a user has clicked in an input text field. I want to have different movieclips appear depending on what text field is being typed in. I tried using a hittest, but if the user moves the mouse and continues to type in the field the movieclip disappears. If anyone knows if this is possible or has any suggestions on how to go about this it would be greatly appreciated.
Cheers,
morggs
Input Text Fields
I think I already know the answer, but just want to make sure.
Can you alpha tween and or mask input text fields?
Aaron.
If not I hope they are going to make it possible.
Input Text Not Showing When Loaded
okay, so I have a contact page (contact.swf) that I load into a main page (main.swf). The contact page has form elements like radio buttons and input text fields. I am using _sans device fonts for the input text fields. When i test the contact.swf alone, the input text works, and the component radio button text shows up. When i test it loaded into the main.swf, it doesn't work...input text and radio button text don't show up. Anyone know what's up? Thanks in advance...
Showing The Value In Text Input Field
I have a simple text input i inserted from the component's panel. I'm trying to use the value in that field to update a price (it will be the quantity).
how do i connect that text input box with dynamic text in my flash movie? my code is below:
on(change){
_root.pagecontent.purchasepage.totalprice = (txtquantity * 89.99);
_root.pagecontent.purchasepage.totalprice = "$"+_root.pagecontent.purchasepage.totalprice;
}
all i want is the for the totalprice field to be updated based on the value in the text input box named txtquantity. how do I do this??
thanks.
Input Text Fields Colours To Fade In And Out On Entering Text?
I am uploading a file with input text field that changes colour when you click in it - this is great, but what if i wanted the following:
in the initial state, the text box is grey as you can see, but when i click inside it, it fades to pink instead of suddenly just changing to pink. And likewise, when i click outside the box it fades back to grey.
You will see what i mean if you view the file.
it's mx not mx2004
Thanks.
Dynamic Input Text Fields
I am new to flash and don't know much but I wanted to display information off an array which may vary in size from time to time.
Is there any way to create input text fields dynamically (in accordance to the size of the incoming array) to load variables?
If so, how do I make a reference to the dynamic input text fields?
Thanks
Jorge
MC Container W/ Input Text Fields?
I have a MC container with two input text fields. when the user enters the required data
and hits the submit button the loadvariables command comes in action by posting the data to the cgi.
I also have few variables on the main time line which are requiert by the server also.
the problem is that when the submit button is being hit flash post only the variable from the main time
line and none of those in the MC. I need to post every single variable that exists in that moovie.
What am I doing wrong or what am I not doing.
thanx in advance
Input Text Fields And Arrays
Hey All,
I am just now beginning to understand arrays, so please bear with me. If I have an empty array that I want to get populated by an input text field, what would the syntax look like? Any help and/or explanation with this would be greatly appreciated. Thanks
-Fleep
Tab Order Of Input Text Fields
oke here is the deal.
im building this site.. http://www.agdgraphics.nl
its dutch but that doent matter to the problem...
the menu "CONTACT" and then "INFO AANVRAGEN"
there is a CFMAIL script someone fills in the form and it automatically mails the thing.. that part works.. please don't mail cause its linked to my own email now..
but youll see that the Tab order is not right..
if you fill in the email line and you press tab to go to the next field.. it jumps to the adres field.
and if i change the fields places and rename them.. it still jumps to the wrong one..
how do i make it work properly?
thanks in advance.
Martijn.
Input Text Fields In SWiSH?
Is it possible to create an input text field in SWiSH? I can't find any reference to them & can't figure out a way to do it.
Custom Input Text Fields
Anyone know the best way to make custom input text fields?
i.e. Alpha only or Numeric only?
Thanks!
Dynamic And Input Text Fields.. I Need Some Help
Hi there, I need some help with dynamic and input text fields. My problem is getting them to display Kanji characters with an embedded font.
See, the problem is, it can display regular ascii characters using the embeded Osaka font that I am using no problem, but when trying to input or display the unicode characters, it just doesn't display them. Now, when relying on the system fonts, or device fonts, it works fine. It is just when the fonts are embedded in the flash file itself (which is what I need since I do need to use masks which aren't possible on dynamic or input text fields unless they are embedded fonts).
Thanks,
Jon
Searching Input Text Fields
Is it possible to search a text input field for a particular word (e.g. I have a text field with "the cow jumped over the moon" and I want to check if it contains "cow" and "jumped"
Cheers
Input Text Fields Question
Say you have an input text field where the user types in the weight of an object in pounds and Flash displays the equivalent weight in kilograms in a corresponding dynamic text field.
My question is, how can I make it so that the user can also type in the weight in the kilograms text field and the number in the pounds text field will change accordingly? In other words, how do you make a text field dynamic and input at the same time? Or is there another way? Thanks,
Fading Text >> Input Fields...
I'd like a little bit of help if possible:
What i am trying to do is have an input field in a movie clip, with static text underneath it (in the same clip) that fades out when the movie clip is rolled over or comes into focus.
I can make it work partly, the text fades (the movie clip just plays for this to occure)
myMovieClip.onRollOver = function () {
//Go and play relevent frames
}
On roll over this gives me the "hand" instead of the text curser... and the input field is wont take input or become active.
Is there another better way to do this? Or can I make this way work?
All I really need is a input field which has text over/under that fades out when the input field becomes active. These input fields obviously have to be able to take input.
Thanks for any help and your time =)
Tab Order Of Input Text Fields
I am wondering if anyone knows of a way to set the tab order of input fields in a form. I searched this forum and found a suggestion to set up a button that will run a bunch of if statements when a user hits the tab button. That suggestion will work but was posted about two years ago and I am hoping that a new solution has been discovered since then.
Double Input Text Fields (MX)
MACROMEDIA FLASH MX (flashplayer 6)
i want to make two input text fields. when u click the send button, it sends info from the two text fields to somewhere where i can keep it. plz help me out, i wouldnt think it'd be that hard, but i dunno. thanks
Input & Dynamic Text Fields
Hi everybody!
I'm trying to do something fairly simple (and can't) so any help would be much appriciated.
I have made an input text feild and a dynamic text feild. I know how to format them and all the rest, but I can't work out the AS I need to attach to either of them for the text entered into the input box to show up in the dynamic box. I have tried looking through the using Flash manual and the action script reference in the help menu, but I can't find it. I'm a bit fresh to this so please explain carefully.
Thanks in advance.
Matt.
Set Focus And Input Text Fields
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 was using the following functions on 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. Any help would be appreciated. Thanks.
Help With Function - Input Text Fields
Hello all, first post
I had this working but it was still sending with the "ERROR!" data. I then made a change from variableName.text to instanceName.text and it is now not sending. I'm lost in this code at this point. Any fresh eyes are appreciated.
senderEmail, comments and senderName are variable names of the input text fields. name, email and comm are the instance names. I'm using Flash MX.
function formcheck () {
if ((((senderEmail == null)) || (senderEmail.length<1)) || (senderEmail == "ERROR! Address not valid")) {
senderEmail = "ERROR! Address not valid";
}
if (!validate(senderEmail)) {
senderEmail = "ERROR! Address not valid";
}
if (senderName.text == null || "" || " " || "ERROR! Name required") {
senderName = "ERROR! Name required";
}
if (comments.text == null || "" || " " || "Please include your comments or questions") {
comments = "Please include your comments or questions";
}
if ((validate(senderEmail)) && (senderEmail != "ERROR!") && (senderName != "ERROR!") && (comments != "Please include your comments or questions")) {
loadVariables (contactform, this, "POST");
gotoAndPlay ("Loading");
}
}
name.onSetFocus=function(){
this.text="";
}
email.onSetFocus=function(){
this.text="";
}
comm.onSetFocus=function(){
this.text="";
}
stop();
|