1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

SWF File

Discussion in 'Other PC Software' started by maxmangion, 2008/06/26.

  1. 2008/06/26
    maxmangion

    maxmangion Inactive Thread Starter

    Joined:
    2002/08/13
    Messages:
    252
    Likes Received:
    0
    Hi,

    I have started experimenting with flash, and created a very simple game. Since the file which i created is in .swf extension, is there a way i could possibly convert my file to .exe so that i can run my game independently whether i have the flash player installed or not?

    Thank you for your help.
     
  2. 2008/06/26
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Why? Just make a simple Web page and run it in the browser. Put this in Notepad and save as abc.html and store in same dir as the swf.

    Change XYZ.swf to the name of your Flash file. Change width & height to desired dimensions.

    Code:
    <!DOCTYPE HTML PUBLIC  "-//W3C//DTD HTML 4.01 Transitional//EN ">
    <html>
    <head>
    <title>Flash Game</title>
    <meta name= "keywords" content=" ">
    <meta name= "description" content=" ">
    </head>
    <body>
    <div style= "text-align:center; ">
    <!-- Flash -->
    <object type= "application/x-shockwave-flash" data= "XYZ.swf" width= "XXX" height= "YYY ">
    <param name= "movie" value= "XYZ.swf ">
    </object>
    </div>
    <!-- End Flash-->
    </body>
    </html>
    
     

  3. to hide this advert.

  4. 2008/06/27
    maxmangion

    maxmangion Inactive Thread Starter

    Joined:
    2002/08/13
    Messages:
    252
    Likes Received:
    0
    Hi,

    Thanks for your reply, in fact that's how it is set up at the moment. However, I have some flash games (which i did not author myself), who have a .exe extension, and I was wondering how it can be done.

    Thank You
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.