In this case the developer is overwriting the original replacemtn DIV id of "player" with the new id/name of "mpl". If you wanted to access the swf in the DOM after embedding, you would need to use the DI of "mpl".
Aran -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of expat101 Sent: Monday, 19 January 2009 8:41 PM To: SWFObject Subject: ID, Name and player <code>var attributes = { id: 'mpl', name: 'mpl' }; swfobject.embedSWF('http://my.domain.com/path/player.swf', 'player', '640', '100', '9.0.124', false, flashvars, params, attributes); </script> </code> Can anyone enlighten me as to usage of ID, NAME and PLAYER, in the above code please :D --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
