Copy link to clipboard
Copied
What is the equivalent in Flashbuilder 4?
<a href="http://www.adobe.com" target="_blank">Link</a>
The end result is to have a button or link in Flashbuiler to have CF 9 create pdf or excel files then show the pdf or excel to download or print.
//drag a link button into your project
//add this to the mxml
click="openWebLink(event)"
//in a script block add this
private function openWebLink(event:MouseEvent):void
{
var http:String = "http://"
var site:String = www.adobe.com
var urlRequest:URLRequest = new URLRequest(http + site)
navigateToURL(urlRequest)
}
//If it the IDE bugs you, import
import flash.events.MouseEvent;
import flash.net.navigateToURL;
Copy link to clipboard
Copied
You're trying to make a pop up window?
Copy link to clipboard
Copied
//drag a link button into your project
//add this to the mxml
click="openWebLink(event)"
//in a script block add this
private function openWebLink(event:MouseEvent):void
{
var http:String = "http://"
var site:String = www.adobe.com
var urlRequest:URLRequest = new URLRequest(http + site)
navigateToURL(urlRequest)
}
//If it the IDE bugs you, import
import flash.events.MouseEvent;
import flash.net.navigateToURL;
Copy link to clipboard
Copied
Thank you!!