A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: How can I create a Checkbox with the SDK?

  1. #1
    Junior Member
    Join Date
    Jan 2003
    Location
    San Sebastian - Spain
    Posts
    3

    How can I create a Checkbox with the SDK?

    I've just started to learn how to use the SDK, and now, I have to create in my animation a checkbox... but I have no Idea about it!!!

    Do you know, what should I have to do?

    Thanks a lot!!! - Nico
    ***********
    Niko Kain

  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    13,041
    Hi,

    this is basically an actionscript question in the first place ... and then you have to implement the solution within the SDK

    step 1:
    make a movieclip with two frames
    step 2:
    put a button with just a hit area in that MC, and add a button action similar to
    play();
    _root.checkboxvalue = _currentframe;
    step 3:
    add the non-checked graphic to frame 1, and a stop() action
    step 4:
    add the checked graphic and another stop() action to frame 2

    Musicman

  3. #3
    Junior Member
    Join Date
    Jan 2003
    Location
    San Sebastian - Spain
    Posts
    3
    Thanks a lot!!! It works now!!!
    ***********
    Niko Kain

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