# Flash "Walkon" video

**URL:** https://forum.kirupa.com/t/flash-walkon-video/277518
**Category:** flash
**Created:** [December 12, 2008, 11:20pm UTC](https://forum.kirupa.com/t/flash-walkon-video/277518 "2008-12-12T23:20:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![para\_chan](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@para\_chan](https://forum.kirupa.com/u/para_chan)
#### Post date: [December 12, 2008, 11:20pm UTC](https://forum.kirupa.com/t/flash-walkon-video/277518/1 "2008-12-12T23:20:33Z")

</div>

I hope I can get some help with this issue I’m having. (Or make that issues. \>\<)

I’m making a flash animation where there’s a FLV video playing, with animations created in flash occurring in the background.I have the video playing correctly and I have the animations playing.

My problem is that I created control buttons from the “Components” that Flash offers, and the buttons control the FLV video, but not the animations in the background. I’ve tried adding stop(); and play(); actions to them, but it doesn’t work.

I had it half-working by using this code:

function playPause(event:MouseEvent):void  
{  
if(isPlaying==5){  
isPlaying==6;  
this.stop();  
} else {  
isPlaying==5;  
this.play();  
}  
}

It would pause the animations, but not restart them.

I have a rewind button that works correctly:

function rewindMovie(event:MouseEvent):void  
{  
this.gotoAndPlay(2);  
}

I’m also having an issue creating a URL link button. The button is near the end of the video. I tried using the following code:

contact.onRelease=function(){  
getURL(“[http://www.tutorial5.com/](http://www.tutorial5.com/)”, “\_blank”);  
}

but that gives me this message:

1119: Access of possibly undefined property onRelease through a reference with static type flash.display:SimpleButton.
