adobe alchemy

 

  • 空间 收藏于 2011-11-27


环境    win32 xp  ;

软件 cfree5  flashbuilder4

c代码。

 

ecc41789a97739125a2c1229f8198618377ae2b8.jpg

 

 

打包  编译

/cygdrive/c/alchemy/samples/helloworld
$ cd helloc

/cygdrive/c/alchemy/samples/helloworld/helloc
$ gcc main.c -03 -Wall -swc -o main.swc
gcc: unrecognized option '-03'
gcc: unrecognized option '-swc'
main.c:2:17: fatal error: AS3.h: No such file or directory
compilation terminated.

/cygdrive/c/alchemy/samples/helloworld/helloc
$ alc-on;gcc main.c -03 -Wall -swc -o main.swc
llvm-gcc: unrecognized option '-03'
cygwin warning:
  MS-DOS style path detected: C:/alchemy/avm2-libc/include
  Preferred POSIX equivalent is: /cygdrive/c/alchemy/avm2-libc/include
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
WARNING: While resolving call to function 'main' arguments were dropped!

3004.achacks.swf, 260073 bytes written
frame rate: 60
frame count: 1
69 : 4
72 : 260009
76 : 27
1 : 0
0 : 0
frame rate: 24
frame count: 1
69 : 4
77 : 506
64 : 31
63 : 16
65 : 4
9 : 3
41 : 26
82 : 471
1 : 0
0 : 0
  adding: catalog.xml (deflated 75%)
  adding: library.swf (deflated 70%)
b6684ad9a3cc7cd9d741a3913901213fb90e9151.jpg

 

编译完成之后加入fb内。

fb代码:

 

8a95fc26720e0cf3f6b0d9b30a46f21fbf09aa7a.jpg

输出


[SWF] C:\Documents and Settings\Administrator\Adobe Flash Builder 4\helloalchemy\bin-debug\helloalchemy.swf - 261,642 bytes after decompression
Hello,this is frist alchemy for me
[Unload SWF] C:\Documents and Settings\Administrator\Adobe Flash Builder 4\helloalchemy\bin-debug\helloalchemy.swf

 

转载于:https://my.oschina.net/littlemonkeyc/blog/1858921

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值