Flasher Archive

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


Subject: RE: FLASH: Help!!
From: Ed Harvey
Date: Mon, 14 Aug 2000 14:13:38 +0100

I think you need to change you if statement to a literal string:

> if "valueyou" gt "valuecomp"
>
Ed
> ----------
> From: Cuauhtemoc Rojas
> Reply To: flasheratchinwag [dot] com
> Sent: Friday, August 11, 2000 10:59 AM
> To: Flasher list
> Subject: FLASH: Help!!
>
> Hi ....
>
> I ask for your help!!!
>
> I'm developing a game in Flash. The graphic parts were kind of
> easy ... but the "programming" parts are a nightmare.
> (and hope that I make sense, my english is not so good)
>
> I need two things:
>
> - keep an score. I made one once with telltarget actions, so
> when you have a point the movie with the score moves one frame ...
> but now the points has values ... if hits a card "5", it has
> to add 5 points, if hits a card "3", add 3 points ... and so on.
> I have movies called "5points", "3points", and so on, which I
> made because I know that only movies can have an instance name
> and you can assign actions to them ... I believe that I have to
> make a textfield that have to add the point according to which
> movie is targeted (sp?)
>
> - adding dificulty ... this is a game of the kind "you vs. the
> computer" so, when the time of the game end, it has to compare
> score. If you made more points than computer, go to scene "youwin"
> and play the movie. If computer wins, go to scene "computerwin" and
> play the corresponding movie. I have a hint that somewhere it had
> to be an action which take both values and compares them, maybe
> some kind of
>
> if "valueyou" > "valuecomp"
> Begin Tell Target ("..")
> Goto and play youwin
> End Tell Target
> else
> Goto and play computerwin
>
> I searched several web sites and read some books on Flash, but
> didn't found any help ... I ask you for help on this issues.
> I assure it will be extremely appreciated.
>
> As this being an issue of advanced actionsript ... I really want
> to know if there is a book or website which covers this issue.
> I don't know if the issues which I ask for help are really easy.
> The Flash user manual doesn't cover this really well, in my
> opinion ... Can you recomend a book or a web site??
>
> Thanks in advance
>
> Saludos
> Cuauhtemoc Rojas R.
> crojasatawt [dot] com [dot] mx
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Full flasher archive now available online at:
> http://www.chinwag.com/flasher/archive.shtml
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Full flasher archive now available online at:
http://www.chinwag.com/flasher/archive.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]