Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: another question for the experts out there.... |
| From: | Cheri Harder |
| Date: | Sat, 19 Feb 2000 00:43:43 GMT |
Flash won't read the command until it "leaves" the frame, thus you need to
have two frames in the control MC...either both the same, or just "Go To and
Play frame 1" from the 2nd one...then it will continually read the keypress
At least that's how I understand it!
~~~~Cheri Harder~~~~~
charder
Advantage Web Solution
"Developing your internet storefront"
www.awsolution.com
----- Original Message -----
From: "boson au" <bau1
To: <flasher
Sent: Friday, February 18, 2000 4:16 PM
Subject: FLASH: another question for the experts out there....
>
> hey, I was that pac man game guy... thanks to all who gave me suggestions
> on collision detection and such, but I have a problem that is probably a
> LOT simpler but for some reason is stumping me.
>
> I'm basicaly trying to control the pacman's position. In main time line
> (1 frame in length),
> I have a movie called pac (instance pac), and a control movie clip that
> houses an invisible button that responds to keypresses(such as up down
> etc...) now... I have the invisible button in the "control" movie clip to
> have an actionscript that reads:
>
> On (Key: f)
> tell target ("../")
> Set Property ("/pac", X Position) = (px * 10) + 10
> end tell target
> END on
>
> (px is the collision detection variable, I'm basicaly trying to let it
> move forward everytime the key 'f' is pressed)
>
> I know there is something wrong here. I mean, it moves once. but then it
> doesn't move anymore. there shouldn't be another frame in the main
> timeline, right?
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California
-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
FLASH: another question for the experts , boson au
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

