Lesson 15. External Interface
Macromedia Flash 8 introduces a new way for Flash applications to communicate with the environment hosting Flash Player. When deploying applications to the web, that most frequently means communicating with the browse...
Getting Started with ExternalInterface
The ExternalInterface class is the preferred way in which you make JavaScript to Flash and Flash to JavaScript function calls when you are publishing Flash 8 content. The class is only available starting in F...
Configuring HTML for Basic ExternalInterface Calls
If you want to use ExternalInterface to enable Flash-to-JavaScript and JavaScript-to-Flash communication, you'll have to configure the HTML so that the allowScriptAccess parameter (<object> ...
Calling JavaScript Functions from ActionScript
There are potentially many reasons to call JavaScript functions from a Flash movie embedded within an HTML page. JavaScript has access to data that is not immediately accessible to Flash Player. For e...
Using JavaScript Functionality from Flash
In the first task in this lesson, you'll build an application that allows Flash to leverage JavaScript functionality that's not available in ActionScript. You'll use JavaScript regular expressions to test ...
Calling ActionScript Functions from JavaScript
Calling ActionScript functions from JavaScript is necessary to make integrated hybrid applications using Flash and HTML. Often, an existing application will exist in HTML/JavaScript, and you'll want t...
Building a Quiz Application
In this task you'll build a quiz application utilizing the JavaScript-to-Flash and Flash-to- JavaScript communication you learned in this lesson. The quiz uses a timer that is built in Flash. The quiz is built using Jav...
What You Have Learned
In this lesson you have:
Learned that ExternalInterface is the recommended way in which to build hybrid, integrated applications with Flash and container technologies (pages 397399)Used the ExternalInterface.call() method to...
AJAX popular information C# language guides Windows books and cookbooks
.......
С 2009 года мы стали переводить структура сайта на различные языки. Сайт теперь будет содержать книги не только на английском языке, но также и на других европейских языках, в том числе и на Русском языке.