Ask a Question related to Macromedia Director Lingo, Design and Development.
-
Schiemer webforumsuser@macromedia.com #1
Can a film loop play once, then loop on the last frame(s)?
I need a film loop to play once, then loop playback on the last frame so I can keep the LOOP of the film loop set. This will allow the tell commands embedded inside buttons in the film loop to work, but allows me stop stop other things, like movement from occuring.
Here is the help i got from Chuck Neal, but i can't get it to work when applied as a behavior to the sripte channel holding the film loop.
-----
Actually, yes. You can make your own controller...
property spriteNum
on exitFrame me
tell sprite spriteNum
f = the frame
l = the lastFrame
end tell
f = f + 1
if f > l then f = 1
tell sprite spriteNum to go to frame f
end
-Chuck
--------------------------
Chuck Neal
CEO, MediaMacros, Inc.
-----
The reason for this request is for this website:
[url]http://www.smmlv.com/cologate2[/url]
The top button bar that opens and closes on mouseDown of a button is made with 3 film loops. 1 loops endlessly, thus the tell command for the rollovers work when the website starts. But, the second Film loop to close the menu bar and the third to open the bar need to stop at the end, but if the film loop is set not to loop, allowing this to happen, the tell commands don't work. So, i need the film loop to play once and loop only on the last frame or frames to allow the tell commands to continue working and the movement to stop.
Any other ideas would be appreciated and thanks to Chuck for the starting point.
Tom Schiemer
[email]tom@smmlv.com[/email]
[url]http://www.smmlv.com[/url]
Schiemer webforumsuser@macromedia.com Guest
-
End of film loop
Is it possible to check the end of a film loop? My situation is: I have a "looping" film loop and when i press the mouseDown i change the member... -
Film loop rollovers working with tell sprite, but only if Loop is checked
on mouseWithin me cursor 280 tell sprite 40 --the sprite containing the film loop sprite(60).member = member("networkmapsbuttonroll") --swapping... -
Using Film Loop For Mouse Over - Why does it play only once?
If you change the member rather than just hiding the sprite the film loop will restart each time. Something like. property spritenum on... -
Urgent: Repeat loop and Film loop clash!
Hi All, Scenario I have a script running in which the spelling which was typed in by the student is corrected. The alphabets are moved to... -
go to another stage frame inside a film loop crashes director mx
Hi, I have a problem with film loops and "go to frame" and I'm not sure if I'm doing something wrong or simply it can't be done. I have several...



Reply With Quote

