I'm working on a site which has Flash 'banners' at the top of all the pages.
Each page in a section (what we do, about our team, etc.) shares a banner. So all five pages in the What We Do section have the same Flash banner at the top, showing the same basic imagery/animation.
However, I'd like to be able to tell that Flash banner which page it's on, so that it can display animations unique to that page. (for example, a text slogan)
I'm thinking if I do a single SWF, it will be cached and not have to re-re-load on every page entry, correct? So that seems the way to go.
But I need to let the SWF know what page it's on. What We Do/Skill1 needs different animation than does What We Do/Skill2.
Can anyone tell me a way to do this that's so simple even I can understand it? Something with session variables (whatever they are), or something like that?
Danke.
I would use the swfObject Javascript code and use the addVariable to pass it a page name. On the first frame of your flash, check which string it is, and go to the proper section. http://blog.deconcept.com/swfobject/
^ automates the swf inclusion onto the page and allows for easy variable additions without a risk of caching.
Let me know if you need help with any of it.
Originally posted by: persist I would use the swfObject Javascript code and use the addVariable to pass it a page name.
I have no idea what you just said, but I'll follow your linky and see if I can make heads or tails of it.
Thanks.
Originally posted by: persist I would use the swfObject Javascript code and use the addVariable to pass it a page name. On the first frame of your flash, check which string it is, and go to the proper section. http://blog.deconcept.com/swfobject/
^ automates the swf inclusion onto the page and allows for easy variable additions without a risk of caching.
Let me know if you need help with any of it.
forest
Its really easy to use mc.
Everything's easy when you know how to do it. 
True, but a week ago i'd never even heard of swfobject and it was easy enough to pick up.