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
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
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
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
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
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;
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
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
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,
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
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.
11 matches
Mail list logo