Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: Loading music movie twice (again)
From: Michael Galvin
Date: Sun, 10 Oct 1999 18:32:50 +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?
 
Michael
 

Replies
  Re: FLASH: Loading music movie twice (ag, Marc Hoffman
  Re: FLASH: Loading music movie twice (ag, 2Nerotik
  Re: FLASH: Loading music movie twice (ag, Cheri Harder

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]