Taking screenshot...

Ask a Question related to Macromedia Director 3D, Design and Development.

  1. #1

    Default Taking screenshot...

    Anyone knows how to take a screenshot with lingo so i can pass it to a flash member??

    Thanks! ;)

    McKrackeN Guest

  2. Similar Questions and Discussions

    1. Application.cfc getMetaDatadump() screenshot
      Hello all, I believe that this is my first post here and I wanted to say "hey!," to everyone. On to business: I have a screenshot of something...
    2. Screenshot
      Hi! Does anybody now how I can make a screenshot of an exactly defined area of the stage? Thanks in advance, ras
    3. OT: Windows screenshot
      Drawing a blank here. How do you get a screenshot in Windows? I'm pressing Alt+PrtScn but getting nothing. -- John
    4. Difference in module_eval taking block vs. taking string (1.8 bug?)
      The following code: class Klass end p Klass.instance_methods(false) Klass.module_eval do def hello puts 'hello' end end
  3. #2

    Default Re: Taking screenshot...

    McKrackeN wrote:
    > Anyone knows how to take a screenshot with lingo so i can pass it to a flash member??
    AFAIK, you can´t send pics from Director to Flash.

    G´bye... (Hoping that someone proves me wrong :D )
    --
    Agustín María Rodríguez | Partner
    Methanoia Studio | [url]http://www.methanoia.com[/url]
    ---------------------------------------------------
    [url]www.onwine.com.ar[/url] > Macromedia Director demos & code
    Agustín María Rodríguez Guest

  4. #3

    Default Re: Taking screenshot...

    i just thought it could be nice to make screenshots of the hardware rendered
    output of the 3D sprite. this is not problem when i use directx.7 and swithing
    the directtostage property crabbin the image and set DTS back to true.
    but when i use openGL and change the DTS property to false, the image is
    rendered by the softwarerenderer. may be its only on my computer like this but
    this made me think about a other way to grab a screenshot of the 3D member with
    the free ScrnXtra.

    here is the code, if someone is interested:

    --# it makes a screenshot of a 3D sprite, and copies it into a external bitmap
    file.
    on screenshot me

    --# the 3D sprite
    the_sprite=sprite(1)

    --# new bitmap
    screen=_movie.newMember(#bitmap)

    --# here using the "ScrnXtra"
    StageToMember(the_sprite.left, the_sprite.top, the_sprite.right,
    the_sprite.bottom, screen.number)
    put result()

    --# using the fileIO xtra to specifie the path
    fileIO = new (xtra "fileIO")
    pPath = displaySave( fileIO, "Save image as...", "screenshot" & ".bmp")

    -- fileIO abort
    if pPath = "" then
    exit
    fileIO=0
    end if

    --# sharp xtra to store the image to the specified path
    SharpExport = new (xtra "SharpExport")
    SharpExport.exportBMP (screen, pPath)
    put result()

    fileIO=0
    SharpExport=0

    --# erasing the bitmap from the cast
    screen.erase()

    end

    this works quite good. but now my qustion:
    is there a freeware solution that can be used for the mac?

    hondo3000 Guest

  5. #4

    Default Re: Taking screenshot...

    hondo:
    For some unknown reason Kent's Xtra Page is not downloading the ScrnXtra. Is there any chance you can send me a copy or point me to one? I would be very grateful!
    Gar
    Grampa Gar Guest

  6. #5

    Default Re: Taking screenshot...

    i know how to take a screenshoot with one line of code and no DTS

    tImage=_movie.stage.image.duplicate

    unfortunately i dont know how to send it to flash


    luck!
    ensamblador Guest

  7. #6

    Default Re: Taking screenshot...

    Thanks emsamblador! Since I don't need to send it to flash your code should do me fine. Gar
    Grampa Gar Guest

  8. #7

    Default Re: Taking screenshot...

    just a little correction:
    tImage=_movie.stage.image.duplicate()


    hondo3000 Guest

  9. #8

    Default Re: Taking screenshot...

    yes, i always forget to finalize the
    ensamblador Guest

  10. #9

    Default Re: Taking screenshot...

    @ Grampa Gar
    i found a website in your profile and sent the email with the xtra in it to this adress, did you recieved it? should i make it downloadable from my webspace?

    regards!

    hondo3000 Guest

  11. #10

    Default Re: Taking screenshot...

    The new update of director an shockwave will upgrade the flash asset xtra. with
    a function capable to transform an image from director image object to flash
    (and back and forth). good news for all of us.

    ensamblador Guest

Posting Permissions

  • You may not post new threads
  • You may 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