i made my scene within Maya and exported it to director. now i want to control
my camera movement . i used the following codes, however, doesn't work. i
wonder what's wrong..... i guess one possiblity is my definition to the camera
has been incorrect.....
in the object inspector. my camera is defined both under the 'member'
\+model"camera_see"\ and 'camera' \+camera("DefaultView")\ . i used the
following code.
-----------
property pLeftArrow, pRightArrow, pUpArrow, pDownArrow
property p3Dmember
property pSprite
property pCamera
property camSphereRes
property pCameraSphere
on beginSprite me
--initiate the properties
p3Dmember = sprite (me.spriteNum).member
pSprite = sprite(me.spriteNum)
pCamera = pSprite.camera
pLeftArrow ...
Bookmarks