DFrameAPI: checkImages

If this method is used with true as parameter dFrameAPI will check that all images used in the DFrameAPI.preLoadImagesForButtonImage method and all the Style methods using images are loaded before launching launching its onLoad method.

A list of images that cannot be loaded is produced.

Example

<script language="Javascript">

       //Style  

       DFrameAPI.include('styles/windows/styleWindows.js')

 

       DFrameAPI.checkImages()

 

       DFrameAPI.onLoad = function(){

                  

Syntax

DFrameAPI.checkImages(flag)

Parameters

flag

Boolean. Default value is false

Return value

no return values