Flasher Archive

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


Subject: Re: FLASH: getting variables from ASP
From: Helen Triolo
Date: Sun, 27 Feb 2000 04:11:03 GMT

Vipin Kanwar wrote:
>
> ...
> Here is the asp page code:-
>
> <% Language = VBScript %>
> <HTML> <HEAD>
> <TITLE> Start Page </TITLE>
> <link Rel="Stylesheet" TYPE="TEXT/CSS" HREF="styles/home.css">
> </HEAD>
>
> <BODY>
> Welcome to the assset management system, <% = Session("Fullname") %>.
> <p>
> You have <a href='FAQ.htm><%=Session(AccessDesc") %></a> level access to
> the system.<br>
> To begin, please select an option from the menu.
>
> </BODY>
> </HTML>
>
> I want to be able to recreate this whole page in Flash using the same
> database to fill in the fullname and the type of acess into my flash
> text.
>
Vipin,
From what I can tell, it looks like you need to have a home.asp that
looks something like this:

<% response.write("retname=" + URLEncode(Session(Fullname)) &
"&retdesc=" + URLEncode(Session(AccessDesc))) %>

and textfields retname and retdesc in the Flash file to read the values
into.

Make sure your asp file contains ONLY vbscript--if you put HTML code
like <BODY> tags and so forth in, Flash won't receive the variables.

(I'm not sure why you're using session variables for the things you're
pulling from the database, but since that's what you had in your
original message, I left it like that. I usually have a return
statement that looks more like response.write("var1=" +
rs.fields("databasevar")) etc).

Regards,
Helen
__________________________________________________________________
i-Technica: Innovative Internet Solutions (http://i-Technica.com)
designerati-technica [dot] com
301-424-6037

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The Worlds Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: getting variables from ASP, Vipin Kanwar

Replies
  FLASH: getting variables from ASP, Vipin Kanwar

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