[Papervision3D] re ach Main.as's methods from movieclip inside texture
Tom Richardson
kwarismian at gmail.com
Fri Feb 29 07:23:58 PST 2008
Bubble your events up the display chain.
Event bubbling allows parents to capture the events of the children, which
it sounds like is your end-goal.
Google Event Bubbling if this is a new concept for you.
~T
On Fri, Feb 29, 2008 at 5:44 AM, Franco Gneri <knafle at gmail.com> wrote:
> maybe, u can make a clas for that moviclip like class mymovie extends
> MovieClip, with al the listeners an internal programing inside the class,
> and inside a papervision, use this class as movietexture. like
> var mc:Moviclip= new mymovie()
> var m:MovieMaterial = new MovieMaterial(mc, false, true, false)
>
> im not sure, but i think u can doit this way, maybe someone more pro can
> tell u a better solution.
>
> 2008/2/29, rens <renscrab at msn.com>:
>
> >
> > Hello,
> >
> > I can interact from 3D scene objects to a movieclip(material) property,
> > it's
> > ok. (click the sphere and the clip on the cube is playing \o/ woot
> > great).
> >
> > but, is there a way to interact with 3D scene from a movieclipmaterial
> > bouton, ( => the movieclip inside the material) ?
> >
> > it can work untill my 'butons' are listen from Main.as, but in case of i
> > have a navigation structure, with butons which are dynamically
> > created/destroyed ... Main.as listeners don't work anymore ...
> >
> > i'm trying to get the way between my clip and my main classe file ...
> > but
> > the trace(myclip.parent) = null ...
> >
> > so, is it impossible to call Main's methods from myclip (without
> > creating
> > listener before) ?
> >
> > How can i do ?
> >
> > Thanks in advance,
> >
> > regards
> >
> > ps : sorrry for my poor school english, my professors and me were not
> > good
> > friends :)
> > --
> > View this message in context:
> > http://www.nabble.com/reach-Main.as%27s-methods-from-movieclip-inside-texture-tp15755856p15755856.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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080229/231fc635/attachment.html
More information about the Papervision3D
mailing list