[Papervision3D] SasMaster:InteractiveScene3DEvent.OBJECT_RELEASE_OUTSIDE
Michael Iv
explomaster at gmail.com
Fri Aug 14 05:57:18 PDT 2009
Hi, Anyone has a problem with InteractiveScene3DEvent.OBJECT_RELEASE_OUTSIDE
. Because I am trying to trigger function on this event when releasing
the button outside ine's primitive's area and nothing happens ,even not the
event firing registration! Any Help?
On Thu, Aug 13, 2009 at 10:00 PM, <papervision3d-request at osflash.org> wrote:
> Send Papervision3D mailing list submissions to
> papervision3d at osflash.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> or, via email, send a message with subject or body 'help' to
> papervision3d-request at osflash.org
>
> You can reach the person managing the list at
> papervision3d-owner at osflash.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Papervision3D digest..."
>
>
> Today's Topics:
>
> 1. Re: Help with MovieMaterial (Ross Sclafani)
> 2. Re: Help how scattering a plane (CONTRLALTDELETE)
> 3. Re: Help how scattering a plane (Thor Sarup)
> 4. Re: Help how scattering a plane (Mike Pearce)
> 5. Re: Help how scattering a plane (Mike Pearce)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 12 Aug 2009 15:00:57 -0400
> From: Ross Sclafani <ross.sclafani at gmail.com>
> Subject: Re: [Papervision3D] Help with MovieMaterial
> To: papervision3d at osflash.org
> Message-ID: <5D83836C-F8BC-4ABE-8A25-0694E8D817AD at gmail.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> here is your problem:
> var itemClass : Class = getChildByName(_item) as Class;
>
> from the looks of your imports, you intended to use
>
> var itemClass : Class = getDefinitionByName(_item) as Class;
>
> this will work because itemClass() will then act as a proper
> constuctor and you wont see
>
> TypeError: Error #1007: Instantiation attempted on a non-constructor.
>
> a simple oversight. i for one know those can become as hard to see as
> the tip of your nose, especially the harder you look for it.
>
> good luck,
> _ross
>
> On Aug 12, 2009, at 2:46 AM, CONTRLALTDELETE wrote:
>
> >
> > i have a movieclip in the library which is call "Item"
> > inside that "Item" movielcip i have this actions
> >
> > import flash.display.Bitmap;
> > import flash.display.BitmapData;
> > import flash.utils.getDefinitionByName;
> >
> > var bmp : BitmapData;
> > var bm : Bitmap ;
> >
> >
> >
> > function getItem (_item : String) : void
> > {
> > var itemClass : Class = getChildByName(_item) as Class;
> > var xitem : MovieClip = new itemClass() as MovieClip;
> > xitem.x = 0;
> > xitem.y = 0;
> > MC_reflection.addChild(xitem);
> >
> > bmp = new BitmapData(534 , 334, false, 0xffff00);
> > bmp.draw(MC_ref);
> >
> > bm = new Bitmap(bmp);
> > MC_reflection.addChild(bm);
> >
> > MC_reflection.cacheAsBitmap = true;
> > MC_mask.cacheAsBitmap = true;
> >
> > MC_reflection.mask = MC_mask;
> > }
> >
> >
> >
> > and i have a class that has this function that create a material
> >
> >
> > private function createMovieMaterial (_linkage : String) :
> > MovieMaterial
> > {
> > item = new Item();
> > item.getItem(_linkage);
> > var mat : MovieMaterial = new MovieMaterial(item);
> > mat.animated = true;
> > mat.interactive = true;
> > mat.smooth = true;
> >
> > return mat;
> > }
> >
> >
> > what im trying to do is load another movieclip inside that Item
> > movieclip
> > and for some reason i'm getting this error
> >
> > TypeError: Error #1007: Instantiation attempted on a non-constructor.
> > at Item/getItem()
> > at
> > com
> > .pornographicsystem
> > .template_cue.view.component.coverflow::SetUpCoverFlow/
> > createMovieMaterial()
> > at
> > com
> > .pornographicsystem
> > .template_cue.view.component.coverflow::SetUpCoverFlow/
> > setUpCoverFlow()
> > at
> > com
> > .pornographicsystem
> > .template_cue.view.component.coverflow::SetUpCoverFlow/init()
> > at
> > com
> > .pornographicsystem
> > .template_cue.view.component.coverflow::SetUpCoverFlow()
> > at
> > com
> > .pornographicsystem.template_cue.view.component.coverflow::CoverFlow/
> > drawCoverFlow()
> > at
> > com
> > .pornographicsystem.template_cue.view.component.coverflow::CoverFlow/
> > init()
> > at
> > com
> > .pornographicsystem.template_cue.view.component.coverflow::CoverFlow()
> > at com.pornographicsystem.template_cue.view.slide::Template/frame1()
> >
> > --
> > View this message in context:
> http://www.nabble.com/Help-with-MovieMaterial-tp24930907p24930907.html
> > Sent from the Papervision3D mailing list archive at Nabble.com.
> >
> >
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 12 Aug 2009 22:20:11 -0700 (PDT)
> From: CONTRLALTDELETE <ctrlaltdlt at live.com>
> Subject: Re: [Papervision3D] Help how scattering a plane
> To: papervision3D at osflash.org
> Message-ID: <24949008.post at talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> Anyone on this one?
> How do i randomly position a plane x/z position to achieve similar
> distribution of the silhouettes?
>
>
>
> CONTRLALTDELETE wrote:
> >
> > I am trying to achieve similar effects without the zoom and drag ..
> > all i want is to scatter the plane and angle it similar to this link
> >
> >
> http://www.nytimes.com/interactive/2009/06/25/arts/jackson-legacy.html?ref=music
> >
> > I'm pretty new to papervision3D so much help is much appreciated thanks
> in
> > advanced to all.
> >
>
> --
> View this message in context:
> http://www.nabble.com/Help-how-scattering-a-plane-tp24928973p24949008.html
> Sent from the Papervision3D mailing list archive at Nabble.com.
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 13 Aug 2009 08:27:40 +0200
> From: Thor Sarup <tsarup at gmail.com>
> Subject: Re: [Papervision3D] Help how scattering a plane
> To: papervision3d at osflash.org
> Message-ID:
> <c08105bc0908122327i6fdd0280ofef212be0f0ae0f at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> You can find something in this:
>
> http://pv3d.org/2009/07/01/test-if-a-plane-is-within-the-view-of-the-camera-aka-testing-if-culled/
> (though the point of the example is not the random placing of planes)
>
> 2009/8/13 CONTRLALTDELETE <ctrlaltdlt at live.com>
>
> >
> > Anyone on this one?
> > How do i randomly position a plane x/z position to achieve similar
> > distribution of the silhouettes?
> >
> >
> >
> > CONTRLALTDELETE wrote:
> > >
> > > I am trying to achieve similar effects without the zoom and drag ..
> > > all i want is to scatter the plane and angle it similar to this link
> > >
> > >
> >
> http://www.nytimes.com/interactive/2009/06/25/arts/jackson-legacy.html?ref=music
> > >
> > > I'm pretty new to papervision3D so much help is much appreciated thanks
> > in
> > > advanced to all.
> > >
> >
> > --
> > View this message in context:
> >
> http://www.nabble.com/Help-how-scattering-a-plane-tp24928973p24949008.html
> > Sent from the Papervision3D mailing list archive at Nabble.com.
> >
> >
> > _______________________________________________
> > 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/20090813/44c2438b/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 4
> Date: Thu, 13 Aug 2009 16:27:44 +1000
> From: "Mike Pearce" <mcpearce at gmail.com>
> Subject: Re: [Papervision3D] Help how scattering a plane
> To: <papervision3d at osflash.org>
> Message-ID: <002a01ca1bdf$2da78250$88f686f0$@com>
> Content-Type: text/plain; charset="us-ascii"
>
> You just wanna layout vertical planes randomly into the distance?
>
> -----Original Message-----
> From: papervision3d-bounces at osflash.org
> [mailto:papervision3d-bounces at osflash.org] On Behalf Of CONTRLALTDELETE
> Sent: Thursday, 13 August 2009 3:20 PM
> To: papervision3D at osflash.org
> Subject: Re: [Papervision3D] Help how scattering a plane
>
>
> Anyone on this one?
> How do i randomly position a plane x/z position to achieve similar
> distribution of the silhouettes?
>
>
>
> CONTRLALTDELETE wrote:
> >
> > I am trying to achieve similar effects without the zoom and drag ..
> > all i want is to scatter the plane and angle it similar to this link
> >
> >
>
> http://www.nytimes.com/interactive/2009/06/25/arts/jackson-legacy.html?ref=m
> usic
> >
> > I'm pretty new to papervision3D so much help is much appreciated thanks
> in
> > advanced to all.
> >
>
> --
> View this message in context:
> http://www.nabble.com/Help-how-scattering-a-plane-tp24928973p24949008.html
> Sent from the Papervision3D mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 13 Aug 2009 16:30:31 +1000
> From: "Mike Pearce" <mcpearce at gmail.com>
> Subject: Re: [Papervision3D] Help how scattering a plane
> To: <papervision3d at osflash.org>
> Message-ID: <002b01ca1bdf$90bf3ef0$b23dbcd0$@com>
> Content-Type: text/plain; charset="us-ascii"
>
> It looks pretty "random" to me. I.e - not equidistant distribution.
>
> You could always do a do..while loop to check if the newly generated plane
> is in close proximity on its z and x axis to another object...
>
> Is that what you're after?
>
> -----Original Message-----
> From: papervision3d-bounces at osflash.org
> [mailto:papervision3d-bounces at osflash.org] On Behalf Of CONTRLALTDELETE
> Sent: Thursday, 13 August 2009 3:20 PM
> To: papervision3D at osflash.org
> Subject: Re: [Papervision3D] Help how scattering a plane
>
>
> Anyone on this one?
> How do i randomly position a plane x/z position to achieve similar
> distribution of the silhouettes?
>
>
>
> CONTRLALTDELETE wrote:
> >
> > I am trying to achieve similar effects without the zoom and drag ..
> > all i want is to scatter the plane and angle it similar to this link
> >
> >
>
> http://www.nytimes.com/interactive/2009/06/25/arts/jackson-legacy.html?ref=m
> usic
> >
> > I'm pretty new to papervision3D so much help is much appreciated thanks
> in
> > advanced to all.
> >
>
> --
> View this message in context:
> http://www.nabble.com/Help-how-scattering-a-plane-tp24928973p24949008.html
> Sent from the Papervision3D mailing list archive at Nabble.com.
>
>
> _______________________________________________
> 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
>
>
> End of Papervision3D Digest, Vol 35, Issue 23
> *********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090814/dcd59980/attachment-0001.html>
More information about the Papervision3D
mailing list