| Application.as | |
| events | |
| org. | |
| silex_ptr | Reference to silex main Api object (org.silex.core.Api). |
| stageRect | Used to store the stage position and size in _root coordinate system. |
| sceneRect | Used to store the display region position and size in _root coordinate system. |
| bg_mc | Background clip. |
| embeddedFonts | Array of swf names. |
| files preload | |
| preloadFilesList | array of file names which will be preloaded, i.e. |
| preload_mcl | MovieClipLoader for the preloaded files. |
| preload_mc | Container for the preloaded files. |
| preloadIdx | |
| layouts | |
| layout_mcl | Layout loader. |
| layoutListener | Listener object for the layout loader. |
| layoutContainer | Container for the first layout of the website. |
| layouts | Layouts array: contains references to the layouts. |
| screenSaverIntervalIdx | Index of the interval used for the screen saver (setInterval ActionScript function). |
| screenSaverMouseListener | mouse listener for the screen saver activity detection |
| screen saver modes | |
| SCREEN_SAVER_MODE_ON | |
| SCREEN_SAVER_MODE_OFF | |
| SCREEN_SAVER_MODE_ACTIVE | |
| screenSaverMode | screen saver current mode |
| Application | Constructor. |
| background events | |
| bgPress | |
| bgRelease | |
| siteRefresh | |
| siteRefreshNoCache | |
| initAfterConfigLoaded | Initialize context menu to display the about item. |
| stageResize | Callback executed when the window is resized |
| updateSceneSizeAfterPagesAreClosed | |
| getMaxContentHeight | compute the content maximum height in all opened pages |
| stretchScene | Center layouts and content <=> compute offset to apply to the scene. |
| centerScene | Center layouts and content <=> compute offset to apply to the scene. |
| setBgColor | Change bg_mc color. |
| aboutCallback | Callback function executed when the user select “about SILEX” in the context menu. |
| refreshLoginMenuState | Build the context menu for SILEX. |
| loginCallback | Callback function executed when the user select “login” in the context menu. |
| flushLoginsCallback | Callback function executed when the user select “flush login” in the context menu. |
| promptPasswordCallback | Callback function executed when the user select “login” in the context menu and do not have a login + password stored in the cookie. |
| authenticationCallback | Callback function executed when the result of the authentication is arrived. |
| logoutCallback | Callback function executed when the user select “logout” in the context menu. |
| start | Start the loading process. |
| dynDataLoaded | Override constants and config variables. |
| overrideConfig | Override constants and config variables. |
| preloadFileSuccess | Callback executed when a file has been successfully preloaded. |
| preloadFileError | Callback executed when a file has not been successfully preloaded. |
| preloadNextFile | Preloads the next file in preloadFilesList array. |
| preloadFilesStart | preload files start<br /> call hooks<br /> call preloadNextFile |
| preloadFilesDone | Callback executed when all files have been loadded, with errors or not. |
| openWebsite | Close current website and open an other website on the same server. |
| openSection | Start the loading process of a section.<br /> call hooks<br /> |
| layoutLoadedError | Called by layout_mcl when a layout is not loaded correctly. |
| layoutLoadedComplete | Called by layout_mcl when a layout is loaded BEFORE 1st frame. |
| layoutLoadedInit | Called by layout_mcl when a layout is loaded AFTER 1st frame. |
| layoutLoadedInitNew | |
| registerLayout | Called by layoutLoadedInit. |
| unRegisterLayout | Called by layoutLoadedComplete. |
| getLayout | Find the layout object (silexLayout) at the root of the layout containing a given MovieClip. |
| save | Save a section. |
| saveDone | Callback function executed when a save operation is done. |
| getSeoData | Build an indexable object for seo, search engine, rss. |
| getPlayerByName | Use org.silex.ui.UiBase::playerName to retrieve the player named playerName_str in the players tool box. |
| fonts | |
| registerEmbeddedFont | Store all fonts in silex_ptr.config.embeddedFont array. |
| screen saver | |
| screenSaverInit | Initialize the screen saver system. |
| screenSaverDeactivate | Turn back to normal mode because activity has been detected. |
| screenSaverActivate | Turn into screen saver mode because there was no activity for a certain amount of time. |
| screenSaverSignal | Delay the screen saver activation because activity is detected. |
| layers | |
| refreshAllLayers | Called by org.silex.core.Api.config object (watch on globalContext). |
| isAChildDirty | Check if one of the target’s child layout is dirty, |
mx.core.UIObject |
org.silex.core.Application |
| silex_ptr | Reference to silex main Api object (org.silex.core.Api). |
| stageRect | Used to store the stage position and size in _root coordinate system. |
| sceneRect | Used to store the display region position and size in _root coordinate system. |
| bg_mc | Background clip. |
| embeddedFonts | Array of swf names. |
| files preload | |
| preloadFilesList | array of file names which will be preloaded, i.e. |
| preload_mcl | MovieClipLoader for the preloaded files. |
| preload_mc | Container for the preloaded files. |
| preloadIdx | |
| layouts | |
| layout_mcl | Layout loader. |
| layoutListener | Listener object for the layout loader. |
| layoutContainer | Container for the first layout of the website. |
| layouts | Layouts array: contains references to the layouts. |
| screenSaverIntervalIdx | Index of the interval used for the screen saver (setInterval ActionScript function). |
| screenSaverMouseListener | mouse listener for the screen saver activity detection |
| screen saver modes | |
| SCREEN_SAVER_MODE_ON | |
| SCREEN_SAVER_MODE_OFF | |
| SCREEN_SAVER_MODE_ACTIVE | |
| screenSaverMode | screen saver current mode |
| Application | Constructor. |
| background events | |
| bgPress | |
| bgRelease | |
| siteRefresh | |
| siteRefreshNoCache | |
| initAfterConfigLoaded | Initialize context menu to display the about item. |
| stageResize | Callback executed when the window is resized |
| updateSceneSizeAfterPagesAreClosed | |
| getMaxContentHeight | compute the content maximum height in all opened pages |
| stretchScene | Center layouts and content <=> compute offset to apply to the scene. |
| centerScene | Center layouts and content <=> compute offset to apply to the scene. |
| setBgColor | Change bg_mc color. |
| aboutCallback | Callback function executed when the user select “about SILEX” in the context menu. |
| refreshLoginMenuState | Build the context menu for SILEX. |
| loginCallback | Callback function executed when the user select “login” in the context menu. |
| flushLoginsCallback | Callback function executed when the user select “flush login” in the context menu. |
| promptPasswordCallback | Callback function executed when the user select “login” in the context menu and do not have a login + password stored in the cookie. |
| authenticationCallback | Callback function executed when the result of the authentication is arrived. |
| logoutCallback | Callback function executed when the user select “logout” in the context menu. |
| start | Start the loading process. |
| dynDataLoaded | Override constants and config variables. |
| overrideConfig | Override constants and config variables. |
| preloadFileSuccess | Callback executed when a file has been successfully preloaded. |
| preloadFileError | Callback executed when a file has not been successfully preloaded. |
| preloadNextFile | Preloads the next file in preloadFilesList array. |
| preloadFilesStart | preload files start<br /> call hooks<br /> call preloadNextFile |
| preloadFilesDone | Callback executed when all files have been loadded, with errors or not. |
| openWebsite | Close current website and open an other website on the same server. |
| openSection | Start the loading process of a section.<br /> call hooks<br /> |
| layoutLoadedError | Called by layout_mcl when a layout is not loaded correctly. |
| layoutLoadedComplete | Called by layout_mcl when a layout is loaded BEFORE 1st frame. |
| layoutLoadedInit | Called by layout_mcl when a layout is loaded AFTER 1st frame. |
| layoutLoadedInitNew | |
| registerLayout | Called by layoutLoadedInit. |
| unRegisterLayout | Called by layoutLoadedComplete. |
| getLayout | Find the layout object (silexLayout) at the root of the layout containing a given MovieClip. |
| save | Save a section. |
| saveDone | Callback function executed when a save operation is done. |
| getSeoData | Build an indexable object for seo, search engine, rss. |
| getPlayerByName | Use org.silex.ui.UiBase::playerName to retrieve the player named playerName_str in the players tool box. |
| fonts | |
| registerEmbeddedFont | Store all fonts in silex_ptr.config.embeddedFont array. |
| screen saver | |
| screenSaverInit | Initialize the screen saver system. |
| screenSaverDeactivate | Turn back to normal mode because activity has been detected. |
| screenSaverActivate | Turn into screen saver mode because there was no activity for a certain amount of time. |
| screenSaverSignal | Delay the screen saver activation because activity is detected. |
| layers | |
| refreshAllLayers | Called by org.silex.core.Api.config object (watch on globalContext). |
| isAChildDirty | Check if one of the target’s child layout is dirty, |
function promptPasswordCallback( login_str, pass_str )
Callback function executed when the user select “login” in the context menu and do not have a login + password stored in the cookie. Called by the promptPassword dialog function opened by the loginCallback function.
| param | login_str the user login |
| param | pass_str the user password |
org.silex.core.Application::loginCallback, org.silex.core.Utils::promptPassword
function openSection( sectionName_str: String, layoutFileName_str: String, targetLayout: org.silex.core.Layout, deeplinkName: String ):Boolean
Start the loading process of a section.<br /> call hooks<br />
| sectionName_str | section name that will give us the name of the xml file containing the data |
| layoutFile | layout swf file (does not contain the path to the layout folder of the website) |
| targetLayout | org.silex.core.Layout object in which to open the section (load the layout) |
true if the section loading could be started
function layoutLoadedError( target_mc: MovieClip, errorCode: String )
Called by layout_mcl when a layout is not loaded correctly. handle error
| target_mc | movie clip in which the section (the layout) was supposed to be loaded |
| errorCode | A string that explains the reason for the failure, either “URLNotFound” or “LoadNeverCompleted”. |
function getPlayerByName( playerName_str: String )/*:org.silex.ui.UiBase*/
Use org.silex.ui.UiBase::playerName to retrieve the player named playerName_str in the players tool box.
| playerName_str | the name of the player to find |
the player named playerName_str in the players tool box
Reference to silex main Api object (org.silex.core.Api).
private var silex_ptr: org.silex.core.Api
Used to store the stage position and size in _root coordinate system.
var stageRect: Object
Used to store the display region position and size in _root coordinate system.
var sceneRect: Object
Background clip.
var bg_mc: MovieClip
Array of swf names.
var embeddedFonts: Array
array of file names which will be preloaded, i.e.
private var preloadFilesList: Array
MovieClipLoader for the preloaded files.
private var preload_mcl: MovieClipLoader
Container for the preloaded files.
private var preload_mc: MovieClip
var preloadIdx: Number
Layout loader.
public var layout_mcl: MovieClipLoader
Listener object for the layout loader.
var layoutListener: Object
Container for the first layout of the website.
var layoutContainer: MovieClip
Layouts array: contains references to the layouts.
var layouts: Array
Index of the interval used for the screen saver (setInterval ActionScript function).
var screenSaverIntervalIdx: Number
mouse listener for the screen saver activity detection
var screenSaverMouseListener: Object
static var SCREEN_SAVER_MODE_ON: String
static var SCREEN_SAVER_MODE_OFF: String
static var SCREEN_SAVER_MODE_ACTIVE: String
screen saver current mode
var screenSaverMode: String
Constructor.
function Application( api: org.silex.core.Api )
function bgPress ()
function bgRelease ()
function siteRefresh()
function siteRefreshNoCache()
Initialize context menu to display the about item.
function initAfterConfigLoaded()
Callback executed when the window is resized
function stageResize()
function updateSceneSizeAfterPagesAreClosed()
compute the content maximum height in all opened pages
function getMaxContentHeight()
Center layouts and content <=> compute offset to apply to the scene.
function stretchScene()
Center layouts and content <=> compute offset to apply to the scene.
function centerScene( centerVertically: Boolean, centerHorizontally: Boolean )
Change bg_mc color.
function setBgColor( color_str: String )
Callback function executed when the user select “about SILEX” in the context menu.
function aboutCallback()
Build the context menu for SILEX.
function refreshLoginMenuState()
Callback function executed when the user select “login” in the context menu.
function loginCallback()
Callback function executed when the user select “flush login” in the context menu.
function flushLoginsCallback()
Callback function executed when the user select “login” in the context menu and do not have a login + password stored in the cookie.
function promptPasswordCallback( login_str, pass_str )
Callback function executed when the result of the authentication is arrived.
function authenticationCallback( success: Boolean )
Callback function executed when the user select “logout” in the context menu.
function logoutCallback()
Start the loading process.
function start()
Override constants and config variables.
function dynDataLoaded( result: Array )
Override constants and config variables.
function overrideConfig( result: Array ):Boolean
Callback executed when a file has been successfully preloaded.
function preloadFileSuccess()
Callback executed when a file has not been successfully preloaded.
function preloadFileError()
Preloads the next file in preloadFilesList array.
function preloadNextFile()
preload files start<br /> call hooks<br /> call preloadNextFile
function preloadFilesStart( preloadFilesListLocal: Array )
Callback executed when all files have been loadded, with errors or not.
function preloadFilesDone()
Close current website and open an other website on the same server.
function openWebsite( idsite: String )
Start the loading process of a section.<br /> call hooks<br />
function openSection( sectionName_str: String, layoutFileName_str: String, targetLayout: org.silex.core.Layout, deeplinkName: String ):Boolean
Called by layout_mcl when a layout is not loaded correctly.
function layoutLoadedError( target_mc: MovieClip, errorCode: String )
Called by layout_mcl when a layout is loaded BEFORE 1st frame.
function layoutLoadedComplete( target_mc: MovieClip )
Called by layout_mcl when a layout is loaded AFTER 1st frame.
function layoutLoadedInit( target_mc: MovieClip )
function layoutLoadedInitNew( target_mc: MovieClip )
Called by layoutLoadedInit.
function registerLayout( silexLayout: org.silex.core.Layout )
Called by layoutLoadedComplete.
function unRegisterLayout( silexLayout: org.silex.core.Layout )
Find the layout object (silexLayout) at the root of the layout containing a given MovieClip.
function getLayout( target_mc: MovieClip ):org.silex.core.Layout
Save a section.
function save ( target_mc: MovieClip )
Callback function executed when a save operation is done.
function saveDone ( error_str: String )
Build an indexable object for seo, search engine, rss.
function getSeoData( layout: org.silex.core.Layout ):Object
Use org.silex.ui.UiBase::playerName to retrieve the player named playerName_str in the players tool box.
function getPlayerByName( playerName_str: String )/*:org.silex.ui.UiBase*/
Store all fonts in silex_ptr.config.embeddedFont array.
function registerEmbeddedFont( fontName_str: String )
Initialize the screen saver system.
function screenSaverInit()
Turn back to normal mode because activity has been detected.
function screenSaverDeactivate()
Turn into screen saver mode because there was no activity for a certain amount of time.
function screenSaverActivate()
Delay the screen saver activation because activity is detected.
function screenSaverSignal()
Called by org.silex.core.Api.config object (watch on globalContext).
function refreshAllLayers()
Check if one of the target’s child layout is dirty,
function isAChildDirty( targetLayout: org.silex.core.Layout ):Boolean
Ask the user to login
public function promptPassword( text_str: String, cbkFunction: Function ):MovieClip