# Hotspot link for movie that is externally loaded?

**URL:** <https://forum.kirupa.com/t/hotspot-link-for-movie-that-is-externally-loaded/236889>\
**Category:** flash\
**Created:** [August 24, 2007, 5:11pm UTC](https://forum.kirupa.com/t/hotspot-link-for-movie-that-is-externally-loaded/236889 "2007-08-24T17:11:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![riottype](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@riottype](https://forum.kirupa.com/u/riottype)\
**Post date:** [August 24, 2007, 5:11pm UTC](https://forum.kirupa.com/t/hotspot-link-for-movie-that-is-externally-loaded/236889/1 "2007-08-24T17:11:10Z")

</div>

So one of the project managers here at work dumped a Flash document on me to add a button that links to a website.

The way the video is setup is that it imports the .flv and plays it within the .swf – at the end is graphic that says “Visit Website” and clicking that area needs to link to the site. So here’s the problem, I can get the hotspot to be clickable once the movie is over. The visit website graphic is part of the video that was sent.

I can set a hotspot thats there throughout the whole movie, just can’t seem to get it to appear at the end.

Here’s what the movie looks like:

![](http://battleequip.com/dropbox/movie.png)

Here’s the timeline / layers:

![](http://battleequip.com/dropbox/timeline.png)

Here’s the relevant ActionScript

```auto
import mx.video.*;
var flvUrl:String = "invest.flv";
_root.attachMovie("startImage","startImage",100, {_x:0, _y:0});
_root.attachMovie("playBtnVideo","playBtnVideo",150);
_root.playBtnVideo._x = 19;
_root.playBtnVideo._y = 180;
_root.attachMovie("trans","trans",0, {_x:0, _y:12});
my_FLVPlybk.contentPath = flvUrl;
my_FLVPlybk.playPauseButton = myPlayBtn;
my_FLVPlybk.seekBar = mySeekBar;

function alphaBtns_fn()
{
    _root.myPlayBtn._alpha = 50;
    _root.blackBg._alpha = 20;
    _root.mySeekBar._alpha = 25;
}
    
_root.playBtnVideo.onRelease = function() 
{ 
    _root.trans.gotoAndPlay(2); 
    this.playBtnVideo.removeMovieClip(); 
}

stop();

alphaBtns_fn();

```
