Flash as3 remoting + amfphp Exercise 1

Source: Internet
Author: User

After searching a lot of information on the Internet, I finally started programming.
Flash remoting with as3 by: Jorge Solis this article is good. I decided to start from it, and sourcecode is very suitable for someone who has no experience with flash.
When I did the first exercise loading/saving data using amfphp, I encountered two problems:

1. Flash is created based on the example, and compilation fails.
Source: 34 rows, trace ("there was a problem:" + F. Description );
Description: 1119: access the undefined attribute description (referenced by the static type flash. Events: event ).
Then change to f.tar get. description. The example does not have this problem. It is speechless...

2. Incorrect PHP File Location
Remember to make a PHP file: 1) the file name is the same as the class name; 2) the file must be placed under // localhost/amfphp/services.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.