Redirect a flash-based website depending on URL entered in browser address bar?
Posted on 2011-03-11
Is it possible to redirect a user to a specific portion of a Flash-based website (a Flash movie) depending on the url entered in the address bar?
For example, let's say I have a few sections within the Flash-based site (Home, About Us, Contact Us). If somebody types in thecompany.com, then the browser loads the site normally--showing the homepage area of the Flash movie. If somebody types in thecompany.com/about--the Flash movie would load the About Us page of the Flash movie.
I was thinking I would need to do something with the default page at thecompany.com/about that send the user to the page with the embedded flash movie and that would add some params at the end of the url which would be read by Actionscript, and would trigger the correct loading of content within the Flash movie, but is that the right approach?
Please, let me know if you have ever done this, and the best way to go about handling that.