1 Reply Latest reply on Mar 13, 2011 10:46 PM by Nuwan,Chamara

    Using a mx:LinkButton to ....

    aktell2007 Level 1

      I used the following code since years, but only now need to change it.

       

      Using a mx:LinkButton to get to the next web site in another window !!! and this was the code I always used

      <mx:LinkButton
      click="navigateToURL(new URLRequest('http://www.mysite.com/'), 'blank')"/>
      

       

      Funny enough even when I do not use the 'blank' it opens in a new window !

      <mx:LinkButton
      click="navigateToURL(new URLRequest('http://www.mysite.com/'))"/>

       

      But now I do need to open with a LinkButton a new site in the same window which is already open ! And 'self does' not work ???

      <mx:LinkButton
      click="navigateToURL(new URLRequest('http://www.mysite.com/'), 'self')"/>

       

      For any help thanks in advance aktell2007