Hi, I'm trying to write myself a Denon module. I know there're several around but I like to make my own. I read the very interesting post from Lyndel about task based and module based. So I started using the InteractiveTCPClient from Philips as a start. It does send the commands and receives the feedback. So I declared the var denonTCPClient in the activity level. I also do the parsing in the activity level. The init commands like PW? get sent in the pages so it displays the correct info on first show. I've created a RESOURCES page with some labels. The labels carry the prontoscript for power on/off. This I do because I want to use them when I launch an activity like watchTV. So I call the script in the home page using eval(). Unfortunatly the variable DenonTCPClient is unknown so it throws an error saying the var is undefined. I think this is normal because the variable only gets declared in the activity script. Any suggestions on how to get around this?