A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Using a button to Toggle On/Off

  1. #1
    Junior Member
    Join Date
    Dec 2001
    Posts
    17
    I have a chooser with a number of child movies that can be selected. What I want to do is make a button show a particular view when clicked, and show another view when clicked again. Is this possible? Any tips would be appreciated.

  2. #2
    Senior Member zoranvedek's Avatar
    Join Date
    Aug 2001
    Location
    Wagoner OK
    Posts
    892
    To simply scroll through the views, set the button to "next view" and select your chooser. It will then scroll to the next view each time it is clicked. You may also want to set another one to "previous view" allowing visitors to go back to something they may have wanted to see again.

    -Jason

  3. #3
    Junior Member
    Join Date
    Dec 2001
    Posts
    17
    Thanks for that Jason.

    So if I have a chooser with only 2 views, and a button with a "next view" on click, it should toggle between the views?

    I guess I better try it and I'll know.

  4. #4
    Senior Member zoranvedek's Avatar
    Join Date
    Aug 2001
    Location
    Wagoner OK
    Posts
    892
    With only 2 views that is exactly how it will it work.

    -Jason

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