A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Opening SWF in Flash player rather than browser

  1. #1
    Member
    Join Date
    Dec 2009
    Posts
    51

    Opening SWF in Flash player rather than browser

    Hey i was wondering how would i place my SWF on a HTML website, and when the user clicks the link to view it, it opens in the SWF player instead of the browser, or a browser without the bars at the top?

  2. #2
    Senior Member
    Join Date
    May 2008
    Posts
    332
    I don't know if you can get a Web page to open a local Flash player and then play whatever it is you have as a .swf in it, but you could use a javascript popup window to eliminate the bars at the top. It's a method I use to give the viewer the maximum viewing size for online tutorials.
    This is an example of what the link would look like:
    Code:
    <h2><span class="style1">Use this link to access on-line video tutorials </span><a onclick="Javascript:window.open('http://www.cidigitalmedia.com/tutorials/wbc_tuts.html','_blank','height=700, width=1000,resizable=no,location=no');return false;" href="wbc_tuts.html">CLICK HERE TO WATCH</a></h2>
    This is the link on the main html page, not the html page that has the .swf on it.
    Google javascript popups for more info.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center