Matias

Why do you want to do that?

The <embed> tag is not necessary (or standards complaint) in order to
display a .swf.

SWFObjeject will create a single <object> tag based on the browser the user
has for you. All you need to do it decide on whether you want to use the
static or dynamic publishing methods

If you misunderstood where you need to pass data into the swf, that cam be
done through the flashvars object (dynamic publishing ) or param (static
publishing)

Have a read of the SWFPObject documentation (
http://code.google.com/p/swfobject/wiki/documentation ) , and then you might
want to use the code generator to help you (
http://code.google.com/p/swfobject/wiki/generator ).


Cheers,
Aran


On Wed, Mar 16, 2011 at 9:18 AM, Matias <tute.uni...@gmail.com> wrote:

> I want to create this:
>
> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
> codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/
> swflash.cab#version=8,0,0,0" width="320" height="140"
> id="audiorecorder" align="middle">
> <param name="allowScriptAccess" value="always" />
> <param name="bgcolor" value="#FFF5EE" />
> <param name="wmode" value="transparent">
> <param name="movie" value="/audiorecorder.swf?
> userId=123&recorderId=456&sscode=html" />
> <embed bgcolor="#FFF5EE"  src="/audiorecorder.swf?
> userId=123&recorderId=456&sscode=html" width="320" height="140"
> name="audiorecorder" allowScriptAccess="always" type="application/x-
> shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"; /
> >
> </object>
>
> But I didn't find a way to create an embed inside an object. I need
> this to change on fly the src value to alter the param recorderId.
>
> --
> You received this message because you are subscribed to the Google Groups
> "SWFObject" group.
> To post to this group, send email to swfobject@googlegroups.com.
> To unsubscribe from this group, send email to
> swfobject+unsubscr...@googlegroups.com.
> 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 swfobject@googlegroups.com.
To unsubscribe from this group, send email to 
swfobject+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to