Source: http://www.juniac.net/113 when using the ExternalInterface.call () method in flash is not working properly, the problem only occurred InternetExplorer. Find the code is simply ExternalInterface.call ("document.location.href.toString") inde where the FF comes properly in IE, on the other hand, take place, go put SWF to spread the problem does not properly value the Object tag not working looked at. Cause is not given the id of obejct in trouble. ================================================== ======================================= External API requirements and advantages
External API is part of ActionScript, "external application" that acts as a container of the Flash Player provides a communication mechanism between the ActionScript code running on (usually a web browser or as a stand-alone projector applications). In ActionScript 3.0, provides the functionality of the External API in the ExternalInterface class. In previous versions of Flash Player 8 to communicate with the container application using the fscommand () action. Starting with Flash Player 8 and later, reality fighter so replacing the ExternalInterface class fscommand (), it is recommended that you use this class for all communication between JavaScript and ActionScript.
The ExternalInterface reality fighter class is available only when: For all supported versions of Internet Explorer for Windows (5.0 or higher) Flash Player ActiveX control in the desktop application, such as for instance the use container applications that support NPRuntime interface browser (currently following browsers are.) Firefox 1.0 or higher Mozilla 1.7 more than .5 Netscape 8.0 or higher Safari 1.3 or higher
In ActionScript, you can call the JavaScript function in the HTML page. When the External API is compared with fscommand () provides the following enhancements: function is used in conjunction with the fscommand () function, you can of course use any JavaScript function. You can pass any number of arguments, with any names. There is no limit to pass a command and a single string argument. External API is therefore excellent flexibility than fscommand (). Boolean, Number, and String etc. You can pass different types of data. No longer reality fighter confined to the String parameter. Can receive a call value and its value is returned as the return value to ActionScript users call immediately.
Hyphen is defined reality fighter as an operator in JavaScript on (id attribute of the object tag), the name given to the Flash Player instance of an HTML page (-) or if it contains other characters (eg +, *, /, \, etc.) Internet Explorer In looking at the container web page, you can not call the ExternalInterface in ActionScript.
As well as the ExternalInterface calls from ActionScript, even if no HTML tags that define the Flash Player reality fighter instance (object and embed tags), reality fighter which is superimposed on the HTML form tag. ================================================== =============================
'AS3' other articles of the category [AS3] FLV File Format (3) 2008/06/11 [AS3] only if you are you coding? (3) 2008/06/10 ExternalInterface.call () problem not is to work in Internet Explorer (0) 2008/05/15 ActionScript 3.0 Cookbook (flash action script solution for flex developer) (0) 2008/04/18 SWF LAB Vol4. TIME 2 DRAW - Speaker reality fighter gongssi reality fighter (0) 2008/04/03 SWF LAB Vol4. Ria Application - Speaker named after the neighborhood - (2/2) (0) 2008/04/03
Recent Posts texture Packer writes for free. (2) multiple classes reality fighter / multiple folders with ... (1) When build_native.sh commands ... corona development after IOS after compiling a ... cocos2d-X 2.X / OpenGL ES 2 ....
Recent Trackbacks www.StarsWithoutMakeup.Org. www.StarsWithoutMakeup.Org 11/12 www.StarsWithoutMakeup.Org. www.StarsWithoutMakeup.Org 11/10 new balance. new balance 11/03 Cyber Monday. Cyber Monday 11/03 Bubbles and Giggles Nursery reality fighter .... Bubbles and Giggles Nursery ... 11/02
Calendar 2014/11 January Tue Wed Thu Fri Sat 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Login
No comments:
Post a Comment