I'm trying to get my flash intro to automatically forward to the main site once it is finished loading. I know that in earlier actionscript versions the following code would work, but I'm using CS4 and I can't find any work around. getURL("mydomain/mypage"); Any help would be appreciated!
The getURL method is used in ActionScript 2.0 and is no longer available to ActionScript 3.0 In ActionScript 3.0 you can navigate to a site, say google.com as shown below: var url:String = "http://www.google.com"; var request:URLRequest = new URLRequest(url); try { navigateToURL(request); } catch (e:Error) { trace(e); } Code (markup): Hope that helps.