problems passing info between classes
Up to Flash
Hey Cara-
I'm new here, but am looking forward to some cool projects with Flash and the Make board. Did you ever get your problem resolved? I'm a somewhat newbie coder but might can help. Your code, as Liam mentioned, didn't contain any Make instances, so I would assume creating a "lollipop:Make = new Make();" line would resolve the problem. A class file doesn't actually create anything, it just makes a blueprint for when you do.
Change your main code to:
public function mainClass(){
lollipop:Make = new Make(); // Here's where you are actually creating an instance of the Make object (called lollipop)
var alfa:Number;
alfa=lollipop.alfNum; // now you're referencing an actual object- lollipop. Before, with main.alfNum, you weren't referencing anything, as you hadn't actually made any Make objects yet, just the blueprint for one.
trace ("main file says friggin alfa is " + alfa);
_______________________
As I have recently learned OOP, I always use ridiculously obvious variable names so I don't get confused between what's a variable and what's a keyword/function/etc...
Hope this helps.

