1 Reply Latest reply on Aug 14, 2007 5:15 AM by bluevespa

    [AS3] EventDispatcher works locally but not remotely

    bluevespa
      Hi,

      I am very new to Action Script and have the following problem. I hope someone can point me in the right direction.

      I have a small video player app. I have added the FLVPlayback component to the stage and set some properties via action script (AS 3)
      I then instantiate a class to go and retrieve some XML, register an eventListener to wait for the XML to be loaded and once the event has fired, load the FLV file (just hard coded at the moment) into the FLVPlayback object.

      This works when testing in the Flash IDE but not when I publish the movie to my webserver. I have tried commenting out the player.load() and just adding a textfield and again this works locally but not when I publish to the webserver. I have included some code snippets below.

      Can anyone tell me where I am going wrong?

      Any pointers much appreciated.
      Thanks
      Martin