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