Professional Web Applications Themes

import a linked bitmap at the runtime crops image. - Macromedia Director Lingo

I am having the exact same problem as well. Did anyone find a solution?...

Sponsored Links
  1. #1

    Default Re:import a linked bitmap at the runtime crops image.

    I am having the exact same problem as well. Did anyone find a solution?




    Sponsored Links
    McBeaver Guest

  2. #2

    Default Re:import a linked bitmap at the runtime crops image.

    Obviously this was a very old post, but here's a solution from [url]http://www.updatestage.com/buglist.html#MX[/url]


    trimWhiteSpace:Contrary to the doc, setting the "trimWhiteSpace" property to TRUE for a member, after it has been imported with the property off, doesn't do anything. Neither changing the property setting in the member prop dialog nor changing it via Lingo works.
    Submitted by Peter Wolf. Retread from 8.5.1 (Mac,WinXP)

    Workaround from Arno Oesterheld is to edit the image in the paint window and use the pencil tool to put a white dot anywhere in the white area that won't go away. Voila.

    Scott Southworth notes a similar problem. If you create a bitmap using #new, and set its filename to import an image, trimwhitespace is always on. The following always trims the image's whitespace:


    newbit = new(#bitmap)
    newbit.trimwhitespace = FALSE
    newbit.filename = "Drive:temp:image.pct"
    newbit.trimwhitespace = FALSE -- For good measure
    -- 2. Go in to the bitmap properties and uncheck trim
    -- 3. Do a ceremonial dance chanting "no trim, no trim, no trim ..."
    -- Result: image appears in cast and on stage with whitespace gone



    Scott further points out that if the image file is a completely white image with just an alpha channel, you end up with a bitmap cast member with no width or height since all of the white has been trimmed.

    Workaround in this case is to use "importFileInto" instead, which imposes a memory hit.

    [url]http://www.updatestage.com/buglist.html#MX[/url]


    McBeaver Guest

Similar Threads

  1. Resize Bitmap image in image control in flex3
    By mousumi_78 in forum Macromedia Flex General Discussion
    Replies: 2
    Last Post: May 5th, 06:07 PM
  2. linked bitmap files, certain vector elements, and saving as pdf..
    By sam_bannister@adobeforums.com in forum Adobe Illustrator Macintosh
    Replies: 5
    Last Post: April 5th, 10:56 AM
  3. Bitmap import limit in IL CS?
    By spclark@adobeforums.com in forum Adobe Illustrator Macintosh
    Replies: 2
    Last Post: February 10th, 01:58 PM
  4. #animGif to #bitmap at runtime?
    By Chris Sweeney in forum Macromedia Director Lingo
    Replies: 0
    Last Post: November 23rd, 07:46 PM
  5. accessing non-linked external casts in runtime
    By vbarberini webforumsuser@macromedia.com in forum Macromedia Director Lingo
    Replies: 2
    Last Post: July 16th, 01:09 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