Loading Prob

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?

Like this Gmpk

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

Regards Barrie

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

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:)

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

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

scotty(-:

Please say that in english…im a flash noob man

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!

THANK YOU GUYS SO MUCH NO MORE PROBLEMs HERE!