Page 1 of 1

image graphic picture??

Posted: Fri Jul 16, 2010 12:36 pm
by roeg11
Forgive a posting that shows that I"ve not read and studied all the documentation for RunRev Studio.

But the subject line has my question: what's the difference between those three terms?

I'm trying to build a stack that imports a little BW drawing on each page; and I can import it using "import paint from file "ATB2.jpg" in the script of a button. Then I "set the loc of img "ATB2.jpg" to 358,250". If I click again on that button, the picture (Image--graphic?) won't appear at the loc I specify. (Nor would it resize on a second click to fit the "graphic" picture field that I've created for a frame.)

I'm working on workarounds (hide the button after the image is loaded the first time, then deleting the image and showing the button when going to the next card) and (if the image already exists then exit mouseup--but I'm such a beginner that I couldn't even get that to run). And I'm thinking that maybe the name I use (picture, image, graphic) is causing the problem.

I read somewhere else on the forum about locking the graphic...but I've not tried it to see if a second click to import the paint will place the jpg where I don't want it.

thanks in advance
gary roelofs

Re: image graphic picture??

Posted: Sat Jul 17, 2010 5:24 am
by Curry
Either in the User Guide or the Dictionary you should take a few minutes to read about the difference between image and graphic--they may be similar in English, but very different in RunRev.

It's possible to import images as you are doing, but it sounds like you might be better off if you create an image, size it as desired, lock the loc, group it, set group to behave like a background and place it on your cards, and set the filename of that image from your button script.

Re: image graphic picture??

Posted: Mon Jul 19, 2010 10:06 am
by Mark
Hi roeg11,

If you haven't solved this problem yet, please post your script.

Best regards,

Mark