Flash swfobject not working
September 29, 2006 12:00 AM
I am trying to put a persistent flash menu into Lectora.We want to avoid people clicking the new security feature in IE that requires you to 'Click control to activate' each time a bit of Flash appears in a page.Hence we are using swfobject.js. I have got this to work by hand coding the html, but not through the External HTML object feature in Lectora. I am choosing the 'Other' option in the External HTML dialog and pasting in the some code based on a post by Hemingway at http://community.trivantis.com/forum_posts.asp?TID=2509&KW=s wfobjectthe code is:
This interactive content requires the latest Adobe Flash Player
This makes the page hang.BTW The swfobject.js is included in the html folder. I think the problem might be that Lectora wraps the above code in another div tag named after the HTML Object name, which in our case is 'flashmenu'. I think it means that the'so.write("flashcontent")' can't find the right div to write into because it is now nested in the flashmenu div. When I take that wrapper div out it works, but thisis by hand and we really really don't want to hand-edit the html each and everytime we publish! Anyone know how to access the nested 'flashcontent' div?blipstationEdited By: blipstation on 2006-9-29 6:31:37Discussions have been disabled for this post