Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Tenho uma janela em FLASH, com o mapa de um país para o usuário selecionar um estado.
Como retornar ou passar para o ASP.NET o codigo do estado selecionado ?
Session ? StateView ? Chamar um método ? Como integrar essa Flash à minha aplicação ASP.NET ?

I have a Flash window on my WebSite, with a country map for the user State selection.
How do I return values (selected State code) from a flash animation to my ASP.NET aplication ?
Should I use Session variables ? StateView variables ? To Call an external method?

How do I integrate a flash object to my ASP.NET application?

Thanks.

Guilherme
Posted

1 solution

In the old days we used fscommand and getUrl() to do some "dirty-work" from Flash to the webserver. Nowadays Flash has an external interface you can use but basically does the same thing.

What you are looking to do is have Flash call JavaScript, and then the JavaScript calls your ASPX and/or an AJAX-like service. This is the exact same way that the classic versions of .Net (1.1, 2.0) used the __doPostback() event to post back to the server.

http://www.adobe.com/devnet/flash/articles/external_interface.html[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900