Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cyrta/JsFlashC
Javascript <-> Flash (ActionScript) <-> Alchemy (C/C++) communication
https://github.com/cyrta/JsFlashC
Last synced: 3 months ago
JSON representation
Javascript <-> Flash (ActionScript) <-> Alchemy (C/C++) communication
- Host: GitHub
- URL: https://github.com/cyrta/JsFlashC
- Owner: cyrta
- Created: 2011-07-28T00:03:04.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-08-01T14:52:14.000Z (over 13 years ago)
- Last Synced: 2024-06-24T01:40:50.814Z (5 months ago)
- Language: ActionScript
- Homepage:
- Size: 113 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-actionscript-sorted - JsFlashC - Javascript <-> Flash (ActionScript) <-> Alchemy (C/C++) communication (Unsorted / Other API)
README
About
=====
Easy way to test communication betweet Browser through FlashPlayer
to function implemented in C and compiled with Adobe Alchemy to
AVM swc bytecode.Usage
=====
To compile:1. alc-on; gcc -O3 -Wall JsFlashC.c -swc -o JsFlashC.swc; alc-off;
2. mxmlc -library-path+=./JsFlashC.swc --target-player=10.2.0 JsFlashC.as
3. Open index.html in browser
Dev
===While developing use JsLint to find javascript errorse.g.:
gjslint JsFlashC.jsReferences
==========1. Adobe ActionScript ExternalInterface API documentation
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/external/ExternalInterface.htmlIt is good to use Flex Ajax Bridge - FABridge
http://livedocs.adobe.com/flex/3/html/help.html?content=ajaxbridge_2.html
TODO: need to look into it.There is also JSObject
http://code.google.com/p/jsobject/