I can verify that you can create as many players as the local users RAM/computer/cacheing will allow. I may be mistaken, but the process of LOADING a flash movie would not be affected overmuch by the ID provided that there isn't any explicit javascript or code in the flash movie that tries to reference the movie by those id/name "tags".
However, if you wish to manipulate the movie or properly identify the movie for some purpose, then being explicit and unique in your use of the name and id properties that you specify via SWFObject is key. Whether you use the static or dynamic publishing method, as long as you are consistent in use, there does not appear to be a MAXNUMBER of players that SWFObject wouldn't support provided that there is no hard coded limitation either due to the Flash engine or the Javascript engine in modern web browsers. Hope this clarifies, Vincent On Mon, Jan 19, 2009 at 3:32 PM, expat101 <[email protected]> wrote: > > hi thanks a lot, > > does this usage allow me to have multiple players on the same page? > > cheers > > On Jan 19, 9:10 pm, "Aran Rhee" <[email protected]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---
