function onLoad(){
trace(“Calling SetInterval”);
setInterval(this,“resizeImage”,1000);
}
function resizeImage() {
}
Why is this setInterval not working? I am using this code within a class.
Thanks :thumb:
function onLoad(){
trace(“Calling SetInterval”);
setInterval(this,“resizeImage”,1000);
}
function resizeImage() {
}
Why is this setInterval not working? I am using this code within a class.
Thanks :thumb:
From where I’m standing there is nothing in the resizeImage function but I’m assuming that you didn’t post the entire code, so could you?
I think what the problem is that the movie clip that I have assigned that class to. I am loading in a jpeg to that movie clip. Which now according to my reading Flash Help wipes all the code associated with my movie clip? So nothing in my class will work.
What I want to do it.
Load a jpeg into a movie clip, when the jpeg is loaded resize that movie clip.
I want to do this will attach numerous movieclips to the stage at the same time
If I were you I’d load the image into an empty movie clip within the movie clip with the class association.
can you check then if its loaded? and do a preloader and all that?
got it to work :tb: yay thanks for that
:: Copyright KIRUPA 2024 //--