Converting Flash/SWF to HTML5

I.
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:
portfolio.addEventListener(MouseEvent.ROLL_OVER,btnOver);
portfolio.addEventListener(MouseEvent.ROLL_OUT,btnOut);
portfolio.addEventListener(MouseEvent.CLICK,clickPortfolioToGoToWebPage);
function btnOver(event:MouseEvent)
    event.currentTarget.gotoAndPlay("Rollover");
function btnOut(event:MouseEvent)
    event.currentTarget.gotoAndPlay("Rollout");
function clickPortfolioToGoToWebPage(event:MouseEvent):void
    event.currentTarget.gotoAndPlay("ClickPortfolio");
    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...

Hi
If you want your animations to work on HTML5 devices including mobile devices, one solution is to convert the flash content to video and use the HTML5 <video> tag to embed the video on a webpage.
Of course this works only if your content is non-interactive.
FLABACO (www.Flash-Banner-Converter.com) is a Free, online tool which converts Flash (SWF) to video.  It generates excellent quality video which can be used with HTML5 to work on all HTML5 devices / mobile devices.
Kayo
Flabaco

Similar Messages

  • Off-Topic: Converting Flash (.swf) to video?

    Hi, I understand this is probably not the best place o post regarding this, but does anyone know of a .swf to .mov/.mpg solution for Mac? I'm trying to get a Flash animation on my iPod.
    Thanks,
    Taylor

    Taylor--
    How may I go about opening an .swf in Quicktime/Final
    Cut Express (does it work in FCE like you mentioned
    in FCP?)
    Hmmm. Looking around the 'net, I think maybe I was wrong about doing it directly in FCP. Now I'm thinking I might have done the QuickTime Player conversion. It was probably 3 or 4 years ago that I did that.
    To open it up in QuickTime, just drag the .swf file onto the QuickTime Player icon in your Applications folder. Then, if you have QuickTime Pro, you can export it to the movie format you want (or a series of still images). I did just try that and it worked.
    Also, if you have access to After Effects 6.5, I was able to use it to save a Flash animation to a QuickTime movie. Though none of the movies I have been able to find on my computer have sound with them...
    charlie

  • Can we convert .swf to HTML5 using Captivate ?

    Hi All,
    I want to know how I can convert the existing .swf files to HTML5. Can I do it using captivate ?
    If this can't be done then can i import existing flash code into captivate and then create it to HTML5 ?
    Thanks,
    Nibs

    No to your first question.  Captivate will not convert an SWF to HTML5.
    Cannot say for your second question.  It would depend what the AS3 code you imported was trying to do.  But the answer is also probably No.

  • How to convert flash to html5 ?

    HTML5 is here no way to avoid it. mainly if your building mobile applications but creating animation in html5 is just not that fun.I want to know how to convert flash to html5,with what can convert flash to html5 .
    Any help will be appreciated.Thank you.

    Hi
    You can convert flash swf file to html5 using either Adobe Wallaby or Google swiffy
    http://www.designscripting.com/2011/03/convert-flash-cs5-to-html5-download-wallaby/
    http://www.designscripting.com/2011/06/google-swiffy-convert-flash-to-html5-similar-to-wal laby/
    Still there are some limitations,
    Some of the features unsupported by Wallaby
    3D transforms
    ActionScript 1,2
    ActionScript 3
    Blend Modes
    Button – events
    Compiled Clips
    Components
    Inverse Kinematics
    Sound – Stream, Event
    Video – Embedded/External

  • FLA or SWF to HTML5 Conversion

    I am trying to figure out the best way to convert an existing site (90% Flash / SWF) to HTML5, so that it works on the iPhone and iPad (or other mobile devices).
    So far, I have decided Flash CS6 with the CreativeJS Toolkit is the route to go.
    Someone (at Adobe) mentioned Dreamweaver CS5.5 can do it (convert the FLA or SWF to HTML5).
    I have not found this to be true.
    Does anyone have any ideas or suggestions for me?

    hey, chadXSO
    I want to know that have you ever resolved your problem, and I believe that you have done!
    Could you tell me which tool that you used? Now I have the same problem(the best way to convert an existing site (90% Flash / SWF) to HTML5, so that it works on the iPhone and iPad (or other mobile devices).), and someone asked me to convert swf files to html5 video, so i found this tool-swf to html5 movie maker, but i don't know how to use it, and can you tell me the tool you use? or you could tell me how to use this tool for our same question.
    download here:http://www.html5-movie-maker.com/swf-to-html5-movie-converter/
    thanks for everyone's reading

  • FlashPaper hangs when converting PowerPoint t to Flash swf

    I tried a very simple one page powerpoint with the word test.
    I hit FlashPaper-convert to Flash SWF; the dialog box appears and
    indicates it is converting but it never finished. Is this also a
    bug and is there a fix?
    Thx,
    Dave

    No you can't from a book - there might be a script for it?
    I've had alook around and I can't find one.
    You could place all the indesign files into a new indesign file and then export to SWF that way.
    There's a script called multipage importer that would be able to automate the inesertion of all the pages.

  • Help! - convert jpg to flash(.swf) format

    Hi,
    I want to convert a jpg image file to the flash (.swf) format. very urgent.
    If any of you guys know how to do it in java plzzz help me
    thanks and with regards
    Anuradha

    wish I could help but I am Mac and Essentials is not in my work flow!

  • Convert flash to html5

    hi ,
      i want to know is there a product that can convert flash to html5, if there is , can u tell me how to get the sdk, i  want to get it if i can  via purchase , please tell me more details,thanks

    Hi junchen
    Please Refer : http://www.adobe.com/products/flash/flash-to-html5.html
    you are also welcome to contact our support team at http://adobe.ly/yxj0t6

  • How to convert a 8M flash .swf to 3GP for 6300 pla...

    i've got a .swf flash animation, when i copy it to my phone it returns an error for the playing problem so how can i change the .swf to 3gp, anyone tried before?

    You need an enconder that can convert from SWF to 3GP.
    I don't know of any encoder but Google search should be able to help you.
    640K Should be enough for everybody
    El_Loco Nokia Video Blog

  • Porting/converting an interactive DVD to Flash/SWF/FLV?

    Is it possible to make a complete mirror port or conversion of an existing interactive DVD to Flash (swf+flv) so that I can put it online and interact with it with my mouse through a flash enabled browser, just like were running on a DVD player, with all the existing interactivity (menus, chapters) intact? I know about Adobe Encore CS4:
    http://www.adobe.com/products/premiere/e... (See "Publishing of DVD projects to the web")
    but I can't see that you can import an exisiting DVD into Encore. You would first have to build your own menus, chapters, timeline, etc., then you could export it to Flash...
    If this is not possible in Encore CS4, how can I do this?  Thanks

    It's not possible with Encore - you must have an Encore project, and DVD is not an importable source in Encore.
    I don't know if there is even any software in existence which could do what you are asking.

  • How do you convert a swf or mp4 file into flv using creative cloud programs?

    I am trying to embed a video as HTML5 with Flash fallback into my Dreamwaver site and only have the swf file of the video. 
    Please let me know if you have any ideas about how to convert a swf or mp4 file into flv, without loosing pixels and quality of the swf file.
    Thank you!

    If you have MP4 video, you can use Pickle Player which has built-in Flash fallback for Mozilla.  No conversions required .
    http://www.pickleplayer.com/
    Nancy O.

  • Converting flash document (FLA) to Flex project

    Hi, I am trying to convert flash document to flex project.
    I initially had the .swf file. Then I created flash document(.fla) from .swf file. Now I need to convert to flex project so that I can modify and add new functionality. Please let me know if there are conversion tools available or is this purely a manual effort.

    You should take your question over to the Dreamweaver forum if it asking how to work with HTML5.  HTML5 by itself cannot reproduce Flash designs... the burden is moreso on javascript and CSS to make that happen.
    http://forums.adobe.com/community/dreamweaver/dreamweaver_general?view=discussions

  • After I create a flash swf file how do I edit the video and audio?

    I created a nice flash animation, but it appears there are no video editing program which edit swf files.
    Why would flash create a file that cannot be edited in video editing programs including their own premiere pro?
    I have to get a program to convert the swf to an flv file and then I can use a video editing program?
    I tried exporting it to an avi, but much of the functionality was lost. I am looking at a man standing there instead of
    moving his lips while talking, for example. Am I missing something? Please advise. Thanks!

    If you have an swf file then you don't have a video to edit. You can export to a limited number of video formats from Flash. In order to do that successfully, you need to prepare your file so that it will export as you want. This means that you will have to produce the entire file as a linear sequence using the timeline and with no interactivitiy. You can use a limited amount of Actionscript, but it is a very small subset of the available language. Your audio must be in the timeline.
    Here is an Adobe help file for exporting to video: Flash Professional Help | Exporting Graphics and Videos

  • Convert AS2 swf to AS3 swf

    I have a swf (written in AS3) that loads other swfs into it.
    There are no issues when loading other AS3 swfs but there is a
    problem loading AS2 swfs. I get the following error:
    TypeError: Error #1034: Type Coercion failed: cannot convert
    flash.display::AVM1Movie@35d3a51 to flash.display.MovieClip.
    Is there any way to convert the AS2 swf into a AS3 swf so it
    will be compatible with my loader? I cannot go back and change the
    AS2 swfs because I do not have the fla files. Or is there any way
    to incorporate AS3 code that will load AS2 swfs properly? It seems
    hard to believe that Adobe would neglect this backwards
    compatibility issue. Thanks

    Hello Andrei1,
    Thanks for looking at my simple AS3 code. The AS2 swfs that
    I've been working (and having difficulties) with are components
    that I've purchased from places like www.flashden.com. Some are
    image transitions (such as "Dynamic Image Draw found at
    http://www.flashden.net/item/dynamic-image-draw/7532)
    while another is used to create a looped banner rotator animation
    (IMG_loop, a free d/l from www.afcomponents.net). I have another
    that uses an .xml file to configure a slideshow animation.
    You mention "needing to do more" if AS2 scripts inside its
    swf are to be run by the parent AS3 fla; what would these lines of
    code be?
    In researching my problem further I've since realized that
    most of these issues deal both with the version of AS used, as well
    as the version of the Flash player the fla is set up to animate
    for. In particular, the "Dynamic Image Draw" component requires
    that Flash Player 8 or 9 be used with AS2.
    Given that many of my purchased components are like this,
    I've since changed my main fla movie from AS3 back to AS2 and have
    learned that the scripting needed to call individual multiple swfs
    into it at various points in the timeline is MUCH simpler!!!!! One
    single, easily interpreted, line of code vs. 5 lines using
    variables and much more arcane (to me) function calls.
    I started my file with AS3 figuring that I'd be better off
    learning the new version of the language; much stress and
    forehead-rubbing later, I've seen just how much easier and
    understandable AS2 is to learn.
    I recognize that there are likely very strong arguments for
    the more structured coding approach used by AS3, but for someone
    like me who wants to generate customized Flash presentations with
    little fuss, I'm not qualified to make them.
    Perhaps this is a no brainer for those many flash gurus out
    there, but for me this tiny bit of wisdom has been hard fought for!
    That being said, is there an easy way to convert a swf file
    created using AS2 to something that AS3 can work/interact with?
    I've come across a free d/l product called actionscript bridge, but
    haven't been able to understand how to get it to work.

  • Importing Flash (.swf) to Keynote

    Hi all,
    I am working in Keynote '08 (4.0.2) and have Quicktime 7.4.1 (14) installed. I need to import a Flash (.swf) file and play it in Keynote. Even though the online help says this: "You can also add video or Flash movies that play within a slide. For Flash to work with QuickTime 7.1.3 and later, choose Apple menu > System Preferences, click QuickTime, click Advanced, and select Enable Flash." Keynote 4.0.2 does not accept .swf files (they are grayed out) and Quicktime 7.4.1 cannot play an .swf (This is not a movie file). Should I unistall QT 7.4.1 and install a previous QT version? Can Apple fix this problem? Any other suggestions? Thanks

    Thanks for your quick response. Perian helps with Flash video but as far as I can tell it does not help with swf format. I have an actionscript loaded flash file that cannot be converted to MPEG-4. If you are indeed correct and Apple no longer supports swf with QT then I want my money back for iWork. It clearly states in their manual/help that users can import swf files and play them in Keynote. What a rip-off.
    Is there a way to unistall QT 7.4.5?
    Thanks.

Maybe you are looking for

  • Stop the automatic creation of Accounting Docs on MIGO

    Hi, We have an integration need where Goods Issues will be done against production orders. During this process an accounting document will be created for each material document created through MIGO. Each of these material document will in turn create

  • My video can't export cause of render problems!

    Hi there, I am trying to export my video as a digital video (.dv) but when I do it says it can't find a render file. I have gone to Sequence->Render All->Both. Renders the whole video then I go to export it and it still says that some render file is

  • Does ram NEED to be installed in pairs

    Hey guys, just purchased my Mac Pro about a week ago and I was looking to upgrade my ram. I ordered a 2 gig stick and it arrived yesterday but it won't install. I remember reading ram needed to be installed in pairs but I wasn't sure how true that wa

  • Help with Time Interval

    Hi, Appreciate all help on the following: Have a requirement to validate user messages that are received in a batch. Each message in a message has a start-time (date) and a end-time (date). Need to validate and ensure that there are no time overlaps

  • How to create common Calendar hieracrhy?

    I need to create a repository to support the following busines scenario. My customer has a Supportcall Handling system and he wants a report to show him the volumes of Supportcalls in the following format. A Supportcall logged on Monday, first respon