run fla files

ilan

Expert
Licensed User
Longtime User
hi

i have an fla file (game) i would like to run it but dont know how.
i have no experience with flash files.

draging it to the web browser doesnot do much. i know how to run swf files but how can i run fla files on my browser (offline)

to run swf file i create an index.html with this code:

B4X:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en-US">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <meta http-equiv="content-language" content="en-US" />
        <meta name="robots" content="index,follow" />
        <meta name="keywords" content="" />
        <meta name="description" content="" />
        <meta name="rating" content="general" />
        <title>Preview</title>
        <style type="text/css" media="screen">
            body { background:#333333; width:100%; height:100%; margin:0px; padding:0px; }
            #wrapper { width:500px; height:500px; margin:20px auto 20px auto; padding:0px; }
        </style>
    </head>
    <body>
        <div id="wrapper">
        <object id="game" type="application/x-shockwave-flash" data="myGame.swf" width="500" height="500" align="middle" >
            <param name="movie" value="myGame.swf" />
            <param name="FlashVars" value="" />
            <param name="bgcolor" value="#333333" />
            <param name="wmode" value="window" />
            <param name="allowFullScreen" value="true" />
            <param name="allowScriptAccess" value="sameDomain" />
            <a href="http://www.adobe.com/go/getflash"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a>
        </object>
        </div>
    </body>
</html>

and then just drag it to my browser.
does anyone know how to do that with .fla files?

thanx, ilan
 

aaronk

Well-Known Member
Licensed User
Longtime User
does anyone know how to do that with .fla files?
You will need to save it as a .swf file.

The .fla file is a raw editable file that is saved by the Flash software application. (Adobe Flash)

The .swf file is the compressed file that is created from the .fla file for use on the Web.
 

ilan

Expert
Licensed User
Longtime User
You will need to save it as a .swf file.

The .fla file is a raw editable file that is saved by the Flash software application. (Adobe Flash)

The .swf file is the compressed file that is created from the .fla file for use on the Web.

i have only the fla file so i need to download Adobe Flash and export as swf?
 

sorex

Expert
Licensed User
Longtime User
fla is the source file and swf the compiled result.

compare it with fla=b4a swf=apk

so you'll need flash or one of the command line compilers to make it "runnable"
 
Top