Re: random sound ?

2000-11-21 Thread John Erazo
Attach this behavior to your hotspot. on mouseUp me playRandomSound end on playRandomSound -- First create a list of your sound members. set myList = ["ring", "boom","clang","beep","boink"] -- Count the number of items in your list set myCount = myList.count -- Then pick

random sound ?

2000-11-21 Thread Joao Rui
Can anyone tell me how I can create a hotspot that i could click and play a sound from a certain group randomly? thanks in advance JB __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ [To

Wav To Swa

2000-11-21 Thread [EMAIL PROTECTED]
Hi All !!! I have to convert something close to a 3000 odd .wav files to .swa Could anyone tell me of a fast way of achieving this(Using Lingo or anything else)? As of now, I first convert the files using director's Convert wav to swa Utility(25-30 files at a time), then I have to import the so

Re: Understanding timeout objects

2000-11-21 Thread Roy Pardi
At 5:57 AM + 11/22/2000, Pranav Negandhi wrote: >OKnow this is the first time I am trying out timeout >objectsand AFAIK they shoot off messages EVERY time their time >is over and then restart, right? Well, they dont work that way out >hereI could email the full script to someon

Timing and Sound results

2000-11-21 Thread Matt Lester
> > I'm looking for some feedback on the 'most' accurate & consistant > method of playing a click sound at a set tempo for a metronome style > application. Thanks to all who helped me with the timing lingo a couple of weeks back. In particular, the advice from James Newton was very helpful. In

Understanding timeout objects

2000-11-21 Thread Pranav Negandhi
OKnow this is the first time I am trying out timeout objectsand AFAIK they shoot off messages EVERY time their time is over and then restart, right? Well, they dont work that way out hereI could email the full script to someone who wants a dekko(it's about 25K, so I guess its better

Re: Text formatting

2000-11-21 Thread Colin Holgate
>I've done the same with fontsize, with the same result--the entire >cast member (and sprite) ends up the same font and spacing. The solution is to put hard returns at the end of each visual line. You can do that by using the charpostoloc() function to work out where the lines will break. Put

Re: Making a file Hide & again Visible on Macintosh.

2000-11-21 Thread Mahmood Akhtar
Hi Kerry! Bundle of thanks. The File Buddy has solved my problem. Thanks once again. Also thanks for all who helped me. Mahmood. Kerry Thompson wrote: > >If there is any way to hide a file on Mac OS > >and again make it visible. If some one other knows please help me. > > Yes, there is. I me

Text formatting

2000-11-21 Thread Kerry Thompson
First, thanks, Fumio, Mark, and Daniel for the info on duplicate(). Now I've got something that may be a bit trickier. D8, Win 98. I have a text cast member that contains a list of clues for a puzzle. The client wants some space between the clues. I'd like to just set the line height and be do

RE: Urgent need help....

2000-11-21 Thread Rees, Jonathan
Hi There is a really good book which explains all of that: Advanced Lingo For Games by Gary Rosenzweig ISN 0-7897-2331-x Loads of good stuff All the best -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Carmen Kuderer Sent: 21 November 2000 21:32 To: [EM

RE: Lists: reference vs. value

2000-11-21 Thread Daniel Plaenitz
At 21:16 21.11.2000 -0500, Mark R. Jonkman wrote: >Hi Kerry > >When you want a copy of the list and not the actual list then you would use >the duplicate function > >ie. > >wordList = gPuzzleList[gWhichPuzzle].duplicat() typo: wordList = gPuzzleList[gWhichPuzzle].duplicate() best regards daniel

Re: Lists: reference vs. value

2000-11-21 Thread Fumio Nonaka
Hi Kerry, Try: wordList = duplicate(gPuzzleList[gWhichPuzzle]) _ Kerry Thompson wrote: >wordList = gPuzzleList[gWhichPuzzle] > > later, after I place the word, I'm doing > >deleteAt wordList, 1 > > Which, to my surprise, also deletes the first item in gPuzzleList. So, I > m

RE: Lists: reference vs. value

2000-11-21 Thread Mark R. Jonkman
Hi Kerry When you want a copy of the list and not the actual list then you would use the duplicate function ie. wordList = gPuzzleList[gWhichPuzzle].duplicat() Sincerely Mark Mark R. Jonkman Mark R. Jonkman Consulting ADDRESS: 20 Windermere Crt.,

Lists: reference vs. value

2000-11-21 Thread Kerry Thompson
I think I'm copying a reference, not a value. I have a global list of lists, gPuzzleList. To arrange the words for a particular puzzle, I'm doing: wordList = gPuzzleList[gWhichPuzzle] later, after I place the word, I'm doing deleteAt wordList, 1 Which, to my surprise, also deletes the

Re: fade out sound and then jump to ...

2000-11-21 Thread Fumio Nonaka
Hi, Watch out a known bug of Director 8.0 for Windows. Playing the sound on Windows after the fade will play it silently. About the details and workaround, see the Quirk List in the updateStage site. $B!&(BQuirk List http://www.updatestage.com/buglist.html _ Ramesh CT wrote: > I came up wi

Re: Directo8 - Question.

2000-11-21 Thread mhanson
Very good. Thanks, Mark. I assumed the same, but I wanted to make sure that was correct. Someone had asked me that question earlier, and I couldn't provide a definite answer. That's why I asked the list. I figured someone would know. (Sorry about posting to the list twice. My mailclient burped)

timeoutList[i] out of range for i > 50 (..?)

2000-11-21 Thread Franco Chierchini
I keep getting a quite strange error in Dir 8 if I attempt to access the 51th timer object stored in the timeoutList, that's, for i = 51: "Index out of range (the timeoutList[i]).forget()" The code below may be used to try to reproduce the error. I roughly embedded it pretty all into a startMovi

RE: Directo8 - Question.

2000-11-21 Thread Mark R. Jonkman
That's an easy question to answer... they won't work without Shockwave 8.0rx. Anything older than that will not play back a Shockwave 8 application. Shockwave 8.x should play older shockwave files to maintain backwards capability but you can't expect an older player to understand and parse through

Re: timeout("Wish").enabled = TRUE

2000-11-21 Thread Franco Chierchini
Thanks for the definitions you posted some day ago. They are so neat that it was worth while trying to show how they well fit to a hardware device that generates e.g. a squared waveform. Thia comparison helped to reformulate my request to Macromedia in order to get some timeout object's control en

Directo8 - Question.

2000-11-21 Thread mhanson
Hello there! Hopefully somewhere here will be able to answer this question - I'm curious how Director8 authored Shockwave apps work with older versions of Shockwave. For example - if someone was attempting to play a Shockwave app authored in Director8, but their version of Shockwave was old (for

Re: RollOver Buttons?

2000-11-21 Thread Irv Kalb
At 1:19 PM -0500 11/19/00, Bob Solomon wrote: >Hi, > >I've created some rollover buttons. Here's an example of the scripts I >used. It seems to work fine the first time I open Director and test the >movie. But after I've jumped around several movies the Over State stops >working. The Down and

Re: controlling flash

2000-11-21 Thread Jose Cueto
Alessandra: The goToFrame(sprite whichFlashSprite, labelNameString or frameNumber) instruction can help you with that. Flash has its own time line, so you have to name the key frames in Flash. Example: I have a flash movie that is called example.swf, this movie plays until the button skip movi

Re: RollOver Buttons?

2000-11-21 Thread John Trentini
Hi Bob, Are you using a *shared* and linked castLib for this? It sounds like the bOver cast member is missing or has changed position whithin your castLibs. HTH John Bob Solomon wrote: > Hi, > > I've created some rollover buttons. Here's an example of the scripts I > used. It seems to wo

RE: Urgent need help....

2000-11-21 Thread Steven Sacks
>he really knows Director game programming in and out. Yeah. He's like the Bo the Director community. =) [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

Re: Urgent need help....

2000-11-21 Thread Kerry Thompson
>I need to create a memory game by christmas, Get Gary Rosenzweig's book 'Advanced Lingo for Games." He has a memory game on the CD that come with it, plus a bunch more. His book is quite good, too--he really knows Director game programming in and out. Cordially, Kerry Thompson Learning Netwo

RE: Urgent need help....

2000-11-21 Thread Robert Wingate
> The game need´nt very complicated just comparing the two > cards and then either right or wrong.. Read these http://www.director-online.com/accessArticle.cfm?id=225 http://www.director-online.com/accessArticle.cfm?id=294 http://www.director-online.com/accessArticle.cfm?id=844 Hope this gets y

Urgent need help....

2000-11-21 Thread Carmen Kuderer
Hello, I need to create a memory game by christmas, do you have any idea how to do that. I just started working with director, but I want to manage that. The game need´nt very complicated just comparing the two cards and then either right or wrong.. Can you help me. Thank you Yours Carmen [T

Re: recent links ...

2000-11-21 Thread Irv Kalb
At 9:12 AM + 11/21/00, Chandra shekar Reddy wrote: >I had an probelem when working on an CBT...in whcih my client wants >to have (recent) as one button. > >once the user visits the link. it should contain the frame in which >all the previously visited links should be present and they had to

RE: RE: Lingo-L Digest V1 #1717

2000-11-21 Thread Steven Sacks
You keep resetting your list everytime, which is why it isn't adding correctly. Perhaps a property list is best here so you only need one list to keep track of every marker. First, initialize countList in your movie script on startMovie global countList countList = [:] end Then, put this i

RE: Lingo-L Digest V1 #1717

2000-11-21 Thread Yo Gomi
Hello, Lingo-Ls Thank you for helping me out (especially Colin and Steven, thank you) every time I'm thrown into confusion. I'm in trouble again. Hopefully someone can sort me out here. I'm trying to create a field to show a history - how many times you have visited the markers. I scripted the fo

Director8 - Question.

2000-11-21 Thread mhanson
Hello there! Hopefully somewhere here will be able to answer this question - I'm curious how Director8 authored Shockwave apps work with older versions of Shockwave. For example - if someone was attempting to play a Shockwave app authored in Director8, but their version of Shockwave was old (for

controlling flash

2000-11-21 Thread apellicciari
Hi all Is it possible to controll the position of the flash movie? For example, when clicking in one button into director, this action would tell the flash movie to go to a certain keyframe(inside this flash movie) and play. thanks in advance Alessandra __

Re: Making a file Hide & again Visible on Macintosh.

2000-11-21 Thread Kerry Thompson
>If there is any way to hide a file on Mac OS >and again make it visible. If some one other knows please help me. Yes, there is. I mentioned it in my original answer, but I wasn't very specific. There's a program you can buy called "File Buddy." I think it's shareware, but I'm not sure--it's

AW: recent links ...

2000-11-21 Thread Michael von Aichberger
Hi Chandrashekar, I've done something similar just recently, maybe the explanation of what I did helps you solve your problem. I wanted to record all the movements of the user of a cd-rom (in addition to that I wanted to record the time that the user spends in each chapter, but that doesn't matte

AW: fade out sound and then jump to ...

2000-11-21 Thread Michael von Aichberger
Hi Ramesh, thank you for your efforts in providing a solution to my problem. However I am not sure how to use it. You wrote a sprite property. When the play head enters the sprte, you set the value for the duration. In your example you put 5000 and apparently you thought of this value as millise

Re: resetting Scrolling text box

2000-11-21 Thread John Erazo
try member("instructions").scrollTop = 0 John Erazo - Original Message - From: Leon McComish <[EMAIL PROTECTED]> > How do I reset the scrolled text to the top? I'm > using a fixed box with custom button to scroll up 'n' down. I've tried set > member("instructions").linePosToLocV(1) to 0

Re: fileIO prob

2000-11-21 Thread Mark A. Boyd
>i'm trying to write some info using fileIO. my routine looks like this: > >on writeFileIO whichFile, whichData >myFile=new(xtra "fileIO") >delete(myFile) >createFile(myFile, whichFile) >openFile(myFile, whichFile, 0) >writeString(myFile,whichData) >closeFile(myFile) >end

drawing lines in D7

2000-11-21 Thread Szymon Drejewicz
Hello! I use dynamically created vector shapes to create some charts for investment fund and I have question: Is there possible to draw two curves on one vector shape in D7 ? In D8 I cado this, but D7 ?! Or is in D7 some method to draw a bitmap but not by pixel by pixel, it is too slow ? In

Re: Making a file Hide & again Visible on Macintosh.

2000-11-21 Thread Neil Madsen
Mahmood... Buddy API can do this for you. I understand that you don't need it in Director, but you could create a small app that would hide/show files for you. The other option is to play with ResEdit. HTH Later. ...Neil [To remove yourself from this list, or to change to digest mode, go to h

RE: resetting Scrolling text box

2000-11-21 Thread Leon McComish
thanks Karina, that did the trick ¦:-) Leon McComish Web Developer email: [EMAIL PROTECTED] Get the best free games on the web at www.freeloader.com freeloader.com is a division of Pure Entertainment Games PLC 131-151 Great Titchfield Street London W1P 8AE tel: +44 (0)207 663 3900 fax:

Re: RE: mouseDown scrolling

2000-11-21 Thread Kurt Griffin
> Incidentally, following this thread, I built my first custom scroller and > I'm wondering how to slow down the scroll speed. I have it set to > ScrollByLine using +/- 1, but using the variable/ prepareframe method > (which, I agree, is the best) it scrolls like a mad thing. I set it to 0.5 > and

Re: Re: Making a file Hide & again Visible on Macintosh.

2000-11-21 Thread Kurt Griffin
> Sorry! I forget to mention that it is not related to lingo. It is a > general question about MacOS. > On windows we can set attributes for a file like archive, hidden, system > etc. If there is any way to hide a file on Mac OS > and again make it visible. If some one other knows please help me.

RE: resetting Scrolling text box

2000-11-21 Thread Karina Steffens
> playing with a custom scrolling box at the moment. When it's > left scrolled > to the bottom, if users leave the frame, then later return, it's still > scrolled to the bottom. How do I reset the scrolled text to The frame doesn't matter, since you're scrolling the cast member and not the frame

RE: Window media player

2000-11-21 Thread Robert Wingate
> 6)??how to without using ESC key and go next frame while the > movie end?? I now understand your question. Try this: 1) delete the script in frame 1 2) use this in frame script 2: global WMPSpr, iDuration on exitFrame me sprite(WMPSpr).Filename = the moviePath & "xx.mpg" iDuration = sp

Re: Making a file Hide & again Visible on Macintosh.

2000-11-21 Thread mine
Mahmood, You need Resedit for that Gopinath [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 prog

Re: resetting Scrolling text box

2000-11-21 Thread Roberta Beattie
Hi, I had similar problem - but cheated - I just put it in a separate movie - and when you swap between movies it refreshes it - Bertie -Original Message- From: Leon McComish <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Tuesday, November 21, 2000 12:32 PM Subject:

Re: alpha in quicktime?

2000-11-21 Thread ashanet
Does D7 recognize alpha channel of a QT Movie if yes how to use my QT is made from InfiniD ( A globe rotating[ i want only the globe visible in D7]) Thanx Gopinath [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

resetting Scrolling text box

2000-11-21 Thread Leon McComish
Hi list, playing with a custom scrolling box at the moment. When it's left scrolled to the bottom, if users leave the frame, then later return, it's still scrolled to the bottom. How do I reset the scrolled text to the top? I'm using a fixed box with custom button to scroll up 'n' down. I've trie

recent links ...

2000-11-21 Thread Chandra shekar Reddy
Hi this is chandrashekar reddy from INDIA I had an probelem when working on an CBT...in whcih my client wants to have (recent) as one button. once the user visits the link. it should contain the frame in which all the previously visited links should be present and they had to be in an order

RE: mouseDown scrolling

2000-11-21 Thread Karina Steffens
Ok, I just tested the behaviour, and a couple of minor adjustments See the scrollText handler, the gpdl[#pmText] format, and an endSprite handler, (just in case): --a generic scroll bar property ptTime, pmText, pnScroll on mouseDown me timeOut ("scrollbar").new (ptTime, #scrollText, me) end o

RE: mouseDown scrolling

2000-11-21 Thread Karina Steffens
> be detected unless you specify it in an On MouseUpOutside handler. That's very true - the simplest thing would be: on mouseUpOutside me mouseUp me end > I'm wondering how to slow down the scroll speed. I have it set to > ScrollByLine using +/- 1, but using the variable/ prepareframe method

Re: mouseDown scrolling

2000-11-21 Thread Anil
Thanks Karina... Really appreciate that... Yes the script which i was writing tends to stop everything else happening. This solves it.. Thanks again Anil Menon - Original Message - From: Karina Steffens <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 20, 2000 10:27

Re: fade out sound and then jump to ...

2000-11-21 Thread Roberta Beattie
Thanks for that tip - it worked beautifully ! - I wrote a startmovie script to set the soundKeepDevice to false - no more mix up with the sound levels ! Thanks -Original Message- From: Mark A. Boyd <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Friday, November 17,

Re: fade out sound and then jump to ...

2000-11-21 Thread Ramesh CT
At 09:16 AM 11/17/00, you wrote: >Hello everybody, > >I have an easy question to the experts here and would very much appreciate >their help: > >I am in one part of a movie. Music is playing. There is a button that leads >to somewhere else. >When this button is pressed, I want the music to fade ou