Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Adobe Atmosphere    Should cursor change be visible in Atmo?
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Picture of runner
Posted
Hi!

I'm not having much luck in getting 'cursor change on mouse-over hot spot'to work in Atmo. The cursor change is visible in Scenebuilder, but not once the VP object is brought into Atmo. Is there anything special I should be doing?
 
Posts: 114 | Location: Ireland | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
<Shelley>
Posted
Hi Runner,

I came to the forum to post exactly your question today Smile I made a flash on a mesh board and wanted to apply a hot spot so words would appear over it. All works in scenebuilder but no mouseover in Atmos.

Have you found a work around for this yet?
 
Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of runner
Posted Hide Post
this is the discussion thread http://viewpoint.infopop.net/3/OpenTopic?a=tpc&s=1382935096&f=3832928096&m=8492952217&r=7782982317#7782982317 - if that link doesn't work for you, it was in the Scenebuilder forum, a thread about TGA transparency, May 8th I think............. I didn't pursue it.
 
Posts: 114 | Location: Ireland | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Sundar
Posted Hide Post
HI !

I think you have to use the script to capture the mouse event from that filter the event you want such as mouse over in a specific object. I think the following code will help you actually i got it from the atmo help.



<b> onEvent(mouseEvent, what)<b>
A method which defines what will happen when the mouse event occurs. An event object is returned which possesses numerous properties, and the object under the mouse is returned as the second argument.

myEventHandler = MouseEventHandler();
myEventHandler.setFilterOnClick(stageModel);
myEventHandler.onEvent = function(mouseEvent, what)
{
chat.print("Object = " + what);
dump(mouseEvent);
}

If the above onEvent function is called as shown, a 'dump' of the mouseEvent will return the following properties, which can in turn be used to control other logic for the event:
buttonLeftDown // true or false state of the left mouse button
buttonMiddleDown // true or false state of the middle mouse button
buttonRightDown // (currently always false)
clickDown // true for mouse down event, and false for mouse up
clickEvent // acts as a 'type' identifier, and returns true for all click events
clickUp // true for mouse up event, and false for mouse down
metaKey1Down // true if 'CTRL' key was also held down during click event
metaKey2Down // true if 'SHIFT' key was also held down during click event
metaKey3Down // (currently not used)
metaKey4Down // (currently not used)
x // the x-axis pixel position of the mouse during the click event
y // the y-axis pixel position of the mouse during the click event
Cool
 
Posts: 21 | Location: Chennai,India, Asia. | Registered: April 05, 2004Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Adobe Atmosphere    Should cursor change be visible in Atmo?