Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: Loop While advice |
From: | yan |
Date: | Thu, 12 Aug 1999 15:16:23 +0100 |
Hi List,
I wonder if the collective brain would be kind enough to have a look at
my inelegant Action Script solution and perhaps suggest an alternative.
I'm building a commercial Flashed site at present which is at:
http://www.e-sites.co.uk
It's just over 100k.
There is a section called 'What We Can Do For You' which poses a
question to the browsee and which they respond to by turning on up to 4
checkboxes. This is essentially 16 possible outcomes.
Depending on which ones were clicked defines one of 4 new scenes that
they could be taken to.
ie . Button1 and Button2 take you to NewScene1 but if Button1, Button3
and Button4 are clicked that takes you to NewScene4
I have solved this the straight-forwardly, obvious way (to me) by having
16 If/Else If statements.
This is very clumsy and I have a feeling I could somehow use Loop While
to cut down on some of the scripting.
This concept is, however, slightly out of focus in my minds eye and I
have a feeling I would need to start extracting Substrings to compare
results and so forth none of which I've done before.
Any thoughts/advice would be greatly appreciated.
Keep up the good work
Cheers
Yan
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managershocker [dot] com
Replies
Re: FLASH: Loop While advice, Paul Kaiser
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]