« New BMW Z4 : Expression of Joy Campaign Quaternion Rotation Demo »
Social
Tweets
- Git和Mercurial代码托管服务,5人以下免费。https://t.co/nKsrdq40 2012-03-17
- Real-time bug tracking service for Android, iOS & WP7 http://t.co/ZnawP2mv 2012-03-17
- DocSets App for iOS - great tool for iOS developer. http://t.co/kU26IRGq 2012-02-01
- Road Inc: Every Car-Lover’s Dream http://t.co/fEpCvXWG http://t.co/lfJauhIh 2011-12-30
- 我只是想画些矢量的图形来做动画,一开始尝试用drawRect来逐帧绘制,刷新率太低。换用CAShapeLayer后性能终于好了一点。#iOS 2011-11-11
- Nissan Juke (Stage3D) http://t.co/bIMPBGB8 特别喜欢它的换色特效和行驶时的光线效果。 2011-10-26
- More updates...
MyZoo
Friend














Hey Kevin, I have made my own RC portfolio with your kind help. http://www.odbo.co.uk
This is my first venture into Papervision AS3 so your help was much appreciated.
The site is entirely XML driven, PM me if you want the source.
Congratulations, you've done a good job using "Rubikscube". Keep going!
*sobs* I can't believe it!
Thanks again!
Me again.
I'm trying to get this working outside of flex. I've amended to code to use file material instead of Embed and it works as such in Flex but still won't render in Flash.
I've had a fair old crack at it this time and still can't figure it out. Would you mind taking a look please?
http://www.ifsandands.com/rubCuibe.rar
addChild(test); // seems you forgot add test to display list
skip that, works now…you're a very good listener!
Seriously groovy work. Thnx for posting source code. I'm new to Flex but have tried to get this working using AS3 and Flex. I am able to compile without the above error by disabling stage references in the RKdemo class but can't get any kind of renders.
Traces on classes give me x and y values of 0??
Yep, I've use [embed] tag to attach assets. Glad to see you finally figure it out by yourself. Any questions are welcome.
Hi,
I've finally got it working. Just realized that I have to use flex builder to do this. Sorry for the stupid question
Yes I didnt change anything on it. What I did is,
1. I create a new fla file that have class file pointed to that file you made.
2. I downloaded and path the gs tweenlite package on the flash, since your AS file is searching for it.
3. I compile the fla file, and it keep saying that error.
I've tried the trace(rubiksCube) as you said, the output still saying the same error, and the trace doesnt show anything. Do you know what's wrong with what Im doing?
Thx very much for the reply.
Do you compile my code without modification?
or you can trace(rubiksCube) after line:88 to see whether rubiksCube works fine.
Hi,
I've tried out the code you have there and getting this error here:
TypeError: Error #1007: Instantiation attempted on a non-constructor.
at RubiksCubeDemo/init()
at RubiksCubeDemo()
Do you know what might goes wrong?
Nice Demo btw. Cheers.