Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

flash/asp integration

Status
Not open for further replies.

wangbar

Programmer
Jul 23, 2001
1,906
GB
Hi, I'm building a dynamic application which requires loading values from a remote asp page into my flash movie.

I've seen code for it (in Friends of ED Dynamic Content Studio among others, copied it word for word also used their code straight from the CD)and have tried several variations on the "loadVariables(url, level)" theme but no joy. I can load in from a text file using the loadVariables command with no problems but asp is a no go!

Has anyone had similar problems? I'm working with IIS 5 on Win2000 if that provides any clues....
 
I've never had problems, providing the ASP output is formated in the same way as the text file...

What's it doing or, rather, not?

=)

PetitPal
 
It's not doing anything - or rather the flash file works as normal but doesn't read in the asp generated data. I've checked the asp code - it's fine (url-encoded output etc.) and writes okay when I view it on the localhost address and, like I said, I can use loadVariables with no trouble when loading from a text file. I'm thinking that it's got to be a PC configuration problem now, and I'm going to port it to a different machine to see if that sheds any light on it.
 
Problem solved - just in case anyone else comes across this here's a description of the problem....

The flash code, asp scripts etc were all correct - it should have worked on the face of it. Unfortunately I had an installation of Seagate Crystal Reports on the PC. This updated the registry in such a way that the ODBC DSN link to the database couldn't be made. Apparently some installations of Cold Fusion can do the same thing.

On the Win2000 platform the only fix is to reinstall your OS (use the upgrade option so you don't wipe out your existing programs and files). Everything works as it should have done all along....
 
Hellow Wangbar,
i'm curious, i'm having the same problems!
However, i haven't got any version Crystal Reports installed op mun pc (Win2000Prof. Server).

Do u have any ideas on what might be bugging my programming???
I'm at a total loss here and i'm already starting to try out some weird alternatives, just to get it to work! :(

Any help is very much appreciated!

RuupY
 
Does your ASP page contain any HTML tags? I've had problems reading from pages that have anything other than <% %> delimiters. Even a <HEAD> tags seems to screw things up.

BTW It's weird having your first ever post on a forum come back to you after so long!
 
My ASP page is clean, just the <%%> like u said....and still
It's probably some simple 'n small that causing my problem.
ASPfile #1 sends out a varaible and .swf receives is and displays it in a dynamictext field. How hard can it be u might think...
I'm not going to give up! Enniweee, even old posts like this one can proove real usefull, even to a newbe like me.

:) :)

Ruup out
 
Just a thought - can you import from a simple text file using loadVariables() or getURL()? Whether this works or not might give us a clue on why the ASP isn't doing what it should.
 
Did it work before? Only asp pages?

For flash i have a few codes using asp, if you need any....








Have Fun...

Sharky99 >:):O>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top