Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
BrowserUtils

Package | org.apache.flex.utils
Class | public class BrowserUtils
Inheritance | BrowserUtils Object

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.7.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The BrowserUtils class has convenience methods abstracting differences in executing browser code in Flash and HTML.

Public Methods

| Method | Defined By
--- | --- | ---
|  | BrowserUtils() | BrowserUtils
|  | executeJS(str:String):* [static] evals arbitrary javascript code in the current browser context | BrowserUtils

Constructor Detail

BrowserUtils | () | Constructor

`public function BrowserUtils()`

Method Detail

executeJS | () | method

`public static function executeJS(str:String):*`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.7.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

evals arbitrary javascript code in the current browser context

Parameters

| `str:String`

Returns

| `*`

Mon Sep 5 2016, 07:19 AM -07:00