I got this code
Code:
if (songmax.text == uvr_max.text)
{
songmax.text = 1;
}
else if (songmax.text !== uvr_max.text )
{
songmax.text = Number(songmax.text) + 1;
}
}
basicly, everytime someone pushes the button, it should add 1 to the dynamic text until it's equal to the other dynamic text and when it's equal, it should return to 1. now why is my if and else if not working? this way, it gets to being equal and then it just keeps counting up. like the IF was never there. i can give more info if you don't get it.
==================================
added questions:
using:
I'm importing a swf in my movie and i need to be able to control it.
let's say this swf has 10frames, and with 1 button i need to stop when i want. how would i do this?!
i also need to find the file when it's loaded:
I have to find out how many frames there are. is that possible?
basically i need to know how to control a loaded movie in every way possible.
and if you don't know, can you tell me what would i do to find this in the help?