|
|
| Nem123 2004-02-14, 2:29 pm |
| Hello
How do you get the preloader to load all the external movie clips/sound files
etc... before actually playing
At the moment i use the
If (_framesload
gotoandplay(3
else
gotoandplay (1
Its the looping preloader. How can i get this to load the external files too.
Here is the fla file:
[L=file]http://www.kumar55.pwp.blueyonder.co.uk/preloader.zip[/L
| |
| abeall 2004-02-15, 7:29 pm |
| target the external movie. say you are laoding it into a level, say, level 1.
if(_level1._framesloaded == _level1._totalframes){
gotoandplay(3)
else {
gotoandplay (1)
}
| |
| Nem123 2004-02-16, 12:28 pm |
| thanks, your a genius.
| |
| Nem123 2004-02-16, 12:28 pm |
| i have recieved this output on your code
------------------------------------------
Scene=Scene 1, Layer=load, Frame=1: Line 3: 'else' encountered without
matching 'if
else
Scene=Scene 1, Layer=load, Frame=1: Line 1: Statement block must be terminated
by '}
if(_level1._framesloaded == _level1._totalframes)
Scene=Scene 1, Layer=load, Frame=1: Line 5: Syntax error
-------------------------------------------
| |
| abeall 2004-02-16, 3:29 pm |
| so much for genius :)
if(_level1._framesloaded == _level1._totalframes){
gotoandplay(3)
} else { //notice the } added, that was missing on both our code blocks
gotoandplay (1)
}
| |
| Nem123 2004-02-16, 3:29 pm |
| genius :p
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |