[SWFObject] Multiple Flash
Jim Berkey
jim at jimbo.us
Sat Jun 24 17:04:51 PDT 2006
The call to swfobject.js:
<script type="text/javascript" src="swfobject.js"></script>
should be in the head of the page, try placing it just before the </head> tag. Only place it once. The rest of your divs and scripts where the swfs should be look fine.
*********** REPLY SEPARATOR ***********
On 6/24/2006 at 2:22 PM Anthony Connelly wrote:
>Below is the code I'm trying to use. It works with 2
>movies on a page. If I add it with a 3rd swf, they
>play fine but the page gives a "stack overflow" error
>and locks up on refresh or page change. Am I suppose
>to use the first 2 lines each time as well? What's
>going on?
>//In a table cell:
><script type="text/javascript"
>src="swfobject.js"></script>
>
><div id="grando">
> <span class="addressItemBold">You must have
>Javascript enabled and Flash 8 installed to view this
>site properly.</span></div>
>
><script type="text/javascript">
> var so = new SWFObject("grand_opening.swf",
>"grandmovie", "310", "110", "8", "#FDF6EC");
> so.write("grando");
></script>
>
>//In another table cell:
><script type="text/javascript"
>src="swfobject.js"></script>
>
><div id="mainnav">
> <span class="addressItemBold">You must have
>Javascript enabled and Flash 8 installed to view this
>site properly.</span></div>
>
><script type="text/javascript">
> var so = new SWFObject("home_nav.swf", "navmovie",
>"740", "130", "8", "#661B15");
> so.addVariable("menuItem", "home_btn");
> so.write("mainnav");
></script>
>
>
>
>--- swfobject-request at lists.deconcept.com wrote:
>
>> Send SWFObject mailing list submissions to
>> swfobject at lists.deconcept.com
>>
>> To subscribe or unsubscribe via the World Wide Web,
>> visit
>>
>>
>http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>> or, via email, send a message with subject or body
>> 'help' to
>> swfobject-request at lists.deconcept.com
>>
>> You can reach the person managing the list at
>> swfobject-owner at lists.deconcept.com
>>
>> When replying, please edit your Subject line so it
>> is more specific
>> than "Re: Contents of SWFObject digest..."
>>
>>
>> Today's Topics:
>>
>> 1. DW extension (Anthony Connelly)
>> 2. Re: Problem with page scrolling in Firefox
>> (C?sar Villa?a)
>> 3. Re: DW extension (Geoff Stearns)
>> 4. Re: Can you help me with this one? (skala
>> manda)
>> 5. Multiple flash (tjcdesigner at yahoo.com)
>> 6. Re: Multiple flash (Geoff Stearns)
>> 7. Flash player cleen install using express
>> install class
>> (Martin Eiler | Cumuli)
>> 8. background sound and IE (Rob Marchetti)
>>
>>
>>
>----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Thu, 22 Jun 2006 14:20:51 -0700 (PDT)
>> From: Anthony Connelly <tjcdesigner at yahoo.com>
>> Subject: [SWFObject] DW extension
>> To: swfobject at lists.deconcept.com
>> Message-ID:
>>
><20060622212051.70469.qmail at web31713.mail.mud.yahoo.com>
>> Content-Type: text/plain; charset=iso-8859-1
>>
>> Couldn't figure out how to communicate with Paul
>> Newman. Anyway, does anybody know if there are any
>> plans to update the extension? I guess I could make
>> a
>> code snip, which I've never done before, and maybe
>> some css to make things a little quicker. I find
>> myself copying the div from a previous project and
>> making changes. Not to sound lazy but a nice
>> extension
>> with a form to fill out would be nice.
>>
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam? Yahoo! Mail has the best spam
>> protection around
>> http://mail.yahoo.com
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Thu, 22 Jun 2006 17:34:50 -0700
>> From: C?sar Villa?a <cesar at empiresolutions.net>
>> Subject: Re: [SWFObject] Problem with page scrolling
>> in Firefox
>> To: <swfobject at lists.deconcept.com>
>> Message-ID: <03a001c6965c$d69626c0$640fa8c0 at EMPIRE1>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> I have the same issue with buttons used on one of my
>> sites,
>>
>http://www.timetraditions.com/cart/index.php?category=11
>> will show it
>> happening. Scroll down then back up. I would also
>> like the answer to this
>> problem.
>>
>>
>>
>>
>>
>>
>>
>> Best Regards,
>>
>>
>>
>> Cesar Villaca
>> Internet Business Consultant
>> Empire Solutions LLC
>> 503.914.6405
>> <mailto:cesar at empiresolutions.net>
>> cesar at empiresolutions.net
>> <http://www.empiresolutions.net>
>> http://www.empiresolutions.net
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: swfobject-bounces at lists.deconcept.com
>> [mailto:swfobject-bounces at lists.deconcept.com] On
>> Behalf Of Kevin Flahaut
>> Sent: Thursday, June 22, 2006 12:22 PM
>> To: swfobject at lists.deconcept.com
>> Subject: [SWFObject] Problem with page scrolling in
>> Firefox
>>
>>
>>
>> I am having a problem where after scrolling the
>> page, you have to click on
>> the flash movie again before rollover effects become
>> availalbe. It's
>> behaving much the same way it would in IE without
>> the swfobject.
>>
>> So far I've only noticed the behavior in Firefox on
>> PC. It's working fine in
>> IE 6.
>>
>>
>http://lagunaboats.net/brochure-overview.aspx?modelid=76914
>>
>> The swf files perform fine by themselves and they
>> really don't have any
>> advanced functionality... pretty simple.
>>
>> Any help would be appreciated.
>>
>> Kevin
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>>
>/pipermail/swfobject-deconcept.com/attachments/20060622/437d04cd/attachment.html
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Fri, 23 Jun 2006 02:22:40 -0400
>> From: Geoff Stearns <geoff at deconcept.com>
>> Subject: Re: [SWFObject] DW extension
>> To: swfobject at lists.deconcept.com
>> Message-ID:
>> <71B41EA7-F18A-4392-A791-F979B85044EC at deconcept.com>
>> Content-Type: text/plain; charset=US-ASCII;
>> delsp=yes; format=flowed
>>
>> paul has been promising me that he'll update it for
>> the last month or
>> so...
>>
>> the best way would be to e-mail him and bug him
>> about it... if enough
>> people send him mails, hopefully he'll get cracking!
>>
>> try pnewman at schematic.com - just don't tell him i
>> gave you his e-mail ;)
>>
>>
>>
>> On Jun 22, 2006, at 5:20 PM, Anthony Connelly wrote:
>>
>> > Couldn't figure out how to communicate with Paul
>> > Newman. Anyway, does anybody know if there are any
>> > plans to update the extension? I guess I could
>> make a
>> > code snip, which I've never done before, and maybe
>> > some css to make things a little quicker. I find
>> > myself copying the div from a previous project and
>> > making changes. Not to sound lazy but a nice
>> extension
>> > with a form to fill out would be nice.
>> >
>> >
>> > __________________________________________________
>> > Do You Yahoo!?
>> > Tired of spam? Yahoo! Mail has the best spam
>> protection around
>> > http://mail.yahoo.com
>> > _______________________________________________
>> > SWFObject mailing list
>> > SWFObject at lists.deconcept.com
>> >
>>
>http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>>
>>
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Fri, 23 Jun 2006 01:49:58 -0700 (PDT)
>> From: skala manda <skalamanda at yahoo.com>
>>
>=== message truncated ===
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com
>_______________________________________________
>SWFObject mailing list
>SWFObject at lists.deconcept.com
>http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
More information about the Swfobject
mailing list