iSpring.flex.PresentationContainer Class

The PresentationContainer class extends the standard mx.core.UIComponent class and provides the following properties:

Table 1. Properties
Property Type Description
bridgeLoader BridgeLoader Returns a BridgeLoader object providing an ability to load iSpring generated presentations


This class can be used in Flex applications to put a presentation container UI component to a Flex form.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="" layout="absolute" creationComplete="{creationComplete()}"
    xmlns:mc="ispring.flex.*" frameRate="30" minWidth="470" minHeight="200">
   <mx:Script source=""/>
        <mc:PresentationContainer id="presentationContainer" width="780" height="524" x="10" y="36">
       <!-- the rest UI elements are placed here-->

The following code loads the generated presentation into the presentation container (file

import iSpring.flex.PresentationContainer;
import iSpring.as3bridge.*;

private function creationComplete():void
    var bridgeLoader:BridgeLoader = presentationContainer.bridgeLoader;
    bridgeLoader.loadPresentation("as3bridge.swf", "presentation.swf");