集成Flash和ASP.NET [英] Integração FLASH e ASP.NET

查看:108
本文介绍了集成Flash和ASP.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Tenho uma janela em FLASH,在地图上显示或显示在usaárioselecionar um estado中.
Como retornar或Passar para或ASP.NET或codigo do estado selecionado吗?
会议 ? StateView? Chamar ummétodo吗? Como集成商essa Flash和ASP.NET?

我的网站上有一个Flash窗口,其中有一个用于用户选择State的国家/地区地图.
如何将Flash动画中的值(选定的状态代码)返回到ASP.NET应用程序?
我应该使用Session变量吗? StateView变量?要调用外部方法?

如何将Flash对象集成到我的ASP.NET应用程序中?

谢谢.

Guilherme

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

推荐答案

在过去,我们使用fscommand和getUrl()从Flash到Web服务器进行一些肮脏的工作".如今,Flash具有可以使用的外部接口,但基本上可以完成相同的操作.

您想要做的是让Flash调用JavaScript,然后JavaScript调用您的ASPX和/或类似AJAX的服务.这与.Net(1.1、2.0)的经典版本使用__doPostback()事件发布回服务器的方式完全相同.

http://www.adobe.com/devnet/flash/articles/external_interface.html [ ^ ]
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[^]


这篇关于集成Flash和ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