A Flash Developer Resource Site

Results 1 to 17 of 17

Thread: Using array value in dynamic text field

Hybrid View

  1. #1
    Junior Member
    Join Date
    Feb 2003
    Location
    Vancouver BC
    Posts
    29

    Dynamic text from array

    Thanks Rob... I get the drift now!

    RonM

  2. #2
    Junior Member
    Join Date
    Feb 2003
    Location
    Vancouver BC
    Posts
    29

    Angry dynamic text from array

    I still cannot get this to work:
    dynamicTextField.text = btnArray[0];

    The button is from the library. There are 3 instances of the button on the screen, each has a different instance name. The instance name of the first button is: part1button_btn so I am using:

    part1button_btn.text = myArray[0][0]; //it's a two level array

    Is this correct? Am I properly addressing the text field of the button instance 'part1button_btn'? If I open the button up in the button editor it also has an instance name, but that is not what I should be addressing, is it?

    I'm confused by the two instance names, one in the button editor, the other in the button 'properties' when you click to highlight the button on the screen.

    Thanks for your comments.

    RonM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center