Hi Duncan, The .as file does go at the same level as the .mxml file, but I don't think it'll work with 1.5 because the class libraries are different - RemotingConnection extends NetConnection and the whole structure of remoting seems to be different in Flex 2.0 There's stuff on the AMFPHP site though about Flex 1.5 at the bottom of this page http://www.amfphp.org/docs/otherplatforms.html - if you get a 404 error just keep trying the server seems to be a bit flakey. HTH Phil Duncan McMillan wrote: Phil So do you mean that you put this RemotingConnection.as file in the same DIR as the mxml file? I'm using Flex 1.5 and this example is not working for me and complaining about the same thing.I've also tried to take the package declaration out (as I'm not sure if Flex1.5 likes package declarations) and it still doesn;t work Thanks again Duncan Phil Marston wrote On 06/02/06 12:01,:OK - so looks like I dumb! For those of you who also turn out to be dumb ;-p when Mike speaks about you already having RemotingConnection.as at the root of your project you actually need to save the follow package code as RemotingConnection.as and then you WILL have it! I've wasted a day and half on this! jeesh HTH someone else Phil Marston wrote:I think I've traced it to not having the flash.net.* package installed (though Flex Builder isn't throwing a complaint about that it does say it doesn't know where it is) where can I get this package/library? cheers, Phil Phil Marston wrote:Hi, I thought I'd seen this covered somewhere but cant find it. I'm trying Mike Potter's tutorials on Flex2 and PHP and AMFPHP found here http://labs.adobe.com/wiki/index.php/Flex_Framework:tutorials:flex2_AMFPHP and Flex is throwing a wobbly about the line; public var gateway : RemotingConnection; with the error Type was not found or was not a compile-time constant: RemotingConnection. Can anyone shed light on this or point me in the right direction? Cheers, Phil-- ______________________________________________________________ Phil Marston Learning Technologist Learning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/ ______________________________________________________________ The University of Aberdeen Open Day 29th August 2006 Booking is essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027 1495 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer software development <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw> Software design and development <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ> Macromedia flex <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw> Software development best practice <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw> ------------------------------------------------------------------------ YAHOO! GROUPS LINKS * Visit your group "flexcoders <http://groups.yahoo.com/group/flexcoders>" on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/>. ------------------------------------------------------------------------------------------------ Yahoo! Groups Sponsor --------------------~--> Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- ______________________________________________________________ Phil Marston Learning Technologist Learning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/ ______________________________________________________________ The University of Aberdeen Open Day 29th August 2006 Booking is essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027 1495__._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- Re: [flexcoders] RemotingConnection not found in Mike Pott... Phil Marston
- Re: [flexcoders] RemotingConnection not found in Mike... Phil Marston
- Re: [flexcoders] RemotingConnection not found in ... Duncan McMillan
- Re: [flexcoders] RemotingConnection not found... Phil Marston
- Re: [flexcoders] RemotingConnection not f... Duncan McMillan