Professional Web Applications Themes

Print the stage of the 3d member image - Macromedia Director 3D

I am novice in director and i am trying in my project put a button on the stage with the 3d member that when the user click on it, it grabs the stage image of the 3d member and put it in the castmember and print it. I know that there's a way for doing that but i can't do it. Regards and thanks in advance, Misseleis...

  1. #1

    Default Print the stage of the 3d member image

    I am novice in director and i am trying in my project put a button on the stage
    with the 3d member that when the user click on it, it grabs
    the stage image of the 3d member and put it in the castmember and print it. I
    know that there's a way for doing that but i can't do it.

    Regards and thanks in advance, Misseleis

    catarrento Guest

  2. #2

    Default Re: Print the stage of the 3d member image

    catarrento wrote:
    > I am novice in director and i am trying in my project put a button on the stage
    > with the 3d member that when the user click on it, it grabs
    > the stage image of the 3d member and put it in the castmember and print it. I
    > know that there's a way for doing that but i can't do it.
    Hi. One way is performing copyPixels() over the rect of the 3D sprite
    and then set that image to a dummy member. You can print that member
    with the PrintOmatic xtra and forget about any trouble.

    Sounds doable now?
    --
    Agustín María Rodríguez | [email]agustinOnWine.com.ar[/email] | [url]www.OnWine.com.ar[/url]

    Agustín María Rodríguez Guest

  3. #3

    Default Re: Print the stage of the 3d member image

    Hey i am using this code, but there's a error on it. Please could someone help
    me.

    property tela
    on MouseUp

    tela = new(#bitmap, "tela")
    nHeight = the stageLeft
    nWidth = the stageRight
    tela = image(nWidth, nHeight)

    tela = (member("3dmember").image).duplicate()
    tela.image = tela

    printfrom (tela)

    end MouseUp

    catarrento Guest

  4. #4

    Default Re: Print the stage of the 3d member image

    catarrento wrote:
    > Hey i am using this code, but there's a error on it. Please could someone help
    > me.
    You should specify which error pops up if you want accurate help.
    > tela = image(nWidth, nHeight)
    Here you have an error. A parameter is missing. You have to set the bit
    depth of the image. Example: tela = image(nWidth, nHeight, 32)

    HTH,
    --
    Agustín María Rodríguez | [email]agustinOnWine.com.ar[/email] | [url]www.OnWine.com.ar[/url]

    Agustín María Rodríguez Guest

  5. #5

    Default Re: Print the stage of the 3d member image

    i've found this script at the macromedia forum by fideozonico and it fits
    exactly what I am needing. But i want to print the castmember recently created
    and name it to print. Could you help me please. i just want to print the bitmap
    image recently created.'cause as the user clicks the buttons it goes creating
    castmembers. Could you please give me a hand.

    on MouseUp

    tela = new(#bitmap)

    nHeight = sprite(3).height

    nWidth = sprite(3).width

    n = image(nWidth, nHeight, 24)

    n = (member("3dmember").image).duplicate()

    tela.image = n

    put n

    printfrom (n)<<<---the error??? ("Three parameters expected")

    end MouseUp

    Regards and thanks in advance, Misseleis

    catarrento Guest

  6. #6

    Default Re: Print the stage of the 3d member image

    catarrento wrote:
    > printfrom (n)<<<---the error??? ("Three parameters expected")
    Take a look at the Lingo dictionary. You´ll kickly see what´s happening
    (This is also know as RTFM :))
    --
    Agustín María Rodríguez | [email]agustinOnWine.com.ar[/email] | [url]www.OnWine.com.ar[/url]

    Agustín María Rodríguez Guest

Similar Threads

  1. Image Object and Image Member speed
    By Max in forum Macromedia Director 3D
    Replies: 1
    Last Post: July 28th, 11:21 PM
  2. print screen the 3d stage
    By Elriowiel in forum Macromedia Director 3D
    Replies: 6
    Last Post: June 14th, 01:46 AM
  3. how to put 2 3D member on the stage?
    By klnbtn in forum Macromedia Director 3D
    Replies: 1
    Last Post: February 17th, 11:07 AM
  4. Print Member Problems
    By TerryFunk webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 0
    Last Post: December 18th, 02:44 PM
  5. Print text field member
    By Dellren webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 1
    Last Post: August 24th, 07:44 PM

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