Please help out a Flash newbie?

:expressionless: I have what I thought was a fairly simple button code pieced together from stuff I found online but it doesn’t seem to work. On release it is supposed to trigger a simple javascript function [which works but not from inside the Flash] and start a second movie on the page [which doesn’t start either].

I’m really not sure what is wrong.


on (release) {
FSCommand("showAd")//triggers javascript function showAd()
FSCommand("playTargetMovie","curl001_final_b.swf,0")//starts second movie
}

Any help would be greatly appreciated.