At 7:26 PM +0100 5/28/00, doug rogers wrote:
>Just downloaded the limited version of MetaCard to convert a portfolio
>HyperCard stack to MetaCard. I couldn't figure out any picture display
>commands, I have a number of QuickTime images that I discovered would
>display in the card window, but the window wasn't big enough. Creating a
>player doesn't also allow an image larger than the card window.
>
>so I tried converting all the pictures to Quicktime movies and created
>seperate - not subsidiary - single card stacks for all my now quicktime
>images figuring that I could just 'go to the stack in a new window.'
>
>So now I can't figure out how to do it. There doesn't seem to me to be a
>way to do this that i can call from a button.
A couple of questions:
Are the "QuickTime images" just bitmaps that Metacard can display in
an image object (e.g. jpeg, gif, etc.)?
Are the images stored externally in separate files?
Is the main part of your portfolio a single stack?
Do you just need to display one image at a time?
If so, one approach would be to create a single-card substack of your
main stack to display the images. Add an image object to this stack.
In the button that opens this stack, add a script that sets the
filename of the image object. In the stack script of the substack,
add a preOpenStack handler that resizes the stack to accommodate your
image. Something like this:
on mouseUp
set the filename of image 1 of stack "imageDisplay" to <whatever>
toplevel stack "imageDisplay"
end mouseUp
on preOpenStack
put the height of image 1 into tH
put the width of image 1 into tW
set the height of this stack to tH
set the width of this stack to tW
set the loc of image 1 to the loc of this card
end preOpenStack
>Secondarily, how do I remove a resource that I imported? Since there is
>no resource fork, ResEdit doesn't help.
Have a look in the "components" dialog box for the stack in question
to see if it is listed there.
Cheers
Dave Cragg
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.