0 Replies Latest reply on Nov 9, 2009 3:17 PM by bogdan.raduta

    How to change the states




      I`m really new to Flex and ActionScript so please be patient with me.

      I want to implement this script: http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/TabNavigatorInfoWindow/srcview/i ndex.html

      ...that is doing this "magic:http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/TabNavigatorInfoWindow/TabNaviga torInfoWindow.html#

      ...but I want to tweak it a little on InfoWindowTabbedComponent. To be more precise I`m trying to insert links in that tabs, and when you click one the state will change.


      You can see my custom InfoWindowTabbedComponent in the attachment. As you can see, right now I have 2 functions that open url`s.

      What I`m trying to do is to change this:

      var adobeURL:URLRequest = new URLRequest("http://www.microsoft.com" );
          navigateToURL(adobeURL, "_self");


      Into  something that change the current state.



      Can you please help me?