Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

flash function that checks if input text is the same as text from file

Guest
Mar 05, 2014 Mar 05, 2014

Hello!

I am making a Flash AS2 project for word learning and I would like to know Your opinion and advice on this topic :

I have this word check task, where You have to write(input text) the correct names under these 3 pictures and check if You have written them correctly with the button - "CHECK!"

It would be simple, but there is a mandatory requirement that the inputed text must be compared to a text from file and then checked if they match.

I added a picture for better understanding..

Picture1.png

Is this possible in AS2?

Thank You!

TOPICS
ActionScript
556
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 05, 2014 Mar 05, 2014

sure.

use the textfield's text property and load the text file using loadvars.  you'll need to parse the loaded text using the flash string (and maybe array) methods.

p.s.  that apple looks more like a tomato to me.

Translate
Community Expert ,
Mar 05, 2014 Mar 05, 2014

sure.

use the textfield's text property and load the text file using loadvars.  you'll need to parse the loaded text using the flash string (and maybe array) methods.

p.s.  that apple looks more like a tomato to me.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 07, 2014 Mar 07, 2014

Thank You !

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 07, 2014 Mar 07, 2014
LATEST

you're welcome.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines