# Remoting with AS3 (Oscar Trelles)

**URL:** <https://forum.kirupa.com/t/remoting-with-as3-oscar-trelles/237052>\
**Category:** flash\
**Created:** [August 26, 2007, 10:39pm UTC](https://forum.kirupa.com/t/remoting-with-as3-oscar-trelles/237052 "2007-08-26T22:39:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Psaldorn](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@Psaldorn](https://forum.kirupa.com/u/Psaldorn)\
**Post date:** [August 26, 2007, 10:39pm UTC](https://forum.kirupa.com/t/remoting-with-as3-oscar-trelles/237052/1 "2007-08-26T22:39:48Z")

</div>

Hi all,  
I just started using Flash CS3 and AS3 and was looking into using the Remoting ability to interact with PHP etc., I have had basic usage of Remoting with AS2 in MX, but this seems to be a little more… I don;t know what 🙂

I’ve been using [Oscar Trelles’ page](http://www.oscartrelles.com/archives/as3_flash_remoting_example) as a base, but still can;t manage to get that working. From googling like mad and searching on Kirupa I’ve solved my first few noob errors but I’m still stuck.

If anyone could give me a Grade A noob step-by-step, that would be great (for other people like me too I would imagine, I can’t see much online that doesn’t assume some fundamentals) but I would also settle for a quick answer.

I know that packages need to be in their own .as files… fine… I just don;t really know how to connect my main .fla with the .as in question. I tried importing but it didn;t seem to like it. I’m hoping that with a bit of practice this will be as easy as Prototype’s Ajax.Request. Am I dreaming?

Thanks for any help! At all! _Wrings hands nervously_

Edit: I tried putting both of Oscar’s packages into one .as file and then “included” it and I get the “nested errors” warning. I read somewhere that this is because of importing files inside a package. Any ideas?
