Re: Slider control for flash movie in Director

2005-05-26 Thread Chuck Neal
I wrote one of these for an article I did for MXDJ. If you want the source email me off list and I can send you the sample files. -Chuck -- Chuck Neal CEO, MediaMacros, Inc. [EMAIL PROTECTED] http://www.mediamacros.com -- Check out the Developers

Re: Beachballs and repeat loops...

2005-05-26 Thread Cole Tierney
At 2:02 PM -0400 5/26/05, Thomas W.J.C. McCrystal wrote: On a whim, I tried a variation of Zav's sleep() trick, and it worked -- no beachball! Replace the "nothing" statement with sleep(1): on test loopMore = 1 repeat while loopMore if _key.keyPressed(SPACE) then loopMore = 0 sleep(1

Slider control for flash movie in Director

2005-05-26 Thread Rodrigo Reis
Hi everyone! I just signed the list, I´m having a hard time to accomplish something that seems to be easy.. i´m 24 years old, and trying to understand a little bit more about this nice program. What I´m trying to do is to create a control slider for a flash movie playing in Director, the play and

Beachballs and repeat loops...

2005-05-26 Thread Thomas W.J.C. McCrystal
The talk of repeat loops got me thinking about the FOL that staying in a tight repeat loop for more than a couple of seconds gives you a spinning beachball of death under MacOS X. (And I believe something similar on windows.) Try this: on test loopMore = 1 repeat while loopMore if _key

RE: Using repeat loops to assign values to variables

2005-05-26 Thread Johan Verhoeven
you'd better go with a list. It's easier and will have far better performance. I don't think you can use the do command since, if I'm not mistaken, you cannot initialize variables using 'do' (you can set them if they have been initialized before..).. Often when you think you need something like the

RE: Using repeat loops to assign values to variables

2005-05-26 Thread Faisal Imam
Would the following be a problem? (It's from the Director Documentation). "do Usage do stringExpression Using uninitialized local variables within a do command creates a compile error. Initialize any local variables in advance. Note: This command does not allow global variables to be declared;

Re: Using repeat loops to assign values to variables

2005-05-26 Thread Jeff Gomes
This could be accomplished with the 'do' command, but I would use a property list instead of separate variables. You can use your myVariable1, etc., as property names. As a bonus, it probably executes quite a bit faster than using 'do'. At 1003 -0400 05/26/2005, George S. Roland wrote: >I am

RE: Using repeat loops to assign values to variables

2005-05-26 Thread roymeo
You might also consider whether you really need a bunch of variables named pTwister1 pTwister2 pTwister3pTwisterN or it would make more sense to have one variable pTwisterList and make it a list holding those variables: pTwisterList = ["red", "green", "yellow"...] or a propertylist You

RE: Using repeat loops to assign values to variables

2005-05-26 Thread Mentor, Kraig
Mabye... repeat with i = 1 to 3 do "myVariable" & string(i) && "=" && string(something) end repeat ..will work for you? Kraig | -Original Message- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED] On Behalf | Of George S. Roland | Sent: Thursday,

Using repeat loops to assign values to variables

2005-05-26 Thread George S. Roland
I am sure there must be a simple way to do this, but I'm having trouble figuring out what it is. Say I have numbered variables: myVariable1, myVariable2, myVariable3, etc. Is there a way to initialize them with a loop such as: repeat with i = 1 to 3 set myVariable(i) = something end re

RE: GPDL not holding values

2005-05-26 Thread Mendelsohn, Michael
Hi Buzz and Kraig... As always, thanks for responding. I figured it out. Something happened that I've never experienced before. In my GPDL, I had a #format of #string and instead of setting the #default value to "", I set it to void. That ended up erasing all values throughout the GPDL dialog.