AS question
AS question
- Started
- Last post
- 5 Responses
- skelly0
Is all of that script on the main timline?
- Fariska0
yep. Is this a problem?
(i was trying to avoid scripts inside the buttons/mc)
- davi-t0
if its on the main timeline, you can also turn ur function into a global function and not worry about having to try amd target it:
_global.myFunctionName=function...
- fusionpixel0
you are close. follow my sample below:
mc.onRollOver = function() {
functionTrigger("hello");
}function functionTrigger(myVar){
this.myVar = myVar;
trace (myVar);
}
- Fariska0
Many thanks :-)