This content has been marked as final. Show 5 replies
> Script Error: Function not defined
> if preLoad(0, 1900) = true then
So look up the help for the preload command where it explains how to use
THanks for the reply,
The first thing I did was look it up in the help files, but "Preload", and "if then else statements" in help don't give me enough information to get it working, as far as my script goes compared to how help explains the lingo, it should work.
Thats why I need a few tips.
> The first thing I did was look it up in the help files, but
> "Preload", and "if then else statements" in help don't give me enough
> information to get it working, as far as my script goes compared to
> how help explains the lingo, it should work.
The preload command stops further execution until the preload has finished
(or it has filled the RAM). Do you /really/ need to preload that many
frames? It always looks like a good idea, but Director is actually fairly
good at managing that on its own. Note also that video is not preloaded:
using preload on a video makes it preload the header info, not the video.
Thanks for the reply,
I just asumed this was the most lingo-basic way of making a "loading" type preloader to load my full movie.
I usally don't have any videos in my movies, just images and sounds.
> I just asumed this was the most lingo-basic way of making a "loading"
> type preloader to load my full movie.
That isn't usually necessary as Director is usually good at loading assets
as needed, and it isn't usually desirable to potentially fill up the RAM on
the user's computer - indeed, unloading members when they're finished with
can be very helpful.
If you're doing a Shockwave movie, google for "lingo preloader". In
particular, the articles at lingoworkshop.com are useful. Then in the google
results page click on "Groups" up near the top and have a browser through
what's been written before in this ng.