Sandy 3.0 - Mouse interaction with the texture of a Shape3D
readed 3336 timesHello there,
Still for the same project I’m working on, I needed mouse interaction on the texture of 3D objects.
So kiroukou and I started developing it.
Here is a example ![]()
It’s working but will need some polish and debugging, as it’s still a work in progress.
Use the arrow key and the Numpad 8 and 2.
I have put a mouse_over and mouse_click event on the red shape of the sphere texture.
The scrollbar next the textfield on the Plane3D is a flash component.
++






(No Ratings Yet)
This is exactly the sort of thing I am trying to get going at the moment. I’ll keep plugging at the moment, but I would love to see an example of how you put this together?
So far my approach has been using MovieMaterial with the relevant components in the movieclip, and using a rather convoluted means of determining which component relates to a click on the 3D model.
As I said, I’ll keep research and plugging away but some basic source would be much appreciated.
cheers mate!
Hello Tom,
You can find the source in the Sandy 3 svn here
http://code.google.com/p/sandy/source
I will update soon some other functionalities like having the buttonMode working for buttons + text links in text fields ( I just nee to commit them
)
Don’t hesitate to come on the mailling list too, or ask question in the forum on flashsandy.org
C ya mate.
[...] New demos are coming but for now you can see an update of the gouraud demo and a small demo of material interaction in Xavier’s blog. Petit and Max have worked a lot of tutorials and Sandy offers now more than 25 [...]