[games_access] flash game help?

Charlie Jackson cataclysmicknight at gmail.com
Mon Aug 13 21:46:52 EDT 2007


Howdy howdy Robert!

What is it youre trying to get it to do when the player presses the
mouse? Or are you saying you want to use a keyboard key to do it? If
you're using the mouse, then in the MC you'll need to put the

on(release) (or press in your case, I suppose) {
     gotoAndStop(frame_name_in_quotes_or_number); (or play, depending)
}

If you're using a key instead, you'll need to use a keyListener, and
if you don't want auto-fire, then you'll need to code a timer
inbetween presses (there may be code already one but I prefer to write
this myself to set up the timing).

Then when whatever the key is is used, go:

mcName.gotoAndPlay(frame_name_as_above);

Does this help at all? Feel free to get a little more specific or
email me offlist also :)

On 8/13/07, Robert Florio <arthit73 at cablespeed.com> wrote:
> Hey, I know I'm a game designer but programming and scripting really
> scrambled my brain.  I'm the artist on that side of the design.
>
> Working on a little flash game where you trigger a button and it plays to
> weapons butI can't get it to play when you click on the button I created.
> Can someone let me know how to do this?  If you don't mind?  I know how to
> set up movies and buttons I just don't know what to do to get them to click
> and then play.  I've tried everything but it just won't work.
>
> on (press) {
> gotoAndPlay("AnimationName");
> }
>
> That is the script I entered but it won't work.  Unless I'm putting in the
> wrong place or layer.
>
> -----Original Message-----
> From: games_access-bounces at igda.org [mailto:games_access-bounces at igda.org]
> On Behalf Of David Colven
> Sent: Friday, August 10, 2007 4:20 PM
> To: IGDA Games Accessibility SIG Mailing List
> Subject: [games_access] Out of Office Reply
>
> I will be out of the office until 22nd August.  If your enquiry is urgent
> please phone 01865 759800
>
> David Colven
>
> _______________________________________________
> games_access mailing list
> games_access at igda.org
> http://seven.pairlist.net/mailman/listinfo/games_access
>
> _______________________________________________
> games_access mailing list
> games_access at igda.org
> http://seven.pairlist.net/mailman/listinfo/games_access
>


-- 
Crush the Critters: a Whack-a-Mole adventure for your feet!

THE BETA IS LIVE!!!! http://www.hedonismgames.com/beta/index.html



More information about the games_access mailing list