ActiveDen

3D Multimedia Studio V1 - The Photo Package

FAQ : How to load a single gallery inside another project:

The FAQ section in documentation lacks some details, below is an example of loading spaceBoard gallery. Other galleries should be the same.

1. Open spaceBoard.as, in spaceBoard() function you’ll see 2 lines which call 2 other functions, in this case are Initial3D() and createSpaceBoard(). Comment out these 2 lines (that is to put / / before them) to temporarily disable them.

2. Scroll down and change private to public of 2 functions you just comment:

private function Initial3D():void

to

public function Initial3D():void

and

private function createSpaceBoard():void

to

public function createSpaceBoard():void

3. Compile movie to export a new SWF

4. Copy the new SWF to Load Example folder, also with the new XML and related asset.

5. Open myLoader.fla, F9 to open timeline scripting in first frame

6.Load the new SWF with

 new URLRequest("spaceBoard.swf") 

7.In galleryLoaded() function, change the 2 bottom line to call out 2 functions we have disabled:

e.target.loader.content.Initial3D();
e.target.loader.content.createSpaceBoard();
by
by
by
by
by