Hello! Well, I just started a critical part of my flash application development - I?m implementing the sections of the site using a MVC (Model View Controller) approach based on the Essential ActionScript 2 explanation and code. My site has a album section which opens albuns of pictures in the server and shows them to the user trough graphic components. The communication is done via Flash Remoting and AMFPHP in the server-side. My AlbumModel.as class needs to use the remoting classes to get the data from the server, process it and pass to the view. But when I try to compile it, it says it can?t load the "mx.remoting.Services" or any of the remoting classes - and actually there isn?t any .as files in the mx.remoting directory. I know that within a .fla file, I need to make sure the RemotingClasses SWC are in the library... but what to do in a pure .as class file? Should I make it into a component? Thanks in advance, Marcelo.
Yep... that was the first thing I did... and actually remoting works ... the only problem is that I can?t find any as files.. it only comes in the swc compiled thing... I even tried to reinstall the two packages (fr for as1 and fr for as2 for mx2004) but the problem stills. Thank you for the reply.
In your download of the Remoting Components there should be a dir 'source' which contains the classes. You need to install these classes manually (see the usageSource.txt that also comes with the download).
[quoted text, click to view] >> and actually there isn?t any .as files in the mx.remoting directory <<
Don't see what you're looking for? Try a search.
|