New Reference Control, All images in folder
Thomas McGrath III
3mcgrath at adelphia.net
Fri Feb 27 02:41:42 EST 2004
Chipp,
Thanks for your reply,
Actually I just finished a project with over 520 referenced full sized
png exports from Powerpoint. But that was developed through a loading
scheme that I used in 105 button links. So I put in the file path
corrections to the final folder structure of the finished CD via
scripting and allowed for development path and for distribution path
and everything works great in that project.
What I had not used before was the 'auto' loading of a folder via the
reference control menu. It does not work here on OSX 3.2.
And yes i did use the right one because after closing and reopening all
references are lost. The images are grayed out and not just blank. If
they were blank it would mean a lost path(I've done that before) but
these are gray and have no path. I just went and used the other Import
(non-referenced) images by folder and the images of course work. But
now I have over 400 images on my card. I turned them all invisible for
now. Later I will have to write my own import script.
I just tried this again and it still will not include any reference
path in the file path and once closed and reopened the images go gray.
This is not a path problem as in it is looking for a wrong path. It is
a lack of path problem and once closed and reopened has no path to load
the reference with. But if I import as control than the image is placed
on the card just fine. That is too much overhead though and I will need
to write my own import function to get my images in. In the end there
will be over 2000 referenced images and I do want them referenced.
Lastly I have a few other images that I did not want to delete so
selecting the 'bad' images was the logical choice. I did not expect it
to crash by selecting them and then choosing the menu to cut them.
Jac has requested this as a bugzilla and I agree. As reference it did
not include references. And selecting them causes a crash. This is
repeatable and proven here and now twice by me.
On Feb 27, 2004, at 12:45 AM, Chipp Walters wrote:
> Thomas,
>
> Don't worry, we'll get this figured out. Soundls like you haven't used
> referenced images and filepaths before?
>
> Also, there are known limitations regarding selecting large number of
> objects inside the Rev IDE. That is probably why it's crashing.
>
> I tried it on my WinXP machine and it worked exactly as expected. Some
> notes:
>
> 1) It will attempt to create a linked img for each file (whether it is
> a valid image file or not, so make sure and have your folder contain
> ONLY images and no other type of file.
>
> 2) As it says, it creates only references to images. To see where the
> reference is expected, open the properties palette for an image and
> check the filename property; OR
>
> select an image
> then type into the message box
>
> put the filename of the selectedObject
>
> If there is no filename associated then you used the
> Import as Control-> All images in folder
> instead of
> New Referenced Control-> All images in folder
>
> 3) Important Note: the filename is relative to the defaultFolder path.
> So, if you want to make sure they link up correctly, then be sure and
> set the defaultFolder *before* opening the stack.
>
> Create a new stack with a single button and set the script to:
>
> on mouseUp
> answer folder "Choose a defaultFolder path"
> if it is empty then exit to top
> set the defaultfolder to it
> end mouseUp
>
> Now open your folder and you will see the images.
>
> best,
>
> Chipp
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
More information about the use-livecode
mailing list