Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539

    Reload of page in Web Object

    Hello,

    I am building an application which makes use of web objects, and they are working well - however I have a problem when I jump/navigate between pages. Here is the situation: After I have a web page loaded successfully in a web object, the user might want to click a button outside of the web object and jump to another page of the AMS project, do something there and jump back to the former page. In that moment, the web object reloads the page, and I need to avoid this somehow... In the web page runs a Java applet which makes download of several files on startup, which are then transferred again when the page is reloaded. What I seek is a way to "freeze" the web object (keeping all the data already downloaded), jump to the other page, jump back, and resume where the user had left the page, without reloads of the web page hosted by the web object.

    Does anybody know of a way to achieve this?

    Ulrich

  2. #2
    Join Date
    Aug 2003
    Posts
    2,427
    I know it's not what you're asking but have you considered sticking to 1 page and just hiding/showing the web object as required. Most of my projects are now single page whereas I would at one time have used lots of pages. Just a thought.

    The other thing that occurs to me is whether the URL contains any parameters that could be changed. Use a getURL and set a global variable when leaving the page and use that to re-load the object when returning to the page.

  3. #3
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539
    Hello,

    yes - I am actually using this technique already, but on the same page, when the user is requesting to change the game currently shown. In that moment I show a slideshow, where the user may click an image for another game and I perform the change accordingly.

    My project is organized as tabbed pages, with the tabs actually being buttons that react to hover and click events that perform a page jump. If I had to place the objects of the pages on a single page and control the visibility of each object manually, this would quickly become a nightmare. There is no way to manipulate the object in a WYSIWYG environment, once the page is crowded with the objects of multiple pages... unless there were a concept of layers or anything, that would me allow to show/hide groups of objects at once. Otherwise, if I place or remove something on any page, after some time it would become frustrating.


    Entry page


    The page showing a game Java applet running


    Another page with a chat applet

    There already are and will be other additional pages, to get a usage report, change the password, etc. Placing everything on one page would be very bad. And right now, if the users changes from the chat page to another one, for example, the web object is automatically closing the connection, logging the user out. When he comes back to that tab, he has to log on again - losing the former conversation. This isn't just annoying, it breaks the concept of my application.

    Any other ideas? Lorne?

Similar Threads

  1. Building pages from script
    By Roboblue in forum AutoPlay Media Studio 7.5
    Replies: 23
    Last Post: 02-28-2008, 10:31 AM
  2. .swf in Web Object - can't jump to AMS page
    By DrCode in forum AutoPlay Media Studio 6.0
    Replies: 19
    Last Post: 11-29-2006, 03:45 AM
  3. HOW TO: Return a Web Browser Object to the Original URL after a Page Jump
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 02-03-2003, 09:18 AM
  4. HOWTO: Create a Page Template
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-26-2002, 05:20 AM
  5. Replies: 0
    Last Post: 10-04-2002, 10:09 AM

Posting Permissions

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