Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: Help...my game gun is shooting blanks...
From: John Petroshius
Date: Tue, 17 Oct 2000 13:01:11 +0100

Hello flashers

I have what appears (I hope) to be a simple problem, but I've been racking
my brain and can't figure it out...

I'm developing a shoot 'em up arcade-style game (I'm stuck in Flash 4 for
the duration of the project), and I have a button instance inside an MC that
I've locked to my cursor, to be used as a gunsight...

I have a Duck MC that I'm shooting at with my gun...inside that MC are
simply two frames, each occupied with it's own MC...

the first interior MC is the Duck flapping along, the second MC is the Duck
getting shot...I have a stop action on the first frame, so the Duck flapping
continues unless interupted...

...I simply want to activate the second (Duck Dying) MC that's sitting on
frame 2 when the gunsight is clicked over the flapping Duck...

but no matter how I seem to code the button instance, I can't for the life
of me get the second Duck Dying MC to kick in when I shoot the flapping Duck
with the gunsight/cursor...

I'm using an IF statement in the button instance where if the
GetProperty/droptarget of the button instance eq the main Duck MC instance,
then a Tell Target is initiated specifying the main Duck MC instance, then I
specify just a Play command...which should get the playback head off the
Stop in frame 1, and on to frame 2...but it won't work...I can't get the
first MC to quit at all...I've tried any number of permutations using
different syntax for the Tell Target and for the GetProperty, but nothing
seems to works...any ideas would be greatly appreciated...TIA


John Petroshius


Prairie Studio
johnatprairiestudio [dot] com
847-675-5790


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]