i was actually recommended to SWFObject by a forum mate from another forum but im not quite sure of how to go about doing what he told me... here's what he said: I recommend using swfOBject (http://blog.deconcept.com/swfobject/) to embed your swf, and you can also then use it to pass variables to your flash movie. There's a lot of documentation about using flashVars with swfObject, so do some reading and it should be pretty straightforward.
For example, you could add a variable to your swfObject called "category". You could then link to the page with something like this:
Then, in your swf, you can have something like this:
ActionScript Code:
if (category != undefined) {
getURL(category + ".html", "containerFrame");
}
my reply to him was : hi,
i have added the variable (not sure if it's the correct way to do it though) by :var category=deconcept.SWFObject; in the swfobject.js... was wondering where do i define the category section... (as in where do i define which page belongs to services, etc.)
would really appreciate some help here to enlighten me on this.