I have created a custom class (Force.as)
Once Ive created an instance though i have problems accessing its name
class Force {
//Variable declarations
//
function Force() {
trace([COLOR=red]**?????**[/COLOR]);
}
}
[COLOR=black]so when i create a new instance of my class:[/COLOR]
[COLOR=seagreen]myForce[/COLOR]=new Force();
i want it to trace “[COLOR=seagreen]myForce[/COLOR]” or "[COLOR=seagreen]_level0.myForce[/COLOR][COLOR=black]"or[/COLOR] something like that.
What should i trace ([COLOR=red]red[/COLOR]) to get this effect?