Forums → Games → Help on Hotspot
0 | 2443 |
- 0 Replies
Showing 1-0 of 0
0 | 2443 |
would these two codes work for hotspot? i think they are for AS 2.0
onClipEvent (enterFrame)
{
if (this.hitTest(_root.Store)) { _root.gotoAndStop(2); } }
( store is the name of the clip event)
and
onClipEvent (enterFrame) {
if(this.hitTest(_root.map.char)){
_root.gotoAndStop("store"
}
}
(_root.map.char is the instance name of the user controlled character)
both are kind of similar looking i just need to know if they will work and where to put them.