# Linking question any help is awesome

**URL:** <https://forum.kirupa.com/t/linking-question-any-help-is-awesome/23127>\
**Category:** Uncategorized\
**Created:** [June 13, 2003, 6:38am UTC](https://forum.kirupa.com/t/linking-question-any-help-is-awesome/23127 "2003-06-13T06:38:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaelby](https://avatars.discourse-cdn.com/v4/letter/j/b5a626/32.png) [@jaelby](https://forum.kirupa.com/u/jaelby)\
**Post date:** [June 13, 2003, 6:38am UTC](https://forum.kirupa.com/t/linking-question-any-help-is-awesome/23127/1 "2003-06-13T06:38:53Z")

</div>

im 3 months old to flash mx and am working on a website right now that requires me to loop a flash file as a movie x amount of times and then automatically transport the user to the homepage, in the same window…im also using fireworks and dreamweaver mx, any help would be awesome, thanks :skull:

---

<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:** [June 13, 2003, 9:02am UTC](https://forum.kirupa.com/t/linking-question-any-help-is-awesome/23127/2 "2003-06-13T09:02:49Z")

</div>

Hi;  
Just put this code in the last frame of your movie:

if(timesToloop \< x){  
gotoAndPlay(1);  
timesToloop++;  
} else {  
getURL(“[yourHomePage.com](http://yourHomePage.com)”, “\_self”);  
}

‘x’ being the number of loops.

Hope it helps

SHO

---

<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:** [June 13, 2003, 12:59pm UTC](https://forum.kirupa.com/t/linking-question-any-help-is-awesome/23127/3 "2003-06-13T12:59:11Z")

</div>

thanks very much!

---

<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:** [June 13, 2003, 1:06pm UTC](https://forum.kirupa.com/t/linking-question-any-help-is-awesome/23127/4 "2003-06-13T13:06:28Z")

</div>

That’s all right:thumb:
