Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
when i tried to embed the .swf file using following code i get swf object is not defined errr
will u please help
js is like this.
<script type="text/javascript"> var so = new SWFObject("/flash/aanpak/aanpak.swf", "mymovie", "995", "280", "10.0.45.2", "#ffffff"); so.addParam("wmode","transparent"); so.addVariable("startBall", 1); so.write("BannerHomeContentRight"); </script>
Do you have a script reference to http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js or included the swfobject js file in your scripts?
Stupid question: did you include a reference to the swfObject.js file (probably from the template code)?
<script type="text/javascript" src="swfobject.js"></script>
Cheers,
/Dirk
That swfobject embed code is from v1.5 of swfobject, so if you have version 2.2 it will throw a "not defined" error
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
SWFObject is not defined
when i tried to embed the .swf file using following code i get swf object is not defined errr
will u please help
js is like this.
<script type="text/javascript">
var so = new SWFObject("/flash/aanpak/aanpak.swf", "mymovie", "995", "280", "10.0.45.2", "#ffffff");
so.addParam("wmode","transparent");
so.addVariable("startBall", 1);
so.write("BannerHomeContentRight");
</script>
Do you have a script reference to http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js or included the swfobject js file in your scripts?
Stupid question: did you include a reference to the swfObject.js file (probably from the template code)?
Cheers,
/Dirk
That swfobject embed code is from v1.5 of swfobject, so if you have version 2.2 it will throw a "not defined" error
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.