Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: Loading music twice |
From: | Michael Galvin |
Date: | Wed, 6 Oct 1999 23:14:55 +0100 |
I have my music in a seperate .swf file which I'm loading at the
appropriate point, but now I've changed my movie file so that you can skip to 2
different points during the introduction (using labels, rather than seperate
movies)
So now I want to load the music at 2 different points, and if the timeline
hits the first instance, it shouldn't load the music again at the second
instance.
In pseudo-code, I have
set variable musicloaded=yes
load movie music.swf
at the first point. And
if musicloaded="no"
load movie music.swf
endif
at the second point. I've examined the variable, and it is being set
to "yes" at the first instance, but it's still re-loading the music movie, so
the music plays for a few seconds, stops, and starts all over again.
Is there a better way of doing this, or what am I doing wrong?
http://homepage.tinet.ie/~mpgalvin/humour.html
Because I'm worth it |
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]