Hello,
I have only been using flash for 4 days so excuse my Excuse the crap syntax, I cannot remember my actual code and I am only interested in the concept for the moment.
Anyway, I have some buttons that call a main function called ‘status’ and set a variable (image) that is the file location of a jpeg. The jpeg (loaded into a MC called myclip) scrolls down after it has loaded by calling a function called movedown and back where it originated with a function called moveup.
Another jpeg cannot load until the original has scrolled back up, this is all done by the ‘status’ function checking if the jpeg has scrolled down by true or false, and if it has (true) it makes it scroll back up to its starting position before it loads in the next jpeg and so on.
kind of like this:
If down = true
function moveup()
else
loadmovie (image.myclip)
function movedown
The move up function sets: down=false
the movedown function sets: down=true
The problem is that flash hangs when I run this. I believe that the true and false variables are just creating an endless loop, so how could I do this and make it work?
Cheers!