Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: invalid variable (newbie question) |
| From: | Randy Kato |
| Date: | Sat, 19 Aug 2000 01:18:04 +0100 |
Layney (or Erica?),
I'm surprised Atomz uses variable names with hyphens...usually best avoided for
exactly this reason. JavaScript doesn't like them either. Maybe it's
intentional?
Anyway, one way you could fake it is to build your own URL string with the
variables appended -- without having Flash send the variables.
For example, a typical Atomz search URL looks like:
http://search.atomz.com/search/?sp-q=test&sp-a=00010004-sp00000000&sp-w-control=1&sp-w=exact
You could rename the variables in Flash with underscores (or whatever) instead
of hyphens and use a Get URL like this:
Get URL ("http://search.atomz.com/search/?sp-q=" & sp_q & "&sp-a=" & sp_a &
"&sp-w-control=" & sp_w_control & "&sp-w=" & sp_w)
...and set the Variables drop down to Don't Send. This way you're using valid
variable names and just plugging the values into the URL with an expression --
oh yeah, make sure to set the URL from String (abc) to Expression (=).
HTH,
Randy
Erica Morrison wrote:
> hi,
>
> i'm trying to integrate atomz search engine into my site, but it seems Flash
> won't accept the variable names because of the hyphen (ex. "sp-q" - contains
> invalid characters). can someone advise me?
>
> tia,
> layney
--
'''''' ' ' ' ' ' ' ' ' '
Randy Kato - Web Master
Braincraft
627 Broadway, Suite 504, NYC 10012
T 212.539.1680 F 212.539.1741
http://www.braincraft.com
...... . . . . . . . . .
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 help
Replies
FLASH: invalid variable (newbie question, Erica Morrison
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

