A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: (maybe) Stupid question

  1. #1
    Junior Member
    Join Date
    Mar 2001
    Posts
    16

    (maybe) Stupid question

    I made a counter that's controlled by a button.
    I'ts counting perfect but i want the maximum value of the counter( textfield) to be 40

    Anybody idea's?

    Thanx in advance

  2. #2
    A Guy With a Hat HumbuckeR's Avatar
    Join Date
    Apr 2004
    Location
    Portugal
    Posts
    228
    Hi.

    I have no idea how you have your code inside the button set up but try this:

    code:

    onClipEvent(enterFrame){
    if (_root.yourVar>=40){
    _root.yourVar=40
    }
    }



    Hope that's what you wanted.

  3. #3
    Junior Member
    Join Date
    Mar 2001
    Posts
    16
    thanx mate, it works
    I O U 1 (in future)

    Click

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