# Please help out a Flash newbie?

**URL:** <https://forum.kirupa.com/t/please-help-out-a-flash-newbie/220017>\
**Category:** flash\
**Created:** [March 21, 2007, 11:14pm UTC](https://forum.kirupa.com/t/please-help-out-a-flash-newbie/220017 "2007-03-21T23:14:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CrazyCoder](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@CrazyCoder](https://forum.kirupa.com/u/CrazyCoder)\
**Post date:** [March 21, 2007, 11:14pm UTC](https://forum.kirupa.com/t/please-help-out-a-flash-newbie/220017/1 "2007-03-21T23:14:37Z")

</div>

😑 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.

```auto

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

```

Any help would be greatly appreciated.
