[EMAIL PROTECTED] Tue Apr 13 13:13:44 2004 Return-Path: <[EMAIL PROTECTED]> X-Sender: [EMAIL PROTECTED] X-Apparently-To: flexcoders@yahoogroups.com Received: (qmail 1922 invoked from network); 13 Apr 2004 20:13:44 -0000 Received: from unknown (66.218.66.217) by m21.grp.scd.yahoo.com with QMQP; 13 Apr 2004 20:13:44 -0000 Received: from unknown (HELO p01mgw01.macromedia.com) (216.104.212.90) by mta2.grp.scd.yahoo.com with SMTP; 13 Apr 2004 20:13:44 -0000 Received: from S1001EXM02.macromedia.com ([10.4.48.132]) by p01mgw01.macromedia.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i3DKCpVF026970 for <flexcoders@yahoogroups.com>; Tue, 13 Apr 2004 13:12:52 -0700 (PDT) Received: by S1001EXM02.macromedia.com with Internet Mail Service (5.5.2657.72) id <G3CS4B21>; Tue, 13 Apr 2004 16:12:51 -0400 Message-ID: <[EMAIL PROTECTED]> To: "'flexcoders@yahoogroups.com'" <flexcoders@yahoogroups.com> Date: Tue, 13 Apr 2004 16:12:50 -0400 Return-Receipt-To: Brandon Purcell <[EMAIL PROTECTED]> MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C42193.B21E29B3" X-eGroups-Remote-IP: 216.104.212.90 From: Brandon Purcell <[EMAIL PROTECTED]> Subject: RE: [flexcoders] AMF Gateway X-Yahoo-Group-Post: member; u=182034002
------_=_NextPart_001_01C42193.B21E29B3 Content-Type: text/plain; charset="iso-8859-1" He did it by modifying the default setting in the flex-config.xml. They it becomes the default gateway anytime you use <mx:RemoteObject encoding="AMF"> So there are three ways to use different gateways. 1. Modfify flex-config.xml <amf-gateway>yourgatewayURL</amf-gateway> (becomes default) 2. Put it directly in the code <mx:RemoteObject encoding="AMF" endpoint="yourgatewayURL"> 3. Specifiy the gateway in a named service The easiest way to develop and test is to use it right in the tag like <mx:RemoteObject encoding="AMF" endpoint= http://192.168.1.1/flashservices/gateway <http://192.168.1.1/flashservices/gateway> source="package.classname"> Brandon -----Original Message----- From: Ashvin Savani (arckid) [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 4:02 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] AMF Gateway One person did this http://weblogs.asp.net/astopford/articles/111692.aspx <http://weblogs.asp.net/astopford/articles/111692.aspx> he is using .net as AMF gateway and I want to test it with AMFPHP that its working or not ... because currently I am using HTTPService for doing data transmission which is not fast as AMF does. Regards, Ashvin Savani (arckid) Team Macromedian ("Flash" + (" MX" || "Com" || " Remoting")) && (PHP && MySQL) Developer _____ From: Libby Freligh [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 1:06 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] AMF Gateway Hi - Is there a reason you're creating AMF gateways instead of using Flex data access mechansims? RemoteObject uses AMF by default and has a default gateway built in. best, libby _____ From: Ashvin Savani (arckid) [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 3:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] AMF Gateway How to add or where to declare AMF gateway? For a script located at samples/aashu/test.mxml? I know I have to add it in flex-config.xml but where is it and can it have more then one gateways? Say for test2.mxml I need another gateway then where I have to add it? In same file? At same parent tag of <amf-gateway> Now only adding this line will do all things or I also have to declare something more like which services I am suppose to use with that gateway etc., Regards, Ashvin Savani (arckid) Team Macromedian ("Flash" + (" MX" || "Com" || " Remoting")) && (PHP && MySQL) Developer _____ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <http://groups.yahoo.com/group/flexcoders/> * 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/> . ------_=_NextPart_001_01C42193.B21E29B3 Content-Type: text/html; charset="iso-8859-1" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = "urn:schemas-microsoft-com:vml" xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns:w = "urn:schemas-microsoft-com:office:word" xmlns:st1 = "urn:schemas-microsoft-com:office:smarttags"><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2800.1400" name=GENERATOR><!--[if !mso]> <STYLE>v\:* { BEHAVIOR: url(#default#VML) } o\:* { BEHAVIOR: url(#default#VML) } w\:* { BEHAVIOR: url(#default#VML) } .shape { BEHAVIOR: url(#default#VML) } </STYLE> <![endif]--><o:SmartTagType name="time" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType name="date" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType name="PersonName" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]> <STYLE>st1\:* { BEHAVIOR: url(#default#ieooui) } </STYLE> <![endif]--> <STYLE>@font-face { font-family: Wingdings; } @font-face { font-family: SimSun; } @font-face { font-family: Tahoma; } @font-face { font-family: Verdana; } @font-face { font-family: @SimSun; } @page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; } P.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman" } LI.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman" } DIV.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman" } A:link { COLOR: blue; TEXT-DECORATION: underline } SPAN.MsoHyperlink { COLOR: blue; TEXT-DECORATION: underline } A:visited { COLOR: blue; TEXT-DECORATION: underline } SPAN.MsoHyperlinkFollowed { COLOR: blue; TEXT-DECORATION: underline } P.MsoPlainText { FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Courier New" } LI.MsoPlainText { FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Courier New" } DIV.MsoPlainText { FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Courier New" } TT { FONT-FAMILY: "Courier New" } SPAN.EmailStyle18 { COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply } DIV.Section1 { page: Section1 } OL { MARGIN-BOTTOM: 0in } UL { MARGIN-BOTTOM: 0in } </STYLE> </HEAD> <BODY lang=EN-US vLink=blue link=blue> <DIV><SPAN class=765240320-13042004><FONT face=Arial color=#0000ff size=2>He did it by modifying the default setting in the flex-config.xml. They it becomes the default gateway anytime you use <mx:RemoteObject encoding="AMF"></FONT></SPAN></DIV> <DIV><SPAN class=765240320-13042004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=765240320-13042004><FONT face=Arial color=#0000ff size=2>So there are three ways to use different gateways.</FONT></SPAN></DIV> <DIV><SPAN class=765240320-13042004><FONT face=Arial color=#0000ff size=2>1. Modfify flex-config.xml <FONT face="Courier New" color=#000000><amf-gateway>yourgatewayURL</amf-gateway> </FONT>(becomes default)</FONT></SPAN></DIV> <DIV><SPAN class=765240320-13042004><FONT face=Arial color=#0000ff size=2>2. Put it directly in the code <mx:RemoteObject encoding="AMF" endpoint="yourgatewayURL"></FONT></SPAN></DIV> <DIV><SPAN class=765240320-13042004><FONT face=Arial color=#0000ff size=2>3. Specifiy the gateway in a named service </FONT></SPAN></DIV> <DIV><SPAN class=765240320-13042004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=765240320-13042004><FONT face=Arial color=#0000ff size=2>The easiest way to develop and test is to use it right in the tag like</FONT></SPAN></DIV> <DIV><SPAN class=765240320-13042004><FONT face=Arial color=#0000ff size=2><mx:RemoteObject encoding="AMF" endpoint=<A href="http://192.168.1.1/flashservices/gateway">http://192.168.1.1/flashservices/gateway</A> source="package.classname"></FONT></SPAN></DIV> <DIV><SPAN class=765240320-13042004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=765240320-13042004><FONT face=Arial color=#0000ff size=2>Brandon</FONT></SPAN></DIV> <DIV> </DIV> <P><FONT face="Courier New" size=2></FONT> </P> <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Ashvin Savani (arckid) [mailto:[EMAIL PROTECTED]<BR><B>Sent:</B> Tuesday, April 13, 2004 4:02 PM<BR><B>To:</B> flexcoders@yahoogroups.com<BR><B>Subject:</B> RE: [flexcoders] AMF Gateway<BR><BR></FONT></DIV> <DIV class=Section1> <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">One person did this<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><A href="http://weblogs.asp.net/astopford/articles/111692.aspx">http://weblogs.asp.net/astopford/articles/111692.aspx</A><o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">he is using .net as AMF gateway and I want to test it with AMFPHP that its working or not ... because currently I am using HTTPService for doing data transmission which is not fast as AMF does.<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P> <DIV> <P class=MsoPlainText><FONT face=Verdana color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Verdana">Regards,<BR><BR>Ashvin Savani (arckid) <BR><BR>Team Macromedian<BR>("Flash" + (" MX" || "Com" || " Remoting")) && (PHP && MySQL) Developer</SPAN></FONT><o:p></o:p></P></DIV> <DIV> <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <HR tabIndex=-1 align=center width="100%" SIZE=2> </SPAN></FONT></DIV> <P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> Libby Freligh [mailto:[EMAIL PROTECTED] <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, <st1:date w:st="on" ls="trans" Month="4" Day="14" Year="2004">April 14, 2004</st1:date> <st1:time w:st="on" Hour="1" Minute="06">1:06 AM</st1:time><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> flexcoders@yahoogroups.com<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> RE: [flexcoders] AMF Gateway</SPAN></FONT><o:p></o:p></P></DIV> <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Hi - </SPAN></FONT><o:p></o:p></P> <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Is there a reason you're creating AMF gateways instead of using Flex data access mechansims? RemoteObject uses AMF by default and has a default gateway built in. </SPAN></FONT><o:p></o:p></P> <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">best,</SPAN></FONT><o:p></o:p></P> <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">libby</SPAN></FONT><o:p></o:p></P> <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P> <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <HR tabIndex=-1 align=center width="100%" SIZE=2> </SPAN></FONT></DIV> <P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><B><FONT face=Tahoma size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> Ashvin Savani (arckid) [mailto:<st1:PersonName w:st="on">[EMAIL PROTECTED]</st1:PersonName>] <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Tuesday, <st1:date w:st="on" ls="trans" Month="4" Day="13" Year="2004">April 13, 2004</st1:date> <st1:time w:st="on" Hour="15" Minute="20">3:20 PM</st1:time><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> flexcoders@yahoogroups.com<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> [flexcoders] AMF Gateway</SPAN></FONT><o:p></o:p></P> <P class=MsoNormal><TT><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">How to add or where to declare AMF gateway? For a script located at</SPAN></FONT></TT><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><BR><TT><FONT face="Courier New">samples/aashu/test.mxml?</FONT></TT><BR><BR><TT><FONT face="Courier New">I know I have to add it in flex-config.xml but where is it and can it have</FONT></TT><BR><TT><FONT face="Courier New">more then one gateways? Say for test2.mxml I need another gateway then where</FONT></TT><BR><TT><FONT face="Courier New">I have to add it? In same file? At same parent tag of <amf-gateway></FONT></TT><BR><BR><TT><FONT face="Courier New">Now only adding this line will do all things or I also have to declare</FONT></TT><BR><TT><FONT face="Courier New">something more like which services I am suppose to use with that gateway</FONT></TT><BR><TT><FONT face="Courier New">etc.,</FONT></TT><BR><BR><TT><FONT face="Courier New">Regards,</FONT></TT><BR><BR><TT><FONT face="Courier New">Ashvin Savani (arckid) </FONT></TT><BR><BR><TT><FONT face="Courier New">Team Macromedian</FONT></TT><BR><TT><FONT face="Courier New">("Flash" + (" MX" || "Com" || " Remoting")) && (PHP && MySQL) Developer </FONT></TT><BR><BR><BR><BR><TT><FONT face="Courier New"><o:p></o:p></FONT></TT></SPAN></FONT></P></DIV></BODY></HTML> ------_=_NextPart_001_01C42193.B21E29B3--