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
1 answer

AS3 Alchemy and ByteArray.setPixels() issue. "bytearray.position = 0" doesn't work

I'm encoding the BitmapData using this method: http://www.websector.de/blog/2009/06/21/speed-up-jpeg-encoding-using-alchemy/ Code example: var loader:CLibInit = new CLibInit; as3_jpeg_wrapper = loader.init(); var baSource: ByteArray =…
markin.io
  • 13
  • 4
0
votes
1 answer

alchemy api rest api endpoint is giving error 404 not found

i am trying to integrate alchemy api in my project which is in php. before few days everything was working fine but now the rest api endpoint http://access.alchemyapi.com/ which i called in my program is giving error 404 not found please if any can…
sapna
  • 11
  • 2
0
votes
1 answer

FlasCC open-source download?

FlasCC uses several customized GPL libraries, such as SWIG. Aren't they supposed to provide the source for these libraries? Where can I download it?
paleozogt
  • 6,393
  • 11
  • 51
  • 94
0
votes
2 answers

Failed to create Console with embed VFS due to "Call to a possibly undefined method"

First I've created an embedded Virtual File System, as described here. It generates this AS code: package C_Run {} package com.adobe.flascc.vfs { import com.adobe.flascc.vfs.*; import com.adobe.flascc.BinaryData public class myvfs…
vok1980
  • 504
  • 5
  • 14
0
votes
1 answer

How to generate swc from swf or abc files

How can i generate swc files from swf or abs been made with avm2 assembly adobe alchemy compiler. this code generated the swf and the abc files : java -Xms16M -Xmx4096M -jar D:/alchemy/bin/asc.jar -AS3 -strict \ -import …
Dora
  • 1
  • 3
0
votes
1 answer

How to compile ffmpeg with the new Flascc compiler?

I have tried to compile ffmpeg with the new flascc compiler with the following parameters ( I set only h263 ability as a test): PATH=/cygdrive/c/download/flascc/sdk/usr/bin:$PATH ./configure --enable-static --disable-shared --extra-libs=-static…
Charles Nehez
  • 63
  • 2
  • 6
0
votes
2 answers

How can I load an adobe Alchemy swf build dynamically

With Alchemy most builds are static swc builds. These are great for linking directly against a library, but if you try to use more than one at a time, you usually (always?) run into problems with the shared memory space. One solution I've read about…
0
votes
1 answer

flash alchemy: passing array of floats

Doesn't work: var b:ByteArray = new ByteArray(); b.writeFloat(-50.000000); b.position = 0; cpp.processFloat(b,b.bytesAvailable); CPP: static AS3_Val processFloat(void* self, AS3_Val…
0
votes
1 answer

Alchemy linke error: "java.lang.OutOfMemoryError: Java heap space"

I trying to use Adobe Alchemy Compiled C++ code to swc. At the beginning it work pertty good, but when I add more c++ code, Unfortunately, getting it to link ends up producing a link-time error: Exception in thread "main"…
oldmannt
  • 13
  • 3
0
votes
1 answer

how to read with supplyFile()?

Short version: I see there is an alchemy method called supplyFile(), but the second arg is a ByteArray... what in the world is that for?!?! Longer version: I would like to do the following: Open a file and assign it to a global variable on the C…
davidkomer
  • 3,020
  • 2
  • 23
  • 58
0
votes
2 answers

format of ByteArray returned from C is invalid

following is code snippet: AS side:(img is reference to an instance) bitmapData = Bitmap(img.content).bitmapData; var pixels:ByteArray = bitmapData.getPixels(bitmapData.rect); pixels.position = 0; var…
jason
  • 1,621
  • 6
  • 21
  • 39
-1
votes
1 answer

Trying to display NEO4J json data in a html page through json

I'm trying to display a graph from json film went from NEO4J db. But it shows a blank page and in the console it shows an error. Here output: Here the code:
Andrea Perelli
  • 156
  • 2
  • 3
  • 14
-2
votes
1 answer

WatsonApiException: Error: invalid-api-key, Code: 401

I cant find Alchemy Language API in IBM Watson. Can I do this with natural-language-understanding service and how? When I add from watson_developer_cloud import NaturalLanguageUnderstandingV1 from…
Hansa Tharuka
  • 137
  • 1
  • 5
1 2 3
9
10