# One movie multy url links

**URL:** <https://forum.kirupa.com/t/one-movie-multy-url-links/12742>\
**Category:** Uncategorized\
**Created:** [February 4, 2003, 4:13am UTC](https://forum.kirupa.com/t/one-movie-multy-url-links/12742 "2003-02-04T04:13:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![swift7777](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@swift7777](https://forum.kirupa.com/u/swift7777)\
**Post date:** [February 4, 2003, 4:13am UTC](https://forum.kirupa.com/t/one-movie-multy-url-links/12742/1 "2003-02-04T04:13:42Z")

</div>

whats the best way to have a single outro movie which, depending on the you pressed jumps to a different url link…

for instance

button 1 \_\_\_when pressed would go to outro movie and link to url myflash01.swf

button 2\_\_\_when pressed would go to same outro movie but would link to url myflash02.swf

hopefully there’s a simple script for something like this.

any help would be great…

swift\>\>\>\>

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2003, 4:31am UTC](https://forum.kirupa.com/t/one-movie-multy-url-links/12742/2 "2003-02-04T04:31:01Z")

</div>

**senocular** just posted something like that here:  
[http://www.kirupaforum.com/showthread.php?s=&threadid=14268](http://www.kirupaforum.com/showthread.php?s=&threadid=14268)

personally … i really like his code 🙂 it’s easy and simple …

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2003, 1:44pm UTC](https://forum.kirupa.com/t/one-movie-multy-url-links/12742/3 "2003-02-04T13:44:12Z")

</div>

thanx kax, for your swift response,

it was exactly what I was looking for, should same me a whole lot of time.

swift.:bounce:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2003, 2:18pm UTC](https://forum.kirupa.com/t/one-movie-multy-url-links/12742/4 "2003-02-04T14:18:47Z")

</div>

// button  
photosection01.onRelease = function(){  
action = function(){  
\_root.gotoAndPlay(“outro”);  
};  
play();  
};  
// last frame  
action();

photosection01\_ does this have to be the instance name, or the action script indentifier.

also, is the action used to play the outro, or do you use it to set the getUrl function.

somthin like this:

// button  
photosection01.onRelease = function(){  
action = function(){  
getURL (“myflash.swf”);  
};  
play(“outro”);  
};  
// last frame  
action();

action script will be the death of me!

thanx for anyhelp.

swift.  
:ninja:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2003, 7:48pm UTC](https://forum.kirupa.com/t/one-movie-multy-url-links/12742/5 "2003-02-04T19:48:28Z")

</div>

yes …

**photosection01** is the instance name of a movie clip or button

action = function () {  
// you place here the actions you want it to execute when the outro is finished  
}

**gotoAndPlay(“outro”)** you tell it to play your outro

and place **action()** in the last frame of the outro so your actions are executed

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2003, 11:41pm UTC](https://forum.kirupa.com/t/one-movie-multy-url-links/12742/6 "2003-02-04T23:41:41Z")

</div>

cheers m8t, much thanx for the help.

swift.

😛

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 5, 2003, 1:42am UTC](https://forum.kirupa.com/t/one-movie-multy-url-links/12742/7 "2003-02-05T01:42:56Z")

</div>

this is what I came up with which works aswell.

// actions for button

on (release) {

```
_global.photoOne = function(){
	getURL("photo_01.swf");
	
}
_root.gotoAndPlay("outro");

```

}

then in my outro mov. on the last frame.

// call back var.

\_global.photoOne();

thanx again for help

swift:P
