Flasher Archive

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


Subject: Re: FLASH: Question, check if movie is already loaded
From: Muzak
Date: Fri, 22 Dec 2000 11:47:48 GMT

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

do the same for the other two buttons, but use:
2nd button

If (mv_Loaded ne "2")
Set Variable: mv_Loaded = "2"
...

3rd button

If (mv_Loaded ne "3")
Set Variable: mv_Loaded = "3"
...

I hope I got that syntax right.
HTH,
Muzak

----- Original Message -----
From: "Rainer Egle" <rainer [dot] egleatFH-Reutlingen [dot] DE>
Subject: 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


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

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