Hi guys , I’m new in flash and i’m having a problem using conditional statments in AS2. I’m trying to load a new image depending on the image that is allready inside the movieclip. What seems to happen is that flash isn’t verifying the statments that I have in my code and so thr images don’t load correctly acorrding to the conditions. I have a movieclip within a movieclip, the first one has an instance name “photo” and the second one is “empty”.
I’m using this code in one button:
on (release) {
if (empty == "Assets/Scroll.png", _root.photo.empty){
loadMovie("Assets/Photo1.jpg", _root.photo.empty);
} else if (empty == "Assets/images.jpg", _root.photo.empty){
loadMovie("Assets/design.jpg", _root.photo.empty);
gotoAndPlay(6);
}
}
Would someone please help me, I’m loosing my mind :krazy:
Thanks!!