on begin Sprite --all set into a score-script, behaviour
startTimer
end beginSprite
on enterFrame
if the timer = 3 * 60 then --could be altered to whatever, now in seconds..
alert Director -- do the stuff..
else
go to the frame
end if
end enterFrame
on exitFrame
go to the frame
end exitFrame
hi there,
does anyone out there know how to have director pause for a specified period
of time while the processor is running? I would like it to iterate a loop
after pausing for a certain number of ms.
thanx!
Ramesh,
I would probably use go the frame instead of pause, but if you
really
What I'd really like to see is a shared code-base and consistent
object-model between both Flash and Director. If both of them used the same
low-level rendering engine (which Lingo would have access to, of course,
through imaging Lingo) and could each access any property of any object in
either
Hello,
Is it possible to return the result of a recursive loop to the handler that
called the loop, instead of to the previous instance of the handler itself ?
I am not sure the question is accurate, but you can check out what I mean
with this example-moviescript.
on startMovie
myList = [5,6,7]
Sure, you can do recursion.
However, if you want to pick up the result, you'll have to do it when you
call, as in:
myResult =createList(oldList, newList)
Then do whatever (add it to the other list, pass it back, etc.)
At 07:09 AM 11/27/02, Erik Phalet wrote:
Hello,
Is it possible to return
Hello,
Is it possible to return the result of a recursive loop to the handler that
called the loop, instead of to the previous instance of the handler itself ?
I am not sure the question is accurate, but you can check out what I mean
with this example-moviescript.
on startMovie
myList = [5,6,7]
THX for the quick reply, Tab !
Andreas, I am using recursion in a project where I use DOM-lingo to work a
bunch of XML stuff.
A recursive setup can simplify things there, and is sometimes (as far as I
see) the only solution.
sincerely,
Erik Phalet
Tel * +32-(0)2-751 45 29
GSM * 0473
Erik Phalet [EMAIL PROTECTED] wrote:
If I put a breakpoint on the line return propertyList, I see what is
happening, but how can I pass my return value through this stack ?
Hi Erik,
You're almost there:
on createList oldList, newList
if not ilk(newList,#list) then
newList = []
end if
Rob,
Would you know if nested director movies get a similar support?
Keep on bugging Macr for this cause they might notice for the
next release.
I've done that since D8 Beta
All your off stage elements should not be showing up unless you have
your LDM (linked director movie) sprite set to
THX for the quick reply, Tab !
Andreas, I am using recursion in a project where I use DOM-lingo to work a
bunch of XML stuff.
A recursive setup can simplify things there, and is sometimes (as far as I
see) the only solution.
sincerely,
Erik Phalet
OK, I guess you're right. It doesn't make
This week, Macromedia announced the release of Director MX.
This new version, which now offers Mac OS X support, is a
great development platform for Flash users and other
multimedia professionals who need advanced interactivity,
off-line delivery and boundless possibilities through
third-party
Obvious natural progression? Not really. Director has always been a
platform for creating high-end multimedia apps/presentations that's also
robust enough to also support custom application development of varying
kinds. Flash has always been an animation platform with coding added so
that it's
In a dictionary application, the user clicks on a word, thus a variable
called gLookup is populated with that word
I am then swapping the definition sprite with that new word
On mouseUp me
sprite(15).member = member gLookup
End
The problem is when a definition isn't in the cast. How do I
The problem is when a definition isn't in the cast. How do I write the
error checking to compensate?
You can check the number of member without throwing a script error:
-- Welcome to Director --
put the number of member not found
-- -1
put the number of member some existing member
-- 18
--
This is an old problem, because the act of checking for the castmember
results in the error itself.
There are a couple of solutions, but I would suggest that at the beginning
(depending on how many words you have) you build a list of all available
words. Then, you check against that list.
I've never noticed a performance hit with static flash sprites, only ones
that are animating..
I've found that if the score knows they are static, that's true. I.e., if
the sprite or the member is marked as static.
If you set the static property through Lingo, though, I think the
In a dictionary application, the user clicks on a word, thus
a variable called gLookup is populated with that word
The problem is when a definition isn't in the cast. How do I
write the error checking to compensate?
Sharon,
Prior to setting the member of sprite(15) you should check to
hi,
I' ve tried to put transform(n1,n2,n3, ... ,n14,n15,n16) in the variable
tTransform, Like this: (in message window)
tTransform = transform(0.4872,-0.0562,0.,0.,
0.0795,0.1722,0.7071,0., -0.0795,-0.1722,0.7071,0.,
19.2884,1.7649,4.2426,1.)
Like in the 3D Lingo Help
18 matches
Mail list logo