hello,
i have recently downloaded some tutorials and example FLA’s on elasticity (which is actually far too advanced for my current understanding of AS), however, with one of the fla’s i would like to add an On handler in the current code, but can’t figure out how to do it.
below is the code attached to the MC on the main stage, which in turn contains a button.
a frame action on the main timeline defines the variables ‘frenata’ and ‘velocita’…
Hi janice,
Yes it is possible to do as you want, it just depends when you want to activate another mc as to where you put the code.
For example, if you wanted to activate an mc dependant on the _x pos of _root.menu6 - you could include anothe if statement
if you could be a bit more explicit as to what you are trying to achieve, I can probably help you more.
No, I meant it in a good way…lol. You are a great scripter, especially server-side from what I see.
And yeah, you taught me loadVars and onLoad stuff. Not directly, but from reading your posts I thouroughly understood it and got it working in an instant. I use it all the time now.
loadVariables and loadVariablesNum?? What are they?? LOL
hello,
thanks for the replies…it seems to have caused quite a conversion.
anyway, i have attached the actual fla to see if anyone can come up with a solution. i have tried the suggestions that have already been made, but i haven’t had any luck in getting them to work.
i’m sure it will make a bit more sense when you see the fla.
in the meantime i will continue to find a solution.
thanks again, and look forward to hearing any comments
LOL, I know there is no point to that Ilyas… I blurted out a button handler as fast as I could because I was in a rush, the whole code made no sense anyway, it was just to show something.