I just wiped something up that might help you if your working from a cast within or linked to you movie.
I'll admit that it's a bit long winded but it works ok.
-- MOVIE SCRIPT ----------------------------------------------
global gMemberList
on startmovie
slideShow
end startmovie
on slideShow
-- take command of sprite N°1
puppetSprite 1, TRUE
-- create a linear list of all the image member numbers in the cast 'images'
gMemberList=[]
repeat with i = 1 to the number of members of castLib "images"
gMemberList.append(i)
end repeat
-- display 1st slide
Slide = gMemberList[1]
ShowSlide Slide
end slideShow
on ShowSlide Slide
startTimer
-- affect a bitmap (from cast 'images') to the sprite
sprite(1).memberNum = member(slide, "images"
-- position the image in the center of the stage
stageWidth=the stageRight-the stageLeft
stageHeight=the stageBottom-the stageTop
sprite(1).loc=point((stageWidth/2),(stageHeight/2))
end ShowSlide
on ChangeSlide
-- get the current member number of sprite 1 & add 1
n = sprite(1).memberNum +1
-- verify that we're not at the end of the list
-- if we are then = reset @ 1
if n = gMemberList.count + 1 then n = 1
-- call the ShowSlide handler & declare the image to display
ShowSlide gMemberList[n]
end ChangeSlide
-- FRAME SCRIPT ---------------------------------------------------------
-- place thice script in frame 2 (avoid frame 1) of your movie
on exitFrame me
go the frame
if the timer >= 60 then ChangeSlide
end