From my document class, I want to create an instance of another class and set its property like so:
public class Home extends MovieClip {
public function Home() {
var homeButtons:HomeButtons = new HomeButtons();
homeButtons.fv = "wtf?";
}
}
the HomeButtons class is a base class for 2 MC’s in the library. From HomeButtons I am running a trace to display the value of “fv” when you mouse over the instance, but it returns “null”. Can someone help me understand why my trace doesn’t return the string “wtf?”. Thank you.