Package | mx.core |
Interface | public interface ISWFLoader extends ISWFBridgeProvider |
Implementors | SWFLoader |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Public Properties
Property | Defined By | ||
---|---|---|---|
childAllowsParent : Boolean [read-only]
Tests if the child allows its parent to access its display objects or listen
to messages that originate in the child. | ISWFBridgeProvider | ||
loadForCompatibility : Boolean
A flag that indicates whether the content is loaded so that it can
interoperate with applications that were built with a different verion of Flex. | ISWFLoader | ||
parentAllowsChild : Boolean [read-only]
Tests if the parent allows its child to access its display objects or listen
to messages that originate in the parent. | ISWFBridgeProvider | ||
swfBridge : IEventDispatcher [read-only]
A bridge to the application that is associated with the implementor of this
interface. | ISWFBridgeProvider |
Public Methods
Method | Defined By | ||
---|---|---|---|
Get the bounds of the loaded application that are visible to the user
on the screen. | ISWFLoader |
Property Detail
loadForCompatibility | property |
loadForCompatibility:Boolean
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
A flag that indicates whether the content is loaded so that it can
interoperate with applications that were built with a different verion of Flex.
Compatibility with other Flex Applications is accomplished by loading
the application into a sibling (or peer) ApplicationDomain.
This flag is ignored if the sub application is loaded into a different
SecurityDomain than the main application.
If true
, the content loads into a sibling ApplicationDomain.
If false
, the content loaded into a child ApplicationDomain.
The default value is false.
Implementation
public function get loadForCompatibility():Boolean
public function set loadForCompatibility(value:Boolean):void
Method Detail
getVisibleApplicationRect | () | method |
public function getVisibleApplicationRect(allApplications:Boolean = false):Rectangle
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Get the bounds of the loaded application that are visible to the user on the screen.
Parameters
allApplications:Boolean (default = false ) — Determine if the visible rectangle is calculated based only on the
display objects in this application or all parent applications as well.
Including more parent applications might reduce the visible area returned.
If true , then all applications are used to find the visible
area, otherwise only the display objects in this application are used.
|
Rectangle — A Rectangle that includes the visible portion of this
object. The rectangle uses global coordinates.
|
Thu Dec 6 2018, 01:12 PM -08:00