Hey,
i want to write the object-tags and stuff without giving a container
for it.
This is what you normally have to write to use SWFObject:
<div id='ad728'> </div>
<script type="text/javascript">
var so = new SWFObject("swfFile.swf", "728x90", "728", "90", "8",
"#000000");
so.addParam("quality", "high");
so.addParam("base", "../bloodbowl/");
so.addParam("wmode", "transparent");
so.addVariable("clickTAG", "http://www.bloodbowl-game.com");
so.write('ad728');
</script>
So the SWFObject will be written into the DIV with the id 'ad728'.
But i want to use it like this:
<script type="text/javascript">
var so = new SWFObject("swfFile.swf", "728x90", "728", "90", "8",
"#000000");
so.addParam("quality", "high");
so.addParam("base", "../bloodbowl/");
so.addParam("wmode", "transparent");
so.addVariable("clickTAG", "http://www.bloodbowl-game.com");
so.write();
</script>
So i dont need to set a container for the SWFObject and can directly
write the content where i call the function.
I hope you unterstand what i mean. I am not that good in english..
Gr33tZ
Rn
On 23 Nov., 07:55, Aran <[email protected]> wrote:
> What you you mean "print"?
>
> The basic principal is that SWFObject will write an <object>
> definition for your swf to a certain DOM element after Flash player /
> JS detection has taken place. If you need to, you can dynamically
> create a DOM element and then write to that...
>
> I am not really understanding what you are wanting / can't achieve
> with the SWFObject API, so perhaps you can explain yourself a bit
> more?
>
> Aran
>
> On Nov 22, 3:39 am, regsnerven <[email protected]>
> wrote:
>
> > Hello guys,
>
> > i want to print the swfObject directly where i call the function and
> > not in a div-container. How can i do that?
>
> > Gr33tZ
> > Rn
--
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=.