sshergill (2) [Avatar] Offline
Hey guys, I get compilation error for this code :

<mx:Accordion width="100%" height="350">
<pom:TaskCreateBox id="taskCreateBox" taskCreate="tasksTab.listTasks()"/>
<pomsmilierojectCreateBox id="projectCreateBox"/>
<pom:LocationCreateBox id="locationCreateBox"/>

The error is specifically related to the second line and says "1195: Attempted access of inaccessible method listTasks through a reference with static type

Any ideas how I can resolve this issue ?
peterarmstrong (94) [Avatar] Offline
Re: compile error in Listing 6.10
In listing 6.2 listTasks is a public function; did you make it private?
sshergill (2) [Avatar] Offline
Re: compile error in Listing 6.10
ahh man, I should've seen that one .. Thanks peter !!