Jump to content


Photo

Flash to HTML5! Wow


  • Please log in to reply
10 replies to this topic

#1 0x150--ISO

0x150--ISO
  • Members
  • 657 posts

Posted 09 April 2012 - 11:50 PM

<!-- m -->http://tv.adobe.com/... ... ofessional<!-- m -->

Not sure how deep this goes ( IE porting Actionscript over to JS )
If it does my world just got a lot easier.

#2 Frankie

Frankie
  • Members
  • 2930 posts

Posted 10 April 2012 - 01:43 AM

You could just wrap ActionScript functions in JavaScript. It's the same language at heart.

#3 0x150--ISO

0x150--ISO
  • Members
  • 657 posts

Posted 10 April 2012 - 02:10 AM

Thats a good point however,
I've tried moving from AS to JS and let me tell you I could smell burning toast.
Also theres things about JS that are just so unstable compared to flash.

If this does what it proposes,
a lot of ppl will be very happy indeed.

#4 Frankie

Frankie
  • Members
  • 2930 posts

Posted 18 April 2012 - 01:34 PM

The past few days I've been working with CoffeeScript. It's a really nice language that converts to JavaScript. It's so light weight, I may continue using this for anywhere I need JavaScript going forward.

#5 0x150--ISO

0x150--ISO
  • Members
  • 657 posts

Posted 18 April 2012 - 03:46 PM

Sounds interesting, any links?

I'm looking at Prototype
<!-- m -->http://prototypejs.org<!-- m -->

#6 Frankie

Frankie
  • Members
  • 2930 posts

Posted 18 April 2012 - 07:35 PM

Yeah: <!-- m -->http://coffeescript.org/<!-- m -->

It compiles to JavaScript.

I found this on the prototype site.

var Person = Class.create({
  initialize: function(name) {
    this.name = name;
  },
  say: function(message) {
    return this.name + ': ' + message;
  }
});

It would look like this in CoffeeScript.

class Person
  constructor: (@name)

  say: (message) -> "#{@name}: #{message}"


#7 0x150--ISO

0x150--ISO
  • Members
  • 657 posts

Posted 19 April 2012 - 08:04 PM

omg so much easier tytyty

#8 tabish

tabish
  • Members
  • 1 posts

Posted 15 May 2012 - 10:00 AM

0x150||ISO really goood post thanks for sharing...
i try it soon ...
and connect you for help ....

#9 meochain

meochain
  • Members
  • 12 posts

Posted 16 June 2012 - 11:39 PM

With HTML you can add a few lines of code here and there and in general tweak things without breaking anything. Flash is harder to deal with though and you may be required to go back to your initial coder or find another one if you need to change something.

#10 0x150--ISO

0x150--ISO
  • Members
  • 657 posts

Posted 20 June 2012 - 06:52 AM

I purchased an upgraded Flash Pro CS6 and now the option to publish to glorious HTML 5.
Simply amazing for 90% of mobile/tablet ports ( the other 10% supported native flash obj)!

#11 meochain

meochain
  • Members
  • 12 posts

Posted 04 July 2012 - 06:48 PM

Thanks for Sharing Such Information...