ActionScript 2.0 :: Put Name In On Input And On The Next Frame Theres A Sentence Like "Hello (NAME)?

Jul 15, 2009

Ive been having trouble with this and I want to put this in a game. Like here's what I plan.you put your name in on input and on the next frame theres a sentence like "Hello (NAME), How are you doing?"

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Unable To Split The Sentence That Is Entered And Have The First Half Of The Sentence?

Oct 13, 2009

I have one input text field. I need to be able to split the sentence that is entered and have the first half of the sentence in dynamic text Field_A and the second half in Field_B.

I have been looking at textField.wordWrap and .split but can't get it to work. Anyone got any simple sloutions? I'm still learning AS 3.0.

example: I am looking for a simple solution for splitting a sentence.

[Code]...

View 2 Replies

ActionScript 3.0 :: Link A Word In A Sentence To Go To Another Frame?

Apr 9, 2011

I want to be able to do the following:
 
Type out a sentence and then highlight one of the words in the sentence and create a link to go to another frame.

The only other way which is time consuming (Especially with possibly hundreds of sentences) is to create each word as a button and then fit each word as a sentence together.
 
surely there is an easier way?
 
It will be the basis of an Elearning course for kids to click on a word in a sentence and based on their choice they go to a Correct or Wrong frame.
 
Captivate cannot do this unfortunately.

View 3 Replies

ActionScript 1/2 :: DIsplay A Part Of A Sentence?

Oct 5, 2009

How to display a section of a sentence? (the final 3)E.g.THE MOUSE CAUGHT THE RAT AT POST 324S58. - I want to display "S58" in a text box.THE MOUSE CAUGHT THE RAT AT POST 345P87. - I want to display "P87" in a text box.THE MOUSE CAUGHT THE RAT AT POST 311V02. - I want to display "V02" in a text box.

View 5 Replies

Actionscript 3 :: Remove All But The First Word From A Sentence?

Dec 24, 2011

I need to find away to take a sentence and remove all its words besides the first.

If the sentence is "Hi my name is dingo" I need to get only the word "Hi"

View 1 Replies

Xml :: Use Latin Characters In A Hebrew Sentence?

Mar 5, 2012

Currently we are extending the website for a coffee retailer. The whole page is in Flash and content is supplied by external XML-Files. However, the company expanded to Israel and therefore we are working on a hebrew version of the page (different charset and right-to-left). This works to 80% fine but sometimes we have sentences which contain latin nouns.

[Code]...

View 1 Replies

ActionScript 3.0 :: Generate A Random Sentence

Oct 23, 2010

Make a program that can generate a random sentence based on:

[Code]...

View 9 Replies

ActionScript 2.0 :: Variable - Remove The Last Sentence?

Mar 23, 2008

if i had a string variable that contained this: "Hello. This is a variable"... Is it possible to remove the last sentence?

View 6 Replies

Input Text Field On Frame 1 And Enter Text In It Then I Have A Button That Say Sends To Frame 2?

May 12, 2009

If I have an input text field on frame 1 and I enter text in it then I have a button that say sends me to frame 2. On frame 2 I have a button which sends me back to frame 1. Why when I got back to frame 1 is my text not shown?Why does an input text field go blank when leaving the frame? How can I make it so when i enter text on frame 1 and then go to frame 2 and then back to frame 1 the text i entered is still there?

View 7 Replies

ActionScript 3.0 :: Make The Sentence Become The Function When Box Clicked?

Jan 17, 2011

I have box mc and a textbox called "test" and I have a sentence in there saying trace("word")

how would I make the sentence become the function when box clicked? Like when box clicked it traces since the sentence has the code... like for example ...

box.addEventListener(MouseEvent.CLICK, try)
function try(event:Event)
{
var newString:String=test.text
}

is it the function that has to be changed (text:String)?? Id like the textbox to contain/execute the code not "hardcoded".

View 4 Replies

ActionScript 2.0 :: Make A Hyperlink For A Word In A Sentence?

May 7, 2003

how to make a hyperlink for a word in a sentense?

View 4 Replies

ActionScript 2.0 :: Have A Random Sentence Generator, But How To Add Sound To It

Aug 28, 2007

