Adobe Flex and Away3D
[url]http://www.switchonthecode.com/tutorials/getting-started-with-adobe-flex-and-away3d[/url]Here on the blog we are always looking for new technologies to playaround with and I seem to have found one that I am going to be spendingsome time playing with, [url=http://www.away3d.com/]Away3D[/url] (a3D Flash engine). Personally, I have spent a good deal of my time inthe last couple of years looking at 3D, whether it be on the desktop orweb, and it is exciting to finally play around with 3D in Flex. Thegoal of this tutorial is simple, to get you acquainted with Away3D andget a spinning cube rendered on the screen. This is going to be easierthan you think.
First we are going to take a look at the small demo running below.As you can see there isn't much to it. We have a panel and inside thatwe have a spinning cube. One item that isn't noticeable is that we usea [url=http://livedocs.adobe.com/flex/3/langref/mx/core/UIComponent.html]UIComponent[/url] to hold our 3D scene. I will explain why we do this more later. I created the texture that is being used in [url=http://www.getpaint.net/]Paint.Net[/url]and will not go over how it was built in this tutorial. But for nowjust take a second and stare at the nice spinning cube. You can look atand get the source code for the demo [url=http://www.switchonthecode.com/source/flex/getting-started-with-adobe-flex-and-away3d]here[/url].
頁:
[1]