PDA

View Full Version : how do i load an external swf with a button


ASG
12-30-2005, 09:04 PM
how can load an swf using a button i know i start with something like this

on (release) {
getSwf ("name");
}

but i dont think that is exactly correct

Flash Gordon
12-30-2005, 09:27 PM
on(release) {
_root.createEmptyMovieClip("container", 99);
_root.container.loadMovie("yourSWF.swf");
//or
loadMovieNum("yourSWF.swf", 1);
}

ASG
12-30-2005, 10:54 PM
on(release) {
_root.createEmptyMovieClip("container", 99);
_root.container.loadMovie("yourSWF.swf");
//or
loadMovieNum("yourSWF.swf", 1);
}

thanks that helps with two projects i am working on now that i see it