embedSWF invokes createSWF after detecting whether minimum flash player
version is available, and includes domready event handling.

createSWF by itself just does the embedding. no domready, no version
detection.

- philip


On Thu, Sep 6, 2012 at 5:39 AM, Aran Rhee <aran.r...@gmail.com> wrote:

> embedSWF() is what most people will use - It is a 'higher level' function
> which covers most needs for embedding a swf.
>
> As the docs say createSWF() is 'low level' method will primarily be
> useful when combining it with other JavaScript libraries. Another common
> usage is if you are doing something like dynamically attaching and
> destroying swfs in the same 
> container<http://demos.learnswfobject.com/load-onclick/onclick2.html>
> .
>
> Unless you are doing something funky, embedSWF() should be good for you.
>
> Aran
>
> On Thu, Sep 6, 2012 at 5:42 AM, Clark <a.scots...@gmail.com> wrote:
>
>>
>>
>> See title ;)
>>
>> I looked at the docs but still do not really know the difference.
>>
>> Thanks.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "SWFObject" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/swfobject/-/f_c8wnwwF68J.
>> To post to this group, send email to swfobject@googlegroups.com.
>> To unsubscribe from this group, send email to
>> swfobject+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/swfobject?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "SWFObject" group.
> To post to this group, send email to swfobject@googlegroups.com.
> To unsubscribe from this group, send email to
> swfobject+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to swfobject@googlegroups.com.
To unsubscribe from this group, send email to 
swfobject+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to