Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
Authorware
MacroMedia AuthorWare
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About Authorware :
product's home
product's list home
 
  Archived TallyList / Authorware: 
Subject: Re: AW5.2 - SetSpriteProperty graphic and HotSpot positioning
Sebastiaan Schoute (19p/+0r)     Posted: Monday 05 Mar 2001
This post: 42 views, +0 rating

>DisplayX and DisplayY can also be used for that ...

Not if I want to know the position and size of hotspot or buttons (I forgot to mention I also use the GetPostSize() function). I don't believe you can use DisplayX in order to get the position of a hotspot. Second, DisplayX (as far as I know) only works with already displayed objects, not with objects who aren't displayed yet. I use GetPostSize and GetPostPoint in my initialization sequence at start up. The Test function is only used to display a message whenever the cursor is within a hotspots boundaries.. Like this:

Initialize: HotspotPos := GetPostPoint( @"Hotspot" ; #response) HotspotSize := GetPostSize( @"Hotspot" ; #response)

Calc in Display Icon {Test( CursorX > HotspotPos[1] & CursorX < HotspotPos[1] + HotspotSize[1] & CursorY > HotspotPos[2] & CursorY < HotspotPos[2] + HotspotSize[2] ; "Tooltip" ; "")}

Sebastiaan

-- The AWARE List http://www.e-media.nl/aware/index.html

Search the Archives http://www.e-media.nl/aware/search.html

Netiquette: - Use descriptive subject fields - Use subject prefixes (A5 , A5Mac , A5Web , KO , UCD , OT)


Similar Subject Line Posts (+/- two weeks of this post)
Re: AW5.2 - SetSpriteProperty graphic and HotSpot positioning  06 Mar 2001   (30 v/ +0 r)
Re: AW5.2 - SetSpriteProperty graphic and HotSpot positioning  05 Mar 2001   (38 v/ +0 r)
Re: AW5.2 - SetSpriteProperty graphic and HotSpot positioning  05 Mar 2001   (35 v/ +0 r)
Re: AW5.2 - SetSpriteProperty graphic and HotSpot positioning  05 Mar 2001   (26 v/ +0 r)
Re: AW5.2 - SetSpriteProperty graphic and HotSpot positioning  05 Mar 2001   (43 v/ +0 r)
Re: AW5.2 - SetSpriteProperty graphic and HotSpot positioning  05 Mar 2001   (31 v/ +0 r)
Re: AW5.2 - SetSpriteProperty graphic and HotSpot positioning  05 Mar 2001   (42 v/ +0 r)
Re: AW5.2 - SetSpriteProperty graphic and HotSpot positioning  05 Mar 2001   (29 v/ +0 r)
Re: AW5.2 - SetSpriteProperty graphic and HotSpot positioning  05 Mar 2001   (30 v/ +0 r)
Re: AW5.2 - SetSpriteProperty graphic and HotSpot positioning  05 Mar 2001   (32 v/ +0 r)
Re: AW5.2 - SetSpriteProperty graphic and HotSpot positioning  05 Mar 2001 (this post)   (42 v/ +0 r)
Re: AW5.2 - SetSpriteProperty graphic and HotSpot positioning  05 Mar 2001   (27 v/ +0 r)
Re: AW5.2 - SetSpriteProperty graphic and HotSpot positioning  05 Mar 2001   (43 v/ +0 r)
Re: AW5.2 - SetSpriteProperty graphic and HotSpot positioning  04 Mar 2001   (32 v/ +0 r)
Re: AW5.2 - SetSpriteProperty graphic and HotSpot positioning  04 Mar 2001   (31 v/ +0 r)
Re: AW5.2 - SetSpriteProperty graphic and HotSpot positioning  04 Mar 2001   (26 v/ +0 r)
Re: AW5.2 - SetSpriteProperty graphic and HotSpot positioning  04 Mar 2001   (30 v/ +0 r)
AW5.2 - SetSpriteProperty graphic and HotSpot positioning  04 Mar 2001   (27 v/ +0 r)
 

Send a reply to the Authorware list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000