View Single Post
Old 02-16-2007, 01:16 PM   #1 (permalink)
MexicanOnABike
 
MexicanOnABike's Avatar
 
Location: up north
[Flash] a few questions that i cannot find in the help.

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:
Code:
loadMovie();
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?
__________________

Last edited by MexicanOnABike; 02-19-2007 at 05:35 PM.. Reason: added question and changed title.
MexicanOnABike is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62