Posted by akayani on December 9, 2009 at 1:00am
$(document).ready(function(){
var flashtags = $('
[swf file="sites/all/modules/flashtags/flash/flashtags.swf"]
').appendTo('#privatemsg-new').get(0);
if (Drupal.jsEnabled) {
Drupal.attachBehaviors(flashtags);
});
This is my code. I'm using SWFObject.
[swf file="sites/all/modules/flashtags/flash/flashtags.swf"]
The above is being printed on the page but it is ignored by SWFObject. It needs some sort of forced refresh or maybe the use of an alternative method to add Flash objects. Or otherwise using a totally different approach like hook_alter
Yani
(Sorry this belongs in a support forum, should be deleted and moved really.)