PDA

View Full Version : Mouse cursor


Aifos
10-22-2009, 04:03 PM
hi all!!!
i've see this tour http://www.sho.com/site/showtimehouse/tour.do
and i was surprised when i saw it has a cursor similar than what .mov panoramas has! but it is done with FPP!!!
i looked into the xml file and i discovered they are using a plugin called cursor.swf
If the authors see this post i will appreciate they tell me if it is something of their property, if i am allowed to use it... and if somebody has a clue about how to build my own, me and the comunity will appreciate it! =)

good job on that tour Virtual Tour Group!

LepLep
10-22-2009, 04:49 PM
just
make movieclip with id cursor
Mouse.hide();
stage.addEventListener(MouseEvent.MOUSE_MOVE,follo w);
function follow(evt:MouseEvent){
cursor.x = mouseX;
cursor.y = mouseY;
}

Aifos
10-22-2009, 05:02 PM
thanks LepLep!
but i think it won't be necesary to build my own...
i found this PanoSalado note http://www.flashpanos.com/content/panosalado-autorotator-cursors-interface-etc
where Zephyr explains his work about an autorotator, cursor an interface plugins for that player... he also published the sources and working examples.
The cursor plugin is exactly the same i first found... and if we look into the comments of Zephir's note, we will see that someone left this link http://flashpanoramas.com/player/examples/distorted2.html
where we can see a tour hosted in flashpanoramas.com with that same plugin, and working in FPP... so i imagine that Denis did that!
i wonder if there's a post here at the forum or the group where someone has published this plugin...
Anyway... as panosalado is opensource and looks like the person who made the FPP cursor was based on that source, i beleabe i'm able to use it...
if somebody beleaves i'm not... please, feel free to let me know! ;)
Thanks!