Thanks. I've got it working now, with your example. And I can see your wiggling yellow chip thing! ;-)
However, when I swap your dae for mine mine doesn't move! :-( The daes look the same, I have <library_animations> but it won't move?!? In the blender exporter I have tried numerous combinations of bake matrices, sample animation, apply modifiers etc... but I still can't get it to move?!? What am I missing? Cheers. On Jul 24, 9:41 am, katopz <[email protected]> wrote: > just new blank flash file and target your main class to .as file that's it! > and for svn, maybe you need some tuts fot that ;) trust me it easy > > hth > > On 24/07/2009, Albinal <[email protected]> wrote: > > > > > > > > > Thanks Katopz... I had a little look at your site too but it's all a > > bit complicated for me. > > > I do my projects in Flash rather than in .as files and I was able to > > use the lesson files to learn what I have (as they are FLAs)... but > > that SVN stuff confuses me. I tried downloading it but couldn't see > > anything, even though I brought down all the assets and had them in > > the right place. I tried to import the SVN but I needed a username and > > password so no joy there either. > > > Some of the code seems to work but when I try and start the animation > > (using start();) it doesn't like it. > > > A basic FLA showing collada animation maybe be of better use to me. > > > On Jul 23, 5:50 pm, katopz <[email protected]> wrote: > >> HI Albinal > >> try explore for more examples for collada > >> herehttp://away3d.googlecode.com/svn/trunk/examples/Collada/ > > >> <http://away3d.googlecode.com/svn/trunk/examples/Collada/>hth > > >> 2009/7/23 Albinal <[email protected]> > > >> > Oops... I did add the dae to the scene within that function, so I > >> > could see the cube. So it's not that! ;-) > > >> > view.scene.addChild(target); > > >> > On Jul 23, 4:55 pm, Albinal <[email protected]> wrote: > >> > > Hi, I've not long finished this:http://www.albinal.co.uk/moped/ > > >> > > I say finished but really I'm 99% done pending any useful feedback. > >> > > So, what does one think? > > >> > > While I'm here I want to move my Away3D knowledge to the next level... > >> > > animation. I'm pretty proficient with Blender and can model, texture, > >> > > rig and animate... I see that the Collada exporter has a button for > >> > > "sample animation" but where do I start? > > >> > > I read this:http://away3d.com/index.php?s=animation&x=0&y=0 > > >> > > ...but I'd rather not do my animations in the code. I had an > >> > > experiment with this and a simple cube rotation: > > >> > > var skinAnimation:SkinAnimation; > > >> > > function onLoaderSuccess(event:LoaderEvent):void > >> > > { > >> > > var target = ObjectContainer3D(event.loader.handle); > >> > > skinAnimation = (target.animationLibrary["default"] as > >> > > AnimationData).animation as SkinAnimation; > > >> > > skinAnimation.loop = true; > >> > > skinAnimation.start; > > >> > > } > > >> > > But nothing happened?!? I can trace skinAnimation.length and it > >> > > returns 0.4 so something is there but many code combinations later I'm > >> > > no further down the line. > > >> > > Any help gratefully received. > > >> -- > >> katopzhttp://www.sleepydesign.com > > -- > katopzhttp://www.sleepydesign.com
