Think of something that you wish Authorware could do but it doesn't?
Let the our good friends at Macromedia know via the wishlist.
Please let us know if you find
any of the materials on this site inappropriate or offensive. Please include
the url and why the material should be reviewed.
Comments and questions about the site are also welcome. Please no Authorware
questions, use the AWARE
There is 1 review
1012 - How can I track if an icon is being dragged?
by - Joseph Ganci
I have 23 icons that the user can drag and drop into one of three specific target areas, but I need to know which icon is being dragged. I know there is a Dragged@"icon" variable and a Moving@"icon" variable, both of which are supposed to be true when the icon is being dragged. The problem is that I don't know where in the flow to test it.
I have the code like this: If Dragged@"icon"=True then iconchanged:=1.
I tried code like: iconchanged:=Dragged@"icon".I have placed the line of code in the Interaction ICON where the target areas are. I have place the code as a calculation attached to the icon being moved. I have put the code in the timeline after the icons and before the Interaction ICON. None of these has returned any results.
What am I doing wrong?
1. Attach a new Map icon to the Interaction or to a perpetual Interaction icon above the dragging Interaction.
2. Make it a Conditional response.
3. Make it perpetual (which will change the Automatic setting to On False to True) and set the condition to dragging@"icon".
4. Put in the Map icon what you want to happen while the user is dragging.
with a rating of 10
Read the review or
Add your review