Ask a Question related to Macromedia Director Lingo, Design and Development.
-
McBeaver #1
Re:import a linked bitmap at the runtime crops image.
I am having the exact same problem as well. Did anyone find a solution?
McBeaver Guest
-
Resize Bitmap image in image control in flex3
I am loading an image in image control initially. Then I am applying color transform to that image and want to load that bitmap image in flex3. That... -
Bitmap import limit in IL CS?
I've been trying to import a TIF file into a CS document; I keep running into unwanted cropping of the image. File's fine in PSCS, but in... -
#animGif to #bitmap at runtime?
Hi. I'm trying to make a game in Director, and I'm having an issue that's driving me nuts. I'm using 8.5 on Win. Is there a way to convert an... -
accessing non-linked external casts in runtime
Is it possible to access a cast that is not linked to a movie? Can anyone tell me how? thanks J -
McBeaver #2
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



Reply With Quote

