cookie
1
Ok I’m an actionscript newbie! I’m trying to make one function begin once another function has stopped, make sense?
ex.
function 1 (){}
function 2 (){}
when function 1(); is complete
start function 2();
I tried using an if statement:
if(function 1() == “something”){
function 2()
}
don’t know what the “something” should be! :sure:
system
2
… hmmm :sigh:
something would be anything you want it to be !!
read this tutorial by ilyas
http://www.kirupa.com/developer/actionscript/tricks/dynamicevent.asp
system
3
try
if (function1()) { function2()}
if not, try adding this line at the end of function 1
return true
system
4
No if I use return true then both functions happen simultaneously! Let me clarify what I have
onClipEvent(load){
function xscale(){
if statement in here
}
function yscale(){
if statement in here
}
}
onClipEvent(enterFrame){
xscale();
}
Ok this works and will evaluate function xscale, but as soon as that function is complete I want to evalute yscale!:q:
system
5
Could someone please help me out with this! (-:
system
6