Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Newbie with Flash to convert

97 views
Skip to first unread message

mba...@gmail.com

unread,
Feb 17, 2015, 12:11:07 PM2/17/15
to mozilla-d...@lists.mozilla.org
Hello,
I guess there maybe many more newbs coming on board since it seems this project got widely publicised the past couple of days.

Basically I got a decade of Flash files I want to run on mobile devices.

So far I have just converted them to mp4 files, and seen the file size bloat alot. I would like to use Shumway to view these files.

I am a novice to Node and Grunt but did manage to install it. However. I was not able to build the the 'shu' section of the grunt file, mentioned here

https://github.com/mozilla/shumway/wiki/Running-the-Examples


Running "exec:gate" (exec) task
>> The system cannot find the path specified.
>> Exited with code: 1.
Warning: Task "exec:gate" failed. Use --force to continue.

Aborted due to warnings.

I think I was correct to install grunt 0.4.2 instead of the latest
npm install gr...@0.4.2 --save-dev
npm install
grunt shu

Anyhow I did get it working with:

grunt build
grunt server

Anyhow now it is built, it appears it is a sort of http handler which looks for swf and then displays them in the viewer. I would like to take this out of the viewer. If I could have the .swf already converted to html5 files that would be great. I am not sure that is supported. Do I have to run this as a handler in node? Anyway I will dig around more, basically it seems like there is a gap in the help files. You can view a quick test, or get a bit more dirty and build it, but from that point to contributing it would be nice to have a bit more info.

Till Schneidereit

unread,
Feb 17, 2015, 12:28:58 PM2/17/15
to mba...@gmail.com, mozilla-dev-sh.
Hi mbaskey,

using Shumway as a conversion tool that spits out self-contained html5 apps
isn't currently supported. We've talked about it every now and again and
each time came to the conclusion that it wouldn't be all that hard, but
still somewhat time-consuming. Since it's not a use-case that we're
directly targeting and we're a small team, we can't afford to put in the
work required.

What you can do in the meantime is to use the shuobject JS script you can
find under "extension/shuobject" to run the SWFs in their original form.
Depending on how complex they are, they might not yet work all that well
for now, though: we've mostly focused on desktop usage, so mobile isn't all
that well-optimized.


hope that helps,
till
> _______________________________________________
> dev-shumway mailing list
> dev-s...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-shumway
>

Joshua Granick

unread,
Feb 17, 2015, 1:13:29 PM2/17/15
to dev-s...@lists.mozilla.org
If you can afford it, Bink video may be another option -- it has a high level of fidelity, but much lower file sizes than an MP4.

If you are not using SWF for animation, but have a higher emphasis on code, there may be other paths available as well, compiling to JavaScript instead of ActionScript using Haxe and OpenFL is one way.

I think it would be cool to see the work that the Shumway team has done to implement the behavior of the Flash API carried over into environments that let you use it as a runtime and bypass the expensive SWF extraction and ABC conversion
0 new messages