A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Variables from txt field in flash

  1. #1
    Senior Member
    Join Date
    Sep 2000
    Posts
    183
    Hi
    I have a MC which is a bar increasing in size from frame 1-60. I have a editable textfield which is labelled "size".
    I have a button, which when clicked, i want it to go to the frame which is entered by the user in size in the MC with the bar.

    MC = bar
    Frame variable = size

    Code:
    On (Release)
    Begin Tell Target("/bar")
    Go to and Stop (Eval(/:size))
    End Tell Target
    End on
    It doesn't seem to WORK!!
    I am using FLash 4

    Thanks in advance

    Ash

  2. #2
    I assume that by labelled you mean you have named your textfield variable size and it is on main timeline and you mc bar is lso on main timeline, if so try this...
    Code:
    On (Release)
    Begin Tell Target("/bar")
    Go to and Stop (/:size)
    End Tell Target
    End on

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