ActiveDen

SWFAddress work's on free server but not paid

15 posts
  • Has been a member for 0-1 years
  • Exclusive Author
MaximusCript says

So i have my own 2 free servers and one paid and on one of free server’s it works just perfect. But second free server, and one paid, don’t work with SWFAddress. Anyone knows whats wrong?

Here’s my html code:

<html xml:lang="pl" lang="pl" xmlns="http://www.w3c.org/1999/xhtml"> <head> <title>Beauty Zone</title> <meta content="no-cache" http-equiv="pragma" /> <meta content="text/html; charset=iso-8859-2" http-equiv="content-type" /> <script src="swfobject.js" type="text/javascript"></script> <script src="swfaddress.js" type="text/javascript"></script> <script type="text/javascript"> var attributes = {id:"test"}; swfobject.embedSWF("preloader.swf", "content", "100%", "100%", "9.0.0", null, null, null, attributes); </script> </head> <body bgcolor="#F1F1F1"> <div id="content"> <a href="http://www.adobe.com/go/getflashplayer"><img title="Get Adobe Flash player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a><br /> You need <a href="http://www.adobe.com/go/getflashplayer">Flash Player 8</a> and allow javascript to see the content of this site.. </div> </body> </html> and a part of as3 code:

SWFAddress.addEventListener(SWFAddressEvent.CHANGE, onChange);

public function onChange(e:SWFAddressEvent):void{            
    switch(e.value.substring(1)){
        case "Oferta":
            SWFAddress.setTitle("Beauty Zone - Oferta");
            n = "Oferta";
            if(okay){
                chck();
            }                    
        break;
                     }

All files are same on 3 diffrent servers, and only on one works.

Any suggestions are welcome.

6 months ago
15 posts
  • Has been a member for 0-1 years
  • Exclusive Author
MaximusCript says

DAMN IM GOOD ! solved it.

Stupid me, i put in html swfaddress.js in small letters, but file was named SWFAddress.js.

Conclusion: Some servers ignore big letters in name’s some not.

Hope it help’s somebody, cheers.

6 months ago
1945 posts
  • Has been a member for 4-5 years
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Netherlands
  • Referred between 10 and 49 users
Emroni says
MaximusCript said
Conclusion: Some servers ignore big letters in name’s some not. Hope it help’s somebody, cheers.

First, glad you found out yourself.

Second, thank you for posting the solution, could be really useful for some people :)

6 months ago
by
by
by
by
by