Welcome, Guest
  • Author Topic: mx.remoting.Service could not be loaded  (Read 3764 times)

    anaif

    • Server what's that
    • *
    • Posts: 10
      • View Profile
    mx.remoting.Service could not be loaded
    « on: 09/01/09, 08:13 »
    Please help me. i have some problem when i learn Loading data into Flash using AS3 from http://www.flash-db.com/Tutorials/loadingAS3/
    i find some error in flash:
    The class or interface 'mx.remoting.Service' could not be loaded.
    The class or interface 'mx.rpc.FaultEvent' could not be loaded.
    The class or interface 'mx.remoting.PendingCall' could not be loaded.
    The class or interface 'mx.rpc.RelayResponder' could not be loaded.

    I use adobe flash cs4.
    Does Flash CS4 need a separate installation file for Flash Remoting ? But i only find Macromedia Flash Remoting MX Components and
    Macromedia Flash Remoting Components for Flash 8.
    thanks very much

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: mx.remoting.Service could not be loaded
    « Reply #1 on: 09/01/09, 09:24 »
    This classes are needed only for AS2, in AS3 you just need to import a couple of classes:

    import flash.net.NetConnection
    import flash.net.Responder

    If you download the files and open remoting.fla, you will find the code needed for AS3

    Jorge