TryVig
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by TryVig
-
-
Hello, I'm using VERSION: 1.92, AS3
Wondering if there is a reason that removeIgnoredObject() does not re-add the passed object back into the _items array?
I can easily insert this.addItem($object); but want to make sure I'm not breaking something else if that was intentionally left out. Please advise.
public function removeIgnoredObject($object:DisplayObject):void { for (var i:uint = 0; i < _ignoredObjects.length; i++) { if (_ignoredObjects[i] == $object) { _ignoredObjects.splice(i, 1); addItem($object); // Add this ? } } }
THANKS
RemoveIgnoredItem doesn't return to _items
in TransformManager (Flash)
Posted
That helps, thank you.
I think I should be instead using item.enabled = false for my purposes.
Thanks for the speedy response!