Re: Associating a file with an Image Object

2005-06-14 Thread Brian Yennie
David, What you're looking for is the fileName property: answer file Please select an image if (there is a file it) then set the fileName of image Image1 to it end if - Brian Hi All, I want to be able to choose and image file and have that image appear in an image object. I can't seem

RE: Associating a file with an Image Object

2005-06-14 Thread MisterX
there's two ways of doing this David After you've chosen the image file answer file choose and image put it into thisimagepath put the long id of image x into thisimage set the path of thisimage to thisimagepath (image by reference) or put file: before thisimage set the imagedata of

Re: Associating a file with an Image Object

2005-06-14 Thread Eric Chatonet
Hi David, 1. The answer file command put the path of the selected file into the it variable, not its contents :-) Something like /Applications/Revolution 2.6/components/help/ dictionary/answer_file_command.xml 2. There are many ways to display an image : by setting its filename property

Re: Associating a file with an Image Object

2005-06-14 Thread Klaus Major
Hi David, Hi All, I want to be able to choose and image file and have that image appear in an image object. I can't seem to find out how to do this! I have the following script on a Choose button: on mouseUp answer file Please select an Image put it into field FilePathName -- -- Now I

Re: Associating a file with an Image Object

2005-06-14 Thread David Burgun
Hi, Thanks for that! It now works for JPEG files but not TIFF for some reason, do you have to do something special to attach a TIFF file to an Image Object? And thanks Eric for the pointer to your web site, I will take a look at it now. All the Best Dave Hi David, Hi All, I want to be

Re: Associating a file with an Image Object

2005-06-14 Thread Eric Chatonet
Hi David, From the docs: Some picture formats (such as TIFF) that are not supported by the image object can be displayed instead by QuickTime. To display a picture using QuickTime, you create a player instead of an image, then set the players filename, to display the picture file. Le 14