17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1475 Views |
-
Flash variables problem - impossible to show swf

17 March 2008 at 1:36am
hi,
I've got a problem wiht addVariable (please take a look at the code below)When I put two variables - swf presentation can't show on a webpage, when there is only one parameter everething is ok.
Did you have this kind of problem ?
here is the code:
<div id="HeaderZdjecia">
</div>
<script type="text/javascript">
var so = new SWFObject("header.swf", "mymovie", "950", "400", "9", "#ffffff");
so.addParam("wmode", "transparent");
so.addVariable("xmladress", "menurel.xml");
so.addVariable("id", "2");
so.addVariable("fv", "2");
so.write("HeaderZdjecia");
</script> -
Re: Flash variables problem - impossible to show swf

17 March 2008 at 4:06am Last edited: 17 March 2008 4:06am
uff, I've fix it ;)
the problem was only in firefox and cause the error
An invalid or illegal string was specified" code: "12I've replaced "&" --> "&" in flashvars section
in my swfobject.js file and it works !!!
| 1475 Views | ||
|
Page:
1
|
Go to Top |

