Question
Convert simple code from as2 to as3
Hello, i am looking for some help here for something simple (i think)
var txt:String = link1;
- btn.onRelease = function():Void {
if( sample_id )
getURL("http://www.website.com/registration?partner_id=" + sample_id + "sampleURLCode", "_blank");
else
getURL("http://www.website.com/registration?sampleURLCode", "_blank");
}
Is there a way to make this simple code into AS3?