Yeah, anyway, I'm trying to make a website portfolio in Flash (It's a lot harder than I thought ) Anyway, I'm trying to make an external link on my page, and it REALLY doesn't like it, the code I've tried so far (all in the button itself) Code: btnDevi.onRelease = function(){ getURL("http://b-s-advertising.deviantart.com"); } Code: getURL("http://b-s-advertising.deviantart.com"); Code: http://b-s-advertising.deviantart.com Code: "http://b-s-advertising.deviantart.com" And still no joy, not even a response, it says on all of the above that the syntax is wrong (Or I assume that's what it means Code: **Error** Symbol=btnDevi, layer=Layer 1, frame=1:Line 1: ')' or ',' expected getURL(http://bigsharn.deviantart.com); Little help anyone? I'm using Flash 8 and ActionScript 2 if it helps Thanks
Code: btnDevi.onRelease = function(){ getURL("http://b-s-advertising.deviantart.com"); } Works fine on my side. Make sure that 'btnDevi' exists on the same stage level as the button, and that it's applied on a layer and not onto an object. FLA File
Your .FLA won't work on my version of Flash fr some reason... I DID have it on the button, but now I've tried it on the layer instead and still no joy (I really do fail at this) I'll just give up and do the entire thing in HTML, Flash obviously hates me
might help to specify: getURL("http://b-s-advertising.deviantart.com", "_blank") to force it into a new window/tab