topical media & game development

talk show tell print

actionscript-application-flickr-ui-ArrowButton.mx

actionscript-application-flickr-ui-ArrowButton.mx [swf] flex


  <?xml version="1.0" encoding="utf-8"?>
  <!--
          ArrowButton
          
          The ArrowButton extends LinkButton and is used in the stylesheet
          to set the icon.
  -->
  <mx:LinkButton xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*">
          
          <mx:Script>
          <![CDATA[
                  
                  public function set direction( dir:String ) : void
                  {
                          if( dir == "left" ) rotation = 180;
                          else rotation = 0;
                  }
          ]]>
          </mx:Script>
  </mx:LinkButton>
  


(C) Æliens 27/08/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.