Just use a static image on the other pages
Sorry to be a bit vague, but I have a Flash header that animates (no menu or anything on it).
Is there a way, using Javascript or AJAX etc, to have the animation play once, regardless of how many times a page on the website is viewed?
So it doesn't repeat the animation for each page load?
Hope that makes sense!
Just use a static image on the other pages
We were hoping to have the flash there, as we have one part of it that loops, once the the whole animation has ran once (if that makes sense)
So if it was able to continue looping, but not reload the whole animation, that would be what we are after.
I've tried looking at shared objects and pagevisits but the info seems really limited (and im a total beginner when it comes to flash lol)
loop="false"
Girls talk to each other like men talk to each other. But girls have an eye for detail - Amy Winehouse
In the embed code
MOUSE OVER >> Oi! Naff Off You Nosey Git
Use SWFObject to embed the SWF
Pass a flashVar that'll let the SWF know if you want it to play the animation or not
In your FLA write some ActionScript that checks for the flashVar, and if true, have it gotoAndStop() on whatever frame has the looping animation part
EDIT: Wow, totally missed that fact that this is over a month old post. Whoops...
Last edited by SineQuaNon; 25-06-2009 at 11:22 PM. Reason: Wrong URL
lol no worries we got it sorted in the end. Thanks anyway!
I haven't looked at your site yet, but I'm guessing the Flash menu is pulling in the text from either an XML file or text variables from an HTML file. You will need to load that external file to your web server and make sure the path is the same relative path as on your local computer. Unix file and folder/directory names are case sensitive, so be aware of that.
Check the forum often for the latest design announcements. Everything from graphic design and web design, to films and music. Estetica is a great place for people to get together and help each other out.
Bookmarks