Questions tagged [alchemy]

Alchemy is a research project from Adobe Systems that allows for the compilation of C and C++ code to AVM2 bytecode, so that it can be run on Flash Player or Adobe AIR. This is accomplished by an initial compilation to LLVM bytecode as an intermediate step.

Alchemy is a research project from Adobe Systems that allows for the compilation of C and C++ code to AVM2 bytecode, so that it can be run on Flash Player or Adobe AIR. This is accomplished by an initial compilation to LLVM bytecode as an intermediate step.

148 questions
0
votes
3 answers

Flash 2D engine to use to make a Flash Angry Birds clone (to run on mobile)

There are several different physics engines available for Flash. What would be one you'd recommend to build a catapult (with slingshot) Angry Birds clone -- that will run well on mobile, once packaged via Air? Has anyone used the World Builder…
ina
  • 19,167
  • 39
  • 122
  • 201
0
votes
1 answer

Alchemy C Code compilation

I am using alchemy to compile the C code. This is the way I am compiling gcc oggvorbis.c -O3 -Wall -swc oggvorbis.swc -lvorbis I am getting an error llvm-gcc: oggvorbis.swc: No such file or directory. But the command works fine when i don't use…
karthick
  • 11,998
  • 6
  • 56
  • 88
0
votes
1 answer

How to return byte array from alchemy C

I have written a alchemy code for reading the byte array that i have passed from flex. When i print the value i get the error cannot convert "OggS" to flash.utils.ByteArray Alchemy Code static AS3_Val readFile(void* self, AS3_Val args) { …
karthick
  • 11,998
  • 6
  • 56
  • 88
0
votes
1 answer

Adobe Alchemy Byte Array reading problem

I am trying to send a bytearray extracted from a file to the C code and return that bytearray again from the C code.. I am printing the contents of the return value from C in a text view contents.text but all i can see is the byte array object…
karthick
  • 11,998
  • 6
  • 56
  • 88
0
votes
1 answer

When call AS3_Release

If I create an object in C++ code and return it in ActionScript code should I call AS3_Release before returning it? For example, I have the function in the *.gg file: public function makeThumbnail(...): Object { AS3_Val objDestByteArray =…
Andrey M.
  • 3,688
  • 3
  • 33
  • 36
0
votes
1 answer

How to give the path for the associated header files in alchemy?

I am converting a speexdecoder code to C in alchemy. The problem is that i am importing a header file #include . Alchemy gcc gives an error that speex.h not found. I have placed the speex directory where my C code is.
karthick
  • 11,998
  • 6
  • 56
  • 88
0
votes
1 answer

Alchemy onMouseOver doesn't work

I'm working with alchemy.js to show a graph. The problem is that I can't display the "onMouseOver" caption of the graph's node. In the console there are some errors. Here output: here the code:
Andrea Perelli
  • 156
  • 2
  • 3
  • 14
0
votes
3 answers

Impossible to do audio video with java applet?

This is the code I wrote in J2SE with Native java wrapper for Gstreamer. But alas it does not work in Web Browser, I am very upset what I can do now, I have no alternative to end this project. IS it impossible to use audio/video with Java Applet…
user285594
0
votes
1 answer

How to get API key for Alchemy Academy?

How can I get API key for Alchemy Academy? Thanks AlchemyLanguage service = new AlchemyLanguage(); service.setApiKey("????"); Map params = new HashMap(); params.put(AlchemyLanguage.TEXT,…
Zain
  • 1
  • 2
0
votes
1 answer

swfbridge and large files

I have a C project that I'm using with Alchemy. The project has some post-build command-line tests that I'd like to run using the swfbridge. These tests run, but they're extremely slow. The problem is that they read some moderately large files…
paleozogt
  • 6,393
  • 11
  • 51
  • 94
0
votes
1 answer

Flask-Alchemy relationship error

I am new in flask and alchemy and decided to learn by working on a large project using flask. When I started creating relationships between classes. Each of the classes is in separate file and folder. the Logic I want to implement is each…
0
votes
1 answer

making Alchemy and UnitTest++ work together

I'm using Adobe Alchemy in a project that uses UnitTest++. The unit tests run as part of the build process. It turns out that UnitTest++ depends on a feature of C++ that isn't implemented in Alchemy, namely instantiating static classes and/or…
paleozogt
  • 6,393
  • 11
  • 51
  • 94
0
votes
1 answer

How can I scrape content from a Website with AlchemyAPI?

I would like to scrape Content from a website with AlchemyAPI. I get informed about this feature on http://www.alchemyapi.com/api/scrape/qlang.html I will implement it in the same way as in the example:"Querying Inside Tables (Selecting a Column…
Balukas
  • 1
  • 1
0
votes
2 answers

SQL Alchemy ORM and Text of same query returns different results?

I currently have a script in Python using SQL Alchemy’s text function to execute queries to gather stats about my Facebook posts. I am attempting to update it to use the ORM, however I am getting different results for what seem to me to be the same…
Coati
  • 21
  • 5
0
votes
1 answer

IBM Watson Alchemy API VerifyError

I'm working on alchemy API. The Reference link used Alchemy Ref. My Android code Thread thread = new Thread(new Runnable() { @Override public void run() { try { AlchemyLanguage service = new…
SH7
  • 732
  • 7
  • 20