Skip navigation
Currently Being Moderated

Can I embed player skin into file so I don't have 2 swf files when published?

Jan 27, 2012 7:54 AM

Hi.  I've read a few posts about this, but my question was never really answered.  Is there a way when using Actionscript 3 to embed the video player skin into my document so that when I publish it, everything I need to launch the file onto a website is in one swf?  When I publish it as it is now, 2 swfs appear, one for my file and one for the video player skin.  Can I embed the video player skin so this doesn't happen and I only have to upload the one swf to my website?  Help would be greatly appreciated!

 
Replies
  • kglad
    62,151 posts
    Jul 21, 2002
    Currently Being Moderated
    Jan 27, 2012 8:24 AM   in reply to Cuwen

    i don't see any easy way to do that.  you might be able to work-around the problem but it would require some advanced flash skills and still may not be doable.

     
    |
    Mark as:
  • kglad
    62,151 posts
    Jul 21, 2002
    Currently Being Moderated
    Jan 27, 2012 9:25 AM   in reply to Cuwen

    yes, you can do that.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 27, 2012 10:10 AM   in reply to Cuwen

    Not everyone who uses Flash video uses the FLVPlayback component (that requires the extra "skin" .swf file).

    I have posted hundred and hundreds of videos on various clients web sites and have never used the component, instead I always use NetStream, a MUCH more powerful and versatile means of displaying Flash video.

    For example.... Home page and other custom players on the site:

    http://www.cataractvideo.com/index.html

     

    custom player with titles, sections, text narrations, along with videos...

    because NetStream allows for easy interaction with other Flash elements, you can seemlessly build the player into your design, giving the skin much more function than just start/stop buttons.

    http://www.drheimer.com/video/

     

    A walk-on video with alpha channel that interacts with a second video behind the walk-on

    http://www.mrfilmbiz.com/

     

    More about NetStream

    http://injun.ru/flash10api/flash/net/NetStream.html

    a great set of tutorials to get you started:

    http://www.gotoandlearn.com/

    scroll to the very bottom of the page and there are a set of article that show you how to create your own NetStream video player... and you can create whatever type of skin you can imagine or dream up.

    But whether you use just one .swf or two, you still need the actual .flv file besides... so since there will always be more than one file anyway... at least two... what's the fuss?

    Are you also saying that your company's Web site doesn't use html pages? that links go directly to the .swf... and not a Web page holding the .swf? That's almost unheard of! since then the only way anyone could view any .swf files is if they have the actual Flash program installed, rather than using a browser to open and display the .swf.

    Best wishes,

    Adninjastrator

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 27, 2012 3:14 PM   in reply to Cuwen

    Have you ever thought of using an iframe?

    An iframe lets you stick an HTML Web page from one site into another.

    So you you create a simple HTML Web page and only have whatever Flash content you want on that single Web page. Of course you do need to find a Web host for that page... but then you just add the iframe code to the "Announcements" box.... you don't upload any files... just the iframe code.

    Then the only thing in the box (for example) is:

    <iframe src="http://www.w3schools.com"></iframe>

    see sample page with that iframe:

    http://www.cidigitalmedia.com/tutorials/iframe.html

    the rest of the blank page would be the other part of the main Web page... the iframe illustratrates how you could put whatever you want in the "Announcements" box and display it on the main site with NO files uploaded there... just some static text.

    Sure you need to host the small web page, but $1300 would get you at least 10 yrs worth of hosting!

    For more on iframe:

    http://www.w3schools.com/tags/tag_iframe.asp

    Another Forum discussion where the main site does not allow some uploads, etc... iframe was the answer (scroll down near bottom for final resolution).

    http://forums.adobe.com/thread/949746

    Best wishes,

    adninjastrator

     

    Message was edited by: adninjastrator..... added last link to another Forum article.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points