![]() |
[Solved] flash not working without www..please help - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: [Solved] flash not working without www..please help (/showthread.php?tid=21938) Pages:
1
2
|
[Solved] flash not working without www..please help - El Forum - 08-25-2009 [eluser]Zeeshan Rasool[/eluser] hi guys Here i have a problem the website below is simple flash site on which im passing param and xml which contains images for flash. But if we access web site http://www.inspiredretreats.ca/executive it works well its menus in header "Inspirations" works well on click But if we remove www http://inspiredretreats.ca/executive then its not working . What i have done in current situation: - there is a single flash file for these 3 galleries (executive retreates, Luxury, Dream..) just im passing different xml which contains images path - we have fixed the base url to http://www.inspiredretreats.ca/ where ever we are calling flash or xml etc so that it doest make problem if some one write without www, but no effect. very thank full in advance. [Solved] flash not working without www..please help - El Forum - 08-25-2009 [eluser]Boris Strahija[/eluser] Create a file called crossdomain.xml and put in the same folder as the file in which you include the SWF. The file shoud contain this: Code: <?xml version="1.0"?> [Solved] flash not working without www..please help - El Forum - 08-25-2009 [eluser]renownedmedia[/eluser] What Boris said should work... You have absolute URLs to your flash which include the www. and www.example.com and example.com are two separate domains. The crossdomain.xml is a security thing flash implements. An alternative would be to make the URLs relative instead of absolute. [Solved] flash not working without www..please help - El Forum - 08-25-2009 [eluser]Zeeshan Rasool[/eluser] i have already checked this thing with relative path but same result. [Solved] flash not working without www..please help - El Forum - 08-25-2009 [eluser]InsiteFX[/eluser] Try this. Code: # Redirect non-www to www Of course put in your domain name. Enjoy InsiteFX [Solved] flash not working without www..please help - El Forum - 08-26-2009 [eluser]Zeeshan Rasool[/eluser] O thank guys ! thanks InsiteFX You have removed a lot of tension This code really work RewriteCond %{HTTP_HOST} !^www\. RewriteRule (.*) http://www.domain.net/$1 [R=301,L] [Solved] flash not working without www..please help - El Forum - 08-26-2009 [eluser]InsiteFX[/eluser] Your very Welcome. Enjoy InsiteFX [Solved] flash not working without www..please help - El Forum - 08-26-2009 [eluser]iFadey[/eluser] @zEsHaN: Just wanna ask you something related Flash. How did you make your swf file to span the whole browser window? I am not talking about the fullscreen. What I mean is that your website's covering all the area below browser tabs to the status bar. Wherever I search I find that html percentage method (height:"100%" and width:"100%"). I don't want to do it that way. [Solved] flash not working without www..please help - El Forum - 08-26-2009 [eluser]Zeeshan Rasool[/eluser] [quote author="iFadey" date="1251291470"]@zEsHaN: Just wanna ask you something related Flash. How did you make your swf file to span the whole browser window? I am not talking about the fullscreen. What I mean is that your website's covering all the area below browser tabs to the status bar. Wherever I search I find that html percentage method (height:"100%" and width:"100%"). I don't want to do it that way.[/quote] I do this by doing height width of flash to 100% i-e in design view click on flash and set height/width to 100%. try this dude. [Solved] flash not working without www..please help - El Forum - 08-26-2009 [eluser]iFadey[/eluser] You mean the height and width in design view of Dreamweaver? |