Flasher Archive

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


Subject: RE: FLASH: Question, check if movie is already loaded
From: Mariano Vaquero
Date: Fri, 22 Dec 2000 12:01:38 GMT

You could use a variable to know if the movie is already load and not reload
it.

On (Release)
if (/:loadmovie1 = 0)
Set Variable: "/:loadmovie1" = 1
Set Variable: "z" = Substring (_name, 6, 2)
Set Variable: "prof_mona" = "professoren/" &
eval("/:prof_moviename" & z)
Load Movie (prof_mona, 10)
end if
End On


Then when you unload the movie you have to set the /:loadmovie variable = 0

I hope this code help you

-----Mensaje original-----
De: Rainer Egle [rainer [dot] egleatFH-Reutlingen [dot] DE (mailto:rainer [dot] egleatFH-Reutlingen [dot] DE)]
Enviado el: viernes 22 de diciembre de 2000 11:55
Para: flasheratchinwag [dot] com
Asunto: FLASH: Question, check if movie is already loaded


Hi all,

have created a menu in flash (dynamic), for e.g 3 Buttons. Now when I
click on a button it does following:

On (Release)
Set Variable: "z" = Substring (_name, 6, 2)
Set Variable: "prof_mona" = "professoren/" &
eval("/:prof_moviename" & z)
Load Movie (prof_mona, 10)
End On

so when I click on button1 prof_mona gets 1.swf on click of button2
prof_mona gets 2.swf and on click of button 3 prof_mona gets 3.swf.

All worked fine, but when 1.swf is already loaded and I click again on
button 1 1.swf is loaded again (playing again). Can someone help me
(what I exactly wanna do is, when e.g. 1.swf is loaded then ignore the
command Load Movie(prof_mona,10). If somebody need the source, do not
hesitate to contact me.

I hope someone understand what I mean, cause my English is bad.

Merry Xmas to all and a happy new year.

Rainer

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ flasher is
generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival November 27-29, 2000,
LONDON, National Film Theatre
Produced by United Digital Artists and lynda.com -Sponsored by
Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200 http://
www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To unsubscribe
or change your list settings go to http://www.chinwag.com/flasher or
email helpatchinwag [dot] com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Whiite square, Chris Mason

Replies
  FLASH: Question, check if movie is alrea, Rainer Egle

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