3 Replies Latest reply on Aug 9, 2012 5:44 AM by pmfr01

    Converting Flash/SWF to HTML5

    pmfr01 Level 2


      Following Ned's advice I'm posting this message on Dreamweaver's forum (after posting it in the Flash/Actionscript 3 forum).


      I'm not a programmer, so this question might sound a bit noobish.

      I have this flash project with an advanced button - here's the code:


      function btnOver(event:MouseEvent)
      function btnOut(event:MouseEvent)
      function clickPortfolioToGoToWebPage(event:MouseEvent):void
          navigateToURL(new URLRequest("http://www.fudzilla.com/"), "_blank");


      In order to comply with the HTML5/CSS3 "new standards", I converted the swf file to HTML5 with Google Swiffy. The problem was that it doesn't support Actionscript 3, so it was converted as a looping movie. Question: Is it even possible to retain the Mouse events? Or do I have to make a HTML5 for the Rollover, another one for the Rollout and one for the Click? Again, I'm not a programmer.

      Forgive my noobish remarks...


      ***** UPDATE: I got the code and downgraded to Actionscript 2.0 and it worked. *****

      One question though: is this good practice? Creating my animations in Flash AS2 and then converting the SWF file to HTML5 using a SWF/HTML5 converter? Will I have any problems? I suppose it's not an elegant way of doing it...