首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > flash-as3-tooltip

flash-as3-tooltip

  • 资源大小:35.25 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

This is a modification to the "AS3 ToolTip" provided by Duncan Reid here: http://blog.hy-brid.com/flash/25/simple-as3-tooltip/ I added the following: Basically the main feature I needed was to have the tooltip be statically attached to an element on the page rather than follow the mouse. So, the parent element you pass in is the one I attach it to. I also added some cool features for positioning the tooltip to the left, right, top, bottom, top-right, top-left, bottom-right, and bottom-left with the hook adjusting as well – this took the majority of the time to add in. It still works with the mouse follow mode, and you can even use the positioning with it. Here are the new properties I added: private var _followMouse:Boolean = true; //true = normal behavior to follow the mouse, false = statically attach to parent object – make sure to set hitSizeWidth and hitSizeHeight to the width and height of parent object._ private var _tipPo
VIP VIP
0.184227s