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

Adding TextFields to TextFields

Participant ,
Oct 07, 2015 Oct 07, 2015

Copy link to clipboard

Copied

Here's what I need:

A function is called which uses 5 arrays, one for the high damage percentage, one for the low damage percentage, one for the amount of magic points that it costs, one for the frame label, and one for the actual name of the attack. I have a system set up to play the animation, but I need this function to

(a) create a text field

(b) create smaller text fields (one on top of the other) like a list to hold each item of the array + it's MP cost

(c) if the list goes off of certain pixel bounds, it is now scroll-able.

(d) each line (which would be a separate text box) needs to be able to be clicked and send it's associated frame label (held in one of the arrays) to another function.

Is this even possible?

TOPICS
ActionScript

Views

175

Translate

Translate

Report

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

Enthusiast , Oct 07, 2015 Oct 07, 2015

Use a "List" component it's more easier as you can customize it.

Votes

Translate

Translate
Enthusiast ,
Oct 07, 2015 Oct 07, 2015

Copy link to clipboard

Copied

LATEST

Use a "List" component it's more easier as you can customize it.

Votes

Translate

Translate

Report

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