I have a code that randomly generates a random sentence:[code]...Now on every word, I have a sound clip that I want to play, but how would I code it? I dont know I would I would assign a sound to a word or how to incorporate it into the coding above

PHP Code:
if(name "example"){mysound = new Sound();mysound.attachSound("example");mysound.start();}

[code].....

View 1 Replies

ActionScript 2.0 :: Random Sentence Generator With Button?

Nov 4, 2011

how to make a pre-made sentence appear when a button is clicked? Can this be done with AS2? I need a button that when clicked will display a sentence at random.

The way I have it in mind is to make a movie clip with say 10 different sentences on 10 different frames marked with labels (Sentence1, Sentence2, etc.) and each time the button is clicked, it will pick a random frame label thereby displaying the sentence on that frame. I just need to know the actionscript to link to the button.

View 1 Replies

ActionScript 2.0 :: Split Up A Sentence Characters Each Into There Own Variables?

Sep 25, 2004

is there a way to split up a sentence say 30 characters each into there own variables. I've seen this done before. --sum up take in a variable and give out a few other variables, each 30 character cut ups of the first var. (note: i have a sweet rpg with like every code possibly imagined and a engine thats almost done this is my only draw back i have a metheod right now but i dont like the system i have made to insert data into boxs and you hit space to get info. like a "a" button for a GB game. This will allow me to write an entire sentence.)

View 2 Replies

ActionScript 3.0 :: Illegible Sentence Instead Of A Legible One When Test The Movie?

Nov 22, 2011

How do I do this? : Output: Fonts should be embedded for any text that may be edited at runtime, other than text with the "Use Device Fonts" setting. Use the Text > Font Embedding command to embed fonts.
 
My code where it says "I am thinking of a number between 1 and 100" shows patchyly.  So you can't read it as only a few letters are there:

[Code]...

View 2 Replies

ActionScript 3.0 :: Pass Text From An Input Text In Frame 1 To A Dynamic Text Field In Frame 10

Jul 24, 2009

I'm trying to pass text from an input text in frame 1 to a dynamic text field in frame 10. Thus when the user enters text and clicks the submit button it takes them to frame 10 and shows them what they typed. It's not working but I'm not getting any errors. Here's the link:

[Code]...

View 3 Replies

ActionScript 2.0 :: Getting Input Text To Next Frame?

Mar 12, 2009

I have a file with two frames.In the first frame i have an input textfield (naam_txt) a button (send_btn) and a dynamic text field (output_txt)In the second frame i only have the dynamic text field.So i want someone to type in their name and when the button is pushed, you go to the second frame and there is a welcome text in the dynamic text field.But i get Welkom undefined

This is the actionscript:

