Advanced Search

Results 1 to 4 of 4

Thread: Simple script for TV work

  1. #1
    Join Date
    Sep 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Simple script for TV work

    Hi All,

    First post from someone not too skilled in scripting, mostly graphic background who has a small job for a TV project.

    The want a sequence of slides (currently jpgs) to change on touch for the character to interact with a computer entering a pin sequence and then some display, I have added in various formats and found that there is a flash between slide I need to get rid of. I was thinking of pre-loading the images and then having them change with no transition, not being a flash guru either I thought a script would be able to do the job?

    Any help please would be appreciated!

    Thanks

    Carabus

  2. #2
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    47
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    preloading and caching is probably the best way, I'd suggest staring off by googling 'javascript preloading', which will give you a bunch of scripts, or you could go for the dd preloader here, but at any rate, I suggest you read [this.
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

  3. #3
    Join Date
    Sep 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    That's a great start thank you very much.

    As a little more info (I have to be careful what I say) the jpg's are 1024x768 and will run full screen on a fixed computer not via the web so that should speed it up. Having the pages as HTML in the current format, each click going to the next page in sequence creates the flash as the pages load, pre-loading will remove this?

    Question how will I then get the next image to load on touch within the code without going to another html page?

    Thank in advance.

    Carabus

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,154
    Thanks
    260
    Thanked 690 Times in 678 Posts

    Default

    You can use an image gallery that works like that, or you could write it yourself basically modifying a "rollover"/mouseover image script to "onclick" (or the equivalent for a touchscreen device, which might still be onclick).

    The solution to your problem is to run the script locally. This can possibly cause some problems in certain browsers and/or with certain code/features, but generally it should work fine. I recommend using Firefox because I've done that and it tends to work fine. (IE and Chrome are known to have some limitations, I believe.)
    Assuming there's no reason you can't run it locally, this will be MUCH better because the images will take no time at all to transfer (you could still see a flicker, but not a pause/delay).
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Similar Threads

  1. Simple Gallery doesn't work in IE8
    By 10eIOS in forum Dynamic Drive scripts help
    Replies: 6
    Last Post: 05-09-2012, 06:15 PM
  2. Simple Gallery don't work in IE7
    By gjrdesign in forum Dynamic Drive scripts help
    Replies: 6
    Last Post: 04-20-2009, 10:59 PM
  3. Replies: 0
    Last Post: 01-26-2009, 07:22 PM
  4. Simple Date Format Question to get a script to work
    By IrwinMFletcher in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 03-07-2008, 08:19 PM
  5. Shouldn't this simple keycode script work?
    By tivaelydoc in forum JavaScript
    Replies: 10
    Last Post: 07-09-2007, 03:59 AM

Bookmarks

Posting Permissions

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