|
Author |
Topic: newbie question (Read 533 times) |
|
pinkwalker
|
newbie question
« on: Nov 18th, 2004, 10:10pm » |
|
Hy, i'm in a little situation. I have more than one files in mi project, and i want to play it in random . My question is how to know the state (play or stop) of each video. Anyone can help me ? cheers Gabriel
|
*************** www.pinkwalker.tk
|
|
|
fjen
|
Re: newbie question
« Reply #1 on: Nov 19th, 2004, 1:53pm » |
|
try BVideo.play ... it's not documented. my_video = loadVideo("some.mov"); void loop() { if(!my_video.play){ my_video = loadVideo("someOther.mov"); } } this is untested ... but should work. /F
|
|
|
|
fjen
|
Re: newbie question
« Reply #2 on: Nov 19th, 2004, 1:56pm » |
|
oh, another thing: if you use repeat() it's never gonna stop .. so to check it the movie is looping you could use BVideo.loop .. if (my_video.loop){ // it's looping } /F
|
|
|
|
|