Flasher Archive

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


Subject: RE: FLASH: ASP problems
From: mbain
Date: Fri, 1 Oct 1999 07:11:09 +0100



What is it that the ASP does ?

Does it send variables back to the flash movie ..if it does, remember the
following ......it must send the output back in the
"variable=value&variable2=value2& etc etc...

For instance:

if you want to send the variable "name" back with the value "michael"
and "surname" with the value "bain"
then do something like this... (and i am not too great at this scripting ...but
you'll get the idea ...sorry for syntax errors, i am trying to convey the
concept)

<%
' this variable puts them in the proper format ...tie ..."the variable name"
and " = " and the value of the variable name and a ' ' "&" etc etc

output = ("name"&"="&name&"&"&"surname"&"="&surname)
Response.Write(output)
%>

tHIS WILL GIVE THE OUTPUT:

name=michael&surname=bain

Great ...the moment that happens, flash sees the variables ...and their values
and will be displayed here they are defined in sap.

if you wanna output like a search ..with more than one record of output you put
in a counter ....and add the counter after the variable

in pseudocode i mean output =
variableandcounter=value&variableandcounter=variable etc etc
then for the next record increment the counter by 1

the result would for example be:
name1=michael&surname1=bain&name2=john&surname2=smith&etc ....thus simmulating
ar array ...and the variables can all be displayed in flash ..... :o)


Does this help or did i just confuse the hell out of you ???????????



Michael Bain
"(A)bort (R)etry (I)nfluence with large hammer"
IBM Global Services, Tel external: 011 302 7234, Tel ext internal: 11120,
Cel.Phn: 082 926 1856
------> http://www.futuredynamics.co.za/cyberbaby/babym.html


Greg Bueltmann <gbueltmannatn2nsolutions [dot] com> on 09/30/99 09:05:26 PM

Please respond to flasheratchinwag [dot] com

To: "'flasheratchinwag [dot] com'" <flasheratchinwag [dot] com>
cc: (bcc: Michael Bain/South Africa/IBM)
Subject: RE: FLASH: ASP problems




The suggestions received have been very helpful and I was suffering from the
common misconception that "Load Variables" only got variables from a file.
I'm close to getting this to work, but still no cigar.

I'm not sure what level I should specify in the location. I have tried 0,
1, and "/." I don't know what "/" does, but I saw it in one of the
examples. My action is as follows...

On (Release)
Load Variables ("survey.asp",0,vars=POST)
Go to and Stop ("Thank you")
End On

I've checked and re-checked all the variables and made sure they are
correctly spelled and that the capitalization matches and I've tested my
.asp script to make sure it works with an HTML form. Still not working.

A couple of questions...

1. Does it matter if I have any HTML attached to my ASP script? To test
using HTML I have been inserting HTML after the script in order to see
results.

2. What does "/" mean in the location level?

3. What else should I look for to figure out why this isn't working?

Many thanks,

Greg

> -----Original Message-----
> From: mbainatza [dot] ibm [dot] com [mbainatza [dot] ibm [dot] com (mailto:mbainatza [dot] ibm [dot] com)]
> Sent: Thursday, September 30, 1999 12:53 AM
> To: flasheratchinwag [dot] com
> Subject: Re: FLASH: ASP problems
>
>
>
>
> THE "load variables into location" (instead of get url) also
> send variables over
> to the script, but unlike "get url" it can receive variables
> and their values
> bakv at the same time, and leaves you within the flash movie,
> doesnt send you to
> another page.
>
> I think its a common misconception that "load variables"
> thingy is only used for
> getting variables and values from somewhere ...though it is a
> 2-way communicaion
> - and you choose which way - or both - you wanna communicate
>
> With regards to your problem ...check that the variable names
> for you text
> fields in the flash movie are EXACTLY the same as your norman
> HTML forms'.
> Spelling. uppercase lower case ets. Also make sure you use
> "get" or "post"
> according to what the script use.
>
> Hope this helps
>
> Michael Bain

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratchinwag [dot] com. Problems to: helpatchinwag [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-manageratchinwag [dot] com





------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratchinwag [dot] com. Problems to: helpatchinwag [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-manageratchinwag [dot] com


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