Skip navigation
Currently Being Moderated

Spinner list to pop up with a button click

Feb 18, 2013 10:01 AM

I want a spinner list to pop up when a button is clicked,

do any one have a example code for this?

 
Replies
  • Currently Being Moderated
    Feb 18, 2013 10:40 AM   in reply to fsoender

    Do you mean something like

     

    <s:Spinner id="mySpinner" visible="false" minimum="2"  maximum="20" />

    <s:Button id="myButton" label="Open Spinner" click="{mySpinner.visible = true}" />

     

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 19, 2013 12:14 PM   in reply to fsoender

    Based on what you posted, you need to look at this link : 

    Understanding Flex Mobile View and ViewNavigator

     

    Because it looks like you put everything in a View.  So, what you need to do is on the Main make the View visible when the button is clicked.

     

    My example was to just make the spinner visible when the button was clicked.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points