I'm new on AMS. How can i make preloder for pages?
Can anybody share an example project about this?
Professional Software Development Tools
I'm new on AMS. How can i make preloder for pages?
Can anybody share an example project about this?
that do you mean preloader? look in the page propertise there is a OnPreload tab to load commands before the page is show.
It is not clear what you want to do.
AMS displays an animated "Loading" message by default.
If you want to display a video or flash file then it can also do that. Look at the Project/Startup Movie menu item.
If you just want to welcome your users, you can do this on a "Welcome" page.
If it's just a matter of running some code before the application displays you use the Project/Actions/On Startup menu option and if you want to run some code before a page display then the page "On Preload" tab is the one to go for as mentioned by Rexzooly. In this case, you need to be aware that there are some things that cannot be done until a page is displayed - objects do not exist until they are displayed.
Last edited by longedge; 10-22-2009 at 02:06 AM.
i'm working on a multilanguage cd menu. after changing language on a page and navigate another page. it shows previous language elements fast and then shows selected language elements. i want a preloader for that.
while the page elements loading a loading screen shown on screen. after all elements loaded page shows.
Try moving as much of your code into the pre-load tab of each page as possible (testing each line as you go), in fact I imagine it would be something you would ideally do in a global function.
Look at the Application.SetRedraw action. If you turn redrawing off until your code is complete and then turn it on again, that may be a help.