TigerGirl7
Programmer
At the end of my timeline I have several buttons that all need to do the same thing: load a movie clip that contains an image.
If I wanted to load them as external swfs, that would be easy (I've done that before). What I want to do instead is load all my images at the same time when my movie loads. Then, when someone clicks on a button, the related movie clip simply appears on the stage and plays (the clip will be programmed to unload on click).
I've been futzing with this for a while with no luck. I thought I could just tell each button to load a movieclip (such as, "detail_1") using onload, but it seems that Flash always starts looking for an external SWF when I do this. Now I'm thinking I should maybe be using a container clip?
I need philosophical direction if nothing else!
These are the types of actionscripts I've been using:
myButton.onRelease=function(){
this.loadMovie(detail10, 1);
}
OR...
on (press) {
loadMovie ("detail10", 1);
}
If I wanted to load them as external swfs, that would be easy (I've done that before). What I want to do instead is load all my images at the same time when my movie loads. Then, when someone clicks on a button, the related movie clip simply appears on the stage and plays (the clip will be programmed to unload on click).
I've been futzing with this for a while with no luck. I thought I could just tell each button to load a movieclip (such as, "detail_1") using onload, but it seems that Flash always starts looking for an external SWF when I do this. Now I'm thinking I should maybe be using a container clip?
I need philosophical direction if nothing else!
These are the types of actionscripts I've been using:
myButton.onRelease=function(){
this.loadMovie(detail10, 1);
}
OR...
on (press) {
loadMovie ("detail10", 1);
}