« Return to Thread: Tutorials - should we write some?

Re: Tutorials - should we write some?

by Abu Khan :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View in Thread


Hi all:

I have this in my code:

public function init():void{
                                var amfChannel:AMFChannel = new AMFChannel("myAMF", "http://localhost/FlourineAMF/Gateway.aspx");
                                amfChannel.pollingEnabled = false;
                                var myChannelSet:ChannelSet = new ChannelSet();
                                myChannelSet.addChannel(amfChannel);
                                ro.channelSet = myChannelSet;
                        }

   
public function onFluorineResult(result:Complain):void{
                                Alert.show("I am here");
                            CursorManager.setBusyCursor();
                                graphicsLayerComplaint.clear();//4326
                                var wgs:SpatialReference = new SpatialReference(MainMap.spatialReference.wkid);
                                Alert.show(result._points.length.toString());
                                if (result._points.length > 0)
                                {
                                        graphicsLayerComplaint.symbol = smCompTrack;
                                        graphicsLayerComplaint.graphicProvider = result.Points;
                                 
                                }
                               
                                CursorManager.removeBusyCursor();

                        }

 <mx:RemoteObject id="ro" destination="fluorine"
                source="FLAMFService.ComplainLayerInfo"
                fault="onFluorineFault(event)"
                 >
                <mx:method name="getComplains"  result="onFluorineResult"  />
        </mx:RemoteObject>


My issue is : I have remote object initialized, my method gets called(getComplains), but the result method(onFluorineResult) never gets called.

Did I miss something?

Thanks.

Abu






---------- Original Message ----------------------------------
From: Nathan Richards <naths_email@...>
Reply-To: Fluorine Mailing List <fluorine@...>
Date:  Thu, 26 Mar 2009 12:52:16 +0000

>
>Hi,
>
>I thought I would send this again, but also add a little.
>
>Firstly, does anyone know of any tutorials for using flex and
>.Net authentication with fluorine.I know there is the sample
>that's include with fluorine, but just wondered if anyone had
>written up a tutorial, maybe even include a registation system??
>
>Secondly, Finding decent tutorials on how to use fluorine always
>seems like hard work. I just wondered if it might be possible to start
>collating a list online resources that document and explain parts of
>fluorine. Or is there one already.
>
>Thirdly, I know that explaining and writing up the whole of how to
>use fluorine would be one hell of a task for someone to do on their
>own and would probable create one hell of a brick of a book, but I was
>wondering if a FFX community effort might more easily get the job done.
>
>If some of the fluorinefx community could band together it would only
>take some initial chats to decide how to proceed, and a shared blog on
>blogger to get started. I'd be happy to get involve myself, but only have
>experience of using AMF3 with NetConnection and RemoteObject with a combo of ASP.net
>2.0, Visual Studio 2005, AS3 with flash (Netconnection only) and Flex
>(Netconnection and RemoteObject).
>
>Part of the reason for doing this is selfish I'll admit, as I would
>really like to get to know other parts of Fluorine and lessening
>the harshness of the learning curve would really speed that up.
>But also I think it would benefit the community at large, and
>help others adopt FluorineFX for use on there projects.
>
>Anyone interested??
>
>Many thanks
>
>Nathan
>_________________________________________________________________
>View your Twitter and Flickr updates from one place – Learn more!
>http://clk.atdmt.com/UKM/go/137984870/direct/01/
>
>
>


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

 « Return to Thread: Tutorials - should we write some?