tag. The Adobe help at http://livedocs.adobe.com/flex/3/html/help.html?content=passingarguments_5.html shows a way to communicate between javascript and flex, but only if you are using an external HTML file in a browser, and not in a windowed app.
So my question is this: how do I make a call to a flex method from javascript that will return data in a windowed/AIR app?
Any help will be appreciated as I am very new to flex/flash.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
您需要查看的是 HTMLLoader 类的文档,例如 http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118666ade46-7ed4.html。
What you need to be looking at is the documentation for the HTMLLoader Class, such as this http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118666ade46-7ed4.html .
它也应该在窗口应用程序中工作。使用ExternalInterface
Flex -> js
js -> Flex
http://livedocs.adobe.com/flex/ 3/html/help.html?content=passingarguments_4.html
It should also work in windowed app. Using ExternalInterface
Flex -> js
js -> Flex
http://livedocs.adobe.com/flex/3/html/help.html?content=passingarguments_4.html