Results 1 to 6 of 6

Thread: Don't want Flash banner refreshing

  1. #1
    Join Date
    May 2009
    Posts
    13
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Question Don't want Flash banner refreshing

    Mine top banners is in flash and i don't want it to refresh every time when the link is clicked. How can i stop refreshing the flash banner only.

    And also i don't want to use frames or iframes.

    Is there any other way to do it..

    Thanks in advance.....

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    You mean you don't want the page to be reloaded when a link is clicked? You could use AJAX for that.

  3. The Following User Says Thank You to Snookerman For This Useful Post:

    dhawal.mhatre (05-21-2009)

  4. #3
    Join Date
    May 2009
    Posts
    13
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    anything other than AJAX....

    which you can provide me....

  5. #4
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Well, it depends on how the page is built and where the links lead, so please post a link to your site.

  6. The Following User Says Thank You to Snookerman For This Useful Post:

    dhawal.mhatre (05-22-2009)

  7. #5
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    I'm assuming your header contains some sort of animation that replays over and over again. The only way to do anything of the sort is through cookies. Set a cookie when a use first comes to your site. From there you have at least three options:

    1. Use JavaScript to read the cookie and using the ExternalInterface class (aka External API) fast forward your animation to the last frame (or whatever point is suitable).
    2. Read the cookie (server-side would work better, but client-side works too) and pass in a Flashvar that fast forwards your animation to a suitable point.
    3. User Local Stored Objects (aka Flash cookies) to again save some information, read it in Flash, and fast forward to a suitable point.

    I don't know what your level of AS knowledge is. The easiest (coding-wise) is probably option 2. Lee Brimelow has some tutorials on writing/reading Flashvars on gotoandlearn.com. I recommend viewing those if you're not familiar with it.

  8. The Following User Says Thank You to Medyman For This Useful Post:

    dhawal.mhatre (05-22-2009)

  9. #6
    Join Date
    May 2009
    Posts
    13
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    i have not uploaded the site yet, once a will upload it i will provide you with the link....

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
  •