How can I play flash file using a loop and an array?
I'd tried to use this code but it only plays the last one, it didn't play the first one.
for example:
flashArray(0) is C:\Documents and Settings\John-no\Desktop\flash1.swf
flashArray(1) is C:\Documents and Settings\John-no\Desktop\flash2.swf
flashArray(2) is C:\Documents and Settings\John-no\Desktop\flash3.swf
vb Code:
For x = LBound(flashArray) To UBound(flashArray)
swfCE.Movie = flashArray(x)
swfCE.Play
Next x
Re: How can I play flash file using a loop and an array?
Try
Code:
For x = 0 To UBound(flashArray)
Re: How can I play flash file using a loop and an array?
I've tried it, but, it returned the same output like mine. =(
Re: How can I play flash file using a loop and an array?
Have you put a break in the code and stepped through it?
Could it actually be playing them but so fast that it only appears to be playing the last one?
Re: How can I play flash file using a loop and an array?
Yes, I've already tried it also, but according to my observation, the program finishes first the loop before playing the swf file which is the last one. =(
Re: How can I play flash file using a loop and an array?
Is there any other way to play swf movie files simultaneously by only using one shockwave flash control?
Help. Thanks!