aj10101
asked on
LoadMovie
Dear Experts,
I am currently using loadmovie() to show a jpg image in my project. I have 4 buttons in my project. Each button loads a jpg file into the movie. My problem is that for some reason I have to click on the button twice to get it to load the new jpg. When I click the first time the original jpg disappears. When I click again, the new jpg loads. What am I doing wrong?
AJ
I am currently using loadmovie() to show a jpg image in my project. I have 4 buttons in my project. Each button loads a jpg file into the movie. My problem is that for some reason I have to click on the button twice to get it to load the new jpg. When I click the first time the original jpg disappears. When I click again, the new jpg loads. What am I doing wrong?
AJ
post your code
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
on (press) {
unloadMovie "original.jpg");
loadMovieNum ("newjpg");
}
this will do in one click.
or if can show your code it will be of more help.
unloadMovie "original.jpg");
loadMovieNum ("newjpg");
}
this will do in one click.
or if can show your code it will be of more help.
ASKER
Thanks blue-genie,
Worked like a charm!
AJ
Worked like a charm!
AJ
:-) good stuff.
blu
blu