Use LinkButton to open a URL in a web browser window : LinkButton « Components « Flex






Use LinkButton to open a URL in a web browser window

Use LinkButton to open a URL in a web browser window
       
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:LinkButton label="ADBE" width="100" click="navigateToURL(new URLRequest('http://java2s.com/'), 'quote')" />
</mx:Application>

   
    
    
    
    
    
    
  








Related examples in the same category

1.Add space between LinkButton and ButtonAdd space between LinkButton and Button
2.Handle click event for LinkButton through click event from its containerHandle click event for LinkButton through click event from its container
3.Define a LinkButton with Define a LinkButton with <mx:LinkButton>
4.Use LinkButton in a ViewStack navigator containerUse LinkButton in a ViewStack navigator container
5.Navigate to a URL with LinkButtonNavigate to a URL with LinkButton
6.Change state in LinkButton click event handlerChange state in LinkButton click event handler
7.LinkButton click handlerLinkButton click handler
8.Set label for LinkButtonSet label for LinkButton
9.LinkButton for changing the stateLinkButton for changing the state
10.A single LinkButton control that opens a URL in a web browser windowA single LinkButton control that opens a URL in a web browser window
11.LinkButton controls for navigating in a ViewStack navigator containerLinkButton controls for navigating in a ViewStack navigator container