I would greatly appreciate any help on this dilemma.
What I am trying to do is use four movie clips as buttons to load and unload different .swf files into an empty movie clip on the stage.
The first portion of code is what is in my buttons and the second part is what is on my main timeline calling the swf files to load in the empty movie clip called container.
What am I missing?
Do I have it all wrong?
My movieClip button code:
// Create clip
this.createEmptyMovieClip("button1",2);
//Add Text
this.button1.createTextField("submit_txt",1, 0, 0, 50, 20);
this.button1.submit_txt.text = "Movie #1";
//define Button
this.button1.onRelease = function() {
}
On the main time line I have the following code:
on (press) {
function container(){
}
_root.createEmptyMovieClip("container",25);
loadMovie("ex_1.swf", "container");
container._x = 200;
container._y = 50;
}
What I am trying to do is use four movie clips as buttons to load and unload different .swf files into an empty movie clip on the stage.
The first portion of code is what is in my buttons and the second part is what is on my main timeline calling the swf files to load in the empty movie clip called container.
What am I missing?
Do I have it all wrong?
My movieClip button code:
// Create clip
this.createEmptyMovieClip("button1",2);
//Add Text
this.button1.createTextField("submit_txt",1, 0, 0, 50, 20);
this.button1.submit_txt.text = "Movie #1";
//define Button
this.button1.onRelease = function() {
}
On the main time line I have the following code:
on (press) {
function container(){
}
_root.createEmptyMovieClip("container",25);
loadMovie("ex_1.swf", "container");
container._x = 200;
container._y = 50;
}