Converting old flash website for iPhone

I need to edit an old website created in flash (actionscript 2) so that it can be accessed from an iPhone / iPad etc. The website uses a php page with a flashcontent div to display the .swf file. I don’t have access to the original flash file but have used google’s swiffy to convert the .swf to html and inserted this code into the existing index.php file in place of the default link to download flash but with no joy.

<table class="media_table" cellpadding="0" cellspacing="0">
        <tr>    
            <td class="media_td">
                <div id="flashcontent">
                <div id="swiffycontainer" style="width: 840px; height: 560px">
    </div>
    
    <script>
            var stage = new swiffy.Stage(document.getElementById('swiffycontainer'),
                                   swiffyobject);
            stage.start();
    </script>
    </div>
                <script type="text/javascript">
                    // <=!=[=C=D=A=T=A=[
                    var swf = "<?php echo $swf ?>";
                    var so = new SWFObject(swf, "flashcontent", "100%", "100%", "8", "#000000");
                    so.addVariable("host", "http://<?php echo getenv("SERVER_NAME")?>/");
                    so.addVariable("debugremote", true);
                    so.addVariable("amfversion", "amfphp");
                    so.addParam("AllowScriptAccess", "always");
                    so.addParam("allowFullScreen", "true");
                    so.write("flashcontent");
                    // ]=]=>
                </script>
                <?php if($trace){ ?>
                    <script type="text/javascript">
                        window.open("trace.php","trace","width=340,height=240,resizable=yes,status=no");
                    </script>
                <?php } ?>
            </td>
        </tr>    
    </table>    

The following links and the swiffy output are included within the <head>:
<meta http-equiv=“X-UA-Compatible” content=“IE=edge”>
<script src=“https://www.gstatic.com/swiffy/v5.3/runtime.js”></script>

The page / swiffy output loads but it is not displaying the content / connecting with the database - what am I missing here?
Is there a better approach to doing this?