Groups | Blog | Home
all groups > flash data integration > january 2006 >

flash data integration : Urgent: How To Post To Page Behind The Scenes


Edgett
1/9/2006 8:34:39 PM
Ok, it has been a while since I worked with Flash. I need to make a change to
a .fla ASAP and need some constructive help in completing this task.

How would one load / post to an ASP page without leaving the Flash animation?

In short, I have an animation that is in a loop state. When the user clicks
on the animation it continues and then loads an ASP page that automatically
sends an email. However, currently it pops open a new browser window instead
of keeping the post hidden. I have tried loadUrl and loadVariablesNum but have
not had any luck.
Motion Maker
1/10/2006 9:31:57 PM
Be sure the ASP page only returns data (no html tags or white space such as
tabs, returns outside of the data) and you are using either LoadVars or XML
Actionscript classes to communicate.

--
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
[quoted text, click to view]
Ok, it has been a while since I worked with Flash. I need to make a change
to
a .fla ASAP and need some constructive help in completing this task.

How would one load / post to an ASP page without leaving the Flash
animation?

In short, I have an animation that is in a loop state. When the user
clicks
on the animation it continues and then loads an ASP page that automatically
sends an email. However, currently it pops open a new browser window
instead
of keeping the post hidden. I have tried loadUrl and loadVariablesNum but
have
not had any luck.

Edgett
1/11/2006 6:07:20 PM
Could you please point me an to ActionScript example of this being done? As I
stated before, it has been a while since I worked with Flash.

I tried:

new LoadVars();
LoadVars.send

... but don't understand how to specify the URL where I want to post to.

Thanks!
Motion Maker
1/11/2006 6:33:35 PM
For a LoadVars example in general I use sendAndLoad because your really
need a return value to indicate if the server program completed its task at
the minimum.

I only have a rudimentary ASP example I use in Seminars and it uses JScript
instead of VBScript.

http://www.hosfordusa.com/ClickSystems/courses/flash/examples/UrlVarsASP/Ex01/UrlVarsASPEchoEx01_Doc.php

Here is also one used to show ASP XML in a basic way

http://www.hosfordusa.com/ClickSystems/courses/flash/examples/XMLASP/Ex01/XMLASPEchoEx01_Doc.php






--
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
[quoted text, click to view]
Could you please point me an to ActionScript example of this being done? As
I
stated before, it has been a while since I worked with Flash.

I tried:

new LoadVars();
LoadVars.send

... but don't understand how to specify the URL where I want to post to.

Thanks!

AddThis Social Bookmark Button