Welcome, Guest. Please login or register.
Did you miss your activation email?
05/21/12, 03:25
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  Server side Scripting and Database Support
| |-+  PHP, Perl, ASP, JSP, CFM (Moderators: Flash-db, Musicman, vesa kortelainen, Ronald Wernecke, Jorge Solis, nothingGrinder)
| | |-+  Is it possible to load an asp file like a txt file
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Is it possible to load an asp file like a txt file  (Read 2173 times)
alicebenice
Server what's that
*
Posts: 1



View Profile Email
« on: 02/06/02, 22:04 »

 ??? Probally a grande stupid question....but is it possible to load an asp file like a txt file. ...see I have an asp news list that outputs an asp that looks something like this (see below)

...my question is...can I load this file into flash and have the links of the SSI work the same as it would when you view in a browser??

<% Response.Buffer=true %>
<HTML><HEAD><title>Title</title>
</HEAD><BODY>

<!--#include file ="news.asp"-->
<%
news 000,0,0,""
%>

</BODY></HTML>
Logged
Flash-db
Administrator
Systems Administrator
*****
Posts: 1867



View Profile WWW
« Reply #1 on: 02/07/02, 00:20 »

Yes you will can load the output of an ASP file in the same fashion as a Text file - No it will not look the same (formatting wise) as it does in a browser.

That basic syntax is as follows.  Remember that this can be the only item printed out on the ASP page after the code has been executed.

<%
Response.Write "TextFieldName=All the text/html you want to print out."
%>

Ok to explain - After the ASP code has been processed you have to print out a statement in the above format basically  variable1=value1&variable2=value2.

You can include some limited html formatting in that string - You can not print out any html tags before that string is printed to the page.  When you view the ASP page in a browser by typing in the complete URL to that file and view the source code the only thing that is printed out on that page is that string.  The string is in the same format as it would be for a text file.  

So your include File 'news.asp' would have to be formatted specially for Flash to be able to read it - in the above mentioned format.  

You could have a text field named News - then print out all the contents of news after the variable  News=

That's about it.
Logged

-Jeff.
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!