Import image

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
keyless
Posts: 211
Joined: Wed Dec 12, 2007 11:21 pm

Import image

Post by keyless » Wed Nov 12, 2008 7:37 am

I'm having a beast of a time referencing a image file and the setting it as the backdrop. (windows)

Im trying:

Code: Select all

  put "binfile:C:\Documents and Settings\HP_Administrator\Desktop\picture.jpg" into path
  set the filename of image ID 1041 to path
  set the backdrop to 1041

Klaus
Posts: 14194
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Post by Klaus » Wed Nov 12, 2008 9:55 am

Hi keyless,

omit the "binfile:", use the correct (for Rev) path delimiters and it will work:

...
put "C:/Documents and Settings/HP_Administrator/Desktop/picture.jpg" into path
...

:-)


Best

Klaus

Post Reply