Link to home
Start Free TrialLog in
Avatar of sarahb1973
sarahb1973

asked on

How to set up redirect from flash (actionscript) website to separate html mobile site

Hello
We have created a separate mobile site and now need to set up a redirect from our main website.  
Our main website has been created in Flash (Actionscript).  We have therefore created a separate mobile site in html.  The html files are also stored in our ISP’s webspace, in a subfolder called MOB.
 
Is there a script we can put into the flash site, to redirect mobile users to www.ourwebsite/mob?  If so, whereabouts in the flash site should the redirection script be placed?  We use PCs.

I know that there’s plenty of information about this subject on the web, but it is way beyond our knowledge/expertise.  Any help would be appreciated.

Thank you.
Sarah
Avatar of SjoerdvW
SjoerdvW
Flag of Netherlands image

I wouldn’t recommend action script for detecting the browser type. Cause most mobile browsers doesn’t support flash, they would never be redirected.

Instead you should detect witch browser they’re using before redirecting to the flash site (for normal users), of the mobile users.

You could use some php code. Take a look at http://detectmobilebrowsers.mobi/ 
Avatar of sarahb1973
sarahb1973

ASKER

Hello
Thank you for the information and the web link.  I've been able to create something using the function generator.  However, our knowledge of PHP code and how it is implemented is zero.  Do we save the script as a .php file and store it within our webspace?  Thank you.
ASKER CERTIFIED SOLUTION
Avatar of SjoerdvW
SjoerdvW
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial