[Papervision3D] Controlling DAE animations once loaded
Jeff Fox
jfox015 at gmail.com
Wed Jul 15 13:12:46 PDT 2009
Perfect. That did the trick. Thanks Jonathon.
-Jeff
On Wed, Jul 15, 2009 at 12:39 PM, <papervision3d-request at osflash.org> wrote:
>
> Date: Wed, 15 Jul 2009 11:39:28 -0500
> From: Jonathon Stierman <JStierman at modernclimate.com>
> Subject: Re: [Papervision3D] Controlling DAE animations once loaded
> To: "papervision3d at osflash.org" <papervision3d at osflash.org>
> Message-ID:
>
> <BDE29F4DE8452E42BDC51A52C0F6A0A3BC92BE1980 at exchange.wolfmotell.local>
> Content-Type: text/plain; charset="us-ascii"
>
> The DAE class has an autoplay parameter in it's constructor:
>
> DAE(autoPlay:Boolean = true, name:String = null, loop:Boolean = false)
>
> Which looks like it would do what you want by default... Make sure you
> didn't pass in true for the "loop" parameter. The play method on the DAE
> class also has a loop parameter (though I didn't see this in the docs!):
>
> public function play(clip:String="all", loop:Boolean=true):void
>
> Make sure you're setting it to false when calling play.
>
> Jonathon
>
> From: papervision3d-bounces at osflash.org [mailto:
> papervision3d-bounces at osflash.org] On Behalf Of Jeff Fox
> Sent: Wednesday, July 15, 2009 10:16 AM
> To: papervision3d at osflash.org
> Subject: [Papervision3D] Controlling DAE animations once loaded
>
> I am using FLARManager with PaperVision3D on a personal AR R&D project. I
> am importing several Collada DAE files to build a scene and one of the DAE
> has an animation in it.
>
> The issue I'm having is that once loaded, the animation loops continuously
> and I can't find anyway in the Papervision docs to figure out how to stop it
> once it plays through completely. I'd prefer to use the animation rather
> than break the DAE into three separate elements that I animate myself via
> Tweener so any help or suggestions would be great!
>
> -Jeff
>
> --
> Jeff Fox
> jfox015 at gmail.com<mailto:jfox015 at gmail.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090715/4c9bf774/attachment.html>
More information about the Papervision3D
mailing list