I have used onNavigate function in my project to implement certain functionality and my project is under MVC architecture. But when i use onNavigate function in free form it fails. Is there any substitute for onNavigate function in free form?

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

As the form loads i have used shadowdepth and shadowType property to enable shadow to my flexconatiner, this is present within onNavigate function in respective controller. I have to implement the same in free form. How can i achieve the same?