In my opinion, it's not truly dynamic. It requires some elements in
DOM element in order to create SWF object and return it.
In my use case, i need to create flash object to assign it to
javascript variable, which in turn will be appended to dynamically
created element. This dynamically created element can't be appended to
the DOM tree of the document BEFORE it's formed.
Is there any options, how to generate flash object using pure
SWFObject2 capabilities. but WITHOUT having some pre-existing elements
in the page structure with ids that are used as input for SWFObject2
API functions?
e.g. :
function someFunction() {
var div = document.createElement ( "div" );
div.appendChild ( swfobject.createSWF( %attributes% , %parameters
% ) ); // and no id, so i could get somehow object for mentioned
operation
return div; // and result is used in another function, that prepares
other stuff and places this result on the DOM tree
}
Thank you in advance.
--
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en.