URLLoader works great localhost but live does not work

I have been working on this for a few days on the localhost set up, retriving data as varaibles from a php string.
There is a output.php file located on the server
http://example.com/room/output.php
My Flash code for retriving the code(the swf in embedded into a menu.php file that is in this dir http://example.com/room/menu.php)
var theloader:URLLoader = new URLLoader();
theloader.dataFormat = URLLoaderDataFormat.VARIABLES;   
theloader.load(new URLRequest("http://example.com/room/output.php"));
theloader.addEventListener(Event.COMPLETE, turnOn);
There is no error given by Flash, i just does not load
This is what i have tried(as far as the link is concered)
theloader.load(new URLRequest("http://example.com/room/output.php"));
theloader.load(new URLRequest("http://www.example.com/room/output.php"));
theloader.load(new URLRequest("/output.php"));
theloader.load(new URLRequest("output.php"));
Still is not loading the file, Any Suggestions would be helpful
Thanks

This is the file script, the php does not give any html, it simply outputs the requested string, no whitespaces nothing like that
Any help will be aprecaited, I just noticed that sometimes the animation freezes when it comes to loading the showImages function
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.events.TimerEvent;
var theloader:URLLoader = new URLLoader();
theloader.dataFormat = URLLoaderDataFormat.VARIABLES;   
theloader.load(new URLRequest("output.php"));
theloader.addEventListener(Event.COMPLETE, turnOn);
//Set the Timer for the Images to Show up
var delayCall:Number = 3000;
var repeatCall:int = 1;
var imagesShow:Timer = new Timer(delayCall, repeatCall);
imagesShow.start();
//Add Event Listener for the imagesShow Timer
imagesShow.addEventListener(TimerEvent.TIMER_COMPLETE, showImages);
//Define Text Formats
//1st is Heading Text
var headingTxt:TextFormat = new TextFormat();
headingTxt.font = "Eurostile";
headingTxt.size = 18;
headingTxt.color = 0x40ABE3;
headingTxt.bold = true;
headingTxt.underline = true;
//2nd is Car Name Text
var carnameTxt:TextFormat = new TextFormat();
carnameTxt.font = "Eurostile";
carnameTxt.size = 14;
carnameTxt.color = 0x40ABE3;
carnameTxt.bold = true;
carnameTxt.underline = false;
//3rd is Car Description
var cardescTxt:TextFormat = new TextFormat();
cardescTxt.font = "Eurostile";
cardescTxt.size = 10;
cardescTxt.color = 0xF6F9FA;
cardescTxt.bold = true;
cardescTxt.underline = false;
//4th is for Car Price
var carpriceTxt:TextFormat = new TextFormat();
carpriceTxt.font = "Eurostile";
carpriceTxt.size = 15;
carpriceTxt.color = 0xF6F9FA;
carpriceTxt.bold = true;
carpriceTxt.underline = false;
function showImages(event:TimerEvent):void {
var bmw:MovieClip = new bmw_mc();
var ferrari:MovieClip = new ferrari_mc();
var lambo:MovieClip = new lambo_mc();
var mercedes:MovieClip = new mercedes_mc();
bmw.x = 260;
bmw.y = 340;
mercedes.x = 50;
mercedes.y = 18;
lambo.x = 530;
lambo.y = 20;
ferrari.x = 570;
ferrari.y = 370;
bmw.rotation = 20;
var bmw = new TransitionManager(bmw);
bmw.startTransition({type:Zoom, direction:Transition.IN, duration:4, easing:Elastic.easeOut});
addChildAt(bmw, 0);
var mercedes = new TransitionManager(mercedes);
mercedes.startTransition({type:Iris, direction:Transition.IN, duration:2, easing:Strong.easeOut, startPoint:5, shape:Iris.CIRCLE});
addChildAt(mercedes, 0);
var lambo = new TransitionManager(lambo);
lambo.startTransition({type:Blinds, direction:Transition.IN, duration:2, easing:None.easeNone, numStrips:10, dimension:0});
addChildAt(lambo, 0);
var ferrari = new TransitionManager(ferrari);
ferrari.startTransition({type:Fade, direction:Transition.IN, duration:8, easing:Strong.easeOut});
addChildAt(ferrari, 0);
function turnOn(event:Event):void {
//Looking After Spacing    
var tft:Number = 325;
var twt:Number = 325;
var tct:Number = 50;
var tst:Number = 50;
//Looking after heading Text
var category:TextField = new TextField();
category.text = "CAR LIST";
category.x = 400;
category.y = 300;
category.setTextFormat(headingTxt);
var movieTween:Tween = new Tween(category, "x", Elastic.easeOut, 600, 400, 2, true);
addChild(category);
var categoryone:TextField = new TextField();
categoryone.text = "TRAILER LIST";
categoryone.x = 50;
categoryone.y = 300;
categoryone.setTextFormat(headingTxt);
var cargoTween:Tween = new Tween(categoryone, "x", Elastic.easeOut, 0, 50, 2, true);
addChild(categoryone);
var categorytwo:TextField = new TextField();
categorytwo.text = "CARGO";
categorytwo.x = 120;
categorytwo.y = 25;
categorytwo.setTextFormat(headingTxt);
var cocktailTween:Tween = new Tween(categorytwo, "x", Elastic.easeOut, 0, 120, 2, true);
addChild(categorytwo);
var categorythree:TextField = new TextField();
categorythree.text = "BIKES";
categorythree.x = 430;
categorythree.y = 25;
categorythree.setTextFormat(headingTxt);
var shotsTween:Tween = new Tween(categorythree, "x", Elastic.easeOut, 600, 430, 2, true);
addChild(categorythree);
//Iterating through the loop
for (var i:Number = 0; i < theloader.data.count; i++) {
if (theloader.data["carcat" + i] == "CarList") {   
var carname:TextField = new TextField();
var cardesc:TextField = new TextField();
var carprice:TextField = new TextField();
carname.y = tft;
carname.x = 400;
cardesc.x = 400;
cardesc.y = tft+13;
carprice.y = tft+5;
carprice.x = 525;
carprice.text = "$" + theloader.data["carprice" + i];
carname.text = theloader.data["carname" + i];
cardesc.text = theloader.data["Bevdes" + i];
var myTween:Tween = new Tween(carname, "alpha", Regular.easeOut, 0, 1, 2, true);
var myPTween:Tween = new Tween(cardesc, "alpha", Strong.easeOut, 0, 1, 3, true);
var myDTween:Tween = new Tween(carprice, "alpha", Strong.easeOut, 0, 1, 3, true);
carname.setTextFormat(carnameTxt);
carname.autoSize = TextFieldAutoSize.LEFT;
cardesc.autoSize = TextFieldAutoSize.LEFT;
cardesc.setTextFormat(cardescTxt);
carprice.setTextFormat(carpriceTxt);
addChild(carname);
addChild(cardesc);
addChild(carprice);
tft += 30;
if (theloader.data["carcat" + i] == "Bikes") {   
var carnameW:TextField = new TextField();
var cardescW:TextField = new TextField();
var carpriceW:TextField = new TextField();
carnameW.y = twt;
carnameW.x = 50;
cardescW.x = 50;
cardescW.y = twt+13;
carpriceW.y = twt+5;
carpriceW.x = 200;
carpriceW.text = "$" + theloader.data["carprice" + i];
carnameW.text = theloader.data["carname" + i];
cardescW.text = theloader.data["cardesc" + i];
var myTweenW:Tween = new Tween(carnameW, "alpha", Regular.easeOut, 0, 1, 2, true);
var myPTweenW:Tween = new Tween(cardescW, "alpha", Strong.easeOut, 0, 1, 3, true);
var myDTweenW:Tween = new Tween(carpriceW, "alpha", Strong.easeOut, 0, 1, 3, true);
carnameW.setTextFormat(carnameTxt);
carnameW.autoSize = TextFieldAutoSize.LEFT;
cardescW.autoSize = TextFieldAutoSize.LEFT;
cardescW.setTextFormat(cardescTxt);
carpriceW.setTextFormat(carpriceTxt);
addChild(carnameW);
addChild(cardescW);
addChild(carpriceW);
twt += 30;
if (theloader.data["carcat" + i] == "Cargo") {   
var carnameC:TextField = new TextField();
var cardescC:TextField = new TextField();
var carpriceC:TextField = new TextField();
carnameC.y = tct;
carnameC.x = 120;
cardescC.x = 120;
cardescC.y = tct+13;
carpriceC.y = tct+5;
carpriceC.x = 270;
carpriceC.text = "$" + theloader.data["carprice" + i];
carnameC.text = theloader.data["carname" + i];
cardescC.text = theloader.data["cardesc" + i];
var myTweenC:Tween = new Tween(carnameC, "alpha", Regular.easeOut, 0, 1, 2, true);
var myPTweenC:Tween = new Tween(cardescC, "alpha", Strong.easeOut, 0, 1, 3, true);
var myDTweenC:Tween = new Tween(carpriceC, "alpha", Strong.easeOut, 0, 1, 3, true);
carnameC.setTextFormat(carnameTxt);
carnameC.autoSize = TextFieldAutoSize.LEFT;
cardescC.autoSize = TextFieldAutoSize.LEFT;
cardescC.setTextFormat(cardescTxt);
carpriceC.setTextFormat(carpriceTxt);
addChild(carnameC);
addChild(cardescC);
addChild(carpriceC);
tct += 30;
if (theloader.data["carcat" + i] == "Trailers") {   
var carnameS:TextField = new TextField();
var cardescS:TextField = new TextField();
var carpriceS:TextField = new TextField();
carnameS.y = tst;
carnameS.x = 430;
cardescS.x = 430;
cardescS.y = tst+13;
carpriceS.y = tst+5;
carpriceS.x = 540;
carpriceS.text = "$" + theloader.data["carprice" + i];
carnameS.text = theloader.data["carname" + i];
cardescS.text = theloader.data["cardesc" + i];
var myTweenS:Tween = new Tween(carnameS, "alpha", Regular.easeOut, 0, 1, 2, true);
var myPTweenS:Tween = new Tween(cardescS, "alpha", Strong.easeOut, 0, 1, 3, true);
var myDTweenS:Tween = new Tween(carpriceS, "alpha", Strong.easeOut, 0, 1, 3, true);
carnameS.setTextFormat(carnameTxt);
carnameS.autoSize = TextFieldAutoSize.LEFT;
cardescS.autoSize = TextFieldAutoSize.LEFT;
cardescS.setTextFormat(cardescTxt);
carpriceS.setTextFormat(carpriceTxt);
addChild(carnameS);
addChild(cardescS);
addChild(carpriceS);
tst += 30;

Similar Messages

Maybe you are looking for

  • I recently upgraded to Mavericks, and now I cannot get Adobe Reader to install.

    I have a MacBook Pro with 10.9.2. I was unable to open the version of Adobe Reader I had been using, so I used CleanMyMac to uninstall it. I then tried to install Adobe Reader multiple times to no avail. I am able to download and begin the installati

  • Help, Crashing iPad 3.

    My iPad 3 keeps crashing.  This started June 26, 2014 and has happened everyday when using any app, even apps that come on the iPad.   I have done multiple hard resets, turned it on and off several times, restored to new iPad 4 times and it keeps hap

  • OSX 10.8.3, Firefox and Flash now incompatible?

    Ever since installing the latest version of Firefox, I have effectively been unable to view anything requiring Flash Player; I get error messages telling me JavaScript is not turned on when it is, or that there are apparently no plugins available. Th

  • Problem in updating N3250

    well,nokia downloads the software of N3250 online,then it tell me updating...then it show phone recovery...telling me to take out the battery n charger then to put the battery back again n charger then hit retry n then to press the power button... wa

  • While checking the plant in SPRO data is not displayed on the screen.

    hi dear all frnds, i am facing the problem in SPRO customization, the screen is showing the blank and dataless when i click on Define, copy, delete, check plant field. pls. help me to come out from this prob. thnx in advance. bst rgds, rajesh