Kixxe
10-20-2005, 08:00 PM
Well, im making a picture slideshow, whitch works kinda like this.
First, we have a object called "Pictures", that contains "Picture_collection" witch is tweend acros the screen. When you hold over the "Picture_collection" the tween-motion stops, and it resumes when you stop holding the mouse over it.
on (rollOver){
_this.play();
}
on (rollOut){
_this.stop();
}
Well, this part WORKS.
Anyway, inside the picture collection, there are 2 more objects. Ignoring the RIGHT one, the LEFT one("Picture_1") contains yet another object(That has no name, but it would contain the acual picture otherwise), that can be tweened acroos the screen on command.
"on the "Picture_1" object"
on (rollOver){
_this.play();
}
on (rollOut){
_this.stop();
}
Now, this script dosen't work. This script controlls the animation inside "Picture_1".
I tried using _root before, but that did'nt work, and a freind tipped of a .this... and it worked on the normal, but not the sqware.
Here is the source if it became messy...
http://www.filespace.org.nyud.net:8090/Kixxe/Will_not_work.zip
First, we have a object called "Pictures", that contains "Picture_collection" witch is tweend acros the screen. When you hold over the "Picture_collection" the tween-motion stops, and it resumes when you stop holding the mouse over it.
on (rollOver){
_this.play();
}
on (rollOut){
_this.stop();
}
Well, this part WORKS.
Anyway, inside the picture collection, there are 2 more objects. Ignoring the RIGHT one, the LEFT one("Picture_1") contains yet another object(That has no name, but it would contain the acual picture otherwise), that can be tweened acroos the screen on command.
"on the "Picture_1" object"
on (rollOver){
_this.play();
}
on (rollOut){
_this.stop();
}
Now, this script dosen't work. This script controlls the animation inside "Picture_1".
I tried using _root before, but that did'nt work, and a freind tipped of a .this... and it worked on the normal, but not the sqware.
Here is the source if it became messy...
http://www.filespace.org.nyud.net:8090/Kixxe/Will_not_work.zip