SWFObject is unrelated to the use of skins. All SWFObject does is embed a
SWF into an HTML page. This is why you will probably not find any
SWFObject-related discussions of skins.
Regardless of what method you use to embed a SWF into your HTML, you will
encounter the same problems with skins, such as 'what file path should be
used when loading the other elements into the skin SWF?' and 'what flashvars
are required for this project?'.
RE: paths, the easiest solution is to use absolute paths for all elements.
("http://domain.com/movie.swf" instead of "../movie.swf")
RE: Flashvars, it depends on your project. The Adobe embed code you
provided below lists the following flashvars:
MM_ComponentVersion=1
skinName=Halo_Skin_3
streamName=shotover
autoPlay=false
autoRewind=false
You can learn more about flashvars on Adobe's site, and our SWFObject
documentation site
<http://code.google.com/p/swfobject/wiki/documentation>describes how
to specify flashvars using SWFObject.
As for the particulars of how a skin works with its other files, there's no
way we can possibly know, because there are a ton of custom projects out
there that all use their own approaches/mechanisms. We focus purely on
embedding a SWF into an HTML page and leave other details (such as skinning
and other internal mechanisms) to the developers that created the SWFs.
In your case, it appears you're trying to specify skin details for Adobe
Flash's FLV Player component. That means you need to go to Adobe's site to
get details on how their FLV Player component works and what flashvars it
accepts.
As for embedding, the easiest thing for you would be to go to the SWFObject
code
generator<http://www.bobbyvandersluis.com/swfobject/generator/index.html>and
type in the details for your files. The generator will handle the
rest. If you're playing the FLVs in an iframe, the SWFObject code needs to
be in that iframe and not the parent HTML file.
- philip
On Sat, Dec 26, 2009 at 11:20 AM, Nologic420 <[email protected]> wrote:
> Haha.. No. I don't think you are all geeks. I just think the information
> available for the swfobject is too convoluted. I have searched the net for
> good answers about the script and using it with skins, fla and a progressive
> down loader packaged with adobe CS3 Flash and Dreamweaver - none of the
> answers were clear. Sorry if you were offended. Not intended.
>
> ------------------------------
> *From:* X.Smalbil <[email protected]>
> *To:* [email protected]
> *Sent:* Fri, December 25, 2009 10:35:51 PM
> *Subject:* Re: I don't speak Geek.
>
> So what do you think.. that we're geeks ?
> You are lucky Im happy today or else I would have fully flamed you so you
> would shit all over you keyboard.
> You should stop using google for porn and use your brain for other things
> than analyzing titties. It's like your email
> adress says.. no logic.
>
>
>
> On Thu, Dec 24, 2009 at 2:31 PM, Nologic420 <[email protected]> wrote:
>
>> This is all geek to me man. I try to keep my site nice and tidy. But I
>> have been using the Adobe detection Kit to set up the skin I use for
>> my progressive videos and then I play them in an iframe. The question
>> is how do I turn this code into the correct code for SWFObject so it
>> plays with the skin.
>>
>> <script type="text/javascript">
>> AC_FL_RunContent( 'codebase','
>> http://download.macromedia.com/pub/%0Ashockwave/cabs/flash/%0Aswflash.cab#version=8,0,0,0','width','562','height','411','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=shotover&autoPlay=false&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://<http://download.macromedia.com/pub/%0Ashockwave/cabs/flash/%0Aswflash.cab#version=8,0,0,0>
>>
>>
>> www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash
>> ','movie','FLVPlayer_Progressive'
>> ); //end AC code
>> </script>
>> <noscript>
>> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>> codebase="
>> http://download.macromedia.com/pub/shockwave/cabs/flash/%0Aswflash.cab#version=8,0,0,0"
>> width="562" height="411" id="FLVPlayer">
>>
>> <param name="movie" value="FLVPlayer_Progressive.swf" />
>> <param name="salign" value="lt" />
>> <param name="quality" value="high" />
>> <param name="scale" value="noscale" />
>> <param name="FlashVars"
>> value="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=shotover&autoPlay=false&autoRewind=false"
>> /
>> >
>> <embed src="FLVPlayer_Progressive.swf"
>>
>> flashvars="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=shotover&autoPlay=false&autoRewind=false"
>> quality="high" scale="noscale" width="562" height="411"
>> name="FLVPlayer" salign="LT" type="application/x-shockwave-flash"
>> pluginspage="http://www.adobe.com/shockwave/download/download.cgi?
>> P1_Prod_Version=ShockwaveFlash<http://www.adobe.com/shockwave/download/download.cgi?%0AP1_Prod_Version=ShockwaveFlash>"
>> />
>> </object>
>> </noscript>
>>
>> Thanks .. I only need this code writen once and can use it with all of
>> my movies since they all have the same player controls. Millions of
>> thank yous !!!!
>>
>> --
>>
>> 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=en.
>>
>
> --
> 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=en.
>
> --
> 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=en.
>
--
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=en.