@minaOne option you could try.Why not have 2 copies of mario - one using physics and one using the platform behavior. Destroy and create the appropriate one whenever it's needed.

** EDIT **

Having just played around with this idea, I can't recommend it. I'm not sure if it's mixing Physics and Platform behaviors (even though not on the same sprite), but it seems to make C2 behave VERY erratically. It's crashing more than it has since the early days :(zenox982011-12-16 19:20:09

If your vision so exceeds your ability, then look to something closer.

I also tried to set player position to another sprite which has the platform behavior (at the beginning of the game) and then, when it collides with something before it reaches to this idea position it's position will be changed to another sprite which has the physics behavior. But also its not working. :(