Welcome, Guest
  • Author Topic: error NetServices.as  (Read 5731 times)

    anaif

    • Server what's that
    • *
    • Posts: 10
      • View Profile
    error NetServices.as
    « on: 01/27/10, 08:43 »
    i try to learn your tutorial about shoping, and i find error:
    netServices.as, Line 8   syntax error       import mx.remoting.connection;
    netservices.as line 9     syntax error       import mx.services.Log;
    netservices.as line 22   syntax error      class x.remoting.NetServices extends Object
    netservices.as line 24    error opening include file remotingComponentVersion.as:File not Found
    #include "RemotingComponentVersion.as"

    I use as2 and flash cs3. i confuse, where i must put mx folder in C://programfile//Adobe or in folder where i put folder tutorial shopping.Please help me,Please.Thanks   

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: error NetServices.as
    « Reply #1 on: 01/27/10, 09:01 »
    this was for flash mx 2004.
    Things have changed in the meantime.
    See the loading and saving tutorials. There are the differences pointed out.
    happy flashing
    8)
    Ronald

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: error NetServices.as
    « Reply #2 on: 01/27/10, 09:20 »
    Try this:

    - Download AS2 Remoting components for flash 8 Source code (folder mx with all the subfolders) http://www.adobe.com/products/flashremoting/downloads/components/#flr_as2
    - Copy to Adobe Flash CS3\en\First Run\Classes\mx folder (donīt overwrite, skip existing classes)
    - Note that 3 classes inside data folder should be copied (not the binding folder)
    - Restart Flash, if imports continue giving errors, add explicitely the classpath to the publish settings, something like C:\Program Files\Adobe\Adobe Flash CS3\en\First Run\Classes

    Jorge

    anaif

    • Server what's that
    • *
    • Posts: 10
      • View Profile
    Re: error NetServices.as
    « Reply #3 on: 01/27/10, 10:29 »
    thanks.i have try but the same errorT.T.
    i hope you adding more about tutorial as3 in flash cs3, because i need help to understand more about flash remoting to my final duty, for example i  need tutorial about make paging in flash and show data in combo box flash but data from database. thanks very much.God Bless you

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: error NetServices.as
    « Reply #4 on: 01/27/10, 10:33 »
    For remoting in AS3, check http://www.flash-db.com/Tutorials/helloAS3/

    Jorge