PDA

View Full Version : right.


hifu
04-14-2003, 10:52 PM
dammit. sorry. That's how I've been viewing it, so I blindly copied and pasted.

http://198.108.23.21/newtontext.html

the other interesting thing though is that the the trace turns up "undefined", but will still display the proper text when viewed on my local machine.

Huh. So, the link won't work if the site is on one server and the php script is on another? If that's true, then that's the problem.

So there's a difference between

• running the file on a local machine that calls to a remote server and

• running a file on one server that makes a request to another server?

That must be it then.

freddycodes
04-14-2003, 11:41 PM
The trace was before the declaration of the onLoad handler, so it wasn't populated yet. Now how were you vieiwing it when you were able to get the actual text, through the flash authoring tool, by using Test Movie, this works like a projector file, and yes that can access remote urls, its only when running through a browser.

freddycodes
04-14-2003, 11:42 PM
Also you should respond to the thread instead of starting a new thread as response to another.

hifu
04-15-2003, 12:00 AM
how many mistakes will I make in one post?

anyway, testing the movie from flash and in a browser (when browsing for the html file on my desktop) work. when posted to all servers I've tried, it doesn't.

I've tried pointing a browser to the .swf on the server as well as the html and neither work.

freddycodes
04-15-2003, 12:04 AM
Yes that makes sense, both times you tried it locally, all you did was open the swf with the flash palyer on your computer, it wasn't run through a server, thats why it worked. There are ways around it, do you have a server-side scripting language on your server, like PHP or ASP? If so you could call a script ion the same server as the flash movie, and have that script fetch the results from the other server, but no flash cannot do it directly

hifu
04-15-2003, 12:10 AM
thanks for your time freddy. I'll see if my programmer can do something about it.