Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

slide show with images

Status
Not open for further replies.

rodrop

Technical User
Dec 6, 2002
5
US
I am looking for an automated way (script or free xtra) to go through a series of about 100 images. I am just trying to make a slide show of the images without having to place markers for each new image. Any help is greatly appreciated. I am not a director whiz. Thanks
 
Are the images files in an internal/external cast, in a folder on a CD or drive or are they on a net server somewhere?
 
I was hoping I could put them in an internal or external cast. They are currently in a folder. I am flex on any options.
 
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
 
ha ha wow you just whipped that up....that would take me about ...umm...a month.
Thanks I will try it. I truly appreciate your efforts.
 
hi, why don't You try with "Cicle graphics" behaviour?

This behaviour you can find in LIBRARY>ANIMATION> AUTOMATIC
 
is there a way to use the cycle graphics behaviour or the script posted above that is controlled by the user? via buttons?

p.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top