|
Each Flashblocks ML powered website requires an instance of the Flashblocks component on stage. Each Flashblocks component that you drop on the stage loads and stores a unique data file. Open the component inspector panel within Flash and select the Flashblocks component from the stage of your Flash movie. You will see the following settings.  licence - Enter your Licence ID through the Component Inspector. Your Flashblocks License is your Download-ID that was emailed to you. dataFile - Path to the data file that will be loaded into the Flashblocks component instance. For ease of use, by default, the first instance of the Flashblocks component will load the data file, "flashblocks/data/dataFile.xml". dataFileUserLevel - This is the minimum user level that is required to access the Flashblocks data by the logged-in user. For example, if the logged-in user has a user level of 5 and the dataFileUserLevel is set to 7 then the user will not be able to edit any data from the particular Flashblocks data file. By default, the dataFileUserLevel is set to 0 allowing all logged-in users with a level of 0 or above editing access. You may set all user login information in the file, "flashblocks/serverSide/flashblocks_login.php". Open this file with any text editor. You will find further directions inside. configFile - This is the path to the Flashblocks ML configuration file. This file contains the location of all required Flashblocks files including the default data file for the first instance of the Flashblocks component. By default the configFile is set to, "flashblocks/flashblocks_config.xml". flashblocksID - Each Flashblocks component instance must have a unique FlashblocksID. This may be any identifier that you like. For example, "newsFile", "dataFile1", etc.. By default it is set to "fb0". autoLoad - If set to true, Flashblocks will load the specified data file when the Flashblocks instance appears on stage. If set to false, you will need to manually call the loadData() command, flashblocksInstance.loadData();
|