jax wrote ---------------------------------------
... I want to accomplish is to allow the user to select from several groups
of 
images in the cast (pictures from different cities) for example. I Have 
created a drop down menu for this purpose. There is also a second drop down 
menu to allow the user to choose the kind of transition "effect" they would 
like to use between each picture. I know that transitions can be puppeted 
easily enough, but how could I go about generating the chosen group of 
pictures into a slide show with the chosen transition??
--------------------------------------------------

Jax,
I would create a property list for this functionality.  Something like
[#Paris: 03, #Venice: 37].  This list will build as user makes selections.

Then to playback, I would use a script similar to this.  global myShowList
is referring to this user built list


on advanceToNextSlide 
  global myShowList
  if myShowList = [:] then
    --no pictures remaining
    beep
  else
    myCity = myShowList.getPropAt(1)
    myTransition = myShowList[myCity]
    myImageName = myCity.string
    
    myCitySpriteNumber = 3  -- or the sprite number you have choosen to show
the pix
    sprite(myCitySpriteNumber).member.name = myImageName
    puppetTransition myTransition, 4, 4, TRUE
    
    myShowList.deleteAt(1)
  end if
end

HTH
Jim
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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!]

Reply via email to