org.silex.ui.loader.SimpleLoader

MovieClip
org.silex.ui.loader.SimpleLoader

to use this class

create a fla with a movieclip linked to this class on the first frame.  It will look for the following properties in the containing clip (probably the root).

  • loading_str : a vraiable where the loading info will be stored.  You can link a text field to it by setting its ‘var’ field to ‘loading_str’
  • widgetMode :
  • id_site :
  • rootUrl :
Summary
org.silex.ui.loader.SimpleLoadercreate a fla with a movieclip linked to this class on the first frame.
Variables
_jsDataLoader_lv
_mcl
Functions
SimpleLoader
formatLoadingString
onStep1EnterFrame
loadJsDataload js data from widget.php
onJsDataAvailableeither data is loaded from widget.php or it was allready passed through javascript
onStep2EnterFrame
onLoadProgress
onLoadInit
onLoadError
preloadDone

Variables

_jsDataLoader_lv

private var _jsDataLoader_lv: LoadVars

_mcl

private var _mcl: MovieClipLoader

Functions

SimpleLoader

function SimpleLoader()

formatLoadingString

function formatLoadingString(bytesLoaded: Number,
bytesTotal: Number):String

onStep1EnterFrame

function onStep1EnterFrame()

loadJsData

function loadJsData(rootUrl,
id_site)

load js data from widget.php

onJsDataAvailable

function onJsDataAvailable(success: Boolean)

either data is loaded from widget.php or it was allready passed through javascript

onStep2EnterFrame

function onStep2EnterFrame()

onLoadProgress

function onLoadProgress (target: MovieClip,
bytesLoaded: Number,
bytesTotal: Number)

onLoadInit

function onLoadInit(target_mc)

onLoadError

function onLoadError(target_mc: MovieClip,
errorCode: String)

preloadDone

function preloadDone()
private var _jsDataLoader_lv: LoadVars
private var _mcl: MovieClipLoader
function SimpleLoader()
function formatLoadingString(bytesLoaded: Number,
bytesTotal: Number):String
function onStep1EnterFrame()
function loadJsData(rootUrl,
id_site)
load js data from widget.php
function onJsDataAvailable(success: Boolean)
either data is loaded from widget.php or it was allready passed through javascript
function onStep2EnterFrame()
function onLoadProgress (target: MovieClip,
bytesLoaded: Number,
bytesTotal: Number)
function onLoadInit(target_mc)
function onLoadError(target_mc: MovieClip,
errorCode: String)
function preloadDone()