Has a library been released to read .STL files in AS3? It seems to be a common 3d file and i have yet to find any hope in outputting an .STL file in Stage3d.
I've written just the library you were looking for. You can find it at https://github.com/pranavh/AS3STLViewer
It uses Away3D to display the parsed stl file.
Hope you like it.
Related
I am going to write a converter from Miles Sound System Extended MIDI to standard MIDI file, but I am unable to find any good documentation on this format. There is a DOS converter at http://www.hitsquad.com/smm/programs/xmi2mid/, but it is useless on 64-bit platforms and there aren't any sources of this program. There is also John Miles' website http://www.ke5fx.com/ where older AIL Version 2 is, but my C and assembly language capabilities aren't good enough to understand it. I have found a converter in Java at http://de.glibly.de/?site=software&lang=eng, but it has strange tempo issues and I haven't found a way to fix it yet. Could you point me to some documentation or a working converter with sources, preferably in C#?
The only completely working converter I've found so far is the in_midi.dll plugin of WinAmp.
I need to use a dll file that was created in C# within my FlashBuilder project. I saw that adobe native extensions might be able to be used to incorporate the dll file, but I'm not entirely sure how to make the .ane file from the .dll file. I was wondering if there is an easier way to gain access to the classes and functions inside the dll file within my actionscript code.
Thanks,
Ilithis
Native extensions may only be used if you're working in Adobe Air. You can read more about the topic and find tutorials here.
I have one swf file, it is JW Player plugin. It have one actionscript file in which is whole plugin code, and rest of files are jwplayer api files. So i need to open that file (where whole plugin code is) and edit few lines. But there is a problem, because when i try to decompile file with sothink swf decompiler (and few others) - to convert it to .FLA, decompiles simply crashes. It is because of some file from jwplayer api library. So, next thing i tried is to edit via HEX (because there is not much to be edited), but i couldn't find what i needed. So what i need is - is there any way or not? If yes, which program can be used for this?
I've had to do something similar in the past. In my scenario, the client had the SWF but no FLA. I needed to change a hardcoded url and sothink wasn't decompiling but I could view the AS in the sothink previewer. Luckily for me the flash wasn't very complex so I was able to copy the AS and graphics out and start a new project. I would imagine that JW Player is much more complex so this may not be an option for you, but thought I'd mention it anyway.
Depending on your needs, you may be able to get what you want by using the plugin API to extend the functionality or maybe even by customizing a skin.
I am new to AS3, I need to know how to load a xml file from Local server.
Lee Brimelow has a good tutorial on loading XML. You should just be able to pass your XML's full path to the URLRequest object. But make sure the external server has a cross domain file setup, or you won't be able to access it.
A good starting point for this kind of question could be the AS3 docs. As you progress with AS3, the docs will become an essential tool.
In this specific case you would want to look at the URLLoader Class
and probably have a look at the XML Class.
You should find typical use examples such as this one which loads a simple text file, although the general implementation will be very similar for an XML file.
Since you're a beginner, you would probaly like to check the video tutorials on Adobe TV as well as Lee Brimelow's website gotoandlearn.com (as referred to by Adam ) which is filled with excellent resources.
I’m starting a project in flash AS3 and my objective is to load any pdf file into my flash project and convert all its pages to BitmapData...
I am familiar with byteArray and I know I must access the pdf in binary level but I don’t know where to start and how to start.
I was hoping if you could give me some insight? Maybe a suggestion to an already library that is doing a similar work?
Any idea os appreciated just to get me started...
You can get any PDF renderer written on C/C++ and convert it using Alchemy to flash library.
Read this topic