It is so Hype to Make Fun of Flash


#1

Seen here

in reaction to


yep, that’s the joke, get it?
oh com’on that’s a very simple one …

it is not that a game reuse a soundtrack from Yoshi Island DS that is shocking
but that a game was made in Flash that it is shocking

duh!!!


But here the funny part, the incriminated web site, first they replaced the Yoshi Island DS soundtrack, and then second they removed completely the Flash game.

And what do they use instead of Flash nowadays?
well… HTML5 and JS off course

and this thing is beautifully stuck for the last 30 minutes on a loading screen

it just does not work, so I went to “view source”


        <script type="text/javascript" src="js/jquery/jquery.min.js"></script>
        <script type="text/javascript" src="js/jQuery.jPlayer.2.3.0/jquery.jplayer.min.js"></script>
        <script type="text/javascript" src="js/jquery/jquery.blockUI.js"></script>
        <script type="text/javascript" src="js/jquery/jquery.bpopup.min.js"></script>
        <script type="text/javascript" src="js/jquery/jquery.easing.min.js"></script>
        <script type="text/javascript" src="js/jquery/jquery.touchSwipe.min.js"></script>

        <script type="text/javascript" src="js/avatar.js"></script>
        <script type="text/javascript" src="js/common.js"></script>
        <script type="text/javascript" src="js/trivia.js"></script>
        <script type="text/javascript" src="js/game.js"></script>
        <script type="text/javascript" src="js/rcg.js"></script>
        <script type="text/javascript" src="js/music.js"></script>
        <script type="text/javascript" src="js/score.js"></script>
        <!--leaderboard-->
        <script src="http://js.arcgis.com/3.9/"></script>
        <script type="text/javascript" src="js/leaderboard.js"></script>

        <!--for slider puzzle game-->
        <script type="text/javascript" src="sliderPuzzle/js/lib/angular/angular.js"></script>
        <script type="text/javascript" src="sliderPuzzle/js/puzzle/slidingPuzzle.js"></script>
        <script type="text/javascript" src="sliderPuzzle/js/puzzle/wordSearchPuzzle.js"></script>
        <script type="text/javascript" src="sliderPuzzle/js/app.js"></script>
        <link rel="stylesheet" type="text/css" href="sliderPuzzle/css/styles.css" />

    </head>

and toward the end of the page

        <script type="text/javascript">
            rcg.initialize();
        </script>

well… let’s check the js/rcg.js" sources

    checkFile: function(file) {
        var app_id = function(test) {
            var start = test.indexOf("Applications") + 13;
            var end = test.indexOf("/", start);
            return test.substr(start, (end - start));
        }
        var id = app_id(this.rootPath);
        console.log(id);
        alert(id);

        //var p = self.rootPath + "/../../../RecycleCity.app/Library/HydraApps/0/music/yoshidsunderground.mp3";
        //this.mplayer.playFile("/var/mobile/Applications/22A75418-01F4-499A-A754-5256E42B2492/RecycleCity.app/Library/HydraApps/0/music/yoshidsunderground.mp3",10);


        var reader = new FileReader();
        var fileSource = file;
        reader.onloadend = function(evt) {

            if (evt.target.result == null) {
                // If you receive a null value the file doesn't exists
                console.log("file doesn't exist");
                alert("file doesn't exists");
            } else {
                console.log("file " + file + " exists");
                alert("file " + file + " exists");
                // Otherwise the file exists
            }
        };
        reader.readAsDataURL(fileSource);
    }

totally LOL’ed at music/yoshidsunderground.mp3

anyway, so I followed the web archive link from the Ars Technica article

The music, which played in a version of Recycle City Challenge accessed by Ars as recently as this morning, has since been removed from the live version on the EPA’s website. You can still hear it in this Internet Archive copy of the site, though, and compare that directly to the same song on the Yoshi’s Island DS soundtrack.

and guess what, the game load perfectly fine from the web archive, I mean it is loading, errr… working with music, interactivity and everything (as shitty as it is, but that’s question of taste), still… my point is that it is working.


Morality?

A Flash games, even loaded from a web archive, works better than an HTML5/JS game.

I’m so shocked right now I’m not even sure I will be able to sleep.


#2

I understand your point of view however there is no going back.
HTM5/JS it’s a step backwords (no, no, it’s a giant 1000 steps backwards) BUT the world have to adapt to their choice.
HTM5/JS it’s better now that was 5 years ago and may be (just may be), one day will be as good as Flash still is nowadays.

I changed stack technologies a few times on my career and left Flash a few years ago and now AIR on mobile.
This changes was the difficult ones because this technologies are/where good and it’s difficult to “evolve backwards”.


#3

Oh sure it is not going back, but it is just the web platform.

You have only one choice and it is JS, and then HTML/CSS, there are no 2nd or 3rd options,
but again this is for the web target.

There are some people who thinks the web platform is everything and can publish everywhere else,
and other people who thinks that the web platform is just another platform and when it come to other platforms be it desktop, mobile, server, etc. well … web tech is not the end all be all, because there are other choices possible.

