At 11/27/03 09:08 PM, thewasteofwebspace wrote:
At 11/27/03 11:43 AM, Jafit-man wrote:
- How to make objects go behind/in front of another object
i swear theWaste doesnt read this forum, here it is for the 3rd time...
Man your the one not reading the posts. The script you put up makes objects invisible -- and it doesnt have an X dependant, so even if u just walk down the scene half the trees would freakin' dissapear!
oh yeah, i forgot that. in a previous post, i said have an identical image of the tree on a layer underneath the player to give the impression that they are in front of it, then that script makes the tree on top of the player appear when they are above it, which gives the impression that they have just walked behind the tree.
and the script goes in the movieclip of each tree, replace where it says tree with 'this' adn it should be ok....
y'know what... ill just do it myself so i can be sure it works, because i havent tryed it
And I told you guys I the timeline thing. Assume this is in a Movieclip:
Onclipevent(enterframe){
_root.gotoAndPlay("scene 1", 1)
}
That should work right? well it doesnt. Try it. Dont put it in a button cuz im sure buttons work. I just cant the the MC's to do it. :(
actionscript is case sensitive, so it's:
onClipEvent(enterFrame){
_root.gotoAndPlay("scene 1", 1)
I have to go fail a drivers test now. Bubyes all.
good luck