Professional Web Applications Themes

move camera from flash - Macromedia Director 3D

My brain has escaped.... im useing a flashmovie to controll a 3d object. Everything works fine except the zoom, thise is the code im using : on inzoom member("test").camera["Camera01"].transform(0,+40,0,#self) end and in flash : getURL("event:inzoom"); the camera doesnt move a bit....what im i doing wrong?...

Sponsored Links
  1. #1

    Default move camera from flash

    My brain has escaped....

    im useing a flashmovie to controll a 3d object. Everything works fine except
    the zoom, thise is the code im using :

    on inzoom
    member("test").camera["Camera01"].transform(0,+40,0,#self)
    end

    and in flash : getURL("event:inzoom");

    the camera doesnt move a bit....what im i doing wrong?


    Sponsored Links
    biiin Guest

  2. #2

    Default Re: move camera from flash

    try using translate instead of transform

    on inzoom
    member("test").camera["Camera01"].translate(0,+40,0,#self)
    end

    and if you're code is in a movie script try using getURL("lingo:inzoom") from
    flash

    hth

    Ex Guest

  3. #3

    Default Re: move camera from flash

    Hi!
    Still doesnt work...the flas part works, tryed to use the same command from flash but moving an other modell in the scene instead of the camera...that work...anyoing
    biiin Guest

  4. #4

    Default Re: move camera from flash

    ok try addressing the camera by index instead of name. if there's only one camera you can use

    on inzoom
    member("test").camera[1].translate(0,+40,0,#self)
    end
    Ex Guest

  5. #5

    Default Re: move camera from flash

    Thanks a lot! That worked lika a charm!
    Cheers!
    biiin Guest

Similar Threads

  1. Question Need help with making the camera move with the mouse (FPS style)
    By hyper in forum Macromedia Director 3D
    Replies: 0
    Last Post: January 9th, 09:11 PM
  2. FLASH API to make a simple move
    By softwaredeveloper in forum Adobe Flash, Flex & Director
    Replies: 1
    Last Post: September 27th, 03:11 PM
  3. Can I let camera move while w3d file is loading?
    By WrongAgain in forum Macromedia Director 3D
    Replies: 5
    Last Post: April 11th, 11:55 AM
  4. xyz axis change with camera move
    By mnkongull in forum Macromedia Director 3D
    Replies: 0
    Last Post: March 26th, 09:12 PM
  5. both mouse buttons down to move model/camera
    By Karl Sigiscar in forum Macromedia Director 3D
    Replies: 0
    Last Post: August 21st, 08:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139