Hello,
Here's my problem : Access of undefined property grilleTerrainsACDP. I
try to reach a public variable from inside a component (private method).
The problem is in this method (from the OptionsFiche.mxml component):
public function trierTerrainsPromoteur():void {
var triTerrains:Sort = new Sort();
triTerrains.fields= [new SortField("numero")];
grilleTerrainsACDP.sort = triTerrains;
grilleTerrainsACDP.refresh();
}
The grilleTerrainsACDP variable is defined in my AS source :
[Bindable]
public var grilleTerrainsACDP:ArrayCollection;
This source file in included, from my main application, with this
sentence :
<mx:Script source="actionscript/ListingTerrains.as"/>
Here's my application structure:
O---actionscript
|
|-----ListingTerrains.as
|
O---components
|
|-----OptionsFiche.mxml (trying to call from here).
|
O---MainApp.mxml
Any suggestion? :)
Thanks!
Nicolas