An company gave me that code and i need to referer it to my ad
company.
And i think a div-Tag would ruin my design if the ad is bounded in my
site.

Why isn't it possible to just WRITE the object-tags and stuff instead
of putting it in the INNERHTML of a container?


On 23 Nov., 20:49, Sam Sherlock <[email protected]> wrote:
> I think your best is to use static objects of swfobject 2.x (the flash
> instance will be in the page using nested objects & ie conditionals)
>
> generate the code using the online 
> generatorhttp://www.bobbyvandersluis.com/swfobject/generator/index.html
>
> make sure that your using the 2.x version of the swfobject script (the
> syntax you have posted is 1.x)
>
> If however your can't accomplish your aims with swfobject static / dynamic
> please explain what your hoping to achieve
>
> hth - S
>
> 2009/11/23 regsnerven <[email protected]>
>
> > 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]<swfobject%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/swfobject?hl=.

--

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


Reply via email to