The rules are pretty clear. If the raffle and the flight are linked in the punters mind (i.e. by a ticket and you may win a flight) then it falls under the AIC. All of the mumbo jumbo in the AIC basically says you need 200 P1, it has to be VFR, depart and arrive at the same place, not go more than 25 miles away (IIRC). You can get a waiver from some of these if there is a logical reason.
This is about you donating your time and aircraft, that is, not being paid in anyway (including cost sharing). All of the funds raised need to go to the charity.