I'm using the DataSet componentand its loadFromSharedObject() method.  The
strange thing is that when it loads from the shared object it puts the
content at _dataSet.[instancenam_ of_the_dataset].  I was hoping to set up
some databinding in ActionScript to this dataSet but how do I set that up?
I've tried the following but got no results:

    private function setUpBindings() : Void {
    var src = new mx.data.binding.EndPoint();
      src.component = projects_ds;
      src.property ="dataProvider";
      src.event = "modelChanged";
      var
cbFormat:Object={cls:RearrangeFields,settings:{fields:"label=._level0.app.projects_ds.items.title,data=title"}};

      var dest= new mx.data.binding.EndPoint();
      dest.component = navigation.project_cb;
      dest.property = "dataProvider";
      new mx.data.binding.Binding(src, dest);

    }Note that I removed the cbFormat from the Binding constructor


Any help would be appreciated-
Thanks in advance

-Mani
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to