Groups | Blog | Home
all groups > flash (macromedia) > june 2004 >

flash (macromedia) : Call an URL from flash...just make it run


Jfill
6/1/2004 9:02:48 PM
I just need to automatically call a url when the movie is loaded. It just
needs to call a URL like http://www.testurl.com/execute.cfm and continue with
the movie. I do not need it to do anything with the page execute.cfm. I just
need that page to run so I can record that the movie was watched.

How can I do this? Once again it does not seem hard, but it is for me...

Thanks

jfill
kliwan
6/2/2004 11:31:23 AM
just include this line in the first frame of the main timeline of your movie:

getURL("http://www.testurl.com/execute.cfm", "_blank");


Jfill
6/2/2004 1:31:48 PM
So will that launch a new window? Or just make the call. I am about to try it now, but I do not want it to open a new window.

Jfill
6/2/2004 1:31:51 PM
So will that launch a new window? Or just make the call. I am about to try it now, but I do not want it to open a new window.

phatkow
6/2/2004 1:39:06 PM
Jfill
6/2/2004 1:48:05 PM
Ok, it will still open a window. I just want to call that link without the
user even knowing it. I do not want the page to visually load or anything, I
just want to be able to call the page "behind the scenes".

Any other ideas?

jfill
AddThis Social Bookmark Button