Playing and stopping the mp3 is not a function of swfobject, but your mp3
player. You need to add the ability to play/stop on your player through
something like ExternalInterface.

BTW - you should give each swfobject a unique DOM Id, like:

var so = new SWFObject("myContent.swf", "*myContent1*", "250", "30", "9");


Aran

On Fri, Jul 9, 2010 at 3:58 AM, Dhakshina Murthy M <
[email protected]> wrote:

> Hi Sam,
>
> this my html swf object code, my addvariable is now empty and then
> when i click the html link  and match link id that swf only i have
> send addvariable
>
> <div id="flashAll">
>  <div class="flashcon" id="flashcontent1">
>    <script type="text/javascript">
>            var so = new SWFObject("myContent.swf", "myContent", "250",
> "30", "9");
>                so.addVariable("flashVarText", "");
>                so.write("flashcontent1");
> </script>
>  </div>
>  <div class="flashcon" id="flashcontent2">
>    <script type="text/javascript">
>            var so = new SWFObject("myContent.swf", "myContent", "250",
> "30", "9");
>                so.addVariable("flashVarText", "");
>                so.write("flashcontent2");
> </script>
>  </div>
>  <div class="flashcon" id="flashcontent3">
>    <script type="text/javascript">
>            var so = new SWFObject("myContent.swf", "myContent", "250",
> "30", "9");
>                so.addVariable("flashVarText", "");
>                so.write("flashcontent3");
> </script>
>  </div>
>  <div class="flashcon" id="flashcontent4">
>    <script type="text/javascript">
>            var so = new SWFObject("myContent.swf", "myContent", "250",
> "30", "9");
>                so.addVariable("flashVarText", "");
>                so.write("flashcontent4");
> </script>
>  </div>
>  <div class="flashcon" id="flashcontent5">
>    <script type="text/javascript">
>            var so = new SWFObject("myContent.swf", "myContent", "250",
> "30", "9");
>                so.addVariable("flashVarText", "");
>                so.write("flashcontent5");
> </script>
>  </div>
>  <div class="flashcon" id="flashcontent6">
>    <script type="text/javascript">
>            var so = new SWFObject("myContent.swf", "myContent", "250",
> "30", "9");
>                so.addVariable("flashVarText", "");
>                so.write("flashcontent6");
> </script>
>  </div>
> </div>
>
> Thanks Regds,
> Dhakshinamurthy
>
>
>
> On Fri, Jul 9, 2010 at 2:22 PM, Sam Sherlock <[email protected]>
> wrote:
> > can you supply a link or code?
> >
> > --
> > 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]<swfobject%[email protected]>
> .
> > For more options, visit this group at
> > http://groups.google.com/group/swfobject?hl=en.
> >
>
> --
> 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]<swfobject%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>
>

-- 
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.

Reply via email to