PDA

View Full Version : this.onPress replacement?


BigRedJ
10-18-2005, 04:45 PM
this is probable a stupid question, but ive got a cool image fade animation that fade the mage out and fadea a new image in every time its clicked. its got a function that is run like so:

this.onPress = pressForNext;

but i've got a seperate movie clip of some text tweens, that i'd like to use to control the images being loaded, eg rather than trigger the ani onPress, i jsut want to tall it to play?

eg a variable or something that can tell it to plat on true and set itself back to false?

I'm getting lost, can anyone point me in the right direction?

thanks

spy
10-19-2005, 02:52 AM
look for the pressForNext() function to see if u can set ur mc there...maybe the fade is base in common names for example mymc0 then u press and get mymc1 and so on.. also check if the images loaded have a linkage name in the library

oldnewbie
10-19-2005, 03:00 AM
Or attach your .fla, zipped up and in a MX only format, not MX2004...

You'd have a better chance of getting an answer if your .fla was in a MX only format, and zipped up.

You would have to save a copy of your MX2004 .fla, (using Save as...) and changing the Document type to MX only in the Save as... window.

BigRedJ
10-19-2005, 09:28 AM
will do, attached is the fla and the folder with 3 images that swap on click, basically i want the text annimation to trigger the image swap, its all clear when u see it LOL