Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 6 of 6

Thread: Help...

  1. #1
    Join Date
    Oct 2009
    Posts
    4

    Help...

    I'm new on AMS. How can i make preloder for pages?
    Can anybody share an example project about this?

  2. #2
    Join Date
    Jul 2007
    Posts
    1,512
    that do you mean preloader? look in the page propertise there is a OnPreload tab to load commands before the page is show.

  3. #3
    Join Date
    Oct 2009
    Posts
    4
    Quote Originally Posted by rexzooly View Post
    that do you mean preloader? look in the page propertise there is a OnPreload tab to load commands before the page is show.
    As i said before i'm new on AMS and don't know how to do it. Can you give an example code for this?

  4. #4
    Join Date
    Aug 2003
    Posts
    2,427
    Quote Originally Posted by webprof View Post
    As i said before i'm new on AMS and don't know how to do it. Can you give an example code for this?
    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.

  5. #5
    Join Date
    Oct 2009
    Posts
    4
    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.

  6. #6
    Join Date
    Aug 2003
    Posts
    2,427
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts