sshergill (2) [Avatar] Offline
#1
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"/>
</mx:Accordion>

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

Any ideas how I can resolve this issue ?
peterarmstrong (94) [Avatar] Offline
#2
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
#3
Re: compile error in Listing 6.10
ahh man, I should've seen that one .. Thanks peter !!