关于如何在Flex中使用FIVe3D

By Minidxer | June 20, 2008

对于FIVe3D,一般都是在Flash中使用,如果导入Flex中,编译的时候会发生找不到fl.motion的错误。这是因为fl.motion本身在Flash中是有的,而Flex框架中则没有,不过没有并不代表就不可以使用,通过下面的几部操作,就可以顺利使用FIVe3D了:


  1. Downloaded the FIVe3D framework from five3d.mathieu-badimon.com. Sometimes the site is not working and the user is redirected to 404.online.net.
  2. Created a new Flex Project and copied the whole five3D folder (with display, geom, typography and utils) from the archive into it.
  3. Taken the Main.as file from first_example folder and started copying lines into my new project
  4. Commented out the lines of code from (commented where fl.motion is used):
    • Shape3D.as – line 17 and from line 279 to 282
    • Sprite3D.as – line 18 and from line 302 to 306
    • Bitmap3D.as – line 21 and from line 477 to 480

完整的教程大家可以看这里:How To Use FIVe3D In Flex

Topics: Flex | 36 Comments » | 277 views Tags: , , , , ,

你可能还对下列文章感兴趣:

36 comments | Add One

  1. opera - 06/20/2008 at 3:47 pm

    已阅!
    慢慢了解。

  2. minidxer - 06/20/2008 at 3:48 pm

    @opera
    您老人家跑这里来灌水啊。。。。

  3. opera - 06/20/2008 at 3:55 pm

    @minidxer
    昨天晚上看了 你这里一些文章。 写得的确不错。所以,有时间就上来光顾一下你这里,看看你有没有写了新的内容

    灌水?呵呵 没这个习惯啦

  4. minidxer - 06/20/2008 at 3:59 pm

    呵呵,随便说的
    而且现在已经不去在意那么多了,反正是自己的地盘,好的坏的都扔上来先~
    最近几个月也都是Flex的东西,不太关注blog本身了。。。

  5. opera - 06/20/2008 at 4:03 pm

    是啊,自己的地盘自己做主,想贴什么就贴什么。个性自我,呵呵

    明天周末咯,先祝周末愉快啦:)

  6. minidxer - 06/20/2008 at 4:03 pm

    tks & same to u, :)

  7. opera - 06/20/2008 at 4:07 pm

    哇塞!英语也能这样写,太简化了:smile

  8. minidxer - 06/20/2008 at 4:08 pm

    呵呵,可以明白想说什么就OK了吧。。。

  9. opera - 06/20/2008 at 4:08 pm

    怪了,我怎么打不出来 和你一样的那个 笑脸的啊

  10. minidxer - 06/20/2008 at 4:09 pm

    你的这个:) 是全角的,改成半角的就可以了。

  11. opera - 06/20/2008 at 4:11 pm

    :)

  12. opera - 06/20/2008 at 4:12 pm

    我是用搜狗的 不过我就是用半角的还是 :)

  13. minidxer - 06/20/2008 at 4:14 pm

    有两个地方吧,一个是全角半角(这个选半角),还有一个是标点(Chinese/Chinese punctuation),这个选English

  14. opera - 06/20/2008 at 4:16 pm

    再试试:)

  15. opera - 06/20/2008 at 4:17 pm

    :)

  16. minidxer - 06/20/2008 at 4:17 pm

    奇怪,应该可以的啊。 :)

  17. minidxer - 06/20/2008 at 4:17 pm

    看起来好像OK了

  18. opera - 06/20/2008 at 4:19 pm

    欧了:)

    我明白了 是要把中文的也要切换成英文的字样。

    学会啦 tks:)

  19. opera - 06/20/2008 at 4:20 pm

    成功了:)

  20. minidxer - 06/20/2008 at 4:20 pm

    应该是这个符号和中文之间要有一个空格吧
    学会了就好,乖乖交学费吧。。。

  21. opera - 06/20/2008 at 4:21 pm

    :(

  22. opera - 06/20/2008 at 4:23 pm

    哈哈 这回不仅学会了:),还学会了:(

    学费当然得交,每天来你这里消化你的果实吧. 哈哈

  23. Minidxer - 06/20/2008 at 4:24 pm

    呵呵,好像还有很多,和通常用的符号都是一样的。

  24. opera - 06/20/2008 at 4:24 pm

    快下班了,等着明天去爬山呢,先看看你这里有没有其它好的文章:)

  25. Minidxer - 06/20/2008 at 4:25 pm

    爬山,幸福生活啊

  26. opera - 06/20/2008 at 4:29 pm

    生活就要讲究品味,如果一位着工作赚钱,那就失去了存在的价格.闲暇的时候可以选在爬山,或者钓鱼.哈哈:)

  27. Minidxer - 06/20/2008 at 4:30 pm

    太开心了。我就没办法享受这样的生活
    生活所迫啊~

  28. opera - 06/20/2008 at 4:34 pm

    每个人享受的标准不一样,或许上面的那个就是我的标准吧. 也或许过一段时间后,工作要加班了.那么 也就 身在江湖了……

  29. Minidxer - 06/20/2008 at 4:41 pm

    有闲而且可以爬山钓鱼,怎么说都是很开心的。我现在主要是没有这种心情。。。

  30. opera - 06/20/2008 at 4:53 pm

    刚才看了你写的其它文章 有一篇看到了 你写了 好几个域名 呵呵

    ps: 你平时工作很忙吗?生活有时候 应该由自己支配的 我觉得

  31. opera - 06/20/2008 at 4:57 pm

    刚才在这个上面留言了 呵呵 cncookie
    我自己都看不懂:)

  32. Minidxer - 06/20/2008 at 5:14 pm

    呵呵,这都被你找出来,那里已经N久没更新了。。。

  33. opera - 06/20/2008 at 5:18 pm

    正好看了你这里一篇文章上面 你写的.好像还有两个域名.大概看了一下.

    我要把你这里的文章全部看完 呵呵

    知道你写的意思 我就来点评一下,不知道 我就不说话啦 :)

  34. Minidxer - 06/20/2008 at 5:21 pm

    你。。。太强了。。。
    我都随便乱写的。。。

  35. opera - 06/20/2008 at 5:30 pm

    5:30 准时下班。

    周末愉快啦~~~ :)

  36. efish - 07/5/2008 at 6:01 pm

    改聊天室了o(∩_∩)o…哈哈

Leave a Comment

Name(*):

E-Mail(*) :

Website :

Comments :

Search Posts