Can seem to access frame labels

Hi,

i have been learning AS 3.0 for roughly 2monsth now and i am trying to follow a tutorial taken from the Learning Actionscript 3.0 book, and at present trying to output the label name in my third scene, pages, but everytime i try to output it i get the following error code:

Quote:
[Fault] exception, information=TypeError: Error #1010: A term is undefined and has no properties.
Fault, onOutputClick() at FrameLblV2.as:61
If you do have the book, [COLOR=#336699]http://www.amazon.co.uk/Learning-Act…2360926&sr=1-1[/COLOR] it is on page78.

The tutorial has been adapted slightly in that i had export the .fla to FlashDevelop as SWC.
It also uses Flash CS4 when exporting it to FD.

I am very new to the language, so i would appreciate all the help i can get please. Thanks