XWidgetSoft Forum
https://bbs.xwidget.com/

plz help for SCRIPT!
https://bbs.xwidget.com/viewtopic.php?f=8&t=2832
Page 1 of 1

Author:  Aadisuv [ March 29th, 2013, 7:52 pm ]
Post subject:  plz help for SCRIPT!

Hi, plz help me for complete widget script
:-
when mouse enter on widget > first, pnganimate play then objects(Images/buttons/text etc.) visible
&
when mouse leave widget > first, objects unvisible then pnganimate play. . .
.
I hope u understand. . .
Plz help ;-)

Author:  Tony [ March 29th, 2013, 8:53 pm ]
Post subject:  Re: plz help for SCRIPT!

Hi,
You can write code in Widget's Event "widgetOnEnter" and "widgetOnLeave"

Code:


function widgetOnEnter()
{
  pnganimate1.Play = true;
  image1.Visible = true;
}

function widgetOnLeave()
{
  pnganimate1.Play = false;
  image1.Visible = false;
}


Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/