hello I am making my first game i don’t have very much experience programing I need some help
any help is very much apreciated
thanks here is the fla attached=)
hello I am making my first game i don’t have very much experience programing I need some help
any help is very much apreciated
thanks here is the fla attached=)
hm… nice fla… what’s supposed to happen? whats not working? :-\
its a simple game , when the person gets to the key the person will drag it and when the key hits the door it’s supposed to go to the (“the”) frame
Just paste this code on your Key movi clip[AS]onClipEvent (enterFrame) {
if (this, hitTest(_root.door)) {
_root.gotoAndStop(2);
}
}
[/AS]
thanks man
you’re my heroe
You’re welcome
I have a question about the hitTest syntax: I know [AS]_root.movieclip.hitTest(_root.whatever);[/AS] is correct, but what about the comma ? [AS]if (this, hitTest(_root.door);[/AS] will that work too ? I mean, I know about the dot, but I’m not sure about the comma …
I looked it up in the actionscript dictionary and it didn’t say anything about a comma …
mmmm
always learning something new,
i didn’t know about the dot but
yes it works with the comma or atleast in
flash mx
Voetsjoeba, I actually meant to use “.” but i accidentaly used “,”
Cant explain dat too :-\
i have updated you thing for you
thanks alot i apreciated :trout: :beam:
:: Copyright KIRUPA 2024 //--