Swf object cant be access afte attaching to layout

I am trying to access to swf object , it works fine but if i attach swf object to layout
(Layout.cells(“a”).attachObject(“swfobject”):wink: i get unspecified error in IE. In firefox it give me this error: Error: getFlashMovie(“swfobject”).init is not a function.

is there any solution ?

any help ???

No help here so it took me longer to solve this problem … if any one will need it , this is how i did it:

Download swfobject.js here:http://code.google.com/p/swfobject/downloads/detail?name=swfobject_2_2.zip&can=2&q=
Documentation:http://code.google.com/p/swfobject/wiki/documentation


After you do this , object has to load and it take 2-3 seconds. So if you have init() function to call in swf object, you have to wait few secodns, otherwise it will give u error. For example use :

=================================================================================

If you have any other solution pleas post here … Thanks