Another update to the FPP:Cursor plugin, now we can set the Smooth functionality to Automagicaly activate when the frames per second hit a certain point (again thanks to Scott Witte), and a bunch of new stuff.
New Features:
- Limit the drag cursors to horizontal movement only
- Define the maximum angle the drag cursor can have
- Set the smooth functionality to auto
- Define the minimum frame rate to activate the smooth functionality when in auto
- Define the angle steps of the drag cursor (not limited to 45º steps anymore)
- Full compatibility when previous version
- To see the rest of the features check version 1.0
How to use:
First add it like any FPP plugin:
layer_80 = fppcursor.swf
Then add a parameters block like this:
<FPPCursor>
smooth=auto
minFps=12
externalCursors=true
iconNormal=cursors/normal.png
iconMove=cursors/move.png
iconPress=cursors/press.png
snapAngle=true
snapSteps=20
minMovement=2
horizontalOnly=false
maxAngle=45
</FPPCursor>
Parameters:
(when a parameter is omites the plugin uses the default value)
smooth=[TRUE|FALSE|AUTO]
whether or not to use a custom cursor when the cursor is over the panorama and not over a hotspot or plugin. auto disables the custom cursor when the frames per second falls bellow the value determined in minFps (default is auto)
minFps=[FRAMES PER SECOND:NUMBER]
Minimum frames per second for the automatic smooth function (default is 12)
externalCursors=[TRUE|FALSE]
Use external cursor images, activates the next 3 parameters. (default is false)
iconNormal=[URL]
The URL of the image for the cursor when the mouse isn’t pressed
iconMove=[URL]
The URL of the image for the cursor when the mouse is pressed and the mouse is moving (dragging)
iconPress=[URL]
The URL of the image for the cursor when the mouse is pressed but isn’t moving
snapAngle=[TRUE|FALSE]
If the cursor “snaps” to certain angles determines by snapSteps (true) or rotates freely (false). (default is true)
snapSteps=[ANGLE:NUMBER]
The angle at wich the rotation will snap when snapAngle is set to true (default is 45)
minMovement=[DISTANCE IN PIXELS:NUMBER]
The distance in pixels to move the cursor after pressing the mouse, to be considered a drag. (default is 2)
horizontalOnly=[TRUE|FALSE]
Limits the rotation of the custom drag cursor to display only horizontal movement, if snapAngle is set to true, it will snap only to 45º (if maxAngle is bigger than 45) and ignore the snapSteps parameter . (default is false)
maxAngle=[ANGLE:NUMBER]
Determines the maximum angle the custom dag cursor rotates when the horizontalOnly is set to true. (default is 45)
pretty self explanatory, but if you have any questions, just ask
FPP:Cursor – Price:FREE
DOWNLOAD - Download FPP:Cursor v1.1
Donations:
This plugin took many hours to develop, although it is free, if you find it helpful please donate to help it’s future development. Thanks!
This plugin is free to use, by downloading it you agree that GoGopixel can’t be held responsible for any problems and/or damage that you or your clients might incur from the usage of this plugin. (My lawyer made me said this).
NOTE: The cursors used in this example are only for reference purposes, they’re copyrighted by APPLE. DO NOT USE THEM in commercial projects. Consider yourself warned.
#1 by AYRTON360 on 30/08/2010 - 03:04
Quote
Eu detesto tomar café … mas VC merece, então vai aqui meu donativo
Abraçosssssssssss
Ayrton
#2 by admin on 30/08/2010 - 11:49
Quote
Oi Ayrton
Fica atento que estou a trabalhar em algo muito interessante
Obrigado pelo Latte
#3 by dreedee on 30/08/2010 - 12:35
Quote
hey! nice pointer plug in. Im projecting a flashpanorama on a 360 dome screen. so I wonder if there is any way to make the pointer cycle on the screen. what i mean is that if you reach the right edge of the screen, the pointer can appear on the left edge? you know if this is possible on the FPP full screen?
thank you
#4 by admin on 30/08/2010 - 23:51
Quote
Hi
in flash the mouse coordinates are read-only. We can only retrieve the cursor position and replace it based on several events, we can’t control the position of the cursor. I think this is a security limitation of flash. Sorry.
But if you can make the system cursor loop around the screen, this plugin should still work
Let me know of your findings
#5 by Michael on 21/01/2011 - 22:15
Quote
Would just like to say that I love your custom cursor plugin. Works brilliantly
I just have one problem that I’ve found and do not know how to overcome. When using your plugin, I’ve noticed that when mousing over any of my controls, I get the standard hand cursor which indicates that I can press on the buttons i.e navigation buttons. This is great and just what I want, except for when I press down, I don’t have an option not to use the custom cursor I’ve created. I would like to use the standard pointer that’s available originally in this instance, as my custom cursors clash with the other buttons I’ve created. Is there any way to disable your fpp cursor on the onPress event and just use the standard pointer? Other than that, fantastic job!
#6 by Mario Carvajal on 23/04/2011 - 19:33
Quote
Muchas gracias, lo probé y funcionó perfectamente. ¡Saludos!
#7 by Edgars on 16/05/2011 - 21:52
Quote
Thanks for the plugin!
But… I get this message in trace console every time i hold and move the mouse (i use debugger version of flash player, Mac):
TypeError: Error #1006: value is not a function.
at fppcursor_fla::MainTimeline/doMove()
Why’s that?