Example #1
0
 public FlashObject this[ObjectPath path]
 {
     get
     {
         return Dictionary[path] as FlashObject;
     }
     set
     {
         Dictionary[path] = value;
     }
 }
Example #2
0
        /// <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
        }
Example #3
0
 /// <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())
 {
 }
Example #4
0
 public void Remove(ObjectPath path)
 {
     Dictionary.Remove(path);
 }
Example #5
0
 public bool Contains(ObjectPath path)
 {
     return Dictionary.Contains(path);
 }
Example #6
0
 /// <summary>
 /// Requests an object's properties.
 /// </summary>
 /// <param name="objectPath"></param>
 public void RequestObjectProperties(ObjectPath objectPath, ObjectRecievedHandler handler)
 {
     RequestObjectProperties(objectPath.ToString(), handler);
 }