Input Text Identifies Movieclip
I haven't been able to find what I am looking for in the forums or tutorials online. Hopefully someone can lead me to a resource or offer insight.
I am making a training application that requires a user to identify a characteristic or property of a movieclip (color, shape, etc), type the answer into an input text box, and click a submit button. For instance, a user is randomly presented with a random colored square movieclip from the library through an array. The user is instructed to identify the color of the movieclip (blue, green, red, orange, yellow). The user would type "blue" (or whatever color identifies the movieclip) in the input text box and click the submit button to get a correct/incorrect response.
I am having trouble with effectlvely getting the the input text box and submit button to recognize the movieclip once it is presented. What is the most effective way to code the input text box to relay the user input to match the movieclip? This seems elementary but I any assistance to get me started would be appreciated.
Thanks for any help!
KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 03-17-2008, 03:15 PM
View Complete Forum Thread with Replies
Sponsored Links:
[NOOB Q] Defining A Variable That Identifies A Url... Or Something...
Hey gang,
Please forgive the noob question. For some reason I'm just coming up blank (haven't paid much attention to this type of variable before).
I'm putting together a presentation for work that has 4 sections, each with a bunch of externally loaded swfs in them. I've created a button for each section tied to the beginning of each section's frame label, so that the user can skip around from section to section if needed (I also have nav buttons that go straight through the presentation that I don't need help with).
My section buttons need to be set to fade out the current movie on the stage and then unload it, then fade in the movie associated with the frame label. I understand how to do all that.
What I need is to define a variable named "currentMovie" that will store either the url of the loaded swf currently on the stage or the incidence name of the empty mc it resides in on the stage so that the button code knows which swf to fade and unload.
I hope I'm making sense. I can provide what I've done so far if it's needed.
Can anyone help me define this variable? MX04 and AS2.0
Thanks!
-Sandy
View Replies !
View Related
How To Input Text In Movieclip
hi there,
i am new to flash i need to know the methods for inputing a text from movieclip to directly txt file or a database . means as you insert the text in text box and as you press the enter key in the name or the text should directly be saved in the txt file or in the database.
i hav edrag the inputbox from component.
plz help me. its very urgent.
thanx
View Replies !
View Related
Text Input Inside MovieClip
ok for some reason none of my text input fields will show up when I view the .swf in a browser, but they show up when I preview it from flash. Could this be because my text input fields are not on the main timeline but inside a movieclip? I have to do this because the page is animated. How do I get them to work?
View Replies !
View Related
MovieClip Goto The Input Text
I have a input textbox,an enter button and a movieclip. When I click enter I want the movieclip to go to the frame of the number that is input in the textbox.
Input textbox Instace name = page_txt
Movieclip Instance name = text_mc
Button actions:
ActionScript Code:
on(release){ _root.text_mc.gotoAndStop(_root.page_txt == _root.page_txt);}
Any ideas?
View Replies !
View Related
How ToRefrence Text Input Inside Movieclip
How do i refrence a text input inside a movie clip.
I have a TI and converted it to a MC so i can tween it.
I can refrence it when it is not inside a MC but once inside it it seems that my AS doesnt seem to refrence it.
specf. this is what im trying to do
if (textInput eq "" || textInput2 eq ""){
gotoAndStop(2);
}Else{
loadVariablesNum("mail.cfm",0,"POST")
}
I've trided mcname.textInput and that doesnt work
basicly the if statement always returns false, unless the text boxes are in _root and not in a MC
View Replies !
View Related
Input Text In A Movieclip, Doesn't Work :(
hi
I am having a trouble with Input Text.
I put a text box in the first scene,first frame.I set it as InputText and Var. name is "Name".
I have a mc in frame 88 and inside this mc there is another mc.In that last mc I put another text box,InputText and set Var. name as "Showname"
I add this code into the first frame to a button;
on (release, keyPress "<Enter>") {
Showname = Name;
gotoAndPlay(2);
}
I want the move go on from frame(2) to (88) and show the text in the mc.
But it doesn't
What do I do wrong?
Thanks for your time
View Replies !
View Related
Input Text Boxes Won't Animate In MovieClip?
I have a form built in Flash 8 that I would like to have fade in. I have created a movieClip and inside which, it has 11 input text boxes and 11 static text boxes which serve as the labels. On the main stage I have a motion tween that should fade the whole movie clip into place. But instead, the input text boxes will pop onto the stage and the static text boxes will fade into place. Even though they are both within the same movieClip. Any idea why this is happening? Is there any other way to get this to work?
View Replies !
View Related
Input Text Boxes And Scroll Bar In A Movieclip
Hi,
I am a beginner in actionscript. I was trying to create a simple interface. The interface contains a single button. When clicked on the button, a input text box is created in a defined space. Many input textboxes can be created. All the created textboxes are stacked up in sequential order as they are created (input textbox 1, input textbox 2....n). The space containing stacked up textboxes has a scroll bar so that text boxes can be browsed.
I am attaching a sketchy explanation (image) to my problem. I am looking for some advice/suggestions/examples, so that I can complete what I intended to do.
Here is the code I am using but the new MC (var b) is always attached at -158 and -100 and not updated with the new yPos for the MC.
Quote:
var i = 1;
btn_main_st.onPress = function() {
//Starting x & y values
var xPos = -158; // mc_s._x;
var yPos = -100; // mc_s._y;
var b:MovieClip = _root.mc_s.attachMovie("mc_s_statement", "mc_s_statementnew"+i, i, {_x:xPos, _y:yPos});
//increase the y postion each time
yPos += b._height+5;
trace ("mc_s_statementnew"+i);
trace (b._x);
trace(b._y);
i++;
};
Appreciate help on this one and thanks in advance.
--nish
View Replies !
View Related
Buttons And Input Text In Movieclip Do Not Respond
this should be really easy but i can't figure it out and it's annoying the crap out of me.
i have a movieclip that acts as a sliding menu, with only the right edge showing on the left side of the swf. whenever the user rolls over the edge, the whole thing slides out.
the movieclip acts as a button using:
MC.onRollOver = function(){ }
to slide the menu out when needed. however, this causes the mc to think it's a button, and the mouse changes to the the hover state (the hand with the finger pointing up), and also will not let the buttons and text inputs be used.
how can i set it up where:
1. it slides out when rolled over
2. it does not change the state of the mouse pointer
3. the user can use buttons, etc contained in the movieclip
thanks for the help, omnislant
View Replies !
View Related
Help Needed With Loading INPUT TEXT FIELDS Into A MovieClip
What I'm trying to do is to setup "INPUT TEXT" within a SWF file that will load into my main movie.. For some reason, the INPUT TEXT will not appear in my movie at run time??
The problem occurs when I attempt to load the movieClip within my main Flash file ..
I've uploaded the guestbook SWF I'm trying to add to my site as seperate link and it seems to be working just fine: http://www.trusoundcrew.com/GuestBook.swf
And here is that very same SWF loading into my website but for some reason the text fields don't work ?? HELP!! : http://www.trusoundcrew.com/TRU3.swf
Any ideas as to why this is not working?
View Replies !
View Related
MX 2004: Input Text And Dragggable Areas Nested In A Movieclip
I have some input text fields and draggable areas setup nested withn movie clips and when I rollover the areas with the mouse the mouse changes to either an insertion point or hand, but I cant click into the text fileds or drag the areas around. Is there a way to address these fields or do thy need ot be out of movieclips? Should the acitonscript for these area go on the root timeline?
View Replies !
View Related
Help Refreshing Library MovieClip Array Based On Input Text
Hi!
I've built this fancy airport board application where you can write your sentance in the input field and by that change the board.
You can see here an example of what I have at the moment.
here's the code I have:
ActionScript Code:
//putting some starting text in the text field
input_txt.text = "Oceanic Flight 815";
//initializing variables
var holder_mc:Holder = new Holder();
var letter_mc:Letter = new Letter();
var sentance:String = new String(input_txt.text);
var arrayLetters:Array = sentance.split("");
//button CLICK listener and relative action
ok_btn.addEventListener(MouseEvent.CLICK, ok_btn_CLICK);
function ok_btn_CLICK(e:MouseEvent):void{
BuildSentance();
}
//The action that builds the sentances based on the input text
function BuildSentance():void{
for (var i:uint=0; i<arrayLetters.length; i++) {
//removeChild(holder_mc); ???? --> Need to remove holder_mc when already exists in order to reload the new sentance.
//Or somehow reload/refresh the sentance
//Need to somehow apply a timer that sets an interval of 1 second between the lettering fallout.
//Calls Holder from Library and adds it to the Stage (this will be the container for the sentance)
var holder_mc:Holder = new Holder();
this.addChild(holder_mc);
holder_mc.x = 10;
//breaking input text into letters
sentance = input_txt.text;
arrayLetters = sentance.split("");
//Calls Letter from Library and adds it to holder_mc
var letter_mc:Letter = new Letter();
holder_mc.addChild(letter_mc);
letter_mc.x = 17*i;
letter_mc.y = (10);
//Adds letters to letter_mc's
letter_mc.numbers1.letra_txt.text = arrayLetters[i];
letter_mc.numbers2.letra_txt.text = arrayLetters[i];
letter_mc.numbers3.letra_txt.text = arrayLetters[i];
}
}
BuildSentance();
I'm having 2 problems:
1) on applying some sort of timer that throws the sentance letters one of a time to the board;
2) on updating the board, by removing the older sentance and throwing in the new one.
Can anybody help me on this?
Thanks in advance.
View Replies !
View Related
Help Refreshing Library MovieClip Array Based On Input Text
Hi!
I've built this fancy airport board application where you can write your sentance in the input field and by that change the board.
You can see here an example of what I have at the moment.
here's the code I have:
Code:
//putting some starting text in the text field
input_txt.text = "Oceanic Flight 815";
//initializing variables
var holder_mc:Holder = new Holder();
var letter_mc:Letter = new Letter();
var sentance:String = new String(input_txt.text);
var arrayLetters:Array = sentance.split("");
//button CLICK listener and relative action
ok_btn.addEventListener(MouseEvent.CLICK, ok_btn_CLICK);
function ok_btn_CLICK(e:MouseEvent):void{
BuildSentance();
}
//The action that builds the sentances based on the input text
function BuildSentance():void{
for (var i:uint=0; i<arrayLetters.length; i++) {
//removeChild(holder_mc); ???? --> Need to remove holder_mc when already exists in order to reload the new sentance.
//Or somehow reload/refresh the sentance
//Need to somehow apply a timer that sets an interval of 1 second between the lettering fallout.
//Calls Holder from Library and adds it to the Stage (this will be the container for the sentance)
var holder_mc:Holder = new Holder();
this.addChild(holder_mc);
holder_mc.x = 10;
//breaking input text into letters
sentance = input_txt.text;
arrayLetters = sentance.split("");
//Calls Letter from Library and adds it to holder_mc
var letter_mc:Letter = new Letter();
holder_mc.addChild(letter_mc);
letter_mc.x = 17*i;
letter_mc.y = (10);
//Adds letters to letter_mc's
letter_mc.numbers1.letra_txt.text = arrayLetters[i];
letter_mc.numbers2.letra_txt.text = arrayLetters[i];
letter_mc.numbers3.letra_txt.text = arrayLetters[i];
}
}
BuildSentance();
I'm having 2 problems:
1) on applying some sort of timer that throws the sentance letters one of a time to the board;
2) on updating the board, by removing the older sentance and throwing in the new one.
Can anybody help me on this?
Thanks in advance.
View Replies !
View Related
Help Refreshing Library MovieClip Array Based On Input Text
Hi!
I've built this fancy airport board application where you can write your sentance in the input field and by that change the board.
You can see here(http://www.adhesive-studio.com/dev/AirportBoard_Sentances.html) an example of what I have at the moment.
here's the code I have:
Code:
//putting some starting text in the text field
input_txt.text = "Oceanic Flight 815";
//initializing variables
var holder_mc:Holder = new Holder();
var letter_mc:Letter = new Letter();
var sentance:String = new String(input_txt.text);
var arrayLetters:Array = sentance.split("");
//button CLICK listener and relative action
ok_btn.addEventListener(MouseEvent.CLICK, ok_btn_CLICK);
function ok_btn_CLICK(e:MouseEvent):void{
BuildSentance();
}
//The action that builds the sentances based on the input text
function BuildSentance():void{
for (var i:uint=0; i<arrayLetters.length; i++) {
//removeChild(holder_mc); ???? --> Need to remove holder_mc when already exists in order to reload the new sentance.
//Or somehow reload/refresh the sentance
//Need to somehow apply a timer that sets an interval of 1 second between the lettering fallout.
//Calls Holder from Library and adds it to the Stage (this will be the container for the sentance)
var holder_mc:Holder = new Holder();
this.addChild(holder_mc);
holder_mc.x = 10;
//breaking input text into letters
sentance = input_txt.text;
arrayLetters = sentance.split("");
//Calls Letter from Library and adds it to holder_mc
var letter_mc:Letter = new Letter();
holder_mc.addChild(letter_mc);
letter_mc.x = 17*i;
letter_mc.y = (10);
//Adds letters to letter_mc's
letter_mc.numbers1.letra_txt.text = arrayLetters[i];
letter_mc.numbers2.letra_txt.text = arrayLetters[i];
letter_mc.numbers3.letra_txt.text = arrayLetters[i];
}
}
BuildSentance();
I'm having 2 problems:
1) on applying some sort of timer that throws the sentance letters one of a time to the board;
2) on updating the board, by removing the older sentance and throwing in the new one.
Can anybody help me on this?
Thanks in advance.
View Replies !
View Related
Simple: Dynamic And Input Text Boxes Wont Show When They're In An Attached MovieClip
Hey.
I am re-attaching the same movie clip (containing dyanmic text boxes) over and over again, filling a menu... and i have therefore used a mask so that a scroller must be used to view the elements of the menu far down on the list. Unfortunately, using a mask means that the dynamic text boxes within each movie clip become invisible for some strange reason (though they still exist, and i can select the text that they contain). Taking the movie clips outside of the mask allows the text to show, however, the long menu 'spills' onto the rest of the presentation.
How can i get dynamic text boxes to show within my mask?!
Thank you very much
View Replies !
View Related
User Input Creates MovieClip Made Of MovieClip Symbols
Hello. I need some help either with my situation or with the search terms I'm using to try to find an answer.
I am using Flash MX Pro 2004.
I have drawn letters A-Z in Flash in two different styles (for example one that is furry and another that looks like metal). I would like users to select a text style (furry or metal) and enter text via text input field. When they have pressed an Enter button I would like the word to appear made up of the drawn symbols that I created.
I don't want to make an actual font. Any ideas on search terms to find the sort of thing I am looking for? Here's some that I've tried already:
convert text to symbols -- I get tons of results talking about putting textfields in symbols.
user input to symbols -- almost same results as above
custom fonts using symbols -- I get results talking about how to embed fonts and making text bold, italic, etc. Also not what I'm after.
All help is appreciated. Thanks in advance.
Scott
View Replies !
View Related
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.
View Replies !
View Related
Remove Input Text On Input Text Box Select?
Right now I've got an input text box with an instance name of EMail and Var of EMail. Then in my AS I've got:
code: var EMail:String = "Enter Your Email Address";
which puts "Enter Your Email Address" in the text box when it displays. What I'd like to do is when a user clicks inside the box to enter their email address is for that string to disappear.
View Replies !
View Related
Input Text To Show Up In Input Text Box In Later Frame
Hi, I am making a game where the player enters his or her name into and input text box at the beginning and then prints out a certificate at the end with his or her name on it. This is the actionscript I am using, however, this only allows me to have the box where the player enters his or her name to be on the same frame as where the text appears.
input_txt.onKillFocus = function () {
user_name = input_txt.text;
input_txt2.text = user_name;
}
_global.style.setStyle("fontSize",30);
I was wondering if there was anyway to modify this script to make it so that the name appears in the input_txt2 box in a later frame.
Thanks,
Lindsay
View Replies !
View Related
What Are The Best Ways To Capture Input From An Input Text Field?
Hi,
I don't know ASP, CGI, PHP etc. I do, however, have a flash form with two input text fields named “E-mail” and “Name”, and a submit button.
How can I set this up so a user can input the info in these two fields and click the submit button to some how send me the data - Via Email? txt on the server? Anything...
Also, if this is not possible, what is the simplest way to learn PHP or whatever is most appropriate to get these goals accomplished.
Thanks,
Stephen
View Replies !
View Related
Input Text Field Won't Allow Input
We are having a really strange and stupid sounding problem with a text input box. It appears but won't allow any input. Before you shout 'stupid newbie' yes the properties are correctly defined as input text etc.
The input field is in a movie clip i.e. _root.myClip but we have never had this problem before. It is probably something obvious to to prevent us pulling out all of our hair has anyone got any idea why this is happening. We have tried forcing the text box focus etc but to no avail.
Help us!!!!!!!
View Replies !
View Related
How To Input Text Without Input Textfield
hi,
does anyone know, how i can display user input text without a textinput field ?
what i'm trying to achive is a message that is displayed on screen like in multiplayer games:
you press "t" for talk, and you see what you write in a kind of console but without changing to a text field
thanks
View Replies !
View Related
Bug With Input-textfields In Movieclip
I got this movieclip with an input-textfield and three buttons inside.
This is what the buttons do:
Button1: Moves the movieclip.
Button2: Rotates the movieclip to the left.
Button3: Rotates the movieclip to the right.
Button1 is working alright.
The two rotate-buttons is also working, but the textfield disappeares when I use then. When I rotate the movieclip back to it's original position, the textfield reappear.
How can I get the textfield to follow the movieclip's rotation without disappearing?
View Replies !
View Related
Inactive Input Textbox Under Movieclip
Hi!
I have a input textbox and a button in a row. I would like to attach movieclip with a message(on some other place) that wil tell the user, what is this input box for, if a user rolles over that area with the mouse cursor.
So my idea was, i'll just put transparent movieclip ovet that area, and apply onRollOver trigger to that movieclip, and attachMovieClip(with my text) inside that trigger. The problem is, if i assign action to that movieclip, i cant activate my textbox and button under it. OK, so i put my movieclip under textbox and button and they are working again...but new problem arrives here. When you put your mouse cursor over a button or textfield, you are not over that "area movieclip" anymore, so onRollOut action, to hide that message is trigered...
So what should i do, to keep my message all the time when the mouse cursor is over desired area and also keep functionality of textbox and button?
View Replies !
View Related
Trasfering Text From One Dynamic Text Box To A Input Text Box On A Differnt Page?
Ok so I have a text box set up which receives the date on a callendar which you click on. On another page (a seperate html file) I have an input text box for receiveing this text.
I've been trying to do this using various methods using getURL, but, I can't get it to work. This is becoming tedious especially as I'm not able to test it without having to reupload the files.
If someone could please inform me on how I should do this I'd be vary greatful.
If you need any further information I'll reply as soon as possible.
View Replies !
View Related
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?
View Replies !
View Related
Long Text Doesn't Fit Inside Single-line Input Text Field
Hi, I've been browsing these forums for a long time but this is my first post.
I'm creating an interface by which a user can design and order their own customized decal. Please see my example (I've added my script at the bottom of this post):
http://www3.sympatico.ca/sin.young/decaldesigner.html
My issues are:
1. I've set the character limit to 21, but if you were to type in 21 "W"s into the input field for whatever reason, or choose a wider font, the text shifts to the left and some of the characters become hidden as they don't all fit. I'd like to make the width of the text to always fit inside of the width of the white area. I can't figure out how to make this work.
Here's an example that does pretty much what I'm trying to describe: www.stickerjunkie.com.
2. I have the Standard Colors combo box working perfectly but can't seem to get the Fonts combo box working.
Any hints or links to actionscript tutorials/help that might be useful to my predicament is extremely appreciated.
// display colors and formatting
decalColor = new Color(decal);
color1 = new Color(decalColor);
//
function changeColor(comp) {
decalColor.setRGB(comp.getSelectedItem().data);
}
//Standard Colors array
standardcolors = [{label:'STANDARD COLORS'},
{label:'White', data:0xffffff},
{label:'Black', data:0x000000},
{label:'Silver', data:0x9c9c9c},
{label:'Gray', data:0x636b73}];
collistStandard.setDataProvider(standardcolors);
collistStandard.setSelectedIndex(0);
collistStandard.setChangeHandler('changeColor');
//
//Fonts array
myfonts = [{label:'FONTS'},
{label:'Arial', data:'Arial'},
{label:'Serpentine', data:'Serpentine'},
{label:'Enviro', data:'Enviro'},
{label:'Forte', data:'Forte'}];
fontlist.setDataProvider(myfonts);
fontlist.setSelectedIndex(0);
fontlist.setChangeHandler('');
View Replies !
View Related
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.
View Replies !
View Related
Making A Input Text Field Remove Text When Clicked
Hi,
I would like to know how would you remove text within a Input textfield when clicked. For example Barney's New York website has this field with text displaying Enter Email to subscribe, so when u click on the field it will remove the text when clicked.
"Click on the fallowing below, so you would know what exactly what I'm talking about."
http://www.barneys.com
Thanks!
Abel Gudino(Creativemindz.biz)
View Replies !
View Related
[MX04] How Do I Make A Dynamic Text Always Have The Exact Same Text As An Input?
Well, I want the player of my game to be able to type in the name they want, but the script in the frame I have does not work.
I have two movie clips on the same frame. One is a character selection menu that allows you to put in your name using an input box called ", choose your face, etc., then you click the blue button to close that movie clip (Skips to empty frame 2 in the movie clip), showing the actual level, where your HUD that is supposed to show your name that you typed in the input text box is.
I put this non-working code in the frame:
_root.charactermenu.playername.text = _root.player_HUD.player_name.text;
Yes, I am aware that I put an underscore in one, and not in the other. It is to prevent confusion.
The first part is the input text and the second is the HUD part.
Can anyone help me get this working?
View Replies !
View Related
Actionscript: Email Text From An Input Text Field Problem.
I am having difficulty with my email example.
I am using Flash mx2004 pro 7.2
(This example needs to be viewed in a explorer browser)
My first problem is that when you type in the & Character into the input text field.
The text following the & Character cuts out when sending info to the outlook program..
The code on my send button looks like this:
on (release) {
getURL("mailto:Youraddress@domain.com?subject=Stan dard title"+"&body="+body);
}
I would also like to find out if it’s possible to retain text format from a copy/paste job into a input text field that translates all the way to outlook.
Thanks for any suggestions you may provide.
~Josh
View Replies !
View Related
Can't Access Dynamic Text>properties>var (text Input Field) In AS3
Hello,
I got VB to put text in a dynamic text field I created in actionscript 2 but can't get it to work with as3. The difference being that in as2 I can draw a dynamic text field on the stage name the instance 'testField' in properties and then there is a var: text box also in properties where I can add a variable name 'testVar.' As3 won't let me access that var:text box in properties. Why is this? For some reason VB needs both the instance name 'testField' and also the variable name 'testVar.' How do I set the variable name in as3 for a dynamic text field? Is the var:text box in properties to give the dynamic text field a variable name in as2?
Thank you if you can help me clear this up! If something in my questions does not make sense please ask me!
View Replies !
View Related
Button WITH Text & Input Text Field Color Difference
Hi all,
In Flash MX 2004 Pro, I am trying to create a rectangular button that has the word "Enter" on it. For some reason, the text is gone and I don't know what happened to it. Can someone take a look and tell me what I'm doing wrong, please?
Oh, also... There is an input text field I created, but it's white (and so is the rest of the movie). How can I change it so that the background of the entire scene is different from the input text field (so it is seen)?
Thanks!
Chris
PS. I'm a Flash NEWBIE so please use small words!
View Replies !
View Related
Text Input / Text Output...help With Actionscript Required..
hi
I have 2 text input boxes (input1 & input2) and 3 text output boxes ( output1 & output2& output3), also there are 2 buttons to add the text from the input boxes to the text output boxes.
What i need to do is this:
i input text into the 2 text input boxes and when i click the button for input 1 i want it to add the text from input1 to output1,i might then need to add input1 again and i want it to display in output2 as well as output1, then i might need to add input2 and i then want it to display in output3, then again i might want to add them in a totaly different order but always moving to a new output box if the above one is already full.
i hope you understand the gist of what im getting at and your help would be greatfully received.
thanx in advance
View Replies !
View Related
HELP -> How Can I Auto-Update Dynamic Text W/ Input Text?
Here is my scene:
ROOT:
I have 3 MCs -- (all are the same right now)
DesktopsMC.
LaptopsMC.
ServersMC.
Each MC is on it's own keyframe (5-10-15) with a stop action.
Then I have the total amount of $$ remaining:
Drag.TotalMC
------------------------------
Inside the MCs are as follows:
DesktopMC --
A series of Checkbox MCs that affect the Dynamic Text box in a MC on the root stage, called "Drag.Total".
the function for the CheckBoxes goes somethin' like this:
Code:
//--------------------------------------------------------------------------------
function myHandler(component) {
switch (component) {
case Box1 :
checkValue = (parseInt(price1)*qty1);
break;
case Box2 :
checkValue = (parseInt(price2)*qty2);
break;
case Box3 :
checkValue = (parseInt(price3)*qty3);
break;
case Box4 :
checkValue = (parseInt(price4)*qty4);
break;
}
if (component.getValue()) {
deskTot += checkValue;
_root.totRemaining -= checkValue;
// total -= checkValue;
} else {
deskTot -= checkValue;
_root.totRemaining += checkValue;
// total += checkValue;
}
_root.Drag.total.test = (_root.totRemaining);
}
//--------------------------------------------------------------------------------
the above code works on the checkboxes.
BUT
I would like to make the Price1 dynamic text auto-update when you type in the QTY1 box.
This would continue for Price2 & QTY2, Price3&QTY3,.......
up to 50.
How Can I Auto-Update My DYNAMIC Text with INPUT Text?
View Replies !
View Related
Unicode Text In Input Text Field Flash MX
Hi
Do you know how to type in the input text field (Flash MX) in Unicode as we're Vietnamese but Flash MX input text field cannot afford this typing. But when I copy text (Unicode Vietnamese language) from Word then paste into that field, it appears correctly. I don't know why. Pls help me
View Replies !
View Related
|