sorry where is the movieMaterial.movie property found??


Michael Iv wrote:
You should cast moviematerial.movie as movieClip if  I remember correctly

On Thu, Apr 15, 2010 at 4:52 PM, Pierre Karadia <[email protected] <mailto:[email protected]>> wrote:

    Can someone remind of the syntax for passing play / stop etc to
    the MovieMaterial class.. is this along the right lines...??

    var cube:Cube = new Cube();

    var aMovieClip = new MovieClip(); // containing a stop frame and
    then some sequence animations..
    var mMaterial:MovieMaterial = new MovieMaterial(aMovieClip,
    {interactive:true});

    add listeners....

    protected function onRollOver(e:MouseEvent3d):void {
    aMovieClip.play();
    }

    protected function onRollOut(e:MouseEvent3d):void {
    aMovieClip.stop();
    }



-- To unsubscribe, reply using "remove me" as the subject.




--
Michael Ivanov ,Programmer
Neurotech Solutions Ltd.
Flex|Air |3D|Unity|
www.neurotechresearch.com <http://www.neurotechresearch.com>
Tel:054-4962254
[email protected] <mailto:[email protected]>
[email protected] <mailto:[email protected]>


Reply via email to