Hi All,
I need some help please.

Im still getting to grips with Imaging lingo. I created an image and ive mangaged to set it to the window.image. The image is resized each time the window is resized. However I cant seem to get the lingo right for copying the image into a member rather than the window.image. Ive pasted the code below.



Can you anyone help?

Regards

Jon









global alongi

on startmovie

  alongi = new(script "alongi")

  test



end

on test



  bg = alongi.il.createBG(rgb(237,237,237),rgb(240,240,240))





  d = the desktoprectlist[1]

  w = window(the moviename).Rect



  R = d[3] -(d[3] - w[3])

  L = R - (R-W[1])



  B = d[4] - (d[4] - w[4])

  T = B- (B - w[2])





window(the moviename).image.copyPixels(bg, rect(0,0,R,B) , rect(0,0,R,B))



end



on resizewindow

  test

end

[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