How to pause external vdos to play it again after played another vdo
Hey! I have a question.
I have many external vdos which I have loaded and randomly play them once at a time by press some keyboard buttons.
Let's give vdos named a,b,c,... and picture this....
When people press a button a vdo A is playing then someone press another button or the same button the vdo B will be played immediately.
The same thing happen to vdo B if someone press any button on keyboard to play vdo C. After every vdo has been played, the program will set all the vdos back so people can play it again now but, I do want it to play in exact same point where it left.
Right now, my code can ramdomly play all the vdo without repeat them untill it plays them all. But I know because I REMOVE the vdo out so that's why the program don't play it again like this: var NewStore:Array = VdoStore.splice(i,1);
I think this way can't make a program to remember the vdo's timeline. But I don't know whatelse can I do to do what I want.
Anyway,
Someone tell me to try out some index to the array and add ++ after playing. Then after index is more than Array's length, just reset index to 0 again.
So...Any suggestion on how to pause many external vdos??