# Loading Prob

**URL:** <https://forum.kirupa.com/t/loading-prob/96857>\
**Category:** Uncategorized\
**Created:** [December 14, 2003, 6:43pm UTC](https://forum.kirupa.com/t/loading-prob/96857 "2003-12-14T18:43:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmpk](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@gmpk](https://forum.kirupa.com/u/gmpk)\
**Post date:** [December 14, 2003, 6:43pm UTC](https://forum.kirupa.com/t/loading-prob/96857/1 "2003-12-14T18:43:23Z")

</div>

Well, to load a movie FRoM another movie I put the two swfs in the same folder. Then I goto on of the movies fla and i made a button with the action of : on (release) {  
\_root.contents.loadMovie(“Home.swf”);  
}

Where the movie with the button (main) loads the movie home. When I click on the button, nothing loads. IN OTHER WORDS, how do I made a button load another movie?

---

<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 14, 2003, 7:13pm UTC](https://forum.kirupa.com/t/loading-prob/96857/2 "2003-12-14T19:13:12Z")

</div>

Like this Gmpk

on (release)  
{  
getURL(“home.swf”);  
}

Regards Barrie

---

<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 14, 2003, 7:34pm UTC](https://forum.kirupa.com/t/loading-prob/96857/3 "2003-12-14T19:34:33Z")

</div>

THANK YOU wait it still doesn’t work…lemme send u an attachment how do i put an attachment?

---

<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 14, 2003, 8:53pm UTC](https://forum.kirupa.com/t/loading-prob/96857/4 "2003-12-14T20:53:40Z")

</div>

If you want to load the movie in a movie clip put  
[AS]on (release) {  
\_root.contents.loadMovie(“Home.swf”, “containermovieclip”);  
}[/AS]  
or in a level  
[AS]on (release) {  
\_root.contents.loadMovie(“Home.swf”, 1);  
}[/AS]  
For the attachment click post reply and then “browse” to locate your file

Ubik:)

---

<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 14, 2003, 11:23pm UTC](https://forum.kirupa.com/t/loading-prob/96857/5 "2003-12-14T23:23:52Z")

</div>

gmpk, is contents the instancename of the mc where you want to load in?

btw Ubik, your code isn’t correct:h:

scotty(-:

---

<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 14, 2003, 11:31pm UTC](https://forum.kirupa.com/t/loading-prob/96857/6 "2003-12-14T23:31:33Z")

</div>

Please say that in english…im a flash noob man

---

<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 15, 2003, 2:47am UTC](https://forum.kirupa.com/t/loading-prob/96857/7 "2003-12-15T02:47:38Z")

</div>

You must have something that holds movie which you load:

Create rectangle, select it, hit F8, chose MovieClip, click upper-left corner of registration point, name it, and OK.

Select that rectangle and in Properties name instance movieHolder.

Draw button, select, hit F8, chose Button, OK.

Select this button, right click first frame in timeline, Action, and type:

on (press)  
{  
loadMovie (“home.swf”,movieHolder);  
}

Bye!

---

<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 15, 2003, 9:27pm UTC](https://forum.kirupa.com/t/loading-prob/96857/8 "2003-12-15T21:27:25Z")

</div>

THANK YOU GUYS SO MUCH NO MORE PROBLEMs HERE!
