| Ultrashock Forums
• random background when loading website |
|||
![]() |
||||
| Search this Thread | Thread Tools | Display Modes |
|
|
|||||||||||||||||||||||||
![]() |
Ultrashock Member Comments:
|
2003-05-12
#2 |
||
|
|
|
2003-05-12
#3 |
||
|
thanks for the quick reply, does the code go within the movie clip or on a controller on stage. the output works randomising the number of the image, however it's not loading it. I'm not sure whether this would be due to me having gifs and different names....but I've changed everything to show the below" myExtension = random(7) trace(myExtension) loadMovie ("REFLECTIONS_MAIN0" add myExtension add ".gif", "myMc"); |
|
|
2003-05-13
#4 |
||
|
Flash does not support gifs. Only Non-progressive jpgs. To support gifs, the player would require a decompressor which would increase the player's download time. |
|
|
|
2003-05-13
#5 |
||
|
thanks for that, I'll change all my images to jpegs. I did work out a way of loading them at random, but it seems to be very slow and this must be the reason why. |
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|


4 comments
| 506 views


Linear Mode
Then, create four or so jpgs called mymovie1.jpg, mymovie2.jpg, etc.
myExtension = random(5) trace(myExtension) loadMovie ("myMovie" add myExtension add ".jpg", "myMc");