this is the code for the flash button
on (press) {
gotoAndStop(“button”);
loadMovieNum(“http://tek-labs.com/affiliation.swf”, 50);
}
on (release) {
getURL("javascript:openNewWindow(‘Demo. html’,‘thewin’,‘height=500,width=650,toolbar=no,sc
rollbars=yes’) ");
}
and this is the error i get when i publish
Scene=Main Scene, Layer=Buttons, Frame=1: Line 6: String literal was not properly terminated
getURL("javascript:openNewWindow(‘Demo. html’,‘thewin’,'height=500,width=650,toolbar=no,sc
Scene=Main Scene, Layer=Buttons, Frame=1: Line 7: ‘)’ or ‘,’ expected
rollbars=yes’) ");
Scene=Main Scene, Layer=Buttons, Frame=1: Line 8: ‘;’ expected
}