Using AMFPHP – and associated ballaches
On one of my last projects, i had an issue with AMFPHP that really pissed me off. Long story short, i had been working on this widget primarily at work, and some urgent maintenance had to be done in my own time, so i downloaded the project files off my company’s dev server and attempted to fix the widget.
I kept getting this one error:
[MessagingError message='Destination 'amfphp' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']
Now how’s that for useful??
After much digging and a useful link from a friend, i realised that i’d forgotten my fucking compiler arguments!!!
You need to stick -services “services-config.xml” in your Additional Compiler Arguments inside of Flex Builder 3.
Moral of the story: Keep all your Flex projects on some form of transportable medium! …and don’t be a moron like your’s truly.
| Print article | This entry was posted by Danny Kopping on November 2, 2008 at 10:09 am, and is filed under Flex. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
about 3 years ago
tisk tisk tisk …
here is the link for those that have a similar issue
http://www.themidnightcoders.com/forum/default.aspx?g=posts&t=355
about 2 years ago
Thanks, Danny! You really save my time!
about 2 years ago
… and when doing a cut-n-paste, blogs replace ‘smart quotes’ with ones the compiler understands.