Jump to content


Dynamic application

Recommended Posts

That has nothing to do with TransformManager - it should be handled by the Flash/Flex component itself, like the TextArea component.

Link to comment
Share on other sites

  • 2 months later...

Hello, i have a question, I can deselect succesfully all of the objects using this



if (manager.selectedItems.length > 0) {


But now only need to deselect the current selected object and I try something like this without success,


var nombre:String
for (var k:Number = 0; k < pictures.length; k++) {
	if (pictures[k].name==namSelect) {
if (manager.selectedItems.length > 0) {


This is the correct form to use this function deselectItem()?

Link to comment
Share on other sites

No, you are passing the object's name (text) instead of the actual object reference.


BAD: manager.deselectItem(myObject.name);

GOOD: manager.deselectItem(myObject);

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.