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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sliding thumbnails with behaviours

Status
Not open for further replies.

caroline121

Technical User
Apr 6, 2003
2
GB
Hi,

I've got sliding thumbnails going up and down on the side of my stage and I can click on them so that they replicate on the stage as a larger image. My problem is that I don't want the image to come up; I need it to change frames, make a sprite visible or have a different image appear. I need to make one of these 3 options work to solve my problem.
I've already tried to give the cast members themselves behaviours but they don't register when I play the movie

I would really appreciate it if anybody has any suggestion
I’m using Director MX
My thumbnail are in cast: images and the other images that I want to show up are in cast: images 2 (in case that helps)


thanx
 
Hi,
Not sure if this helps.
For example, my thumbnail images are sprite 1,2,3.
And when I click on them, I want to do something to, lets say, sprite 11,12,13 respectively.
So, I would write:
on mouseUp
spriteIndex = the clickOn + 10
sendSprite(spriteIndex, #doSomething)
end

The idea is to arrange the sprites in an order so that they correspond. You can make use of the cast members numbers as well.
 


That would work but I forget to mention that my thumbnails are not sprites, they are brought up by a box on the stage that has a script attached commanding the corresponding thumbnails from the cast to appear and move. This means I can't give them behaviours from the stage.
 
Hi,
What do you mean by your thumbnails are not sprites?
Are they puppets or you drew them onto the stage using Imaging Lingo?

Anyway, you can attach a script to sprites using: "scriptInstanceList.add".
So, when you call them out, you can meanwhile attach a behaviour on them.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top