A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: display number on dynamic text field

  1. #1
    Member
    Join Date
    Aug 2008
    Posts
    33

    display number on dynamic text field

    Hi..I am creating a dynamic text field and "next" button. When the movie is played, the number "1" will be displayed on dynamic text field. When the "next" button is pressed, the dynamic text field will display 2 and so on...

    It is like 1...2...3...4...5...

    anyone can tell me how to write the code?
    Last edited by sleeky; 05-07-2009 at 04:14 AM.

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    something like this..... ??
    PHP Code:
    num 1;
    dyn_txt.text num;

    next_btn.onRelease = function(){
    num++;
    dyn_txt.text num;
    }; 

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