12 Replies Latest reply on Aug 26, 2011 5:17 PM by jackmcnally

    Make a Button link to a Component?

    jackmcnally

      Hi,

       

      I am running Flash Builder 4 Flex SDK Version 4.5.1 and was wondering how I would be able to link a button to a component. Basically what I have is a button and want to link that button to a new page/MXML component. I am making this for an iPhone app, so please keep that in mind.

       

      <s:Button x="240" y="434" width="160" height="88" label="NZ" fontSize="32"

        icon="assets/nz.gif"/>

       

      ^ My Button.

       

      Any Help would be greatly appreciated!

      Jack