[SWFObject] complete newb question...

Lisa Konrad lisa at arthouse.org
Mon Nov 27 01:07:50 PST 2006


Thanks Geoff,

That makes sense.

Lisa

On 27 Nov 2006, at 05:19, Geoff Stearns wrote:

> here's my response to this question to another message sent last week:
>
>> it may work in some browsers, but it's not a very good idea...
>>
>> swfobject replaces the content in the target div, so in a sense, it
>> would be replacing the script call that inserts itself.. so maybe if
>> you had some code after the .write() call, that might not be  
>> executed.
>>
>> not to mention strange results if the page is loading slow - you
>> would basically be trying to replace the html content of the div
>> before the div is loaded, which is bad.
>
>
> to sum up: it's a bad idea to put the script within the div you are  
> replacing, so it should always be after.
>
>
> On Nov 25, 2006, at 1:08 PM, Lisa Konrad wrote:
>
>> Ah.. it is now working without moving that bit of script. I would  
>> like to keep the script within the div as I tend to move things  
>> about a lot and it makes it easier. What effect does enclosing the  
>> script within the <div> tags have? Is it safer to move it out?
>>
>> thanks
>>
>> Lisa
>>
>> On 25 Nov 2006, at 17:36, Jim Berkey wrote:
>>
>>> Your end div for your circle div should end right after:
>>>
>>> Flash Player installed.</p></div>
>>>
>>> Then insert your script for the SWFObject
>>>
>>>
>>> *********** REPLY SEPARATOR ***********
>>>
>>> On 11/25/2006 at 4:56 PM Lisa Konrad wrote:
>>> oops Apologies
>>>
>>> http://www.arthouse.org/dragonindex.html
>>>
>>>
>>> On 25 Nov 2006, at 16:49, Jim Berkey wrote:
>>>
>>>> Can you post a link to a problem page so we can see your code  
>>>> and help you correct it?
>>>> jimbo
>>>> *********** REPLY SEPARATOR ***********
>>>>
>>>> On 11/25/2006 at 4:38 PM Lisa Konrad wrote:
>>>> I am sure this is something really silly I have done.. but I  
>>>> have gone through the whole thing time and again and think I am  
>>>> now blind to the error!!!
>>>>
>>>> I recently read about swfobject when I was researching a better  
>>>> way to display flash on my website and then got the dreamweaver  
>>>> extension and read as much as I could about it.
>>>>
>>>> I made my page and everything worked fine in the latest versions  
>>>> of Safari and Netscape on my mac, and even in IE 5.5 on my mac.  
>>>> Not so good in opera as for some reason it seems not to support  
>>>> transparency. Then I uploaded to my website to recheck and to  
>>>> see them on a pc. And nothing.. no warnings to get flash ..  
>>>> nothing. I then checked on my mac the uploaded pages and also  
>>>> nothing but working fine in test on the actual machine.  I have  
>>>> checked that the swfobject.js is uploaded  and tried it with  
>>>> both the full address and short address (cos i thought that was  
>>>> the obvious answer) but .. nothing. I am obviously doing  
>>>> something really stupid and simple wrong...
>>>>
>>>> I am currently updating the whole of my site and would love to  
>>>> use swfobject throughout, am not familiar with js or any  
>>>> programming language really, I am a cut and paste and change  
>>>> where it looks obvious type person, so any help would be  
>>>> gratefully received!
>>>>
>>>>
>>>> Thanks
>>>>
>>>>
>>>> lisa
>>>>
>>>>
>>>> Lisa Konrad
>>>> http://www.arthouse.org
>>>> animations, paintings and flash
>>>>
>>>> _______________________________________________
>>>> SWFObject mailing list
>>>> SWFObject at lists.deconcept.com
>>>> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>>>
>>> _______________________________________________
>>> SWFObject mailing list
>>> SWFObject at lists.deconcept.com
>>> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>>
>> _______________________________________________
>> SWFObject mailing list
>> SWFObject at lists.deconcept.com
>> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20061127/587e464b/attachment-0005.htm>


More information about the Swfobject mailing list