Re: Showing/Hiding Images on mouseLeave... IMPROVED

2003-02-08 Thread John J. Theobald
> John J. Theobald wrote:
>
> erik hansen wrote:
>
> I simply put a transparent graphic behind my "freeform" shaped
> button. This graphic extends beyond the borders of my button. I
> then put this handler in the graphic.
>
> on mouseEnter put image "normalstate" into image "goback" end
> mouseEnter
>
> "goback" is the name of my "freeform" button, "normalstate" is the
> image I want displayed when I do a mouseLeave.  Since leaving the
> button does not generate a mouseLeave (as you discovered), entering
>  the transparent graphic DOES generate a mouseEnter and the opportunity
>  to change the graphic.
>
>
> if the mouse enters the transparent graphic from the card, NOT from
> freeform btn "goback"?
>
> = [EMAIL PROTECTED]http://www.erikhansen.org
>
> __ Do you Yahoo!? Yahoo!
>  Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
>

> ___ use-revolution
> mailing list [EMAIL PROTECTED] 
http://lists.runrev.com/mailman/listinfo/use-revolution
>

>
>
>
> When the mouse enters the transparent graphic from the card, it
> naturally sends the same "put" to the freeform button.  But, the
> "normalstate" is what already exists, so it does a "put" that is
> not needed. In my case I use imported images, so it is a memory
> copy, no disk I/O. IMHO this is negligible overhead while
> accomplishing the desired result.  If you wanted to eliminate the
> "put", just check the state of the image.  Either way, the handler
> has to do some processing.
>
> John Theobald
>
> ___ use-revolution
> mailing list [EMAIL PROTECTED] 
http://lists.runrev.com/mailman/listinfo/use-revolution
>
>

Upon further experimentation, I found I did not like the solution I 
provided above because very fast mouse movements over the freeform 
graphic could potentially leave it in an undesireable "state".  I 
imagine this is due to the system mouse polling and it's inability to 
trap events under very fast movement and missing the mouseEnter on my 
surrogate graphic.

So, I decided to write my own "mouseLeave" handler called checkMe for 
the freeform button that is 100% consistent and accurate and involves no 
surrogate graphics.  I submit it as an improved and IMO more elegant 
solution to the mouseLeave issue. Any enhancement suggestions welcomed.


on mouseEnter
 put image "activestate" into me
 send checkMe to me in 10 ticks  # Check the mouseLoc for leave
end mouseEnter

on checkMe
 if within(me, the mouseLoc) then
send checkMe to me in 10 ticks  # Check back if still within
  else  # otherwise
put image "normalstate" into me # back to normal because we left
 end if
end checkMe


I should have done more testing before suggesting my previous solution, 
apologies to the list.


John J. Theobald






___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


re: What drive am I running from?

2003-02-08 Thread RCS
Thanks Klaus!

JR


> Message: 4
> Date: Fri, 7 Feb 2003 19:16:06 +0100
> Subject: Re: What drive am I running from?
> From: Klaus Major <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> 
> Hi JR,
> 
> > Does anyone know how to determine what drive your application is 
> > rinning
> > from in OSX? You do not get the full path when you do a 
> > defaultDirectory on
> > startup...the drive is missing!
> >
> > If you are going to suggest that I do a 'get drives' and parse all of 
> > the
> > folders on all of the drives until I figure it out...well, you know 
> > what I
> > would say to that.
> 
> Thank you? ;-)
> 
> Try this:
> 
> function where_am_i
>set the itemdel to "/"
>return item 3 of the effective filename of this stack
> end where_am_i
> 
> Works fine here...
> 
> > Thanks,
> > JR
> 
> Have a nice weekend.
> 
> Regards
> 
> 
> Klaus Major
> [EMAIL PROTECTED]


___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Cookies on OSX

2003-02-08 Thread Robert Presender
Hi,

On Friday, February 7, 2003, at 09:03  AM, Scott Rossi wrote:


Anybody know where IE cookie info is stored on OSX?  Not sure if this 
is a
single file or multiple files, or if it is part of some user/library 
info
somewhere, and searching for files with "cookie" in the name doesn't 
turn up
anything.

Just downloaded IE 5.2.2 for OSX.  The cookies can be found in IE 
preferences under Receiving Files.  I am using eMac, OS 10.2.3.

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design


Regards ... Bob

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard