NEWBEE Q error: 'WiFi' was not declared in this scope

James I appreciate your help on this.

Are you saying that the wireless modules have there own libraries and shield has nothing to do with it?

So i can use the arduino wireless proto shield OR the spark xbee shield to work with the wifly lib you suggested.