What is the easiest way to take a design time built page, and build a script file that can be used to build it at run time?
I want to build a catalog. To do separate pages would leave the project with over a 100 pages.
I want to build each page in a project first, and be able to create that page at run time on a single page in any project.
The only three objects that need to be created is a para (or two), label and an image from an image file.
I know I can build the page using Page.Create.Object in the On preload Event script, then copy the script into a lua file. But that would entail building object properties tables manually.
It would be much quicker to use design time to create the page, then export the page as a script or XML file.
Page export from the menu will only create a file that can be used at design time.
Here is an apz to show what I mean.
I want to move the content (at run time) of the Display page to Page 1 by loading a script/xml file in the on preload event of Page 1.
Any help would be appreciated.
I want to build a catalog. To do separate pages would leave the project with over a 100 pages.
I want to build each page in a project first, and be able to create that page at run time on a single page in any project.
The only three objects that need to be created is a para (or two), label and an image from an image file.
I know I can build the page using Page.Create.Object in the On preload Event script, then copy the script into a lua file. But that would entail building object properties tables manually.
It would be much quicker to use design time to create the page, then export the page as a script or XML file.
Page export from the menu will only create a file that can be used at design time.
Here is an apz to show what I mean.
I want to move the content (at run time) of the Display page to Page 1 by loading a script/xml file in the on preload event of Page 1.
Any help would be appreciated.
Comment