[Papervision3D] How do you put a papervision scene behind a 2d movieClip
Steve D
kruass at gmail.com
Wed Apr 15 13:07:19 PDT 2009
It is very simple. It all depends on the order that you have added things
to the stage. If you add the movieClip first, then add the papervision
Viewport, the viewport will appear on top. If you add the movieClip second,
the movieClip will appear on top.
If you need to swap the order that two different display objects are drawn,
you can use the swapChildren() function.
Stage.swapChildren(object1, object2);
On Wed, Apr 15, 2009 at 1:00 PM, casey mandell <caseymandell at mac.com> wrote:
> Hi,
> Thanks for your response. Yeah I've tried that. The Papervision3D scene
> comes out on top of the movieClip. This seems like something that people
> might commonly want to do but I can't find any information about it. I'm
> probably overlooking something really simple.
>
> thanks,
> Casey
>
>
>
> On Apr 15, 2009, at 3:32 PM, Chris Harback wrote:
>
> Do you mean like a HUD or a frame/border kind of thing? From my
>> experience, you can just add the MovieClip onto the stage (not into the
>> Papervision3d scene, of course).
>>
>> Have you tried that and run into problems?
>>
>> --ChrisH
>>
>> -----Original Message-----
>> From: papervision3d-bounces at osflash.org [mailto:
>> papervision3d-bounces at osflash.org] On Behalf Of casey mandell
>> Sent: Wednesday, April 15, 2009 12:17 PM
>> To: papervision3d at osflash.org
>> Subject: [Papervision3D] How do you put a papervision scene behind a 2d
>> movieClip
>>
>> Hi.
>>
>> I'd like to put a Papervision scene "behind" a regular 2d movieClip.
>> (I don't want to use the movieClip as a MovieAsset on a plane.) I
>> wonder if someone could point me in the right direction?
>>
>> thanks,
>> Casey
>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D at osflash.org
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D at osflash.org
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090415/ef5bc371/attachment.html>
More information about the Papervision3D
mailing list