# Actions + Layers + GoTo

**URL:** <https://forum.kirupa.com/t/actions-layers-goto/3762>\
**Category:** programming\
**Created:** [October 1, 2001, 4:24pm UTC](https://forum.kirupa.com/t/actions-layers-goto/3762 "2001-10-01T16:24:41Z")\
**Posts on this page:** 6\
**Page:** 1

<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:** [October 1, 2001, 4:24pm UTC](https://forum.kirupa.com/t/actions-layers-goto/3762/1 "2001-10-01T16:24:41Z")

</div>

Hi

I’m making a website in flash. And…  
When the page is loaded I want something to move directly when it is loaded. And on this page I have a button and something is supposed to happen when u roll over it (so i have “gotoAndPlay()” action on that button) but to prevent that action from kicking in when the page is loaded I have “stop();” in Frame 1 of the page…

the problem now is…  
I want that thing to move directly when the page is loaded but it cant cuz i have the “stop();” in frame 1… how can I make a tween in a layer loop by itself whatever actions are in other layers (such as “stop();” in this case which prevents the tween from starting)

_god that was hard to explain… hope u understand it_ 🙂

---

<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:** [October 1, 2001, 5:58pm UTC](https://forum.kirupa.com/t/actions-layers-goto/3762/2 "2001-10-01T17:58:24Z")

</div>

Well, IF i understood, put your tween into a movie clip, which you put on any layer in frame one, and it should play it’s own timeline?..

---

<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:** [October 1, 2001, 8:53pm UTC](https://forum.kirupa.com/t/actions-layers-goto/3762/3 "2001-10-01T20:53:41Z")

</div>

I’ll try and explain again… (gr8 to see that people want’s to help, thx)

Frame 1 In Layer “TextAlpha” should (I want it to) start directly when you load the movie.

But in another layer (“Actions”) I have “stop();” in Frame 1. So that prevents the TextAlpha layer to go off when the movie loads, cuz the first thing that happens is that the movie stops.

What I want is to make the TextAlpha layer “independent”… so that it plays without even thinking of “stop();” in another layer. To run it’s own race… if it’s possible, that is

---

<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:** [October 1, 2001, 9:20pm UTC](https://forum.kirupa.com/t/actions-layers-goto/3762/4 "2001-10-01T21:20:58Z")

</div>

place your tween into a movie clip and put the stop on frame 2.

---

<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:** [October 2, 2001, 12:18am UTC](https://forum.kirupa.com/t/actions-layers-goto/3762/5 "2001-10-02T00:18:31Z")

</div>

Well no u cant have tha stop in frame1, b/c that stops tha whole movie.

Try haven on rollover tha button go to and play a certain layer, and on tha last frame of that layer, put an AS that sayz to loop tha frame, starting at a certain frame (which iz tha beginning of that layer)

I deno…maybe that helped…

---

<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:** [October 2, 2001, 12:43pm UTC](https://forum.kirupa.com/t/actions-layers-goto/3762/6 "2001-10-02T12:43:08Z")

</div>

problem solved, thanks
