Ok, here is some of the MXML Code
<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml"
xmlns:local="*" initialize="initFunction()">
<mx:WebService id="mr_main"
wsdl="http://cfx.research.unc.edu/mr/mr_dev.cfc?wsdl" fault="err
(event.fault.faultstring,'mr_main')" showBusyCursor="true">
<mx:operation name="getPeopleByName_cfc"
result="doResultGetPeople(event.result)" />
<mx:operation name="getCompany_cfc"
result="doResultGetCompanies(event.result)" />
<mx:operation name="getDepartment_cfc"
result="doResultGetDepartments(event.result)" />
<mx:operation name="getPerson_cfc"
result="doResultGetPerson(event.result)" />
</mx:WebService>
<mx:Script source="mrCFCHandlers.as" />
<mx:HBox height="100%" width="100%">
<mx:VBox width="80%" height="100%">
<mx:TabNavigator height="100%" width="100%"
showEffect="Fade" hideEffect="Fade" marginLeft="15" marginRight="15"
horizontalGap="0" verticalGap="0" marginBottom="15" cornerRadius="10"
change="doHandleMain_tn()" id="main_tn">
<mx:VBox label="Search" height="100%"
width="100%" id="searchTab">
<mx:ViewStack id="search_vs"
width="100%" height="100%" horizontalGap="0" verticalGap="0">
<mx:VBox label=""
height="100%" width="100%">
<mx:HBox
width="100%" clipContent="false" verticalGap="0" horizontalGap="0">
<mx:Canvas width="50%" verticalGap="0" horizontalGap="0"
label="Investigator Search">
<mx:Label text="Investigator Search" fontWeight="bold"
fontSize="14" x="5" y="5" />
<mx:TextInput id="searchName" enter="getPeople
(searchName.text, searchDeptCode.text, searchDeptName.text)" x="101"
y="30" />
<mx:TextInput id="searchDeptCode" enter="getPeople
(searchName.text, searchDeptCode.text, searchDeptName.text)" x="101"
y="53" />
<mx:TextInput id="searchDeptName" enter="getPeople
(searchName.text, searchDeptCode.text, searchDeptName.text)" x="101"
y="76" />
<mx:Label x="18" y="35" text="Name:" />
<mx:Label x="18" y="58" text="Dept. Code:" />
<mx:Label x="18" y="81" text="Dept. Name:" />
<mx:Button label="Search" click="getPeople(searchName.text,
searchDeptCode.text, searchDeptName.text)" x="101" y="104" />
</mx:Canvas>
<mx:VRule height="100%" />
<mx:Canvas width="50%" height="100%" id="personelDetailBox">
<mx:Label text="Investigator Information" fontWeight="bold"
fontSize="14" x="5" y="5" />
<mx:Label id="personResultsFullName" x="95" y="30"
text="{personResultsFullName_dp}" />
<mx:Label id="personResultsDeptName" x="95" y="51"
text="{personResultsDeptName_dp}" />
<mx:Label id="personResultsOfficePhone" x="95" y="71"
text="{personResultsOfficePhone_dp}" />
<mx:Label id="personResultsEmail" x="95" y="91"
text="{personResultsEmail_dp}" />
<mx:Label id="personResultsPID" x="95" y="111"
text="{personResultsPID_dp}" />
<mx:Label x="18" y="32" text="Name:" />
<mx:Label x="18" y="51" text="Department:" />
<mx:Label x="18" y="69" text="Phone" />
<mx:Label x="18" y="89" text="Email:" />
<mx:Label x="18" y="109" text="PID:" />
</mx:Canvas>
</mx:HBox>
<mx:HRule
width="100%" />
<mx:DataGrid
id="investigatorResultsGrid" height="100%" width="100%"
multipleSelection="false" sortableColumns="true" selectable="true"
dragEnabled="true" dragEnter="doDragEnter(event)" dragExit="doDragExit
(event)" dragDrop="doDragDrop(event)" dragOver="doDragOver(event)"
dragComplete="doDragComplete(event)" cellPress="if(detectDoubleClick
()) {addToInvestigatorList();} else {getPerson
(investigatorResultsGrid.selectedItem.PERSON_ID);}"
dataProvider="{investigatorResultsGrid_dp}">
<mx:columns>
<mx:Array>
<mx:DataGridColumn headerText="Name"
columnName="FULL_NAME" width="200" />
<mx:DataGridColumn headerText="Dept. Code"
columnName="DEPT_CODE" width="80" />
<mx:DataGridColumn headerText="Department"
columnName="DEPT_NAME" />
</mx:Array>
</mx:columns>
</mx:DataGrid>
<mx:Button
label="Select Person" click="addToInvestigatorList()" />
</mx:VBox>
</mx:ViewStack>
</mx:VBox>
</mx:TabNavigator>
</mx:VBox>
</mx:HBox>
</mx:Application>
and here is the as file I started with
// ActionScript file
var investigatorSelectionGrid_dp:Array = new Array(1);
var investigatorResultsGrid_dp:Array = new Array(1);
var companySelectionGrid_dp:Array = new Array(1);
var companyResultsGrid_dp:Array = new Array(1);
var departmentSelectionGrid_dp:Array = new Array(1);
var departmentResultsGrid_dp:Array = new Array(1);
var personResultsFullName_dp:String = new String();
var personResultsDeptName_dp:String = new String();
var personResultsOfficePhone_dp:String = new String();
var personResultsEmail_dp:String = new String();
var personResultsPID_dp:String = new String();
function getPeople(name:String,deptCode:String,deptName:String):Void {
}
function doResultGetPeople(result:Array):Void {
}
function getCompanies(companyName:String):Void {
}
function doResultGetCompanies(result:Array):Void {
}
function getDepartments(deptCode:String, deptName:String):Void {
}
function doResultGetDepartments(result:Array):Void {
}
function getPerson(PID:String):Void {
}
function doResultGetPerson(result:Array):Void {
}
--- In [email protected], Spike <[EMAIL PROTECTED]> wrote:
>
> Hi Greg,
>
> If you can post the code that's not working, or a link to a zip of
it, that
> would probably help.
>
> Spike
>
> On 10/18/05, Greg Johnson <[EMAIL PROTECTED]> wrote:
> >
> > It seems like they went out of there way to remove features in
coding
> > and make things far far more difficult or am I missing something?
> >
> > I have my AS code in different files, and right now have nothing
but
> > function stubs, and am getting no end of errors :/
> >
> > I create a variable
> > var investigatorSelectionGrid_dp:Array = new Array(1);
> >
> > first thing it does is on the mxml side where I have it assigned
to a
> > dataProvider parameter it says something about possibly not being
> > able to see changes or something. So I add [Bindable] over it.
Then
> > it says I can't use [Bindable] on a non-public variable, so I add
> > public before it. It still says its a "non-public" variable.
> > *scream*
> >
> > It was so simple before and seems to be like pulling teeth now, im
> > going nuts. I can't belief they would louse up Flex as bad as it
> > seems they have, so I am hoping I am missing something that
knowing
> > makes it all atleast mostly as easy as before.
> >
> > Anyone?!?!
> > Tnks
> > Greg
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> --------------------------------------------
> Stephen Milligan
> Do you do the Badger?
> http://www.yellowbadger.com
>
> Do you cfeclipse? http://www.cfeclipse.org
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/