These days it’s good practice to create a html version of the Flash website that you develop for a client. At the very least this page should include the main menu links, the about text and some contact information. Doing so will imporve the SEO of the Flash site, while also providing some main content for those visitors who happed to be using an iPhone, iPad, or who’s Flash player version is too low for your content.
Perhaps you all know this already, but if not, I found this nice trick involving SWFObject where you set the SWFObject to check for a certain query string and embed the swf file only if said query string is not found in the page url. Then when you want to see the alternative content you just add this small query string on to the url and wham, you see the page from the iDevice point of view! Therefore you can quickly test the alternative content is working and you can easily send the site link including the query string to your client, so they can also see the page.
Anyway here is the code, which goes in the index.html file:
So as you can read above, simply adding
?viewAlt=true to your Flash site url, will show you the alternative content. Nice one
See the original blog post by Partick McDonald.
Nice tip. Thanks for the link! Bookmarked.
Great stuff. I’ve searched for this some time ago. Thanks!