On 1/14/07 12:45 PM, "Bob Earp" <[EMAIL PROTECTED]> wrote:
> I wish to set the default path for image controls, can this be done?  If so
> what is the property for it?  Failing that, anybody know if a referenced image
> (in an image control) can be relative rather than absolute?

you could try this solution
--make a new mainstack
--paste these two handlers in the stack script
--save to the desktop as "testImage.rev"
--close the stack, then
--create a folder on the desktop named "controlsFldr"
--put a graphic file "picture2.png" into that folder
--now open the stack and
--type "test" in the message box
-----> you should now see the image you want
add more graphics, mix, stir and salt to taste.

on openstack
  put the filename of me into pathhFile
  set the itemdel to "/"
  put "controlsFldr/dummy.jpg" into item -1 of pathhFile
  set the filename of the templateimage to pathhFile
end openstack

on test
  put "picture2.png" into newFilename
  create image
  put the filename of the last image into holdName
  replace "dummy.jpg" with newFilename in holdName
  set the filename of the last image to holdName
end test


Jim Ault
Las Vegas


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to