Code:
send_btn.onRelease = function(){
gotoAndStop (2);
output_txt.text = "Welkom " + naam_txt.text;

[code]....

View 3 Replies

[CS4] Select Input Box On Load Frame?

Aug 11, 2009

Is there a way to 'select' (so the flickering cursor appears) an input box when you load the frame?

View 1 Replies

ActionScript 2.0 :: Using Input Text To Go To A Frame?

Nov 14, 2002

I am working on a sort of photo gallery and I would like to know if the following is possible:I'd like to create an option where you can fill in a name in a input text box and press a button so you automatically go to the photo of that person. The input text box is called namebox, the frames with pictures of the persons have frame names like bob, franca and patrick. The button next to the input box has this script:

on (press, keyPress "<Enter>") {
if (namebox == "Bob") {
gotoAndStop ("scene2", "bob");

[code]......

View 8 Replies

Dynamic TextBox Will Not Show Input After Certain Frame

Nov 18, 2010

Right now I'm us Flash CS4 and creating a flash program in AS3. After a certain frame the dynamic text boxes that I have set up refuse to display text when required. I've gone over every line of code and every possible set up and I can't understand why it will not work. I've made sure all the dynamic text boxes have the instance names properly in place naming them all "talkBox". I've made sure all the code is written properly talkBox.text = "Insert Text Here!" There should be absolutely no reason in the world why the dynamic text boxes shouldn't be working.

View 1 Replies

ActionScript 2.0 :: Retain Input Text In One Frame And Use It In Another

Mar 17, 2010

I have a frame on my movie that will have two input boxes where you can write in team names, and then have a button that will go to the next frame where the games is. When the movie goes to that frame I would like the text that was written in the input box in the previous frame to be retained and used in a dynamic text box to display the team names/s.

View 1 Replies

ActionScript 3.0 :: Store Text Input To Use Again On Another Frame?

Nov 16, 2010

How can I store a text input so that I can use it on another frame? I tried storing it into variables on a frame and using it on another frame but there was an error that the variable was undefined. (Location of error on the second frame)

View 4 Replies

ActionScript 3.0 :: ComboBox Populating Input Textbox On Another Frame

Mar 23, 2009

First project using flash and im having some problems with a combobox function im trying to apply. I have a combobox that I hope when selected populates an input text box on another frame. When I test when the input text box is on the same frame the code below works and the selection is shown, but i want to show the input text field on another frame and this doesnt work.

myCombobox.addEventListener(Event.CHANGE, myHandler);
function myHandler(evt:Event):void{
selectedLabel.text = myCombobox.selectedItem.label;
selectedData.text = myCombobox.selectedItem.data;
selectedIndex.text = myCombobox.selectedItem.index;
}

View 5 Replies

ActionScript 2.0 :: Create An Input Box Which Directs A User To A Specific Frame?

Jul 29, 2009

I want to create an input box which directs a user to a specific frame, based on what they enter.I'm making a text-based adventure game, in homage to the ones of old, and basically, if someone enters say the word, "light" into the box, I want it to take them to the frame labelled "light".I also want the input box to respond ONLY to enter key pressing.

View 9 Replies

ActionScript 3.0 :: Calculate Input Text Fields And Display On Another Frame

Aug 12, 2010

I'm building a calculator in AS 3.0. On frame 1, the user inputs data into the input text boxes and hit's the "calculate" button (also located on page 1).The calculations are displayed in the dynamic text fields on frame 1but aren't appearing on frames 2 and 3. Anyone know how to get the calcs to show up on frames other than where the calculation button is located?

View 7 Replies

ActionScript 3.0 :: Dynamic Text Field Input Goto Frame?

May 4, 2009

I want to be able to have these numbers read, and then it goes to the specific frame, if I change Event.ENTER_FRAME it works, but then it is always looking for the rfidread function.

Code:
login.addEventListener(Event.CHANGE,rfidread);
//READER FUNCTION
function rfidread(e:Event):void {

[Code].....

View 2 Replies

CS3 Input Fields - Make A Book With Flash Where Each Page Is A Frame In The File?

Jul 3, 2010

I wanted to make a book with flash where each page is a frame in the file. I have successfully made the next page and previous page buttons, but I was wondering how to get started on making an input field that lets users put page numbers that go to the specific page / frame.

View 1 Replies

ActionScript 2.0 :: Input Text - The Later Frames The Information The User Typed In The First Frame Is No Longer There

Sep 16, 2003

I have a movieclip (named "checklist")with a great number of input text boxes in it. This clip is used early in the my movie (frame 1) and again at frames 20 and 30. The problem is that in the later frames the information the user typed in the first frame is no longer there. Now I could use the var parameter and set it to _root for all of the boxes, but I've been told that the var parameter is a bad way to go. Rather, I should use the name option instead, i.e. "myText_txt". I tried experimenting with objects, but I am not a programmer and so I am probably doing this wrong.

[Code]....

So, I am looking for a best practice. Should I just use the var parameter? That way all of the text fields update when the movie hits frames 20 and 30.

View 1 Replies

ActionScript 2.0 :: IndexOf("what")-what If I Want To Find All The What's In This Sentence Full Of What's?

May 21, 2009

"what if i want to find all the what's in this sentence full of what's?" i cant do this with indexOf, and it wont work either with lastIndexOf, since there are 3... i'm trying to do a simple htmlText editor and got stuck in the part where i cant check the selected word's position only with indexOf...

View 5 Replies

ActionScript 2.0 :: Input Quiz - Check Input Answer Against Random Display From Array

Jan 21, 2009

I am trying to check input answer against random display from array. but sometime it trace not correct when it is correct this is the code i use

[CODE]....

View 7 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved