public FlashObject this[ObjectPath path] { get { return Dictionary[path] as FlashObject; } set { Dictionary[path] = value; } }
/// <summary> /// Creates a new FlashObject with path. /// </summary> /// <param name="path"></param> public FlashObject(string path, ObjectType type) : this() { m_path = new ObjectPath(path); m_type = type; if (m_type == ObjectType.MovieClip || m_type == ObjectType.Object) m_treenode.Text = path; else m_treenode.Nodes.RemoveAt(0); // no need for a node }
/// <summary> /// Creates a new instance of ObjectPropertyRequest for the /// object at the specified path. /// </summary> /// <param name="path">The ObjectPath of the object.</param> public ObjectPropertyRequest(ObjectPath path) : this(path.ToString()) { }
public void Remove(ObjectPath path) { Dictionary.Remove(path); }
public bool Contains(ObjectPath path) { return Dictionary.Contains(path); }
/// <summary> /// Requests an object's properties. /// </summary> /// <param name="objectPath"></param> public void RequestObjectProperties(ObjectPath objectPath, ObjectRecievedHandler handler) { RequestObjectProperties(objectPath.ToString(), handler); }