start enterframe inside a function
hi,
how can start/end enterframe function within custom function?
i've tried somthing like:
function startturning()
{
function enterframe() {
trace("uu");
}
}
startturning()
}
function stopturning()
{
function enterframe() {}
}
think i'm completly lost answers apregiated.
thanks, jakob.
how can start/end enterframe function within custom function?
i've tried somthing like:
function startturning()
{
function enterframe() {
trace("uu");
}
}
startturning()
}
function stopturning()
{
function enterframe() {}
}
think i'm completly lost answers apregiated.
thanks, jakob.
jakob wagner wrote:
> how can start/end enterframe function within custom
> function?
what /actually/ want do?
it looks want (in lingo):-
-------------------------------------
property active
on enterframe
if not(active) exit
-- stuff
end enterframe
on beginsprite
active=false
end beginsprite
on startturning
active=true
end startturning
on stopturning
active=false
end stopturning
-------------------------------------
andrew
> how can start/end enterframe function within custom
> function?
what /actually/ want do?
it looks want (in lingo):-
-------------------------------------
property active
on enterframe
if not(active) exit
-- stuff
end enterframe
on beginsprite
active=false
end beginsprite
on startturning
active=true
end startturning
on stopturning
active=false
end stopturning
-------------------------------------
andrew
More discussions in Director Lingo
adobe
Comments
Post a Comment