hello folks!
I have a little AS prob.
Any help would be appreciated.
I’m trying to figure out,
how to call a function that is in a movie clip that is in a component.
:*(
hello folks!
I have a little AS prob.
Any help would be appreciated.
I’m trying to figure out,
how to call a function that is in a movie clip that is in a component.
:*(
please try to be a little more specific try posting your AS or your fla so we can look at your code or the original file
Make the function global.
_global.functionName = function() {//do this}
Useage…
_global.functionName();
**[U]thnx alot for your help lostinbeta![/U] **
I will give it a shot this evenning and post an update later…
it worked fine! :thumb:
thnx again lostinbeta & kirupa.com!
here is a sample (if it helps anyone…):
[AS]btn_sample.onPress = function() {
_global.gshow();
};
_global.gshow = function() {
trace(“gshow func called”);
};
[/AS]
:A+:
Cool, glad I could help :thumb:
:: Copyright KIRUPA 2024 //--