Posted on August 23rd, 2010 by egiles
Create an ActionScript function to reload a page that can be called from Adobe Flex / Flash. This uses javascript to call a page reload.
private function reloadPage(event:Event):void
{
var ref:URLRequest = new URLRequest(”javascript:location.reload(true)”);
navigateToURL(ref, “_self”);
}
Filed under: Technology | 23 Comments »
Posted on August 23rd, 2010 by egiles
In saving to an Excel (xls) file from Adobe Flex / Flash using ActionScript code, make sure to include
import com.as3xls.xls.ExcelFile;
import com.as3xls.xls.Sheet;
Then, make sure to require Flash Player 10.0.0 or higher or the application will not build in Flex Builder 4. Project->Properties->Flex Compiler -> Check Require Flash Player version: 10 0 0.
Wire your event listener appropriately.
var [...]
Filed under: Technology | 32 Comments »