controlling servo wireless using flex sensor

i code for controlling a servo wireless so i use VirtualWire and Servo header file. due to this it's show error when am compiling the code that _vector_17 same interrupt so i use ServoTimer2 header file but when i use this file without VirtualWire code does'n show any error but when uploading on board motor is not work so please tell me how i control a servo wireless using flex sensor please tell me about code

Please read below:

http://forum.arduino.cc/index.php/topic,148850.0.html

i need code

how can i control servo motor using 433MHz module of rx-tx. I have tried the blinking code it run fine but but when i do the same for servo it firstly showed vector_17 multiple defination in virtualwire and servo header file then i tried servotimer2 but the servo motor does not move can anybody help me with the code of rx and tx. i am trying to control the servo using flex sensor but i am not understanding how to do send and receive the data wirelessly.

Well, we can hardly help you fix code that we can't see, right?

#include <VirtualWire.h>

int potanalogvalue;
String potstringvalue;
char potcharvalue[27];
int potpin = 0;  // analog pin used to connect the potentiometer

void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);

  vw_setup(2000);
  vw_set_tx_pin(7);
}

void loop() {
  // put your main code here, to run repeatedly:
  potanalogvalue = analogRead(potpin);
  Serial.print(potanalogvalue);
  vw_send((uint8_t *) &potanalogvalue, 2);
  vw_wait_tx();
}

this is receiving code

#include <VirtualWire.h>
#include <ServoTimer2.h>  // the servo library

#define servo1Pin 3   // the pin the servo is attached to

ServoTimer2 servo1;

void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);

  servo1.attach(servo1Pin);

  vw_setup(2000);                   
  vw_set_rx_pin(7);           
  vw_rx_start();   
}

void loop() {
  // put your main code here, to run repeatedly:
  uint8_t buf[VW_MAX_MESSAGE_LEN];
  uint8_t buflen = VW_MAX_MESSAGE_LEN;

 int potval = 0;
 buflen=2; //max two bytes expected

 if (vw_get_message((uint8_t *) &potval, &buflen)) {
     Serial.println(potval);
    }
 potval = map(potval, 0, 1023, 500, 2400);
 servo1.write(potval);
 delay(25);
}