View Full Version : Don't want Flash banner refreshing
dhawal.mhatre
05-21-2009, 07:45 AM
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.....:):)
Snookerman
05-21-2009, 08:05 AM
You mean you don't want the page to be reloaded when a link is clicked? You could use AJAX for that.
dhawal.mhatre
05-21-2009, 08:52 AM
anything other than AJAX....
which you can provide me....:):):):)
Snookerman
05-21-2009, 11:01 AM
Well, it depends on how the page is built and where the links lead, so please post a link to your site.
Medyman
05-21-2009, 01:07 PM
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.
dhawal.mhatre
05-22-2009, 03:27 AM
i have not uploaded the site yet, once a will upload it i will provide you with the link....
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.