HyperCard Button Icons
Phil Davis
revdev at pdslabs.net
Wed Jul 23 18:45:16 EDT 2008
Hi Dave,
Here's my best guess:
When you copy the icons to the new stack, RR gives them new IDs
unrelated to the original IDs they have in the converted stack. The
buttons are still looking for the old icon IDs which are now gone from
memory (after closing old stack), so no icons are displayed.
To fix it, you can either change the ID of the images or change the icon
properties of the buttons so they reference the images in the RR stack.
Phil
David Brooks wrote:
> I foolishly was so excited by the RunRev conference in Las Vegas that
> I agreed to teach a course in RunRev.
>
> Now that the rubber is 5 weeks away from hitting the road, I'm
> learning about "issues."
>
> A HyperCard demonstration came from a stack called StackStarter by
> Robertson Smith. The user clicks on a button named shark. That button
> disappears and a new button appears as a fin that 'chases' the cursor
> until they meet up (i.e., button catches cursor). The button icon
> changes to an open shark's mouth, (the first finger) cursor disappears
> and is replaced by an amputated stump (button icon), and a chomping
> sound is played. After a delay, the original button is restored, the
> cursor is restored, and this "jaws" button hides. Once they
> demonstrate a skill, fourth graders love to see how long they can
> evade the shark.
>
> The converted stack (HC --> RR) DOES have the icons. When those
> buttons are copied to a stack created in RR, they appear. Once that
> original stack is removed from memory, the icons are no longer
> available. Is there an easy way to access these icons? I did get a
> png file of the stack library which I suppose I can cut up to make
> individual image files? Finding a machine running ResEdit will take
> longer than carving up the png file. In any event, I'd like to learn
> more about this.
>
> Thanks in advance.
>
> Best,
>
> Dave B.
--
Phil Davis
PDS Labs
Professional Software Development
http://pdslabs.net
More information about the use-livecode
mailing list