Convert Flash AS3 Games into HTML5 Games [closed] - javascript

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I want to convert Flash Game (AS3) to Html5 Game. I have all assets like .fla file and all .as files. But I am unable to find any tool or way to convert that into html5 game.
I used Flash CS6 using toolkit for CreateJS but it only converts animation in html5. I also tried to use Google's Swiffy extension in Flash CS6, but it was also not working. I think Swiffy is now discontinued by Google.
Question:
So is there any way to convert Flash/AS3 sources with interactivity into html5?
[EDIT]
I also tried to use google swiffy extension in Adobe Flash Pro CS6 but it was also not working. I think google swiffy is now discontinued.

If you have any actionscript in your game (which I assume a game would) it won't convert property with the common swf conversion tools out there. Regardless, interpreted script games (such as the JVM in this case) are disgusting and just further the PC requirements of your users. Your only two options are to stick with Actionscript or to build it from scratch. You can find as3 to javascript converters for your class files but there's other things such a lib dependencies and other factors that you'd have to take account for.
If all of your logic is in your frames:
Please dont do that again.
Convert your frame code to Class files
Use the converter

Related

Is there a good web application for manipulating pdf files? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Is there a good web application for manipulating a PDF files? For example, drag and drop images to it and save for future reference, then remove the dropped images anytime etc. I want to integrate it with my existing web application also.
EDIT:
These links I have came across while searching. Might be useful for someone searching the same.:)
PDFescape
Crocodoc
A.nnotate.com(a.nnotate.com)
GroupDocs Annotation(groupdocs.com/apps/annotation)
Mozilla has pdf.js which renders PDF files using HTML5. This same script is used in the built-in PDF reader of recent Firefox browsers.
It's experimental, but you could hack the code and do whatever you want with it.
If you are looking for just an online tool which will spit the pdf file use - Sejda
there is a lot of other tools available online too
PDF Sharp will allow you to do all sort of manipulation that you require. It is open source, free to use. You can download it from here..
Features include
Creates PDF documents on the fly from any .Net language
Easy to understand object model to compose documents
One source code for drawing on a PDF page as well as in a window or on the printer
Modify, merge, and split existing PDF files
Images with transparency (color mask, monochrome mask, alpha mask)
Newly designed from scratch and written entirely in C#
The graphical classes go well with .Net

Displaying a 3D model in JavaScript/HTML5 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am looking at rendering a 3D model in a browser. What tools should I use/what places should I look at?
I don't know what data format the model will be, I can likely request that data to formatted in any way I want.
I am looking at three.js but it seems that it needs WebGL to work, which appears to be unsupported in IE.
Does a "cross-browser compatible HTML 3d rendering engine" exists? :)
I have not played with 3D yet, but I know a good place for ressources on 3D for HTML5.
http://www.html5rocks.com/en/gaming
And here is a tutorial on how to create your 3D models with the Three.js Framework.
http://www.html5rocks.com/en/tutorials/three/intro/
This may help you. Good luck.
I also needed what you've been searching for and did some research.
I found JSC3D (https://code.google.com/p/jsc3d/).
It's a project written entirely in Javascript and uses the HTML canvas. It has been tested for Opera, Chrome, Firefox, Safari, IE9 and more.
Then you have services as p3d.in and Sketchfab that give you a nice reader to view 3D models on a web page: they use HTML5 and WebGL. They both have a free version.
a couple years down the road, I'd vote for three.js because
ie 11 supports webgl (to what extent I can't assure you since i'm usually in chrome)
and, as far as importing external models into three.js, here's a link to mrdoob's updated loaders (so many!)
UPDATE nov 2019: the THREE.js loaders are now far more and it makes little sense to post them all: just go to this link
http://threejs.org/examples
and review the loaders - at least 20 of them
do you work with a 3d tool such as maya? for maya you can look at http://www.inka3d.com

JavaScripted Augmented Reality [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Does anyone have experience with a JavaScript library for Augmented Reality?
If so, can you recommend one?
EDIT:
Not sure how to better clarify this... By Augmented Reality I mean using device webcam (laptop, smartphone, tablet) and overlapping elements over the video feed on screen. Ofen, the overlapping is done based on a marker the algorithm searches for within each frame and makes calculations about its position in space.
Hope that's enough.
Thanks.
I think this is what you might be looking for. JSARToolkit is a direct port of Flash FLARToolkit from Ilmari Heikkinen. Great tutorial you may also want to check out and a link to the Git repo.
http://weblog.bocoup.com/javascript-augmented-reality/
https://github.com/kig/JSARToolKit
You can try skarf.js, a framework that I have created for handling JavaScript augmented reality libraries in Three.js.
It currently integrates JSARToolKit and js-aruco, so you can easily switch between these two libraries to decide on the more suitable one to use.
This framework takes care of a number of things for you, including automatic loading of models when the associated markers are detected (association is specified in a JSON file). There is also a GUI marker system which allows users to control settings using AR markers.
Integration with Three.js is just one line of code to create a Skarf instance and another line of code to update.
There are videos, live demos, source codes, examples and documentation available. Check out http://cg.skeelogy.com/skarfjs/ for more info.

3d surface chart with javascript? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Which 3d surface chart library out there do you recommand? It is ok if it is flash or silverlight, as long as it supports dynamic data update thru json.. Thank you!
Gil.
How about javascript-surface-plot?
As for javascript not being fast enough, what do you think this is, 2009?
I am not entirely sure what you are after but one option for 3D charting with Javascript would be Canvas 3D Graph
Edit
Surface plotting is quite CPU-intensive and requires a good graphics API, so Javascript doesn't cut it.
Unfortunately there aren't any ready-made 3D charting libraries for Flash or Silverlight that support surface plotting, only a couple of 3D engines, for example Away3D.
If you are willing to go with applets then JFreeChart might help you (JFreeChart in an Applet). You can control the applet with Javascript and feed it whatever data necessary.
Jmol is used in SAGE for 3D graph plotting. It runs as an applet. It is quite heavy-weight, and it even has a console. Check out the SAGE sources for usage.

Looking for a Flash/JS-based SVG editor or editing framework [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking for a framework or library to create SVG images. It should run in the browser, so it should be based on Flash or maybe JavaScript. Up to now I found the Flash library by inevo.pt, the SVG editing component of Dojox, and some little JavaScript tools.
Is there anything else, preferrably stable and mature?
Thanks a lot in advance!
-- Andreas
Exporting to svg is a pretty easy step to take.
Draw & Export to svg from FLASH
Example
Have you seen Raphael? http://raphaeljs.com/ This is a JS drawing framework that renders in SVG, Canvas, or VML depending on browser capabilities.
SVG-Edit (demo) is coming along nicely. It's a basic editor which the developers plan to move to a plugin architecture to enable third-party tools. It integrates nicely with the MoinMoin wiki, to allow inline editable diagrams etc.
I think within a year there will be several good open source editors available, using different base JS libraries, now that the ground has been broken by svg-edit
Not really sure why you'd want this. Inkscape is cool but doesn't run in a browser.
I think i have some on http://svg.startpagina.nl
Have you tried Amaya http://www.w3.org/Amaya/

Categories