Is it possible?, for example:
<script type="text/javascript">google.load("swfobject","2.2")</script>
<script type="text/javascript" src="js/myswf.js?swf=animate01"></script>
in the myswf.js file :
swfobject.embedSWF("flash/"+swf+".swf","ID","258","371","9.0.0","",{},wmode:"transparent"},{});
Is it possible to do something like this?
thanks in advance 🙂
Short answer is yes, but you would need to create a separate JavaScript file to parse all your elements and look for those parameters.
For what it looks like you’re trying to do there’s a most likely a simpler solution.
edit:
Here’s some code: