[SWFObject] Multiple Flash Movies

Asai Asai at globalchangemusic.org
Sat Jun 17 16:10:47 PDT 2006


Hey that's great, thanks alot!

At 03:26 PM 6/17/2006, you wrote:
><?xml version="1.0" ?>
>On 17 Jun 2006 at 15:01, Asai wrote:
>
> > >Because I'm feeling extremely tired and lazy, I'm wondering if
> > >anyone can direct me to the place where I learn how to install
> > >multiple flash movies in the same web page with SWFObject.
> >
> > thanks alot
> >
> >
>_______________________________________________
>
>Here is my answer to an earlier similar question ..
>
>On 4 May 2006 at 14:14, Steve Norris wrote:
>
> > It is critical, to the
> > success of a software application that I am writing, that
> > there be a standardized way to access the swfObjects in an
> > existing .html page.
>
>I'm doing something similar .. for placing multiple SWFObjects
>.. all different id's .. in HTML wrapper page ..
>I place SWFObject code in a function ..
>
>e.g. to load one SWFObject instance ..
>
>loadSWFObject("top", "test.swf", "test", "100", "100", "8.0.22", "#ffffff");
>
>then ..
>
>function loadSWFObject(div_id, src, movie_id, w, h, v, bgcolor) {
>
>var so = new SWFObject(src, movie_id, w, h, v, bgcolor);
>              so.addParam("quality", "high");
>              so.addParam("scale", "exactfit");
>              so.addParam("salign", "LT");
>              so.addParam("menu", "false");
>              so.addParam("swLiveConnect", "true");
>              so.addParam("name", movie_id);
>              so.addParam("allowScriptAccess", "sameDomain");
>              so.write(div_id);
>}
>
>The div properties (in classes) are then all defined in CSS stylesheet.
>
>e.g.
>
><div class="so_top" id="top">
><p>This is replaced by the Flash content.</p>
></div>
>
>
>This layout allows SWFObject div attributes to be targetted ..
>e.g. to move / resize SWFObjects or make them visible/hidden.
>
>
>DL
>
>_______________________________________________
>SWFObject mailing list
>SWFObject at lists.deconcept.com
>http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com

---asai 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060617/8cf23a31/attachment-0005.htm>


More information about the Swfobject mailing list