all groups > flash (macromedia) > october 2003 >
You're in the

flash (macromedia)

group:

Passing values from java servlet to flash movie



Passing values from java servlet to flash movie flashbaba
10/14/2003 9:49:46 PM
flash (macromedia): Iam using the following method to send the values from java to servlet

java.io.PrintWriter out = new java.io.PrintWriter(response.getOutputStream());

String temp = URLEncoder.encode("name") + "=" + Result1.trim() + "&"+ ("city") + "=" + Result2.trim();

out.print(temp);

But I want to send these values to particular .swf file....
How can i do this....

Here Iam explaining my app...

I have aa.swf movie, when user enter data in data fields and click submit it will go
and talk to the database and process the request and it has to send the results to the another bb.swf file. this bb.swf file will load on top of the aa.swf file.
in my case every thing is working..... Iam taking the user entered values from aa.swf and able to pocess the request with database, but the result is sending to the aa.swf movie only.

so the problem is I want to load the bb.swf movie with the results on top of aa.swf....


Please help me in this.......

Thanks in advance


Re: Passing values from java servlet to flash movie blenz
11/14/2003 9:04:34 PM
from aa.swf use something like

loadMovieNum("bb.swf?name="+name+"&city="city,5);

or something similar depending on how you are coding your movie

AddThis Social Bookmark Button