Packagede.wwsc.t3flex
Classpublic class T3Flex
InheritanceT3Flex Inheritance flash.events.EventDispatcher

T3Flex is the main class providing all settings and setups for your applications. T3Flex is only avaiable as a singleton-Object.


Example
Typo3Setup
     
     // Insert in Typo3-Setup
     // SetUp a extension Template for the page that should react as the dataprovider
     // Insert the extension template to that page
    
    // Insert in Constants
    // the PIDs are defining, where access is allowed
    plugin.tx_t3flex.pidList = 69,100,139,115
    //plugin.tx_t3flex.recursive = 1
    
        // Insert in Configuration
   page >
   page < lib.t3flex
   tmp.writeEnabledTable = 1
   tmp.writeEnabledTable.writeEnabled = 1
   plugin.tx_t3flex_pi1 {
     tables {
       fe_users = 1
       fe_groups = 1
       pages = 1
       tt_news < tmp.writeEnabledTable
       tx_wwscloedata_project < tmp.writeEnabledTable
     }
   }
      
      
     // Insert in your AS3-Document 
          var myT3Site:T3Flex = T3Flex.getInstance();
      var myT3User:T3Fe_User = new T3Fe_User();
         myT3User.password ="password";
          myT3User.username = "typo3User";
   
    // Enable Debug-Output   
      myT3Site.debug= true;
       myT3Site.siteConfiguration.displayAlertOnError = myT3Site.debug;
     
     myT3Site.siteConfiguration.baseUrl ="http://typo3.t3Flex.com/";
     myT3Site.siteConfiguration.baseSitePid = 1;
     myT3Site.siteConfiguration.loginUserStoragePid= 1;
     myT3Site.siteConfiguration.defaultInsertPid = 111;
     myT3Site.siteConfiguration.loginUser = myT3User;
    
     



Public Properties
 PropertyDefined by
  bulkLoader : BulkLoader
T3Flex integrates a bulkloader to handle the loading of many items.
T3Flex
  debug : Boolean = false
Enable/Disable the output of traces in console default = false
T3Flex
  debugAlertBox : Boolean = false
If enabled T3Flex will display an Alert-PopUp-Message on T3Flex-Errors default = false
T3Flex
  enableDetectionOfBaseUrl : Boolean = false
Enable this option if your deploying your file to more than one domain The BaseUrl is identified via the _url of the swfFile, so this will only work correctly, when the file is deployed directly from a webserver default = false
T3Flex
  enableT3ImageCache : Boolean = true
T3Flex caches pictures loaded via the T3Image Class by default This improves the loading performances Set to false if need to load pictures everytime default = true
T3Flex
  enableT3ImageCacheMonitorBusy : Boolean = false
If set to true the Class MonitorBusy is used to inform about the loading process default = false
T3Flex
  siteConfiguration : T3Configuration
Instance of the Typo3-Sitesetup
T3Flex
  swfBaseDir : String
[read-only] Delivers the directory of the SWF-File Might be moved to configuration or helper in the future
T3Flex
Public Methods
 MethodDefined by
  
T3Flex is the main class providing all settings and setups for your applications.
T3Flex
  
[static] Singleton-Function
T3Flex
Public Constants
 ConstantDefined by
  T3FLEXLOADER : String = "T3FLEXLOADER"
Constant used to identify the bulkloader used by T3Flex default "T3FLEXLOADER"
T3Flex
Property detail
bulkLoaderproperty
public var bulkLoader:BulkLoader

T3Flex integrates a bulkloader to handle the loading of many items.

It's only integrated in T3Image at the moment

Have a look at this great AS3-Project!!!

See also

debugproperty 
public var debug:Boolean = false

Enable/Disable the output of traces in console default = false

debugAlertBoxproperty 
public var debugAlertBox:Boolean = false

If enabled T3Flex will display an Alert-PopUp-Message on T3Flex-Errors default = false

enableDetectionOfBaseUrlproperty 
public var enableDetectionOfBaseUrl:Boolean = false

Enable this option if your deploying your file to more than one domain The BaseUrl is identified via the _url of the swfFile, so this will only work correctly, when the file is deployed directly from a webserver default = false

enableT3ImageCacheproperty 
public var enableT3ImageCache:Boolean = true

T3Flex caches pictures loaded via the T3Image Class by default This improves the loading performances Set to false if need to load pictures everytime default = true

enableT3ImageCacheMonitorBusyproperty 
public var enableT3ImageCacheMonitorBusy:Boolean = false

If set to true the Class MonitorBusy is used to inform about the loading process default = false

siteConfigurationproperty 
public var siteConfiguration:T3Configuration

Instance of the Typo3-Sitesetup

swfBaseDirproperty 
swfBaseDir:String  [read-only]

Delivers the directory of the SWF-File Might be moved to configuration or helper in the future

Implementation
    public function get swfBaseDir():String
Constructor detail
T3Flex()constructor
public function T3Flex()

T3Flex is the main class providing all settings and setups for your applications. T3Flex is only avaiable as a singleton-Object.

If u use the free version of the swc- a copyright-notice is added to your right-click menu. Removing this entry is strictly forbidden in the free version.

Method detail
getInstance()method
public static function getInstance():T3Flex

Singleton-Function

Returns
T3Flex — T3Flex
Constant detail
T3FLEXLOADERconstant
public const T3FLEXLOADER:String = "T3FLEXLOADER"

Constant used to identify the bulkloader used by T3Flex default "T3FLEXLOADER"