Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 9 of 9

Thread: Image refresh

  1. #1
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770

    Image refresh

    Right now I'm loading cam images from a html page I made with each cam image having it's own html page that I link to .
    Can I load a cam image in to a page/window with out the html and refresh the image and not the whole window?
    I have the html page with the cam image in it to refresh at 30 sec.

  2. #2
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Sounds like something you could do using the Image.Load action and a page timer.

  3. #3
    Join Date
    Oct 2005
    Location
    American Dubai
    Posts
    629
    Quote Originally Posted by bobbie
    Right now I'm loading cam images from a html page I made with each cam image having it's own html page that I link to .
    Can I load a cam image in to a page/window with out the html and refresh the image and not the whole window?
    I have the html page with the cam image in it to refresh at 30 sec.
    Yes. Download the image every 30 seconds, and use Image.Load to view it in the place of an Image Object. Don't forget to use File.Delete, to delete the old images after each 30 seconds.

  4. #4
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770
    Little apz would be cool to see what you mean

  5. #5
    Join Date
    Oct 2005
    Location
    American Dubai
    Posts
    629
    Well, could you link me to the cam html page.
    I'd be glad to help you out

  6. #6
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770
    here is a link to the image file
    http://www.pyramidcam.com/pyramids.jpg

  7. #7
    Join Date
    Oct 2005
    Location
    American Dubai
    Posts
    629
    Hi. See: Attachment.
    Note that i haven't tested it, but it should work fine.
    Also it does not perform an internet check, this is only to give you an idea of how what you seek could be done

    aclamaciones,
    Mina
    Attached Files

  8. #8
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770
    Thank you , I'll give it a look now and I can do the rest like check if online.

  9. #9
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770
    Just what I needed.
    The timer is cool. and I can use that again with something else , thanks again.

    if Secs > 0 then
    NSecs = Secs - 1
    Secs = NSecs
    Label.SetText("Label2", "Seconds Left Till Refresh: "..Secs);
    elseif Secs == 0 then
    Secs = 30
    Page.StopTimer();
    Label.SetText("Label1", "Refreshing..");
    Refresh();
    Label.SetText("Label1", "Done");
    Page.StartTimer(1000);
    end

Similar Threads

  1. Switching pictures with forward/back buttons
    By ilandv in forum AutoPlay Media Studio 4.0
    Replies: 10
    Last Post: 08-08-2004, 04:51 PM
  2. Function: Resize & Center an Image
    By kpsmith in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 05-17-2004, 01:36 PM
  3. Making a Thumbnail Image Browser
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 02:16 PM
  4. Making an Image Browser
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 02:06 PM
  5. Reloading Image Objects at Runtime
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 10:26 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