Welcome, Guest. Please login or register.
Did you miss your activation email?
05/22/12, 06:06
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
|-+  General
| |-+  Flash MX 2004 (Moderators: Flash-db, Musicman, vesa kortelainen, Ronald Wernecke, Andresss, papachan)
| | |-+  ASP/MX 2004 newsfeed headache
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: ASP/MX 2004 newsfeed headache  (Read 2297 times)
SteveHigh
Server what's that
*
Posts: 12


View Profile
« on: 07/17/08, 11:02 »

Hello

I am able to read the news of my choice in a normal browser using ASP. I would like to use this same script to read the same news in a Flash (MX 2004) movie.

I would like to ask from the beginning: do I need to use sendAndLoad? I can see that Flash needs to 'load' the news into the dynamic text area I have created, but it does not need to send anything anywhere, does it?

If it does not need to 'send', only to 'load', can I just use loadvariables ("myNews.asp", 0, "get") or something like that?

The tricky part of this post concerns how I pass the ASP script to Flash. My ASP script, which does the news formatting ends as follows:

Code:
<%
Response.Write(Application("rss-html"))
%>

As I say, this script works in a normal browser.

As I understand Flash, it usually needs ASP to pass it the value contained in this:

Response.Write(Application("rss-html"))

or possibly:

Response.Write "&" & Server.URLEncode(Application("rss-html"))

There is a problem, however, in that I understand the Flash compiler does not like hyphens (as in rss-html).

Using my ASP script, which would be the best way to solving this problem?

Thanks

Steve
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #1 on: 07/18/08, 12:10 »

The best to start for you: do the loading and saving tutorials.
If you understand the basics, youre questions will all be answered.
It is not complicated, but forget using the same ASP-Procedure, you are using for html display.
You have to do some things different.
sendAndLoad is the right direction.
Logged

happy flashing
Cool
Ronald
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!
anything