I'm trying to create a moving platform for a simple platforming game in AS3. The platform starts moving when you activate a switch. The problem is I can't set the boundaries for the platform...