
Welcome Guest
|
#1
|
|||
|
|||
|
Hi everyone ( I advertise you, my english is not perfect ).
I'm now making my first real flash game. This game is a shooting game. I alerady set up my points counters, health bar, timer and many other things. My problems is that i'm making an "ammo bar" and something goes wrong with it. I created an invisible clickable zone over all the stage ( this is working very well ) . Now I need to make a script for my targets. I want that when we click on a target, the "ammo bar clip" go to the next frame. Here is my script: on (press) { tellTarget ("Ammo") nextFrame(); } This script work with my clickable zone over all the stage, but when I put it on one of my target an error message tell me that : Scene=Séquence 1, Layer=Cible, Frame=3: Line 2: on handlers may not nest within other on handlers on (press) { In the game when I click on a target this message pop up: Target not found: Target="Ammo" Base="_level0.instance11" Can someone can help me with this ? Thank you. Alex |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| $$$ We're paying to sponsor game designers! $$$ | Westech | Work/Job Opportunities | 7 | 03-27-2007 01:09 AM |
| Need help with my shooting game! | Northern88 | Game Programming |
6 | 06-05-2006 01:22 PM |
| Need help with my shooting game! | Northern88 | Flash MX |
1 | 05-25-2006 11:55 PM |
| Weird problem in game... | theeggman85 | Game Programming |
1 | 04-28-2006 11:11 PM |
| ATHF mini game: Trouble with shooting | Yousorrymon | Flash Games |
12 | 07-25-2004 07:59 PM |

Programming Languages



