Thanks Aran for providing that link, my issue has been solved and working
perfectly on IE and FF.
This is what enabled both object working:
<script type="text/javascript">
swfobject.registerObject("Spotlight_en_gb", "8.0.0");
window.onload = function CountryCode() {
var obj = swfobject.getObjectById("Object Name");
if (obj && typeof obj.SetVariable != "undefined") {
obj.SetVariable("Variable", "Value");
}
};
</script>
Thanks again
Fahad.
On Tue, Apr 7, 2009 at 3:43 AM, Aran Rhee <[email protected]> wrote:
> Fahad.
>
>
>
> Can I confirm that this page is working for you:
>
>
>
> http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_com.html
>
>
>
> This test page uses getObjectById in order to make external Interface calls
> to/from the HTML page. It should be pretty similar in terms of what you are
> wanting to achieve code-wise.
>
>
>
> If this page works for you, then it is something specific in your code
> which is unhappy. If this page also does not work for you, then it would
> seem there is something wrong with your Flash player install etc.
>
>
>
>
>
> Aran
>
>
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Fahad Bhatti
> *Sent:* Monday, 6 April 2009 11:52 PM
> *To:* [email protected]
> *Subject:* swfobject.getObjectById() is null in FF, worked on IE...
>
>
>
> hi all
>
>
>
> my inner object is not getting identified by swfobject.getObjectById() and
> Error Console message throws null msg in FF, though working perfectly on IE.
>
>
>
> i have tried so many ways to get it identified as you will see in my
> attached html file.
>
>
>
> please chk if the code has some issues? or is it the SWFOBJECT 2.0 which is
> the successor of UFO and Swfobject 1.0/1.5?
>
>
>
> awaiting for any help or suggestion
>
>
>
> Thanks
>
>
>
> F.
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---