Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
roninDLC #1
Simple AS function question
Why will this not work
home_btn.onRollOver = setInterval(delayAction,2000,home);
function delayAction (framename:String)
var name:String = framename
_root.gotoAndStop("name")
when this does?
caseman_btn.onRollOver = function ()
_root.gotoAndStop("caseman")
I am trying to get delayed reaction to the Rollover
Thank
roninDLC Guest
-
Need Simple Answer to Simple Contribute/Firefox question
Hello all; I've tried the Adobe help in CS3, tech support, phone support, this forum, other forums, Mozilla, and nowhere can I get a straight... -
SImple question?
Can anyone please tell me how to keep 2 windows open so that as soon as I click on one of them, the other one does not minimise and have to be... -
Simple Sorting Function for a Dynamic Table
Hello everyone, I was wondering if their was a way in dreamweaver to allow your site users to sort the data displayed in a dynamic table on your... -
Simple function
On Tue, Dec 07, 2004 at 14:49:14 -0300, MaRCeLO PeReiRA <gandalf_mp@yahoo.com.br> wrote: Why not use a CASE statement? SELECT id, CASE WHEN... -
a function is not called (simple)
Hi everybody, Why does endFigure(0 is not called? Thanks, Jean Pierre -
findapollo #2
Re: Simple AS function question
i'm not sure that you can assign just anything to the onRollOver
onRollOver is a special event property and the setInterval returns
a reference to that Interval which i doubt can be assigned to onRollOve
try this
findapollo Guest
-
roninDLC #3
Re: Simple AS function question
that works, but is there a way to delay the rollover altogether. That way if a user cuts across another button the menu doesn't change?
I may have not made my question very clear.
roninDLC Guest
-
findapollo #4
Re: Simple AS function question
if you want to do this you should set the onRollOut to clear the interval
before it processes
home_btn.onRollOut = function()
clearInterval(_global.home_btn_delay)
if you didn't want to clear the delay when they rolled out only reset it
to a different location when they went over another button
another_btn.onRollOver = function()
clearInterval(_global.btn_delay)
_global.btn_delay = setInterval(delayAction,2000,"otherLabel")
for this you would use the same _global.button_delay for the even handle
clearing it and resetting it on each button to a unique location
findapoll
findapollo Guest
-
roninDLC #5
Re: Simple AS function question
that works great! Only one problem: If i start on button1 and scroll across button2 to button3. The button2 is firing. Anyway to kill that unless the mouse is still on the actual button.
roninDLC Guest



Reply With Quote