In the twitter exchange above the guy ended up saying

Flash was the king of desktop
browsers for a reason, outliving
silverlight and Java applets!

I remember when iPad came out
without Flash support and that was
the beginning of the end for Flash.

he is confusing the end for a browser plugin
and the end for a whole tech stack

the whole tech stack of Flash is what allow us to publish with Adobe AIR
on other platform than the web for example.

So yeah the Flash browser plugin is dead, but that’s just losing a battle, not the war.

The same way the Flash plugin will not work on mobile browser
it will be exactly the same for the Silverlight plugin.

If you wrote Silverlight app you can reuse your tech stack .NET/C#
and use Xamarin to publish to mobile and others.

Same with Flash, you can reuse your tech stack AVM2/AS3
and use Adobe AIR to publish to mobile and others.

People can change stacks it’s not the problem,
what gets on my nerve is using the excuse that Flash is dead
to then say: “oh the AS3 tech stack can not publish anything anywhere anymore”

Nope there is Adobe AIR, and a couple of other things.


#4

I know I’m repeating myself in every message from the beginning
and I lack a lot of knowledge and technical aspects,
even one day I thought that some kind of js renderer
or virtual machine to run .swf were possible but,
appart from that, what anything needs to be considered by a community
is visibility.

e.g. Just two years ago those youngsters from wonderfl
were showing that Flash was cool, and Ok we’re mature
and don´t need a fancy group or tool to start coding,
but it was a productive community telling that this was nice,
easy and it also can be done online, better than others.

I don’t remember that days that anything made in flash
was instantly shared worldwide, nor even liked them, but
that was the way it all started.

And again it is just an opinion. If not a playground I can not imagine what can be done
now that you are telling that many things are disappearing, like groups, frameworks, etc.

If you have the app for iPad Codea there is a little initiative to code Lua that only works there.
Unity is developing TinyMode for light games and commercials.
JS frameworks keep appearing and they last as long as their communities do…


#5

I’m sorry if it sounds weird.

I was going through As3 specs, I mean that there’s so much work done
and, in this case @zwetan, thank you, you’ve done so much to bother with
such complaints.

I imagine people don’t appreciate anything they’re told not to, and… such an
accesible tool could be hell to debug (maybe: code + timeline code)
And there’s a big leap in any language between common users and pros
that plays against already stablished technologies (that are not hype)

The last part was a miscellanea of things i use to come across with,
I didn’t mean others were doing better or anything, just that it reminded me
a bit of the beginning of Flash. But now I’m just an amateur again.


#6

There are different way to be “Harder”, or “Better”, or “Faster”, or “Stronger” :wink:

Let’s take the “speed argument” or “Faster” for example

what is faster?

is it just pure raw performance when you’re executing the code?

could it be also the ease of use to edit animation on a timeline with a tool like Flash CS6 … Animate CC
export it with symbol names so it can be reused in code?

could it be how fast a beginner with no prior knowledge of a platform can “just play with it” and produce a little something?

could it be the use of an IDE when you need to publish you just select few options and click “publish”?

could it be how fast a designer and a programmer can share/edit/work on assets for the same app?

could it be how long does it take to do simple basic thing like playing a sound or rotating an image?

etc.

So today because of the hype around JavaScript, and because ES4 (AS3) was abandoned in favour of ES5 and then later ES6, many dev will think that ES6 is the better/faster/etc. option compared to “old” AS3

maybe … maybe not

the thing is, if a total beginner want to use that ES6 today to just play a simple sound and publish quickly an app on the web, well… it not gonna be that fast at all, in fact it gonna be a pretty slow process to figure out everything and jump through many loops.

but at the same time, a beginner could take Animate CC, learn a minimum of AS3 and publish a SWF that play a sound online, in probably less than 1h (if not 15mn).

And so it is not only the hype or the programming language features, it is the whole platform people have to take into account.

With all the hype that JS has it also starting to get an higher and higher barrier to entry, it make you wonder that now only team of engineers can produce “JS apps”, compared to Flash where any solo individual, whatever their background (designer, coder, beginner, student, etc.) could just pick up Flash and build a “SWF app” from day one.

It is very hard to keep simple things simple, and from my point of view the current JS hype has totally failed at that task.


#7

Yes, of course, every time I said anything about making it simple and fun
I was refering to that barrier.

And it was for the newbies in the sense that nobody here needs it,
but it was good for the future of this project.

Maybe we are going in circles (me) Yes, this is already simple and fun
and the barrier is little, so: no playground for the newbies… :confused:

And… for such little something yes, 1min to drop an mp3 onto a button,
2min to build it mobile and another 2min to search for and implement a stop
But there aren’t any new webs where you can find this tiny guide, e.g.


#8

Anyway, I would find myself bizarre starting such kind of initiative.
I mean making tutorials and debate.
Instead now I find myself too participative