Welcome, Guest
  • Author Topic: AS2 Remoting with CS4  (Read 6242 times)

    Benjamin Solum

    • Server what's that
    • *
    • Posts: 21
      • View Profile
      • Email
    AS2 Remoting with CS4
    « on: 04/17/09, 13:39 »
    So I'm fairly new to AS3 and Remoting in general and didn't realize at the time that AS2 didn't support the NetConnection class so in order to speed up development I developed a Flash application in CS4 using AS2 to get the project out the door.  I setup my php class with AMFPHP, tested out remoting in an AS3 environment, got it all working and then to my horror found out that AS2 required special components. 

    I found a way to get the components working with CS3 and I imagine it would work the same for CS4, however, the method required using a previous Flash 8 install which I do not have nor do I have access too.  What would be your suggested method of dealing with this issue?  Rewriting the Flash Actionscript to AS3 could take quite awhile. Would their be a faster way?

    P.S. The tutorial I referenced in my post is here: http://blog.vixiom.com/2007/04/17/actionscript-20-flash-remoting-with-flash-cs3/

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: AS2 Remoting with CS4
    « Reply #1 on: 04/17/09, 15:13 »
    we have tutorials for both AS3 and AS2 using remoting.
    Just have a look into our loading and saving tutorials, which deal with remoting as well, or get deeper with the remoting tutorials either here, or at the AMFPHP-Site.
    happy flashing
    8)
    Ronald

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: AS2 Remoting with CS4
    « Reply #2 on: 04/17/09, 15:42 »
    Posted article have a zip file with Remoting classes, why need you Flash 8?

    Jorge

    Benjamin Solum

    • Server what's that
    • *
    • Posts: 21
      • View Profile
      • Email
    Re: AS2 Remoting with CS4
    « Reply #3 on: 04/17/09, 16:19 »
    Oops.  I assumed you had to use the Installer file Adobe provides you on their web page.  Whenever I used their installer it failed and told me the InstallScript engine was missing from my machine.  I assumed this was because I tried installing the Flash 8 components. I didn't notice the .zip file or realize that you didn't need to use adobe's installer... my bad.  ::)

    Lanceken

    • Server what's that
    • *
    • Posts: 1
      • View Profile
    Re: AS2 Remoting with CS4
    « Reply #4 on: 09/19/09, 05:24 »
    I hava a similar problem as discussed above, but I don't know what to do right now ....  :-\

    I've developed a site in flash mx using amfphp and flash remoting components (AS 2.0)

    In the past I've placed the flash remoting components on the stage, but when i open the fla that was made in flash mx in CS4, the components are removed from the stage. When I try to publish, the Service class, FaultEvent en ResponseEvent cannot be found, even if i include the correct namespaces at the top op the scriptpage.

    What do I need to do? Urgent ...

    Thanks!

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: AS2 Remoting with CS4
    « Reply #5 on: 09/19/09, 09:50 »
    As stated in the thread, download the zip file from Adobe and uncompress in the class tree of your Flash installation

    Jorge