Hey all,

  So I am making an awesome class, that does awesome things. Really Awesome.
:P

Anyways, So i get to the point were I am about to init a custom Class,
called MiniMapPack.

_miniMapPack=new MiniMapPack(_miniMap.child("active"));

passes a *true* value, even though the data is set to false. So I assume,
that It is just reading if it is there or not.

However, When i make a getValue method...

private function getValue(item:*):*{
//no code is in this method
}
without anything inside of it, I can now pass the accurate value. Such as:


_miniMap:XML;
_miniMapPack:MiniMapPack;

Before:
*_miniMap.child("active"); //false*
_miniMapPack=new MiniMapPack(_miniMap.child("active");  //true;

After:
*_miniMap.child("active"); //false*
_miniMapPack=new MiniMapPack(*getValue*(_miniMap.child("active")*)*;
//false;

Interesting, eh?
Anyone have an explanation?


-- 
-Joe

Reply via email to