# Auto Loading things

**URL:** <https://forum.kirupa.com/t/auto-loading-things/10269>\
**Category:** flash\
**Created:** [December 28, 2002, 9:35am UTC](https://forum.kirupa.com/t/auto-loading-things/10269 "2002-12-28T09:35:42Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![l0stpr0fet](https://avatars.discourse-cdn.com/v4/letter/l/48db29/32.png) [@l0stpr0fet](https://forum.kirupa.com/u/l0stpr0fet)\
**Post date:** [December 28, 2002, 9:35am UTC](https://forum.kirupa.com/t/auto-loading-things/10269/1 "2002-12-28T09:35:42Z")

</div>

another noob question. i couldnt find it in the tutorials area, so i decided to come here. i needed to know how to go to a labeled frame, automatially, meaning when i open the swf, i want the labeled frame to load.

if anyone knows where i can go for a good basics flash tutorial, id appreciate it. even the basics on this website is higher than my current knowlege.

thanks

---

<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:** [December 28, 2002, 9:45am UTC](https://forum.kirupa.com/t/auto-loading-things/10269/2 "2002-12-28T09:45:05Z")

</div>

place it on the first frame actions of your movie

```php
gotoAndPlay("yourFrameLabel")

```

if that’s not what you wanted … could you please supply more details?

---

<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:** [December 28, 2002, 9:45am UTC](https://forum.kirupa.com/t/auto-loading-things/10269/3 "2002-12-28T09:45:11Z")

</div>

Just place this action on the first frame of your movie:

```php
gotoAndPlay("framename");

```

EDIT: awww Kax beat me to 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:** [December 28, 2002, 9:47am UTC](https://forum.kirupa.com/t/auto-loading-things/10269/4 "2002-12-28T09:47:57Z")

</div>

lol … sure I did!! 😛

---

<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:** [December 28, 2002, 9:03pm UTC](https://forum.kirupa.com/t/auto-loading-things/10269/5 "2002-12-28T21:03:10Z")

</div>

ok, i got that part, thanks. but i still cant do it.

heres the scenario:

i have a music player, that i need to load. im loadin the player from a button, like in the Loading Techniques tutorial. is there another way to load it, or how do i automatically load the button. right now its but.onPress. but.onPress loads the player.

i just need to automatically “press” the button, without having anyone press it.

if theres an easier way to automatically load my player into the movie, plz, feel free to share that with me lol.

---

<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:** [December 28, 2002, 9:17pm UTC](https://forum.kirupa.com/t/auto-loading-things/10269/6 "2002-12-28T21:17:39Z")

</div>

I’m not 100% sure on this, but you can try this action, just apply it to your button. Just fill in the name of your player movie and the container name you’re loading it into.

```php
onClipEvent(load){
	loadMovie ("your_player", "container_name");
}

```

---

<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:** [December 28, 2002, 9:27pm UTC](https://forum.kirupa.com/t/auto-loading-things/10269/7 "2002-12-28T21:27:26Z")

</div>

Clipboard Actions: Line 1: Clip events are permitted only for movie clip instances  
onClipEvent(load){

…

---

<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:** [December 28, 2002, 9:30pm UTC](https://forum.kirupa.com/t/auto-loading-things/10269/8 "2002-12-28T21:30:47Z")

</div>

oops I thought your button was a movieclip, if that’s the case then just convert your button to a movieclip since a movieclip can act as a button as well.

---

<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:** [December 28, 2002, 9:39pm UTC](https://forum.kirupa.com/t/auto-loading-things/10269/9 "2002-12-28T21:39:44Z")

</div>

converted it… still doesnt work. same error message. am i putting that code onClipEvent(load){  
loadMovie (“your\_player”, “container\_name”);  
}

into the actual button-movie clip, or where?

---

<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:** [December 28, 2002, 9:52pm UTC](https://forum.kirupa.com/t/auto-loading-things/10269/10 "2002-12-28T21:52:05Z")

</div>

After you convert the button to a movieclip, apply it to the movieclip by selecting it then opening the actions palette and pasting the code there. If it still doesn’t work then post your fla so I can take a look at 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:** [December 28, 2002, 10:04pm UTC](https://forum.kirupa.com/t/auto-loading-things/10269/11 "2002-12-28T22:04:18Z")

</div>

THANK YOU

thanks alot

do you have msn messanger or AIM?

id like to talk to you some more, maybe u could help me with soem other stuff

---

<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:** [December 28, 2002, 10:09pm UTC](https://forum.kirupa.com/t/auto-loading-things/10269/12 "2002-12-28T22:09:32Z")

</div>

Did you solve the problem? Check my profile for my AIM sn.

---

<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:** [December 28, 2002, 10:49pm UTC](https://forum.kirupa.com/t/auto-loading-things/10269/13 "2002-12-28T22:49:53Z")

</div>

yes, thank you
