--
On Tue, 19 Sep 2000 10:29:30
Hi Florian,
Firstly thanx a million for the help . I hope it works.
The reason why i placed four fields was that i wanted to give rollovers on the
individual file names. Is there a way of giving rollovers to the text in a list ( the
file names will be different every time).
I have one more query : Is it possible to give hyperlinks to a scrolling text field?
Thanx once again
Manisha
_________________________________________________________________
Florian Bogeschdorfer wrote:
>Hi Manisha,
>
>I would not store the 5 desired movies in 5 fields, I have put them in
>one called "playField". Replace that name with Your name. If you need 5
>fields you would first have to combine them in another field. Use
>something like member("playfield").text=member("your1").text & RETURN &
>member("your2").text & . . .
>
>here is some code for you:
>
>1)
>place a "PLAY" button with the following script:
>on mouseUp
> buildPlaylist
>end
>
>2)
>create a movie script with the following script
>
>global gPlaylist, gPointer, myMIAW
>
>on buildPlaylist
> lReference=["Hallo Welt":"movie1.dir", "My movie is my
>castle":"movie2.dir","another movie of 50":"movie3.dir","In
>Trouble":"movie4.dir","This is not America":"movie5.dir","Whole Lotta
>Rosie":"movie6.dir"] -- this is a list of names and filenames of your movies
> gPlaylist=[]
> repeat with i=1 to the number of lines in member("playField").text --
>replace "playField" with the
> -- name of your text member
> append(gPLaylist,getAprop(lReference,member("playField").text.line[i]))
> end repeat
> advanceFilm
>end
>
>on advanceFilm
> if NOT gPointer then
> gPointer=1
> else
> gPointer=gPointer+1
> end if
> if gPointer>gPlaylist.count then
> -- do whatever you want to da after your films have played
> exit
> end if
> film=gPlaylist[gPointer]
> if NOT objectP(myMIAW) then
> set myMIAW to window film
> --define rect and windowtype here
> open myMIAW
> else
> tell myMIAW to play movie film
> end if
>end
>
>3)
>place the following script in the last frame of every movie which is
>supposed to play in the MIAW
>
>on exitFrame
> tell the stage to advanceFilm
>end
>
>
>It's not fully testes but it should work.
>
>regards, Florian
>
>Manisha Sinha schrieb:
>>
>> Hi list,
>>
>> I urgently need your help for the problem i am facing.
>>
>> Lets say i have got five fields and five random names ( from a given of around 50)
>could be added in the fields. All the randomly added names refer to a different
>director file.
>>
>> Now what i want is that on clicking a play button, these director files ( refer
>five fields)should play in a sequence and after the last file is over it should come
>back to the main screen. i want the files to play in a MIAW.
>>
>> Hoping to get a quick response.
>>
>> Thanx
>> Manisha
>>
>> Get your FREE Email and Voicemail at Lycos Communications at
>> http://comm.lycos.com
>>
>> [To remove yourself from this list, or to change to digest mode, go to
>> http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
>> email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
>> Lingo-L is for learning and helping with programming Lingo. Thanks!]
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
>email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo. Thanks!]
>
>
Get your FREE Email and Voicemail at Lycos Communications at
http://comm.lycos.com
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]