At 4:33 PM -0800 3/4/05, you wrote:
Thank you for the quick response.

I am still wondering how would I do something like this:

tImage = new image("C:\myimage.jpg")

or something to that effect if you get my drift.  (an image that hasn't been
imported into the director's cast yet).

can't get at a member's .image until it's a member

you can make a linked member & then get it's image

linkMember = new(#bitmap)
linkMember.filename = "C:\myimage.jpg"

then you can use linkMember.image

hth
-Buzz


----- Original Message ----- From: "Buzz Kettles" <[EMAIL PROTECTED]> To: "Lingo programming discussion list" <[email protected]> Sent: Friday, March 04, 2005 12:42 PM Subject: Re: <lingo-l> Problem 1: Imaging Lingo


 At 5:10 PM +0000 3/4/05, you wrote:
 >Hi there,
 >Unfortunatly it doesnt work.
 >
 >The image does resize to the dimensions for the window.rect
 >
 >Is it possible to copypixels directly into a members image?

 yes - (just as Kraig wrote)

 member().image.copypixels(sourceImage, ...

 will copy the sourceImage into the member().image

 hth
 -Buzz

 >
 >Regards
 >Jon
 >
 >
 >
 >On 4 Mar 2005, at 16:20, James Newton wrote:
 >
 >>On 4/3/05 3:54 pm, "Jayp" <[EMAIL PROTECTED]> wrote:
 >>
 >>>I cant seem to get the lingo right for copying the image into a
 >>>member rather than the window.image
 >>
 >>
 >>Hi Jayp,
 >>
 >>Does this work:
 >>
 >>   tBitmap = new(#bitmap) -- or an existing bitmap member
 >>   tImage  = image(R, B, 32)
 >>   tImage.copyPixels(bg, rect(0,0,R,B), rect(0,0,R,B))
 >>   tBitmap.image = tImage
 >>
 >>Cheers,
 >>
 >>James
 >>
 >>[To remove yourself from this list, or to change to digest mode, go
 >>to http://www.penworks.com/lingo-l.cgi  To post messages to the
 >>list, email [email protected]  (Problems, email
 >>[EMAIL PROTECTED]). Lingo-L is for learning and helping with
 >>programming Lingo.  Thanks!]
 >>
 >
 >[To remove yourself from this list, or to change to digest mode, go
 >to http://www.penworks.com/lingo-l.cgi  To post messages to the
 >list, email [email protected]  (Problems, email
 >[EMAIL PROTECTED]). Lingo-L is for learning and helping with
 >programming Lingo.  Thanks!]

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to