macromedia.authorware
[Top] [All Lists]

Re: Image properties in a7p

Subject: Re: Image properties in a7p
From: "Amy Blankenship"
Date: Fri, 27 Jun 2008 15:48:38 -0500
Newsgroups: macromedia.authorware


"Mike Baker **Adobe Community Expert**" <mike-baker@xxxxxxx> wrote in 
message news:g43aqp$e3g$1@xxxxxxxxxxxxxxxxxxxxxxxx
> You'll need DisplayLeft and DisplayTop but these values won't be valid 
> until
> the file is running. You could use a menu to activate a test. Add in an
> interaction at the top of the file. Then connect a dropdown menu. Change 
> the
> scope to perpetual, change the branch path to return. Add an interaction
> inside the dropdown, attach a button and a fullscreen hotspot. Name the
> button exit and change the branchpath to exit. Put a calc icon inside the
> hotspot and put this in it
>
> Trace(DisplayLeft@(ObjectClickedID))
> Trace(DisplayTop@(ObjectClickedID))
>
> Run the file. You can use the menu to start the hotspot and click the item
> on screen to get the X and Y. Use the exit button to close the hotspot. 
> (you
> could just make the hotspot perpeual but that would interfere with other
> things in your file)
>
> You can't automate this because DisplayLeft and DisplayTop aren't valid
> until the screen runs. You can use GetIconProperty with #awInitialX and
> #awInitialY but that won't work if the positioning is not set to 
> onScreen...
> which you can't set inside the same file. You need a command to make
> settings like that.

GetPostPoint works regardless of the settings.

HTH;

Amy 



<Prev in Thread] Current Thread [Next in Thread>