Something like this (untested). In a movie script:
global glFrames
on startMovie
glFrames = [3,6,4,7,8,1,9,2,10,5 ] -- what ever order you want
GoNextFrame()
end
on GoNextFrame
-- error check, or go some ending frame
if count(glFrames) = 0 then
alert("No more frames available")
return
end if
nextFrame = glFrames[1]
deleteAt(glFrames, 1)
go nextFrame
end
Then write this one behavior, and drag it to each of those frames:
on exitFrame
GoNextFrame()
end
Only problem is that startMovie runs after painting frame 1, so you
sould probably have some generic graphic in frame 1, and not include
frame 1 in your list.
Good luck,
Irv
At 3:59 PM -0400 4/13/01, Mel Kloscheim wrote:
>Hello
> Is it possible to list a few frame numbers in a script and
>have the script
>execute that order.
>For example, in the regular movie the playback head movies frames
>1,2,3,4,5,6,7,8,9,10
>Is it possible to write a script that made the frames change to this order?
>Frame 3,6,4,7,8,1,9,2,10,5 ?
>
--
Lingo / Director / Shockwave development for all occasions.
(Home-made Lingo cooked up fresh every day just for you.)
[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 programming Lingo. Thanks!]