What is wrong with this code?
pink.onPress = function() {
loadMovie('sushi.gif', '_root.currentpict');
};
I want to load an image from a file that is in the same folder as the .swf. The target is "currentpict" which is the instance name of a movie clip (with one frame) that is located in the main timeline.
Something happens when I press the "pink" button, the movie clip "currentpict" disappears, but the image "sushi.jpg" does not take its place
kim
pink.onPress = function() {
loadMovie('sushi.gif', '_root.currentpict');
};
I want to load an image from a file that is in the same folder as the .swf. The target is "currentpict" which is the instance name of a movie clip (with one frame) that is located in the main timeline.
Something happens when I press the "pink" button, the movie clip "currentpict" disappears, but the image "sushi.jpg" does not take its place
kim