Depends on the context and since I wasn't there I can't say much. From what it sounds like: this is probably crossing the line. "Hollywood-ing" (intentionally acting in poker to get your opponent to take an action favorable to you if they "buy" the act) is a legitimate poker tactic. To what extent does this become misconduct though? If a ref had to get involved, then they probably went too far. Faking hesitation before an all-in shove is one thing, but saying one action and then trying (even acting) to change the action is getting more into the realm of cheating.
p.s. side note,
casinos have cameras not only for cheat detection, but also for resolving disputes. However, these cameras do not have audio. What you say isn't valued as much as what you physically did. If the person "raises" and then changes their mind mid-way: did his "raise" chips cross the line to the dealer? If the chips were "officially" bet, then a raise is a raise and they can't change to a call mid-way; if he never actually "raised" his chips, by giving them to the dealer to put into the pot, then he can fairly call instead. Again, context is everything and I wasn't there personally. From the fact that a ref got involved, I'd say the player in question probably went too far.