|
-
Jun 16th, 2008, 04:45 AM
#1
Thread Starter
Addicted Member
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
-
Jun 16th, 2008, 07:01 AM
#2
Re: How can I play flash file using a loop and an array?
Try
Code:
For x = 0 To UBound(flashArray)
-
Jun 16th, 2008, 07:06 AM
#3
Thread Starter
Addicted Member
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. =(
-
Jun 16th, 2008, 07:08 AM
#4
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?
-
Jun 16th, 2008, 08:00 AM
#5
Thread Starter
Addicted Member
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. =(
-
Jun 17th, 2008, 07:08 AM
#6
Thread Starter
Addicted Member
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!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|