If you're getting an error of "swfobject" is undefined, you probably have
something larger wrong with the page. Can we have a link to check it out
ourselves?
Some questions to thinkg about:
1. What version of swfobject are you using? Open up swfobject.js and take a
look?
if it's not 2.0 (or 2.1, better), please upgrade.
2. Do you have any other flash libraries on the page, such as Adobe's
AC_FL*** type stuff?
if so, remove please.
3. Did you use the code generator to generate your code?
if not, try it:
http://www.bobbyvandersluis.com/swfobject/generator/index.html
--Kyle
--------------------------------------------------
From: "Jorge Mataleo" <[email protected]>
Sent: Monday, April 06, 2009 9:15 AM
To: "SWFObject" <[email protected]>
Subject: Re: Unable to use Flash method
>
> On Apr 6, 3:02 pm, "Getify Solutions, Inc." <[email protected]> wrote:
>> Try swfobject.getObjectById() instead.
>
> Sorry; could you clarify alittle? Thanks for helping:
>
>
> I've tried just having both:
>
> function getFim()
> {
> fimObj = swfobject.getObjectById
> (fimIdName);
> }
>
> error is:
>
> swfobject is not defined
>
> (I've got the swobject,js file included etc)
>
>
> and also:
>
> function getFim()
> {
> fimObj = document.getElementById(fimIdName).getObjectById
> (fimIdName);
> }
>
> error is:
>
> document.getElementById(fimIdName).getObjectById is not a function
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---