This is not a blog. So sue me!


Crikey, things are looking up!
Showing posts with label jsp. Show all posts
Showing posts with label jsp. Show all posts

Saturday, January 12, 2008

Passing values between Flash AS2 and JSP/HTML

We often use a Flash movie embedded in a JSP page to do something like make a nice dynamic report with media server features, for example.

To pass information to the Flash movie, there are several options:
1. Pass it in the movie load invocation: thing.swf?param1=value1 etc
2. Pick up the values you want from Javascript functions on the host page.
3. Collect the values you want from the server directly - send a request for xml data (for example) from the Flash movie, without reloading the page.

To pass information back out of the Flash movie:
Call a page Javascript function to set a value in the form
Send a post of data back to the server directly out of Flash.

(In preparation)

Contributors

St Lawrence Rowing

Test content from SLRC