[flexcoders] Event broadcasters and listeners with cellRenderers

2006-03-28 Thread nahruka
Hi all,

I'm new at Flex and need some help about event handling among
different Flex components. I have a custom TitleWindow with a Button.
I want another custom component (used as a cell renderer in this
TitleWindow) to listen to this button to be clicked and then do
something. 

Here is my TitleWindow WActes.mxml:

?xml version=1.0 encoding=utf-8?
mx:TitleWindow  xmlns:mx=http://www.macromedia.com/2003/mxml; 
xmlns=* xmlns:ns1=Components.* creationComplete=doInit()
title=This is my popup closeButton=true   
click=this.deletePopUp()

mx:Metadata
[Event(myEvent)]
/mx:Metadata

mx:Script![CDATA[
   function myButtonClick() {
  dispatchEvent({type:myEvent});
   }
]]/mx:Script


mx:DataGrid id=dgAlu dataProvider={myArr} width=100%  
height=100% editable=true 
variableRowHeight=true wordWrap=true
mx:columns
mx:Array
mx:DataGridColumn headerText=Nom columnName=nom
editable=false width=80 wordWrap=true/mx:DataGridColumn
mx:DataGridColumn headerText=Qualificacio editable=false
cellRenderer=Components.HBoxQualificacio/mx:DataGridColumn
/mx:Array
/mx:columns
/mx:DataGrid

mx:ControlBar
  mx:Button label=Close click=deletePopUp()/ 
  mx:Button id=myButton label=Click here  
  click=myButtonClick()/mx:Button
/mx:ControlBar


/mx:TitleWindow



And here is my own cell renderer, HBoxQualificacio.mxml:

?xml version=1.0 encoding=utf-8?
mx:HBox xmlns:mx=http://www.macromedia.com/2003/mxml;
initialize=inici() hScrollPolicy=off

  mx:Script![CDATA[

function inici() {
  var listenerObject = new Object();
  listenerObject.myEvent = function(event) {
trace(myEvent catched); //This is never printed!!! :-(
  }
  parent.myButton.addEventListener(myEvent, listenerObject);
}   
  ]]/mx:Script

  !-- Several Flex components go here --

/mx:HBox



Please I do need some help! Thanks!





--
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/
 




[flexcoders] Re: flex2 : IMenuDataProvider replacement

2006-03-28 Thread bhaq1972
Thanks that worked. 


--- In flexcoders@yahoogroups.com, Joan Tan [EMAIL PROTECTED] wrote:

 You should add a menu or remove a menu through the dataProvider
 collection.
 
  
 
 You would do something like this:
 
 var newItem:XMLList = node label=new branch 1node 
label=new leaf
 1 data=new leaf data 1 //node/;
 
 IList(myMenu.dataProvider).addItem(newItem);
 
  
 
 Or
 
  
 
 IList(myMenu.dataProvider).removeItemAt(0);
 
  
 
 Joan
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of bhaq1972
 Sent: Monday, March 27, 2006 7:23 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] flex2 : IMenuDataProvider replacement
 
  
 
 Hi
 
 Whats the replacement for IMenuDataProvider. Specifically, what do 
i 
 replace the methods addMenuItem(), removeMenuItemAt() with.
 
 thanks
 
 
 
 
 
 
 --
 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 
 
  
 
 *  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]
subject=Unsubscribe 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
  
 
 







--
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/
 





[flexcoders] Flex2 : Menu bug?

2006-03-28 Thread bhaq1972
Hi 
Just following on from my previous post. I noticed a difference in 
the menu behaviour from flex 1.5.
if you have a line separator in your menu. you can actually select 
it with your mouse. 
This wasn't the case in flex 1.5. I believe the behaviour in flex 
1.5 is correct, because a line separator is only meant to visualy 
and logically enhance your menu list.

 flex2 and 1.5 examples

Flex2
-
?xml version=1.0?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

mx:Script
![CDATA[
import mx.controls.Menu;
import mx.collections.IList;

private var myMenu:Menu;

private function Show():void
{
myMenu= Menu.createMenu
(null,myMenuData,false);
myMenu.x = 300;
myMenu.y = 100;
myMenu.labelField = @label;

myMenu.show();
}

]]
/mx:Script

mx:XML id=myMenuData format=e4x
menuitem label=MenuItem B/
menuitem label=MenuItem C/
menuitem label=MenuItem D/
menuitem label=MenuItem E/
menuitem type=separator/
menuitem label=MenuItem F/
menuitem label=MenuItem G/
/mx:XML

mx:Button id=mybutton label=Open Menu-Popup click=Show()/

 /mx:Application
---
flex 1.5

?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;

mx:Script
![CDATA[

   import mx.controls.Menu;
   var myMenu:Menu;

   function Show()
   {
  myMenu= Menu.createMenu(panel,myMenuData);

  myMenu.x = 300;
  myMenu.y = 100;
  myMenu.show();

   }

]]
/mx:Script

mx:XML id=myMenuData
menuitem label=MenuItem 1-A /
menuitem label=MenuItem 2-A /
menuitem label=MenuItem 1-A /
menuitem label=MenuItem 2-A /
menuitem label=MenuItem 1-A /
menuitem type=separator /
menuitem label=MenuItem 2-A /
menuitem label=MenuItem 1-A /
/mx:XML

mx:Button id=mybutton label=Open Menu-Popup 
click=Show()/

/mx:Application







--
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/
 




RE: [flexcoders] flex 2 integration with .net web service

2006-03-28 Thread Jason Hawryluk






  
  There are no 
  docs for this, however I do exactly the same thing. In the XMLdocument 
  instance I cast it to string in flex before sending it.
  
  Soap envelopes 
  are a textual packet of information. In order for anything like that to work 
  the objects need to have exactly the same structure. When you pass the XML 
  object for example to a web service what your actually passing is a pointer to 
  the object, not the object structure. So *I think* in order for .net to 
  properly cast it you need a similar structure in .net. So in the case of XML 
  pass the string is the way to go. In .net serializing that to an XMLDocument 
  is trivial. Ill try to help in vb.net not sure if you write 
  c#.
  
  Dim oxmlData As New 
  XmlDocument
  oxmlData.LoadXml(strXMLDataStringfromflex)
  oxmlData.Save("c:\toto.xml")
  
  
  Stuff I have 
  tried with success
  
  Passing a 
  dataset to flex works. In the results you need to reference the 
  (diffgram.Data.DataSet) in the soap.
  
  Passing a 
  class object to flex and back works.
  
  Take this for 
  example in vb.net
  
  Public Class oParameter
  Public name As String
   
  Public 
  value As 
  Long
  End Class
  
  WebMethod(Description:="testing2") 
  _
   
  Public 
  Function 
  getParameters() As 
  oParameter()
   Dim oParameters As oParameter() = New oParameter(2) 
  {}
   
  oParameters(0) = New oParameter
   
  oParameters(0).name = "Bob"
   
  oParameters(0).value = 123
  
   
  oParameters(1) = New oParameter
   
  oParameters(1).name = "Mary"
   
  oParameters(1).value = 456
  
   
  oParameters(2) = New oParameter
   
  oParameters(2).name = "John"
   
  oParameters(2).value = 789
  
   Return 
  oParameters
   
  End 
  Function
  
  WebMethod(Description:="testing2") 
  _
   
  Public 
  Sub 
  SetParameters(ByVal SingleArray As oParameter())
   
  
  
   
  End 
  Sub
  
  If you pass 
  call getParameters from flex it returns the correct 
  object
  You can pass 
  that same object right back via SetParameters the SingleArray will contain the 
  values.
  
  You could 
  probably do much more complicated stuff but the object structure in .net would 
  need to be exactly the same as in flex. We cant just pass any object as 
  object then cast it in .net to its proper type. At least this is what Ive 
  learned. I did not spend a ton of time mind you but just enough to get an idea 
  of the limits.
  Hope this helps
  
  
  Jason
  
  
  -Message 
  d'origine-De: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED]De la part de Matt 
  ChotinEnvoy: mardi 28 mars 2006 08:48: 
  flexcoders@yahoogroups.comObjet: RE: [flexcoders] flex 2 
  integration with .net web serviceI don't know 
  .NET that well, can you take a HashMap or something similaras the 
  parameter into the web service? You'd then just create theobject and 
  pass it as the single param to the service.Matt-Original 
  Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] OnBehalf Of nmsflexSent: 
  Wednesday, March 22, 2006 8:24 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] flex 2 integration with 
  .net web serviceHi there!i'm playing around with flex 2 beta 
  last two month, then i love it buti have hard time to find details 
  document about passing complex objectfrom flex to .net web service. There 
  have very good couple articlesdiscuss about it but no one can explain 
  deeply detail how thisintegration part work.simple Example.at 
  client side i have 3 field data need to pass to web service.1. first 
  name.2. last name.after i get this information from user , 
  then i create my own xml 
  formatregisteruserfirstnamefirst 
  name/userfirstnameuserlastnamelast 
  name/userlastname/registerthen i have to covert 
  this to string xml then passing it that's theway i work right 
  now.at back end i have function to receive string xml for 
  input.My question is: is any way i can pass real xml 
  object into web service tags in flex 2and then at back - end i use 
  XmlDocument parameter for input.if it is possible? then how exactly it 
  work. i know in flex 2 i canwrite as3 function to call web service and 
  passing object forparameter input but after i pass that object then what 
  happen?i'm really looking for documents for this.thanks for 
  you help.  --Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links





--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Flex 2.0 b2: SharedObject

2006-03-28 Thread tyombria
Hi, all.

I've got a problem with a SharedObject.

I run two apps simultaneously.
The following operators depict applications activities:

1. app1:
so:SharedObject = SharedObject.getLocal('so', '/');
so.data.first = 'first';
so.data.second = '';
so.flush();

2. app2:
so:SharedObject = SharedObject.getLocal('so', '/');
trace( so.data.second ); // outputs ''

3. app1:
so.data.second = 'second';
so.flush();

4. app2:
so = SharedObject.getLocal( 'so', '/' );
trace(so.data.second); // ouputs ''



In the previous version (as 2.0) I could read data written in the 
shared object by other app (without restarting) by the following 
trick:

in app2 (step 4):
delete so;
so = SharedObject.getLocal( 'so', '/' );
trace(so.data.second); // ouputs 'second'



Can I implement needed functionality in the flex 2.0?








--
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/
 




Re: [flexcoders] List Component Bug!!

2006-03-28 Thread Carlos Rovira



Try to use an bindable ArrayCollection as your dataProvider that uses your array. (see the docs for an example).On 3/28/06, Gordon Smith 
[EMAIL PROTECTED] wrote:
















I'm not sure why an Array of Objects
doesn't work, but let's see if Alex Harui
does.



However, I do want to point out that
writing



 public var a:Array = [ { name:
nueng }, { name: saawng }, { name: saam }
];



will produce smaller and faster code than what
you're doing in initData().



- Gordon











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Lance Linder
Sent: Monday, March 27, 2006 1:08
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] List
Component Bug!!





Hello,



I was just converting a project from Beta1
to Beta2 and noticed a problem with all my List components that were bound to
data providers which are collections of custom objects.



The problem is that the List selection
highlight is stuck on the last item in the list. Changing the provider to
be an array collection made up of plain instances of the Object class fixes the
problem. The problem seems to effect anything that uses the List
component (ComboBox, DataGrid…)



Has anyone else seen this and found a
fix? Using plain old Object instances are not an option.



Here is some sample code that shows the
problem.



?xml version=1.0
encoding=utf-8?

mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml xmlns=*
layout=absolute preinitialize=initData()





mx:Script


![CDATA[





[Bindable]


public var a:Array;





private function initData():void {





a = new Array();





var myObj:MyObject = new MyObject();


myObj.name = neung;


a.push(myObj);





var myObj2:MyObject = new MyObject();


myObj2.name = saawng;


a.push(myObj2);





var myObj3:MyObject = new MyObject();


myObj3.name = saam;


a.push(myObj3);


}





]]


/mx:Script





mx:List x=10 y=10 dataProvider={a}
width=200 height=200
labelField=name/mx:List

/mx:Application



//-- MyObject.as -



package {




public class MyObject extends Object {


public var name:String;


}

}









--
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



  Visit your group flexcoders on the web.

  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
.



  










-- ::| Carlos Rovira::| http://www.carlosrovira.com






--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









AW: [flexcoders] Flex 2 Beta 2 - Bug with mx.controls.TextInput restrict Property

2006-03-28 Thread Harald Dehn










Hello Gordon,



Please look at the
example: TextInput.restrict =
0-9 ,.\- There is a
backslash before the minus sign, but it doesnt work.



Harry















Von: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Im Auftrag von Gordon Smith
Gesendet: Dienstag, 28. März 2006
09:04
An: flexcoders@yahoogroups.com
Betreff: RE: [flexcoders] Flex 2
Beta 2 - Bug with mx.controls.TextInput restrict Property





No; 'restrict' specifies
what is accepted, not what is rejected.



The problem is that the
minus sign (a.k.a. hyphen) is a metacharacter: look at how you're using it in
0-9 to mean 0 through 9. So you have to escape it by preceding it
with a backslash.



- Gordon











From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt
 Chotin
Sent: Monday, March 27, 2006 10:48
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 2
Beta 2 - Bug with mx.controls.TextInput restrict Property





Well youre
including the minus character in your restrict. So it shouldnt
allow negative numbers.











From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Harald Dehn
Sent: Saturday, March 25, 2006
6:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2 Beta
2 - Bug with mx.controls.TextInput restrict Property





Hello



I try to restrict the input of a TextInput Control
with the following line:



TextInput.restrict
= 0-9 ,.\- + _CurrencySymbol;



Unfortuneally I cant enter negative numbers in
the box (it dont accept the minus character). This example worked fine
with the alpha version of Flex, I already reported the bug for the beta 1
version.



Harry













--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Re: Saving object graphs 2 (losing backreferences)

2006-03-28 Thread pepe_perez_perez_perez
Hi,

Thanks for answering, this is driving me crazy. No, no lazy references:

hibernate-mapping default-lazy=false

Perhaps I'm trying to make this simpler than it is, but this is how I
understand it.

Books.mxml:

?xml version='1.0' encoding='iso-8859-1'?
mx:Application xmlns:mx='http://www.adobe.com/2006/mxml' xmlns='*'

mx:Script
import mx.data.DataService;
import mx.collections.ArrayCollection;
import model.*;

public var ds : DataService = new DataService( BookDestination );

[Bindable]
public var book : Book = new Book();
[Bindable]
public var books : ArrayCollection = new ArrayCollection();
[Bindable]
public var chapter : Chapter = new Chapter();

/mx:Script

mx:VBox width='100%' height='100%'
mx:HBox width='100%'
mx:ControlBar
mx:Button label='Subir' click=
icon=@Embed(source='images/data_up.png')/
mx:Button label='Bajar' click=
icon=@Embed(source='images/data_down.png')/
/mx:ControlBar
mx:Spacer width='100%' height='100%'/
mx:ControlBar
mx:Button label='Obtener' click=ds.fill( books );
icon=@Embed(source='images/data_refresh.png')/
mx:Button label='Añadir' click=book = new Book();
ds.createItem( book ); icon=@Embed(source='images/data_add.png')/
mx:Button label='Borrar' click=books.removeItemAt(
dgBooks.selectedIndex ); icon=@Embed(source='images/data_delete.png')/
mx:Button label='Guardar' click=if(
ds.commitRequired ) ds.commit();
icon=@Embed(source='images/data_disk.png')/
/mx:ControlBar
/mx:HBox
mx:HDividedBox width='100%' height='100%'
mx:Tree width='25%' height='100%'
/mx:Tree
mx:VBox width='75%' height='100%'
mx:TabNavigator width='100%' height='100%'
mx:Canvas label='Books' width='100%' height='100%'
mx:VBox width='100%' height='100%'
mx:Label text=Books/
mx:DataGrid id=dgBooks
dataProvider={books} editable=true
mx:columns
mx:DataGridColumn headerText='ID'
dataField='id' editable='false'/
mx:DataGridColumn
headerText='Library' dataField='library' editable='false'/
mx:DataGridColumn
headerText='Description' dataField='description'/
mx:DataGridColumn
headerText='Date' dataField='date'/
/mx:columns
/mx:DataGrid

mx:Label text=Chapters/
mx:DataGrid id=dgChapters
dataProvider={dgBooks.selectedItem.chapters} editable=true
mx:columns
mx:DataGridColumn headerText='ID'
dataField='id' editable='false'/
mx:DataGridColumn
headerText='Book' dataField='book' editable='false'/
mx:DataGridColumn
headerText='Description' dataField='description'/
mx:DataGridColumn
headerText='Amount' dataField='amount'/
/mx:columns
/mx:DataGrid
/mx:VBox
/mx:Canvas
/mx:TabNavigator
/mx:VBox
/mx:HDividedBox
mx:Label text='Ready' width='100%'/
/mx:VBox
/mx:Application

Any suggestion?, something?.

Thanks in advance,

Pepe.


--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 Did you have any lazy references set up in the mappings?









--
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/
 




Re: [flexcoders] Re: [Flex 2 beta 2 - Cairngorm 2 - AMFPHP]

2006-03-28 Thread Oriol Gual



Hi Renaun,I've been also trying to make an AMFPHPService, quite different than yours, but after looking at your code I've a doubt:flash_proxy override function callProperty( methodName:*, 

...args):* {AppUtil.info(passed callProperty);if( gateway_conn == null )gateway_conn = new RemotingConnection( endpoint );var respond:ResponderAMF0 = new ResponderAMF0( methodName, setQueryResult, setQueryFault );
AppUtil.info( methodName:  + methodName +  endpoint:  + endpoint +  source:  + source + . + methodName.toString() );gateway_conn.call( source + . + 
methodName.toString(), respond, args[ 0 ], args[ 1 ], args[ 2 ] );

_methodResponderArray[ methodName ] = respond;return respond.getAsyncToken(); }I'm also using the ..args parameter, but when sending it to the php service they seem to disappear if I pass the args variable itself, without using an index. 
So my doubt is: using your implementation you can only pass three args, can't you? How would you do it if you want to pass more than three args?
Thanks,Oriol2006/3/28, Renaun Erickson [EMAIL PROTECTED]
:
I have created an example showcasing Flex2 Beta2, Cairngorm2 andAMFPHP.It uses a custom RemoteObjectAMF0 component I created.Thecustom component allows access to AMF0 format services.The accesstries to mimic a subset of what you can do with the Flex 
1.5RemoteObject.It does not support all the features of Flex 1.5RemoteObject and is first draft code, but it can work nicely in thecontext of Cairngorm's Service.mxml (ServiceLocater) code structure.

The example code is currently in the context of the Cairngorm Loginexample that is found in the Cairngorm 2 download.Please remember that AMF3 is the newer AS3/Flex2 format and thereforethe longevity of the custom RemoteObjectAMF0 is unknown.A few of us
are hoping to see a AMF0 supported RemoteObject to be part of theFlex2.But in the end it does not matter once Flex2 is released andAMF3 gets embraced by a wider adapter/connector base.You can find the example (as well as another example I created)
located here:http://www.renaun.com/flex2/Renaun--- In 
flexcoders@yahoogroups.com, William Lambé [EMAIL PROTECTED] wrote:
 Hello guys, Did someone try to use Cairngom (architectural framework for flex) with AMFPHP ? I ask because I don't see clearly (in the sample Cairngorm Login) how to
 change LoginDelegate and Services.mxml to use it with AMFPHP… (forexemple where to introduce the RemotingConnection of Tweenpix(

http://www.tweenpix.net/blog/index.php?2006/01/03/543-hello-world-en-amfphp -avec-flex20 )) If you tried one time, coud you explain us please. Thank you,
 William.--Flexcoders Mailing ListFAQ: 
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/








--
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
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] using object+embed tags-install flash player8.5 on client systems-is possible?

2006-03-28 Thread venkat eswar



is it possible to install flash player8.5 automatically using object and embed tags on client systems.  (i am using flex2.0 trail version.)
	
		Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.





--
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
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] using object+embed tags-install flash player8.5 on client systems-is possible?

2006-03-28 Thread venkat eswar



is it possible to install flash player8.5 automatically on client systemsusing object and embed html tags.?  ifpossible, plz give information.  (i am using flex2.0 trail version.)
		Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.





--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] using object+embed tags-install flash player8.5 on client systems-is possible?

2006-03-28 Thread venkat eswar



is it possible to install flash player8.5 automatically using object and embed tags on client systems.?  (i am using flex2.0 trail version.)
		New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.





--
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
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] format data

2006-03-28 Thread mepaninaresh
I have an xml element which looks like :-

Date Type=Last_Log_on Format=CCYYMMDD![CDATA[20051119]]/Date

I want to display this as for example :-

19/11/2005

I have tried various things, nothing seems to work, sample of my code 
below.

mx:GridItem

  mx:Label 
text={myContentData1.GraydonUKePatrolSchema.ePatrolDetailsPage.Date.
(Type=='Last_Log_on')} /

/mx:GridItem

Any ideas?

Regards,
Naresh.






--
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/
 




Re: [flexcoders] Event broadcasters and listeners with cellRenderers

2006-03-28 Thread Omar Ramos



Hi,

On your cell render you can use these properties.

public var listOwner:mx.controls.List;private var getCellIndex:Function; private var getDataLabel:Function;


 So instead of using parent use listOwner.parent, that should give you access to your button. Another aproach is to dispatch the button event into the TileList and then on your cellrender listen to it using listOwner.addEventListener
(myEvent). Let me know if this was of any help.


Omar Ramos

On 3/28/06, nahruka [EMAIL PROTECTED] wrote:

Hi all,I'm new at Flex and need some help about event handling amongdifferent Flex components. I have a custom TitleWindow with a Button.I want another custom component (used as a cell renderer in this
TitleWindow) to listen to this button to be clicked and then dosomething. Here is my TitleWindow WActes.mxml:?xml version=1.0 encoding=utf-8?mx:TitleWindow xmlns:mx=
http://www.macromedia.com/2003/mxml  xmlns=* xmlns:ns1=Components.* creationComplete=doInit()
 title=This is my popup closeButton=true  click=this.deletePopUp()  mx:Metadata [Event(myEvent)] /mx:Metadata
 mx:Script![CDATA[ function myButtonClick() { dispatchEvent({type:myEvent}); } ]]/mx:Script mx:DataGrid id=dgAlu dataProvider={myArr} width=100% 
 height=100% editable=true  variableRowHeight=true wordWrap=true mx:columns mx:Array mx:DataGridColumn headerText=Nom columnName=nom
editable=false width=80 wordWrap=true/mx:DataGridColumn mx:DataGridColumn headerText=Qualificacio editable=falsecellRenderer=
Components.HBoxQualificacio/mx:DataGridColumn /mx:Array /mx:columns /mx:DataGrid mx:ControlBar mx:Button label=Close click=deletePopUp()/ 
 mx:Button id=myButton label=Click here  click=myButtonClick()/mx:Button /mx:ControlBar /mx:TitleWindow
And here is my own cell renderer, HBoxQualificacio.mxml:?xml version=1.0 encoding=utf-8?mx:HBox xmlns:mx=
http://www.macromedia.com/2003/mxmlinitialize=inici() hScrollPolicy=off mx:Script![CDATA[ function inici() { var listenerObject = new Object();
 listenerObject.myEvent = function(event) { trace(myEvent catched); //This is never printed!!! :-( } parent.myButton.addEventListener(myEvent, listenerObject);
 }  ]]/mx:Script !-- Several Flex components go here --/mx:HBoxPlease I do need some help! Thanks!--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 

Visit your group flexcoders on the web. 
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 










--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] FB2 :: New ActionScript File :: Package path error

2006-03-28 Thread Michael Schmalle



Hi,

Just curious but, do I have something set up wrong in the FlexBuilder2 Plugin for Eclipse?

When I create a new AS class or interface in the Package TextInput it always inserts;

[classpath] DocumentX.com.teotigraphix.documentx.analyzers.models

Obviously this is wrong and I have to delete the '[classpath] DocumentX' part becasue it needs to be;

com.teotigraphix.documentx.analyzers.models
Any thoughts? Other than this I will just keep deleting the extra string.

Peace, Mike
-- What goes up, does come down.






--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] format data

2006-03-28 Thread Jason Hawryluk





changes to you code inline


mx:DateFormatter 
id="dateformatter" formatString="DD/MM/"/

 mx:Label text="{dateformatter.format 
(myContentData1.GraydonUKePatrolSchema.ePatrolDetailsPage.Date.(Type=='Last_Log_on'))}" /

however this is totaly un tested and you may have a 
problem with the cdata in your xml..

hope this helps

Jason


  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de mepaninareshEnvoyé: mardi 28 mars 2006 
  13:48À: flexcoders@yahoogroups.comObjet: 
  [flexcoders] format dataI have an xml element which 
  looks like :-Date Type="Last_Log_on" 
  Format="CCYYMMDD"![CDATA[20051119]]/DateI want to 
  display this as for example :-19/11/2005I have tried various 
  things, nothing seems to work, sample of my code 
  below.mx:GridItem mx:Label 
  text="{myContentData1.GraydonUKePatrolSchema.ePatrolDetailsPage.Date.(Type=='Last_Log_on')}" 
  //mx:GridItemAny 
  ideas?Regards,Naresh.





--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] AS2, RegExp implementation?

2006-03-28 Thread Stanislav Zayarsky
Hello FlexCoders,

Does anybody know if there good implementation of RegExp in AS2?

AS2Lib implementation is not working properly.

Best regards
Stanislav


--
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/
 




RE: [flexcoders] FB2 :: New ActionScript File :: Package path error

2006-03-28 Thread Dimitrios Gianninas





You have to setup what is your source 
folder.

1) Right-click on your project and selected 
properties
2) Goto Flex Build Path
3) enter the appropriate source folder

Dimitrios 
Gianninas
RIADeveloper
Optimal 
Payments Inc.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Michael 
SchmalleSent: Tuesday, March 28, 2006 9:00 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] FB2 :: New 
ActionScript File :: Package path error
Hi,Just curious but, do I have something set up wrong in 
the FlexBuilder2 Plugin for Eclipse?When I create a new AS class or 
interface in the Package TextInput it always inserts;[classpath] 
DocumentX.com.teotigraphix.documentx.analyzers.modelsObviously this is 
wrong and I have to delete the '[classpath] DocumentX' part becasue it needs to 
be;com.teotigraphix.documentx.analyzers.modelsAny 
thoughts? Other than this I will just keep deleting the extra 
string.Peace, Mike-- What goes up, does come down. 





--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] FB2 :: New ActionScript File :: Package path error

2006-03-28 Thread Michael Schmalle



Dimitrios,

THANKS, so the jist is;

You can have multiple class paths but, if you want to create new AS files, you can only do so in ONE classpath?

BTW, I switched it to my main classpath that I am working in and that corrected the issue.

Peace, Mike
On 3/28/06, Dimitrios Gianninas [EMAIL PROTECTED] wrote:







You have to setup what is your source 
folder.

1) Right-click on your project and selected 
properties
2) Goto Flex Build Path
3) enter the appropriate source folder

Dimitrios 
Gianninas
RIADeveloper
Optimal 
Payments Inc.



From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Michael 
SchmalleSent: Tuesday, March 28, 2006 9:00 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] FB2 :: New 
ActionScript File :: Package path error
Hi,Just curious but, do I have something set up wrong in 
the FlexBuilder2 Plugin for Eclipse?When I create a new AS class or 
interface in the Package TextInput it always inserts;[classpath] 
DocumentX.com.teotigraphix.documentx.analyzers.modelsObviously this is 
wrong and I have to delete the '[classpath] DocumentX' part becasue it needs to 
be;com.teotigraphix.documentx.analyzers.modelsAny 
thoughts? Other than this I will just keep deleting the extra 
string.Peace, Mike-- What goes up, does come down. 





--
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



  Visit your group flexcoders on the web.
  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.




  








-- What goes up, does come down.






--
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
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Re: [Flex 2 beta 2 - Cairngorm 2 - AMFPHP]

2006-03-28 Thread Renaun Erickson
You set the gateway URL in the RemoteObjectAMF0 endpoint attribute.

In the example that is located at
org.nevis.cairnogrom.samples.login.business.Services.mxml

Renaun

--- In flexcoders@yahoogroups.com, William Lambé [EMAIL PROTECTED] wrote:

 Where did you put the two lines : 
 
  
 
 var gatewayUrl:String = http://localhost/flashservices/gateway.php;;
 
 gateway = new RemotingConnection( gatewayUrl );
 
  
 
 Thanks, 
 
  
 
 Will… Trying.
 
  
 
   _  
 
 De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
De la
 part de Oriol Gual
 Envoyé : lundi 27 mars 2006 15:06
 À : flexcoders@yahoogroups.com
 Objet : Re: [flexcoders] [Flex 2 beta 2 - Cairngorm 2 - AMFPHP]
 
  
 
 Hi Will,
 
 If you need a fast, but maybe not the best solution, you can do this:
 
 package com.example {
 
 import flash.net.Responder;
 import org.nevis.cairngorm.commands.Command;
 import org.nevis.cairngorm.control.CairngormEvent ;
 
 public class ExampleCommand implements Command {
 
 public function execute( event : CairngormEvent ) : void
 {
 var exampleEvent : ExampleEvent = ExampleEvent ( event ); 
 model.gateway.call( service.method, new
Responder(onResult,
 onFault), arguments);
 }
 
 public function onResult( event : Object ) : void
 {
 // Handle your result
 }
 
 public function onFault( event : Object ) : void
 {
 //Handle your fault
 }
 
 [Bindable]
 public var model : ModelLocator = ModelLocator.getInstance();
 }
 
 }
 This is working for me, except if I use value objects, then I get a
 BadVersion error, if you find a solution let me know please.
 
 Oriol.
 
 2006/3/27, William Lambé [EMAIL PROTECTED]:
 
 I am lost in the Cairngorm business folder : Services ? Delegate ?
 
 How to rewrite ServiceLocator.as ?... many questions.
 
  
 
 So I explain what I would like to do, and what I have tried : 
 
  
 
 So my goal is to use AMFPHP, because I have only PHP on my Apache server
 (not a specialist of server running with Flex Data Services, and so on).
 
 But I also want to use the Cairngorm architectural framework. I already
 studied the framework (I read all your very very good articles on MM
Devnet
 – Thank you !) and I understand ModelLocator, Value Objects, The
Controller,
 and the Commands that execute to Events from the user (or system)…
 
  
 
 But when I begin to look how I could change the ServiceLocator .as (from
 org.nevis.cairngorm.business), I make lots of fault… I really need your
 help.
 
  
 
 I already used AMFPHP with Flex, with a simple exemple, making like
that,
 and it works :
 
  
 
 ### ActionScript Code in my main.mxml ###
 
 [Bindable]
 
 public var PHPData:Array;
 
 import flash.net.Responder;
 
 public var gateway : RemotingConnection;
 
  
 
 var gatewayUrl:String = http://localhost/flashservices/gateway.php;; 
 
 gateway = new RemotingConnection( gatewayUrl ); 
 
 gateway.call( adminbapp.getStudents, new
 Responder(onResultInit, onFaultInit));
 
  
 
 public function onResultInit( result : Array ) : void
 
 {
 
 PHPData = result;
 
 }
 
 public function onFaultInit( fault : String ) : void
 
 {
 
 trace( fault );
 
 }
 
  
 
 ### RemotingConnection.as ###
 
  
 
 package org.nevis.cairngorm.business 
 
 {
 
 import flash.net.NetConnection;
 
 import flash.net.ObjectEncoding;
 
 public class RemotingConnection extends NetConnection
 
 {
 
 public function RemotingConnection(
sURL:String )
 
 {
 
 objectEncoding = ObjectEncoding.AMF0;
 
 if (sURL) connect( sURL );
 
 }
 
 public function AppendToGatewayUrl( s :
String ) :
 void
 
 {
 
 //
 
 }
 
 // A améliorer : voir mailinglist amfphp
 
 }
 
 }
 
  
 
 ### END CODE ##
 
  
 
 And I would like to transfer that sample to the cairngorm framework.
 
  
 
 First I thought that I don't need anymore a ServiceLocator, because my
 services are defined in MyService.php, with the methodTable from
AMFPHP. So
 I plan to code only the Business Delegate where I could define each
call to
 the services, like :
 
  
 
 ### CODE ###
 
 package org.nevis.cairngorm.samples.login.business 
 
 {
 
  
 
 // import org.nevis.cairngorm.business.Responder; 
 
 // import org.nevis.cairngorm.business.ServiceLocator;
 
 import org.nevis.cairngorm.business.RemotingConnection;
 
 import org.nevis.cairngorm.samples.login.vo.LoginVO;

[flexcoders] Internal Build Error

2006-03-28 Thread Tim Sawyer
I'm getting An internal build error has occurred. Please check the
Error Log.  The log says:

!ENTRY com.adobe.flexbuilder.project 4 43 2006-03-28 16:28:20.702
!MESSAGE Uncaught exception in compiler
!STACK 0
java.lang.NullPointerException
at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:948)
at
macromedia.asc.parser.MemberExpressionNode.evaluate(MemberExpressionNode.java:31)
at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1606)
at
macromedia.asc.parser.ArgumentListNode.evaluate(ArgumentListNode.java:28)
at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:727)
at
macromedia.asc.parser.SetExpressionNode.evaluate(SetExpressionNode.java:39)
at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1040)
at
macromedia.asc.parser.MemberExpressionNode.evaluate(MemberExpressionNode.java:31)
at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1635)
at macromedia.asc.parser.ListNode.evaluate(ListNode.java:27)
at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1734)
at
macromedia.asc.parser.ExpressionStatementNode.evaluate(ExpressionStatementNode.java:33)
at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1714)
at
macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:34)
at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1786)
at
macromedia.asc.parser.IfStatementNode.evaluate(IfStatementNode.java:34)
at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1714)
at
macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:34)
at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:2220)
at
macromedia.asc.parser.FunctionCommonNode.evaluate(FunctionCommonNode.java:87)
at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:2910)
at
macromedia.asc.parser.ClassDefinitionNode.evaluate(ClassDefinitionNode.java:86)
at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:2655)
at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:63)
at flex2.compiler.as3.Compiler.analyze4(Compiler.java:431)
at flex2.compiler.API.analyze(API.java:1370)
at flex2.compiler.API.analyze(API.java:1283)
at flex2.compiler.API.batchInner(API.java:224)
at flex2.compiler.API.batch(API.java:270)
at flex2.compiler.API.compile(API.java:462)
at
com.adobe.flexbuilder.project.compiler.Compiler.compile(Compiler.java:204)
at
com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.buildApplication(FlexIncrementalBuilder.java:352)
at
com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.java:236)
at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253)
at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282)
at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139)
at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)


Anyone got any pointers?  Or am I down to selectively moving code to a
new project to see which file causes the problem?

This is Beta 2, although a collegue still on Beta 1 has the same issue
with the same code (pre Beta 2 fixes - I've just fixed mine)

ta,

Tim.






--
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/
 




[flexcoders] Re: [Flex 2 beta 2 - Cairngorm 2 - AMFPHP]

2006-03-28 Thread Renaun Erickson
Oriol,

Thanks for you feedback,

This is one of the areas I am also not so sure on.  One way to look at
it is to define it out to 5-8 arguments.  As a general rule of thumb
passing 8 parameters is not a good thing to do.

But I am searching and trying to learn a more elegant way to handle
any arbitrary number of parameters passed in.

Renaun

--- In flexcoders@yahoogroups.com, Oriol Gual [EMAIL PROTECTED] wrote:

 Hi Renaun,
 
 I've been also trying to make an AMFPHPService, quite different than
yours,
 but after looking at your code I've a doubt:
 
 flash_proxy override function callProperty( methodName:*, ...args):* {
 AppUtil.info(passed callProperty);
 if( gateway_conn == null )
 gateway_conn = new RemotingConnection( endpoint );
 
 var respond:ResponderAMF0 = new ResponderAMF0( methodName,
 setQueryResult, setQueryFault );
 AppUtil.info( methodName:  + methodName +  endpoint:  +
 endpoint +  source:  + source + . + methodName.toString() );
 gateway_conn.call( source + . + methodName.toString(),
 respond,
 args[ 0 ], args[ 1 ], args[ 2 ] );
 _methodResponderArray[ methodName ] = respond;
 return respond.getAsyncToken();
 }
 
 I'm also using the ..args parameter, but when sending it to the php
service
 they seem to disappear if I pass the args variable itself, without
using an
 index.
 So my doubt is: using your implementation you can only pass three args,
 can't you? How would you do it if you want to pass more than three args?
 
 Thanks,
 
 Oriol
 
 2006/3/28, Renaun Erickson [EMAIL PROTECTED]:
 
  I have created an example showcasing Flex2 Beta2, Cairngorm2 and
  AMFPHP.  It uses a custom RemoteObjectAMF0 component I created.  The
  custom component allows access to AMF0 format services.  The access
  tries to mimic a subset of what you can do with the Flex 1.5
  RemoteObject.  It does not support all the features of Flex 1.5
  RemoteObject and is first draft code, but it can work nicely in the
  context of Cairngorm's Service.mxml (ServiceLocater) code structure.
 
  The example code is currently in the context of the Cairngorm Login
  example that is found in the Cairngorm 2 download.
 
  Please remember that AMF3 is the newer AS3/Flex2 format and therefore
  the longevity of the custom RemoteObjectAMF0 is unknown.  A few of us
  are hoping to see a AMF0 supported RemoteObject to be part of the
  Flex2.  But in the end it does not matter once Flex2 is released and
  AMF3 gets embraced by a wider adapter/connector base.
 
  You can find the example (as well as another example I created)
  located here:
  http://www.renaun.com/flex2/
 
  Renaun
 
 
  --- In flexcoders@yahoogroups.com, William Lambé wlambe@ wrote:
  
   Hello guys,
  
  
  
   Did someone try to use Cairngom (architectural framework for
flex) with
   AMFPHP ?
  
  
  
   I ask because I don't see clearly (in the sample Cairngorm
Login) how to
 
   change LoginDelegate and Services.mxml to use it with AMFPHP… (for
  exemple
   where to introduce the RemotingConnection of Tweenpix
  
 
(http://www.tweenpix.net/blog/index.php?2006/01/03/543-hello-world-en-amfphp
   -avec-flex20 ))
  
  
  
   If you tried one time, coud you explain us please.
  
  
  
   Thank you,
  
  
  
   William.
  
 
 
 
 
 
 
 
  --
  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
 
 
 
 
 
 
 








--
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/
 




Re: [flexcoders] Internal Build Error

2006-03-28 Thread Michael Schmalle



Hi, 

I wrote a couple lengthy posts on this forum. ;-)

Search for internal build error, you should see some things I have encountered.

Peace, MikeOn 3/28/06, Tim Sawyer [EMAIL PROTECTED] wrote:



I'm getting An internal build error has occurred. Please check the
Error Log. The log says:

!ENTRY com.adobe.flexbuilder.project 4 43 2006-03-28 16:28:20.702
!MESSAGE Uncaught exception in compiler
!STACK 0
java.lang.NullPointerException
 at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:948)
 at
macromedia.asc.parser.MemberExpressionNode.evaluate(MemberExpressionNode.java:31)
 at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1606)
 at
macromedia.asc.parser.ArgumentListNode.evaluate(ArgumentListNode.java:28)
 at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:727)
 at
macromedia.asc.parser.SetExpressionNode.evaluate(SetExpressionNode.java:39)
 at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1040)
 at
macromedia.asc.parser.MemberExpressionNode.evaluate(MemberExpressionNode.java:31)
 at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1635)
 at macromedia.asc.parser.ListNode.evaluate(ListNode.java:27)
 at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1734)
 at
macromedia.asc.parser.ExpressionStatementNode.evaluate(ExpressionStatementNode.java:33)
 at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1714)
 at
macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:34)
 at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1786)
 at
macromedia.asc.parser.IfStatementNode.evaluate(IfStatementNode.java:34)
 at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1714)
 at
macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:34)
 at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:2220)
 at
macromedia.asc.parser.FunctionCommonNode.evaluate(FunctionCommonNode.java:87)
 at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:2910)
 at
macromedia.asc.parser.ClassDefinitionNode.evaluate(ClassDefinitionNode.java:86)
 at
macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:2655)
 at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:63)
 at flex2.compiler.as3.Compiler.analyze4(Compiler.java:431)
 at flex2.compiler.API.analyze(API.java:1370)
 at flex2.compiler.API.analyze(API.java:1283)
 at flex2.compiler.API.batchInner(API.java:224)
 at flex2.compiler.API.batch(API.java:270)
 at flex2.compiler.API.compile(API.java:462)
 at
com.adobe.flexbuilder.project.compiler.Compiler.compile(Compiler.java:204)
 at
com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.buildApplication(FlexIncrementalBuilder.java:352)
 at
com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.java:236)
 at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593)
 at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
 at org.eclipse.core.runtime.Platform.run(Platform.java:783)
 at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168)
 at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
 at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
 at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
 at org.eclipse.core.runtime.Platform.run(Platform.java:783)
 at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
 at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253)
 at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282)
 at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139)
 at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)


Anyone got any pointers? Or am I down to selectively moving code to a
new project to see which file causes the problem?

This is Beta 2, although a collegue still on Beta 1 has the same issue
with the same code (pre Beta 2 fixes - I've just fixed mine)

ta,

Tim.










--
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
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  
  

Re: [flexcoders] Error #1009 Troubleshooting

2006-03-28 Thread Brendan Meutzner



Matt,Yes, this issue is happening with a full framework install.Thanks,BrendanOn 3/28/06, Matt Chotin 
[EMAIL PROTECTED] wrote:
















You're using the full framework
unlike the other thread right? It might be a bug. It looks like maybe the
global style isn't loaded correctly.











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Brendan Meutzner
Sent: Sunday, March 26, 2006 10:15
AM
To: flexcoders@yahoogroups.com
Subject:  [flexcoders] Error #1009
Troubleshooting







Reposting this as it got
buried in a previous post with an inaccurate subject...

Can someone from Adobe shed some light on this type of error? This is
occuring within a repeater that has it's dataProvider dynamically
changed. I've read the description, and have a general understanding of
why this is occurring, but would appreciate it if someone could help me with
troubleshooting it. 

Thanks,

Brendan

[SWF] C:\Inetpub\wwwroot\MyFile\bin\MyFile-debug.swf - 1,191,862
bytes after decompression





TypeError: Error #1009: null has no
properties.



at
mx.styles::StyleManager$/http://www.adobe.com/2006/flex/mx/internal::initProtoChainRoots()[C:\dev\beta2\sdk\frameworks\mx\styles\StyleManager.as:240]


at products.layout::MainGameLayout/http://www.adobe.com/2006/flex/mx/internal::_MainGameLayout_StylesInit()


at
products.layout::MainGameLayout$iinit()[C:\dev\beta2\sdk\frameworks\mx\core\UIComponentDescriptor.as:5]

at containers::ContentContainer$cinit()


at
global$init()[C:\Inetpub\wwwroot\BestBuy\containers\ContentContainer.mxml:15]

at
_containers_ContentContainerWatcherSetupUtil$/init()

at
mx.managers::SystemManager/mx.managers:SystemManager::frameEndHandler()[C:\dev\beta2\sdk\frameworks\mx\managers\SystemManager.as:1830]










--
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
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.

  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
.



  

















--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Flex Beta 2 FormItem

2006-03-28 Thread lancert82
Does someone know how to align the FormItem label to the left?
Now it's aligned to the right nearby the textfield ...

Thx!





--
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/
 





[flexcoders] Flex 1.5 - When IsStructureValid()==False, where to find all the error messages

2006-03-28 Thread Libby
Hello,
I am using IsStructureValid()on my forms with multiple validators. Now
the user would like to log all the validation error messages. After
studying the Flex documentation, I am confuseder than ever. When
multiple validation errors have occurred (after
IsStructureValid()returns false), aren't all the errors accumulated
somewhere where I can get to them, or would I have to poll each
individual validator? 

Thanks,
Libby





--
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/
 





[flexcoders] Re: List Component Bug!!

2006-03-28 Thread Peter Blazejewicz
Hi everyone,

I've ended with boxing items into ObjectProxy that way:

[code]

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* 
creationComplete=initApp();
mx:Script
![CDATA[
import mx.controls.Alert;
import mx.utils.ObjectProxy;
import mx.collections.ArrayCollection;
[Bindable]
private var arrayColl:ArrayCollection;
//
private function initApp():void{
var arr:Array = new Array(10);
for(var i:uint =0;iarr.length;i++){
arr[i] = new ObjectProxy(new 
MyCustomItemVO(peter +i,
blazejewicz +i));
}
arrayColl = new ArrayCollection(arr);
}
]]
/mx:Script
mx:List id=testList width=400 height=300 
dataProvider={arrayColl} labelField=firstName 
itemClick=Alert.show(testList.selectedItem.firstName);/
/mx:Application

package {
public class MyCustomItemVO {
[Bindable]
public var firstName:String;
[Bindable]
public var surname:String;
public function MyCustomItemVO(firstName:String, 
surname:String){
this.firstName = firstName;
this.surname = surname;
}
}
}

but I would welcome something built-in instead of above solution or
using IUUD interface,

regards,
Peter Blazejewicz





--
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/
 




RE: [flexcoders] How to get the XML of a SOAP fault

2006-03-28 Thread Tobias Patton










I should have put it in the subject line
that I am using Flex 2 and FP 8.5.



Is there a way to get the XML using Flex
2 without a proxy?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carson Hager
Sent: Monday, March 27, 2006 5:02
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to
get the XML of a SOAP fault





You simply can't get it unless you use the
proxy. There is no way around this without using FP8.5 and Flex 2. We've been
through this issue thoroughly with support and engineering.





Carson





 
Carson Hager 
Cynergy Systems, Inc. 
http://www.cynergysystems.com

 
Email: [EMAIL PROTECTED] 
Office: 866-CYNERGY 
Mobile:
1.703.489.6466 
 















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tobias Patton
Sent: Monday, March 27, 2006 4:16
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to get
the XML of a SOAP fault

Hello list;



Im trying to extract SOAP exception information in
the fault handler of my web service call. Using tcpflow on my Mac, I can see
the that the raw SOAP response looks like this:



?xml version=1.0
encoding=utf-8?soap:Envelope
xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xmlns:xsd=http://www.w3.org/2001/XMLSchemasoap:Bodysoap:Faultfaultcodesoap:Client/faultcodefaultstringFault
occurred/faultstringfaultactorhttp://galiano.creo.com/App/1.3/Service.asmx/faultactordetailExceptionDetails
d5p1:DetailCode=1636008 xmlns:d5p1=http://www.kodak.com/WPE/Galiano/
xmlns=http://www.kodak.com/WPE/Galiano/ParamFoo/Param/ExceptionDetails/detail/soap:Fault/soap:Body/soap:Envelope



I would like to be able to get the detail node from
the XML stream, but cant find the XML anywhere in the FaultEvent sent to
my event handler. I would have expected to see it in event.message.body, since
this is where it would be in a ResultEvent. However, the debugger shows that
this object, though not null, has no contents. 



Any ideas?


Thanks.
Tobias.



Creo Inc., a subsidiary of Kodak

Tobias Patton | Software Developer | Tel: +1.604.451.2700
ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com 











--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Re: List Component Bug!!

2006-03-28 Thread Lance Linder










I like this idea. Seems a bit
cleaner than having to add IUID interfaces to the VOs just to use them in list
components.



Thanks for the example!











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter Blazejewicz
Sent: Tuesday, March 28, 2006
10:40 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: List
Component Bug!!





Hi everyone,

I've ended with boxing items into
ObjectProxy that way:

[code]

?xml version=1.0
encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
xmlns=* 

creationComplete=initApp();
 mx:Script

 ![CDATA[

  import
mx.controls.Alert;

  import
mx.utils.ObjectProxy;

  import
mx.collections.ArrayCollection;

  [Bindable]

  private var
arrayColl:ArrayCollection;

  //

  private function
initApp():void{

 
 var arr:Array = new Array(10);

 
 for(var i:uint =0;iarr.length;i++){

 
  arr[i] = new
ObjectProxy(new MyCustomItemVO(peter +i,
blazejewicz +i));

 
 }

 
 arrayColl = new ArrayCollection(arr);

  }

 ]]
 /mx:Script
 mx:List
id=testList width=400 height=300 

 dataProvider={arrayColl}
labelField=firstName 


itemClick=Alert.show(testList.selectedItem.firstName);/
/mx:Application

package {
 public class
MyCustomItemVO {

 [Bindable]

 public var firstName:String;

 [Bindable]

 public var surname:String;

 public function MyCustomItemVO(firstName:String,
surname:String){

  this.firstName =
firstName;

  this.surname =
surname;

 }
 }
}

but I would welcome something built-in instead of
above solution or
using IUUD interface,

regards,
Peter Blazejewicz











--
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
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Re: Flex 2: about potential HTTPService timeout/security issues ...

2006-03-28 Thread dos dedos



I believe it boils down to actual experience and not any hypothetical reasoning, even though my reasoning appears to be correct (as far as I can tell)If actual experience has shown that the way Flash is doing it is indeed better and leads to higher market penetration for Flash compared to ActiveX then we may throw the counter argument (not matter how valid it may seem) in favor of the successful track record of the current approach, not that an outsider's argument could change anything so basic.I guess experience always trumps logic ...(self inculcation in progress)dos dedos [EMAIL PROTECTED] wrote:That is the reverse of the common philosophy on this issue. Usually, the end user is "trusted" with the decision because the assumption is that end user is A) not stupid and B) not
 evil.Defending all servers out there against the threat of an attack by all Flash clients (irrespective of their intent) means that all Flash clients are presumed guilty unless the server owner decides that they're not, but it is the end user who is able to judge whether a given Flash client is to be trusted or not. The server owner has no way of knowing because they're not the ones downloading the Flash content, the users are.So if the server owner (e.g. Amazon.com) decides to allow Flash clients to use its API but then they get hacked from a Flash client then they are to blame. And the chance that they would get hacked by a malicious Flash client is higher than the case where the end users get to judge whether a given Flash client can be trusted to exceute or not.Not  trying to be a pain in the butt with my counter argument but I'm trying to probe the status quo to make sure that it makes sense.:)dosRoger Gonzalez
 [EMAIL PROTECTED] wrote:   If I have a server that I want to protect, I don't care  whether your SWF is signed, and I don't care whether you granted it permission,  I don't want you connecting to me.  It doesn't matter what YOU want to approve, it matters what  the SERVER
 wants to approve.  -rg  From: flexcoders@yahoogroups.com[mailto:[EMAIL PROTECTED] On Behalf Of dosdedosSent: Monday, March 27, 2006 8:27 PMTo:flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re:  Flex 2:about "potential" HTTPService timeout/security issues
 ...   In your example the SWF should not be allowed to connect toany server other than the server it was served from! That's bydefault.That is unless it is a SIGNED SWF where the end user may allowor deny it's request to execute with full permissions.If it works forJava and ActiveX it would work equally well for Flash ... I'minterested in understanding why the way it's done in Flash may be better...dosRoger Gonzalez [EMAIL PROTECTED]wrote: You  have the purpose
 backwards. (There's an  entirely different mechanism for what trust you want to grant to a  particular SWF.)  The point is fora server owner to prevent you  from distributing a SWF that canact as a  distributeddenial-of-service attack on a  server.  Consider the case of some web forum that lets you  upload a SWF as an image. Every person who visits the page runs that  SWF. It wou! ld thus be bad if the SWF was allowed to connect to some  site that the SWF author wanted to crash.  Dig it?
  -rg  
From:  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf  Of dos dedosSent: Monday, March 27, 2006 7:58  PMTo: flexcoders@yahoogroups.comSubject: RE:  [flexcoders] Re: Flex 2: about "potential" HTTPService timeout/security  issues ...(I'm still in complaining mode)ActiveX and Javaused applet signing to solve this ...Wouldn't it be better to"respect" the end
 user's right to choose whether or not to trust a givenFlash app to do what it's suppose to do rather than to force the user toinstall crossdomain on their machine ! or force teh sys admin (in case of LAN) to install cross domain inside the LAN? How about somesecurity through democracy?How many times does the average personclick OK on a signed applet or ActiveX permission screen and end upregreting it?dosTed Patrick[EMAIL PROTECTED] wrote:1.  Delegate security to the server side on a domain/subdomain  basis.2. Enable high and low ports access. 3. Prevent  Flash Player from being used as "denial of service" toolset. 
 Crossdomain.xml has really improved things, it was a great addition  to the player at the release of Flash Player 7. I complained about it  but eventually I saw the light.Cheers,Cynergy Systems,   Inc.Theodore PatrickSr.  Consultant[EMAIL PROTECTED]tel: 1.866.CYNERGYhttp://www.cynergysystems.comFrom:  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf  Of dos 

RE: [flexcoders] Flex2 : Menu bug?

2006-03-28 Thread Joan Tan










Thanks, I will log a bug for you. It makes
sense that you shouldnt be able to select a separator. 



Joan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of bhaq1972
Sent: Tuesday, March 28, 2006 1:21
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2 : Menu
bug?





Hi 
Just following on from my previous post. I noticed
a difference in 
the menu behaviour from flex 1.5.
if you have a line separator in your menu. you can
actually select 
it with your mouse. 
This wasn't the case in flex 1.5. I believe the
behaviour in flex 
1.5 is correct, because a line separator is only
meant to visualy 
and logically enhance your menu list.

flex2 and 1.5 examples

Flex2
-
?xml version=1.0?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml

 mx:Script
 ![CDATA[

 import mx.controls.Menu;

 import mx.collections.IList;


 private var myMenu:Menu;


 private function Show():void

 {

  myMenu=
Menu.createMenu
(null,myMenuData,false);

  myMenu.x = 300;

  myMenu.y = 100;

  myMenu.labelField
= @label;

  

  myMenu.show();

 }

 ]]
 /mx:Script

 mx:XML
id=myMenuData format=e4x

menuitem label=MenuItem B/

menuitem label=MenuItem C/

menuitem label=MenuItem D/

menuitem label=MenuItem E/

menuitem type=separator/

menuitem label=MenuItem F/

menuitem label=MenuItem G/
 /mx:XML

 mx:Button
id=mybutton label=Open Menu-Popup
click=Show()/
 
/mx:Application
---
flex 1.5

?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml

 mx:Script
 ![CDATA[


 import mx.controls.Menu;

 var myMenu:Menu;


 function Show()

 {

  myMenu=
Menu.createMenu(panel,myMenuData);

 
  myMenu.x = 300;

  myMenu.y = 100;

  myMenu.show();

 
 

 }

 ]]
 /mx:Script

 
mx:XML id=myMenuData

 menuitem label=MenuItem
1-A /

 menuitem label=MenuItem
2-A /

 menuitem label=MenuItem
1-A /

 menuitem label=MenuItem
2-A /

 menuitem label=MenuItem
1-A /

 menuitem
type=separator /

 menuitem label=MenuItem 2-A
/

 menuitem label=MenuItem
1-A /
 
/mx:XML

 
mx:Button id=mybutton label=Open Menu-Popup 
click=Show()/
  
/mx:Application













--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] FLEX and Open Lazslo Comparision

2006-03-28 Thread Sanjeeb Patel










Hi All,



I am in the process of comparing the two
RIA technologies.

If anyone has done it and can shed some
light, I will really appreciate.



Thanks for your help.

-San









--
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
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











Re: [flexcoders] FLEX and Open Lazslo Comparision

2006-03-28 Thread dos dedos



Esoteric factors affecting market penetration/user adoption/developer market:1. "Flex" has a nicer ring to it than "Open Lazslo"2. Flex ends with "ex" for ecstatic. Lazslo ends with "slo" 3. The combination of "sz" is hard to pronounce and foreign to most people. This may be part of an obscurity theme throughout the platform.I said these were esoteric! I'm sure better qualified responses will follow.:)Sanjeeb Patel [EMAIL PROTECTED] wrote:  Hi All,I am in the process of comparing the two RIA technologies.  If anyone has done it and can shed some light, I will really appreciate.Thanks for your help.  -San 
		New Yahoo! Messenger with Voice. Call regular phones from your PC for low, low rates.





--
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
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Menu Bar Killing me. Can someone help.

2006-03-28 Thread Jeremy Rottman
I just upgraded from Flex 2 Beta 1 to Flex 2 Beta 2. And not my
menubar is dead. It worked great while in flex 2 beta 1.

When I compile my code, it shows the xml code I used to make my menu
bar, instead of my menu bar. I am using the example on the flex
explorer website to do my menu bar. I dont have anything crazy in there.

Here is a screenshot of how it looks now.

http://flex.homesmartagent.com/tmp/menubar.jpg

Here is my code.

menuHandler Function:

function menuHandler(oEvent:Object) {
currentState = oEvent.menuItem.getProperty(data);
}

Menubar Tag:

mx:MenuBar change=menuHandler(event) id=mainMenu  width=100%
height=22 x=1 y=10
mx:dataProvider
mx:XML xmlns=
 menuitem label=Today data=today 
 /menuitem
menuitem label=Contacts data=home 
menuitem label=Add/Edit Outside Agent /
menuitem label=Add/Edit Vendor /
/menuitem
menuitem label=Search data=home 
menuitem label=Listing data=etls /
menuitem label=Sales /
menuitem label=Rentals /
menuitem label=Referrals /
menuitem label=Contacts /
menuitem label=HomeSmart Agents /   
/menuitem
menuitem label=Transactions data=
menuitem label=Add Listing data=ntcl /
menuitem label=Add Sale data=ntcs /
menuitem label=Add Rental data=ntcr /
menuitem label=Add Referral data=ntcrf /
/menuitem
menuitem label=Marketing data=
menuitem label=Lead Manager /
menuitem label=Recruiting Manager /
menuitem label=Mass Email /
menuitem label=Mail Merge /
/menuitem
menuitem label=Education
menuitem label=Video Modules /
menuitem label=Schedule /   
/menuitem
menuitem label=Content   
menuitem label=Downloads
menuitem label=Add/Edit Download Category /
menuitem label=Add/Edit Downloads /
/menuitem  
menuitem label=CMS
menuitem label=Add/Edit News Category /
menuitem label=Add/Edit News /
menuitem label=Smart News /
/menuitem  
menuitem label=Links /  
/menuitem   
menuitem label=Reports
menuitem label=Accounting /
menuitem label=Marketing /
menuitem label=Transactions /
menuitem label=Franchise /  

/menuitem  
menuitem label=Setup   
menuitem label=Company Information
data=compInfo hint=Displays Company Information Screen /
menuitem label=Activity Plans /
menuitem label=Commission Plans /
menuitem label=Preferences /
/menuitem 
menuitem label=Tools
menuitem label=Remote Access /
menuitem label=Cameras /
menuitem label=Video Conference /
menuitem label=Video Email /
/menuitem
/mx:XML
/mx:dataProvider
/mx:MenuBar







--
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/
 




[flexcoders] Re: FLEX and Open Lazslo Comparision

2006-03-28 Thread Renaun Erickson
One big one is everytime Flex comes up with newer components Laslo
either has to mimic them or create their own version.

Another is Laslo is runtime heavy and Flex is compiled.

Renaun

--- In flexcoders@yahoogroups.com, Sanjeeb Patel [EMAIL PROTECTED] wrote:

 Hi All,
 
  
 
  I am in the process of comparing the two RIA technologies.
 
 If anyone has done it and can shed some light, I will really appreciate.
 
  
 
 Thanks for your help.
 
 -San







--
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/
 




RE: [flexcoders] Re: FLEX and Open Lazslo Comparision

2006-03-28 Thread Sanjeeb Patel
Hi Renaun,

I am sorry .. but I did not get what exactly you meant by  Laslo is
runtime heavy and Flex is compiled.

Would you please elaborate ?

Thanks,
-San

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Renaun Erickson
Sent: Tuesday, March 28, 2006 9:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: FLEX and Open Lazslo Comparision

One big one is everytime Flex comes up with newer components Laslo
either has to mimic them or create their own version.

Another is Laslo is runtime heavy and Flex is compiled.

Renaun

--- In flexcoders@yahoogroups.com, Sanjeeb Patel [EMAIL PROTECTED] wrote:

 Hi All,
 
  
 
  I am in the process of comparing the two RIA technologies.
 
 If anyone has done it and can shed some light, I will really
appreciate.
 
  
 
 Thanks for your help.
 
 -San







--
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



 




--
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/
 





Re: [flexcoders] Re: Flex job posting * * * RESUME and Sample Sites Attached

2006-03-28 Thread Tariq Ahmed
Ya if anyone has a job posting just email and I'll hook it up. I'm still 
in the process of enabling anyone to post anything, but between the job, 
kid, wife, commute, and carpal tunnel I wish I had more time!

Some interesting tidbits... CFlex gets about 2500 visitors a day or 19K 
hits/day.

Top Search Referrals include:
- autocomplete combobox
- flex style explorer
- ffmpeg gui
- flex vs ajax
- tcp monitor
- flex autocomplete

 --- Ryan Stewart [EMAIL PROTECTED] wrote:

   
 The best resource I've seen is probably CFlex - http://www.cflex.net/

 They tend to have a pretty good listing and I would assume their traffic is 
 high with flexers.

 -Ryan

 





--
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/
 




[flexcoders] Re: Menu Bar Killing me. Can someone help.

2006-03-28 Thread Peter Blazejewicz
Hello Jeremy,

try to add labelField property declaration,
e.g.:
mx:MenuBar labelField=@label 

to filter data for dataProvider,

hth,
regards,
Peter Blazejewicz





--
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/
 





RE: [flexcoders] Menu Bar Killing me. Can someone help.

2006-03-28 Thread Sönke Rohde
Same problem here. Looks like the behaviour changed or it broke between
beta1/2.

Cheers,
Sönke 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman
 Sent: Tuesday, March 28, 2006 7:44 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Menu Bar Killing me. Can someone help.
 
 I just upgraded from Flex 2 Beta 1 to Flex 2 Beta 2. And not my
 menubar is dead. It worked great while in flex 2 beta 1.
 
 When I compile my code, it shows the xml code I used to make my menu
 bar, instead of my menu bar. I am using the example on the flex
 explorer website to do my menu bar. I dont have anything 
 crazy in there.
 
 Here is a screenshot of how it looks now.
 
 http://flex.homesmartagent.com/tmp/menubar.jpg
 
 Here is my code.
 
 menuHandler Function:
 
 function menuHandler(oEvent:Object) {
 currentState = oEvent.menuItem.getProperty(data);
 }
 
 Menubar Tag:
 
 mx:MenuBar change=menuHandler(event) id=mainMenu  width=100%
 height=22 x=1 y=10
   mx:dataProvider
   mx:XML xmlns=
menuitem label=Today data=today 
  /menuitem
 menuitem label=Contacts data=home 
   menuitem label=Add/Edit Outside Agent /
   menuitem label=Add/Edit Vendor /
 /menuitem
 menuitem label=Search data=home 
   menuitem label=Listing data=etls /
   menuitem label=Sales /
   menuitem label=Rentals /
   menuitem label=Referrals /
   menuitem label=Contacts /
   menuitem label=HomeSmart Agents /   
   
 /menuitem
 menuitem label=Transactions data=
 menuitem label=Add Listing data=ntcl /
   menuitem label=Add Sale data=ntcs /
   menuitem label=Add Rental data=ntcr /
   menuitem label=Add Referral data=ntcrf /
 /menuitem
 menuitem label=Marketing data=
 menuitem label=Lead Manager /
   menuitem label=Recruiting Manager /
   menuitem label=Mass Email /
   menuitem label=Mail Merge /
 /menuitem
 menuitem label=Education
   menuitem label=Video Modules /
   menuitem label=Schedule /   
 /menuitem
 menuitem label=Content

   menuitem label=Downloads
   menuitem label=Add/Edit 
 Download Category /
   menuitem label=Add/Edit Downloads /
   /menuitem  
   menuitem label=CMS
   menuitem label=Add/Edit News 
 Category /
   menuitem label=Add/Edit News /
   menuitem label=Smart News /
   /menuitem  
   menuitem label=Links /  
   
 /menuitem   
 menuitem label=Reports
   menuitem label=Accounting /
   menuitem label=Marketing /
   menuitem label=Transactions /
   menuitem label=Franchise /  
   
 /menuitem  
 menuitem label=Setup  
  
 menuitem label=Company Information
 data=compInfo hint=Displays Company Information Screen /
 menuitem label=Activity Plans /
 menuitem label=Commission Plans /
 menuitem label=Preferences /
 /menuitem 
   menuitem label=Tools
   menuitem label=Remote Access /
   menuitem label=Cameras /
   menuitem label=Video Conference /
   menuitem label=Video Email /
   /menuitem
   /mx:XML
   /mx:dataProvider
 /mx:MenuBar
 
 
 
 
 
 
 
 --
 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
 
 
 
  
 
 
 



--
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 

RE: [flexcoders] Re: Menu Bar Killing me. Can someone help.

2006-03-28 Thread Sönke Rohde
Hi Peter,
In my case this doesn't change anything and all my nodes have a
label-attribute.

Cheers,
Sönke

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Peter Blazejewicz
 Sent: Tuesday, March 28, 2006 8:01 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Menu Bar Killing me. Can someone help.
 
 Hello Jeremy,
 
 try to add labelField property declaration,
 e.g.:
 mx:MenuBar labelField=@label 
 
 to filter data for dataProvider,
 
 hth,
 regards,
 Peter Blazejewicz
 
 
 
 
 
 --
 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
 
 
 
  
 
 
 
 



--
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/
 




[flexcoders] Re: Menu Bar Killing me. Can someone help.

2006-03-28 Thread Peter Blazejewicz
Hi Sönke,

ops, that's not what I ment:
it should be: 

define property showRoot=false

thanx Sönke,

regards,
Peter






--
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/
 




RE: [flexcoders] Re: FLEX and Open Lazslo Comparision

2006-03-28 Thread Bryan Rieger
Hi Renaun,

Actually, I'm quite interested in what you mean by that also?

FWIW - Simple Flex apps seem to be 250k+ while I can spit out a simple
Laszlo swf around 70k.
Of course, the performance does appear to be better in Flex - but I'm
wondering if that's simply not a result of the 8.5 runtime and AS3 - which
OpenLaszlo has yet to implement.

I'm just getting my feet wet with Flex v2, but have been using OL for quite
a while.

Bryan

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Sanjeeb Patel
 Sent: Tuesday, March 28, 2006 9:58 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: FLEX and Open Lazslo Comparision
 
 Hi Renaun,
 
 I am sorry .. but I did not get what exactly you meant by  
 Laslo is runtime heavy and Flex is compiled.
 
 Would you please elaborate ?
 
 Thanks,
 -San
 



--
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/
 





RE: [flexcoders] Re: Menu Bar Killing me. Can someone help.

2006-03-28 Thread Joan Tan
There are known issues in the beta for MenuBar. Here is the text from the known 
issues page on labs:

MenuBar not working with e4x XML dataProvider The MenuBar shows the first 
node's children as the top level instead of showing the entire data structure. 

Issues with MenuBar and inline XML that includes a rootNode MenuBar does not 
display correctly when you use well formatted inline XML that includes a 
rootNode. if you are using inline XML as the dataProvider for your MenuBar, you 
have the following options: 

Do not use a root node for your XML; use showRoot=false and 
labelField=@label 
If you have a root node for your XML, the XML must use format=e4x , your 
dataProvider must include the root (for example, dataProvider={myXML.root}) , 
and you must specify showRoot=false and labelField=@label

http://labs.macromedia.com/wiki/index.php/Flex:Known_Issues

joan

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sönke 
Rohde
Sent: Tuesday, March 28, 2006 10:06 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Menu Bar Killing me. Can someone help.

Hi Peter,
In my case this doesn't change anything and all my nodes have a
label-attribute.

Cheers,
Sönke

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Peter Blazejewicz
 Sent: Tuesday, March 28, 2006 8:01 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Menu Bar Killing me. Can someone help.
 
 Hello Jeremy,
 
 try to add labelField property declaration,
 e.g.:
 mx:MenuBar labelField=@label 
 
 to filter data for dataProvider,
 
 hth,
 regards,
 Peter Blazejewicz
 
 
 
 
 
 --
 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
 
 
 
  
 
 
 
 



--
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



 




--
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/
 




[flexcoders] Re: FLEX and Open Lazslo Comparision

2006-03-28 Thread Renaun Erickson
I might be wrong, but I though Laslo parses their language at runtime
(in the SWF) instead of compiling the code into SWFs?

Renaun

--- In flexcoders@yahoogroups.com, Sanjeeb Patel [EMAIL PROTECTED] wrote:

 Hi Renaun,
 
 I am sorry .. but I did not get what exactly you meant by  Laslo is
 runtime heavy and Flex is compiled.
 
 Would you please elaborate ?
 
 Thanks,
 -San
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Renaun Erickson
 Sent: Tuesday, March 28, 2006 9:47 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: FLEX and Open Lazslo Comparision
 
 One big one is everytime Flex comes up with newer components Laslo
 either has to mimic them or create their own version.
 
 Another is Laslo is runtime heavy and Flex is compiled.
 
 Renaun
 
 --- In flexcoders@yahoogroups.com, Sanjeeb Patel spatel@ wrote:
 
  Hi All,
  
   
  
   I am in the process of comparing the two RIA technologies.
  
  If anyone has done it and can shed some light, I will really
 appreciate.
  
   
  
  Thanks for your help.
  
  -San
 
 
 
 
 
 
 
 --
 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








--
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/
 





[flexcoders] Re: Menu Bar Killing me. Can someone help.

2006-03-28 Thread Jeremy Rottman
Joan, I added what you said, and it now formats my bar correctly to
the menubar. But now my menuhandler function no longer works. It is
setup that that it changes the states when a child menuitem is
selected. Any idea why this wont work now.

function menuHandler(oEvent:Object) {
currentState = oEvent.menuItem.getProperty(data);
}



--- In flexcoders@yahoogroups.com, Joan Tan [EMAIL PROTECTED] wrote:

 There are known issues in the beta for MenuBar. Here is the text
from the known issues page on labs:
 
 MenuBar not working with e4x XML dataProvider The MenuBar shows the
first node's children as the top level instead of showing the entire
data structure. 
 
 Issues with MenuBar and inline XML that includes a rootNode MenuBar
does not display correctly when you use well formatted inline XML that
includes a rootNode. if you are using inline XML as the dataProvider
for your MenuBar, you have the following options: 
 
 Do not use a root node for your XML; use showRoot=false and
labelField=@label 
 If you have a root node for your XML, the XML must use format=e4x
, your dataProvider must include the root (for example,
dataProvider={myXML.root}) , and you must specify showRoot=false
and labelField=@label
 
 http://labs.macromedia.com/wiki/index.php/Flex:Known_Issues
 
 joan
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Sönke Rohde
 Sent: Tuesday, March 28, 2006 10:06 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: Menu Bar Killing me. Can someone help.
 
 Hi Peter,
 In my case this doesn't change anything and all my nodes have a
 label-attribute.
 
 Cheers,
 Sönke
 
  -Original Message-
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Peter Blazejewicz
  Sent: Tuesday, March 28, 2006 8:01 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Menu Bar Killing me. Can someone help.
  
  Hello Jeremy,
  
  try to add labelField property declaration,
  e.g.:
  mx:MenuBar labelField=@label 
  
  to filter data for dataProvider,
  
  hth,
  regards,
  Peter Blazejewicz
  
  
  
  
  
  --
  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
  
  
  
   
  
  
  
  
 
 
 
 --
 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








--
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/
 





[flexcoders] Re: FLEX and Open Lazslo Comparision

2006-03-28 Thread Renaun Erickson
The size has to do with all the Flex Framework components, yes its
bigger but a richer set of components.

Even if Laslo did a lot of interperting at the runtime level it could
still have decent performance, I assume its not a problem as Laslo is
viable.

The richness of Flex Framework is not to be over looked though.  They
will only keep bringing out more and more components.

Renaun

--- In flexcoders@yahoogroups.com, Bryan Rieger [EMAIL PROTECTED]
wrote:

 Hi Renaun,
 
 Actually, I'm quite interested in what you mean by that also?
 
 FWIW - Simple Flex apps seem to be 250k+ while I can spit out a simple
 Laszlo swf around 70k.
 Of course, the performance does appear to be better in Flex - but I'm
 wondering if that's simply not a result of the 8.5 runtime and AS3 -
which
 OpenLaszlo has yet to implement.
 
 I'm just getting my feet wet with Flex v2, but have been using OL
for quite
 a while.
 
 Bryan
 
  -Original Message-
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Sanjeeb Patel
  Sent: Tuesday, March 28, 2006 9:58 AM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] Re: FLEX and Open Lazslo Comparision
  
  Hi Renaun,
  
  I am sorry .. but I did not get what exactly you meant by  
  Laslo is runtime heavy and Flex is compiled.
  
  Would you please elaborate ?
  
  Thanks,
  -San
 







--
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/
 




RE: [flexcoders] Flex 2: passing XML string via ExternalInterface produces unterminated string

2006-03-28 Thread Matt Chotin
This stuff should work.  Can you try running through the XML and
removing the \r\n so that you only have \n (which ideally you'd reduce
down as well).

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nathan W. Phelps
Sent: Friday, March 24, 2006 12:12 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2: passing XML string via ExternalInterface
produces unterminated string

I'm trying to pass an XML string to the hosting page via 
ExternalInterface.call, however, before I even get into my 
JavaScript function, I'm encountering an unterminated string 
constant error.

Here is the flow of events:

An HTTPService requests an XML file on the server, the 
ResultEvent.result is passed as an argument via a call to 
flash.external.ExternalInterface.call() method.

When I debug the script in the browser, the breakpoint in my 
function is never reached due to the unterminated string constant 
error so I surmise this is occurring in the ExternalInterface 
produced JavaScript.  I have tried changing the resultFormat on the 
HTTPService to text, e4x, and object all which produce this same 
error.  If I change the resultFormat to XML, then I don't get the 
error and I do hit my breakpoint, but I can't seem to get anything 
from the object passed to me.  None of the methods or properties of 
XMLNode seem to produce anything--nor does toString().







--
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



 




--
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/
 





[flexcoders] Beta 2 - RSS reader

2006-03-28 Thread Howard, Dave
Has anyone or is there an example of an RSS reader application?

Thanks in advance



--
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/
 




RE: [flexcoders] Flex 2 Beta 2 - Bug with mx.controls.TextInput restrict Property

2006-03-28 Thread Gordon Smith










Sorry, Harald. I must need new glasses.
Thanks for pointing out the right solution, Philippe.



A \ in a string literal is always treated
as an escape character, so you have to write \\- in order to set
the 'restrict' property to backslash + minus, which the TextField in the TextInput
then interprets as meaning allow a minus sign.



- Gordon











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Philippe Maegerman
Sent: Tuesday, March 28, 2006 4:04
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 2
Beta 2 - Bug with mx.controls.TextInput restrict Property





TI.restrict = '0-9\\-'



Pim









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Harald Dehn
Sent: mardi 28 mars 2006 10:18
To: flexcoders@yahoogroups.com
Subject: AW: [flexcoders] Flex 2
Beta 2 - Bug with mx.controls.TextInput restrict Property

Hello Gordon,



Please look at the example: TextInput.restrict
= 0-9 ,.\- There is a backslash
before the minus sign, but it doesnt work.



Harry















Von: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Im Auftrag von Gordon Smith
Gesendet: Dienstag, 28. März 2006
09:04
An: flexcoders@yahoogroups.com
Betreff: RE: [flexcoders] Flex 2
Beta 2 - Bug with mx.controls.TextInput restrict Property





No; 'restrict' specifies what is accepted,
not what is rejected.



The problem is that the minus sign (a.k.a.
hyphen) is a metacharacter: look at how you're using it in 0-9 to mean 0
through 9. So you have to escape it by preceding it with a
backslash.



- Gordon











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt
 Chotin
Sent: Monday, March 27, 2006 10:48
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 2
Beta 2 - Bug with mx.controls.TextInput restrict Property





Well youre including the minus
character in your restrict. So it shouldnt allow negative numbers.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Harald Dehn
Sent: Saturday, March 25, 2006
6:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2 Beta
2 - Bug with mx.controls.TextInput restrict Property





Hello



I try to restrict the input of a TextInput Control with the
following line:



TextInput.restrict =
0-9 ,.\- + _CurrencySymbol;



Unfortuneally I cant enter negative numbers in the
box (it dont accept the minus character). This example worked fine with
the alpha version of Flex, I already reported the bug for the beta 1 version.



Harry















--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Message destinations in the context of a multi-room chat app

2006-03-28 Thread Tom Bray
I've been trying to understand how to configure destinations in the
context of a multi-room chat application where the rooms are
dynamically created.  Here's the scenario:

The application loads a configuration file that specifies what rooms
to create.  In this case, let's say that list includes the rooms
Lobby, Sales, and Support.  In additon to these dynamically created
rooms, individual users can create new rooms from within the
application.

My first thought was that each room would be a message destination
(topic), but it doesn't appear that destinations can be dynamically
created.  Then I thought I'd have a single destination but use
selectors on the consumer component to determine which room's messages
should be displayed in the chat output area, but that would mean that
all messages for all rooms would go to all clients whether they were
in that room or not.

How would you handle this?

I'm coming at this from the perspective of a Flash Communication
Server developer and I'm trying to figure out if what I've done in FCS
can be replicated or, hopefully, surpassed with FDS.

Thanks,

Tom


--
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/
 




RE: [flexcoders] How to get the XML of a SOAP fault

2006-03-28 Thread Ted Patrick
Tobias,

ADOBE PLEASE CHANGE THIS!

The problem is in Flash Player Networking. When an HTTP STATUS 500 occurs Flash 
cannot read the data from the HTTP response and thus cannot parse fault 
information. The Flex Services Proxy, flips the HTTP STATUS from a 500 to a 200 
so that Flex can process the data correctly.

When a SOAP fault occurs, it returns an HTTP STATUS of 500 according to the 
SOAP STANDARD. When Flash receives a 500, networking throws an onError event 
with no data. The data associated with the error is not read/parsed and thus 
you cannot get to the error information. This severely truncates the 
functionality of using Web Services without the proxy as all WebServices calls 
must return 200 so that the result can be parsed by Flash.

This needs to be changed in the Flash 8.5 generation player. This silly error 
forces all WebService and HTTPService implementations that need to process HTTP 
STATUS  200 to fail.

ADOBE PLEASE CHANGE THIS!

Cynergy Systems, Inc.
Theodore Patrick
Sr. Consultant
[EMAIL PROTECTED]
tel: 1.866.CYNERGY
http://www.cynergysystems.com


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tobias 
Patton
Sent: Tuesday, March 28, 2006 11:43 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to get the XML of a SOAP fault

I should have put it in the subject line that I am using Flex 2 and FP 8.5.

Is there a way to get the XML  using Flex 2 without a proxy?


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006
 


--
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/
 




RE: [flexcoders] How to get the XML of a SOAP fault

2006-03-28 Thread Matt Chotin
This is due to the browser plugin APIs not exposing what we need.  We have 
tried without end to get the Player team to support and they have their hands 
tied by what the APIs they use can offer.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ted 
Patrick
Sent: Tuesday, March 28, 2006 11:37 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to get the XML of a SOAP fault
Importance: High

Tobias,

ADOBE PLEASE CHANGE THIS!

The problem is in Flash Player Networking. When an HTTP STATUS 500 occurs Flash 
cannot read the data from the HTTP response and thus cannot parse fault 
information. The Flex Services Proxy, flips the HTTP STATUS from a 500 to a 200 
so that Flex can process the data correctly.

When a SOAP fault occurs, it returns an HTTP STATUS of 500 according to the 
SOAP STANDARD. When Flash receives a 500, networking throws an onError event 
with no data. The data associated with the error is not read/parsed and thus 
you cannot get to the error information. This severely truncates the 
functionality of using Web Services without the proxy as all WebServices calls 
must return 200 so that the result can be parsed by Flash.

This needs to be changed in the Flash 8.5 generation player. This silly error 
forces all WebService and HTTPService implementations that need to process HTTP 
STATUS  200 to fail.

ADOBE PLEASE CHANGE THIS!

Cynergy Systems, Inc.
Theodore Patrick
Sr. Consultant
[EMAIL PROTECTED]
tel: 1.866.CYNERGY
http://www.cynergysystems.com


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tobias 
Patton
Sent: Tuesday, March 28, 2006 11:43 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to get the XML of a SOAP fault

I should have put it in the subject line that I am using Flex 2 and FP 8.5.

Is there a way to get the XML  using Flex 2 without a proxy?


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006
 


--
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



 




--
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/
 




RE: [flexcoders] How to get the XML of a SOAP fault

2006-03-28 Thread Carson Hager
Ted,

Have you confirmed this is still happening in 8.5?  I was assured by 
engineering and product management that this would be addressed in 8.5. Please 
make sure you have tested with the latest flash player.


Thanks,

C


 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ted 
Patrick
Sent: Tuesday, March 28, 2006 11:37 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to get the XML of a SOAP fault
Importance: High

Tobias,

ADOBE PLEASE CHANGE THIS!

The problem is in Flash Player Networking. When an HTTP STATUS 500 occurs Flash 
cannot read the data from the HTTP response and thus cannot parse fault 
information. The Flex Services Proxy, flips the HTTP STATUS from a 500 to a 200 
so that Flex can process the data correctly.

When a SOAP fault occurs, it returns an HTTP STATUS of 500 according to the 
SOAP STANDARD. When Flash receives a 500, networking throws an onError event 
with no data. The data associated with the error is not read/parsed and thus 
you cannot get to the error information. This severely truncates the 
functionality of using Web Services without the proxy as all WebServices calls 
must return 200 so that the result can be parsed by Flash.

This needs to be changed in the Flash 8.5 generation player. This silly error 
forces all WebService and HTTPService implementations that need to process HTTP 
STATUS  200 to fail.

ADOBE PLEASE CHANGE THIS!

Cynergy Systems, Inc.
Theodore Patrick
Sr. Consultant
[EMAIL PROTECTED]
tel: 1.866.CYNERGY
http://www.cynergysystems.com


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tobias 
Patton
Sent: Tuesday, March 28, 2006 11:43 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to get the XML of a SOAP fault

I should have put it in the subject line that I am using Flex 2 and FP 8.5.

Is there a way to get the XML  using Flex 2 without a proxy?


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006
 


--
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



 




--
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/
 




[flexcoders] databinding issue for combobox

2006-03-28 Thread rgwilson26
I am working on an app where I am populating various combo boxes with 
results from my look up tables in a sql server database. I have no 
problem binding the results to the comboboxes dataProvider property. 
However, when I try to send the results from the combobox to a datagrid 
it populates the datagrid field with [object Object] instead of the 
selected item value. 

I can call a query and populate a datagrid directly and it doesn't seem 
to be an issue, so I am a little confused as to why it is a problem 
going from a combobox to a datagrid?

Any suggestions?







--
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/
 




RE: [flexcoders] Re: FLEX and Open Lazslo Comparision

2006-03-28 Thread Bryan Rieger
 Hi Renaun,

 I might be wrong, but I though Laslo parses their language at 
 runtime (in the SWF) instead of compiling the code into SWFs?

Nope. AFAIK it's compiled to bytecode - but there is a base framework that
is included within the bytecode, so there might be some overhead there as
they mediate between LZX ideas and SWF spec.

 The size has to do with all the Flex Framework components, 
 yes its bigger but a richer set of components.

Does it happen to remove the unused components? What if I'm only using one
button - does Flex include all components?
Laszlo has a basic framework that's included, and components are added as
required (at compile) time. I believe they're also working on ways to use
shared runtime libraries/frameworks so it'll be possible to include apps
that don't include the framework, instead reuse the libs supplied in the
container application - makes it easier to break your apps into smaller,
reuseable modules.

 The richness of Flex Framework is not to be over looked 
 though.  They will only keep bringing out more and more components.

That's why I'm here - I'm very interested in learning more about Flex. The
one thing that makes me uneasy about OL is the fact that they don't control
their target runtime, and as such will always be playing catch-up. Not to
say that they can't be extremely innovative, but at the end of the day Adobe
does control the Flash platform and they are definitely in the best position
to offer developers the best tools and experiences moving forward. As soon
as Adobe announced that the Flex 2 framework would be free I couldn't
justify not taking a serious look at Flex.

Lastly, a side note - I'm also REALLY interested in how Flex (or OpenLaszlo)
view publishing to other platforms - specifically mobile and devices. With
Flash Lite 2 we're getting closer to a runtime that Flex or OL could
theoretically publish to. FWIW - OL does somewhat publish to Flash Lite 2
already - although I wouldn't even begin to think of deploying a real mobile
application with it yet.

http://weblog.openlaszlo.org/archives/2006/02/openlaszlo-running-on-a-cell-p
hone/

Sincerely,

Bryan




--
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/
 




RE: [flexcoders] RE: ExternalInterface and IFrame

2006-03-28 Thread Battershall, Jeff
Tony,

I was able to re-create the behavior you've noted, but was able to get
the disappearing Iframe to stop in IE when I added wmode=opaque to the
name-value pairs being passed to AC_FL_RunContent in
index.template.html.

Jeff

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tony Pujals
Sent: Sunday, March 26, 2006 10:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] RE: ExternalInterface and IFrame


I want to follow up and mention that I'm aware FileRerence before I get
a lot of suggestions to use it ;-), but I had other reasons why I wanted
to create a form within an iframe.

In any case, I'm particularly intrigued by the idea of displaying
content in an iframe managed by an mxml component, as C. Conraets  B.
Deitte have demonstrated in their articles. What I did have working of
my page preview inside of a panel looked pretty awesome -- but for now I
have to live with opening a separate browser window.

I also forgot to mention that the FireFox version does occasionally
display the iframe -- flickering like it's updating umpteen times per
second.

 


-Original Message-
From: Tony Pujals 
Sent: Sunday, March 26, 2006 7:10 PM
To: 'flexcoders@yahoogroups.com'
Subject: ExternalInterface and IFrame

I wanted to create an dialog as an html form in an iframe rather than
opening a separate browser window for uploading image files. I also
wanted to create an html page preview using an iframe as well.

I spent an entire Sunday working at this and none of my efforts have
succeeded satisfactorily. I researched the web and came across Crostophe
Coenrats' article, and after modifying it for Flex 2 / AS3, I still
didn't get no satisfaction. A little more research and I found Brian
Deitte's update for AS3 as well and tried his solution, and still no
joy. I tried every variation I could think of, working with fscommand,
navigateToURL, and of course, ExternalInterface.

It appears that it doesn't matter which strategy you use. In all cases,
I came close to achieving what I wanted. The problem even in the
simplest case is that clicking in the iframe, then clicking outside of
it, causes the iframe to disappear until something causes the iframe to
refresh with IE, and nada for FireFox (I'm using IE 6 and FireFox
1.5.0.1 on Windows XP SP2, and of course, Flash 8.5).

Here's a distilled set of the code primarily based on Conraets/Deitte's
work:


Test.mxml
=
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute

  mx:HBox
mx:Text text=http://; /
mx:TextInput id=uri text=www.adobe.com/ /
mx:Button label=Go click=go() /
  /mx:HBox

  mx:Script
![CDATA[
  import flash.external.ExternalInterface;

  function go(): void {
if (!ExternalInterface.available) {
  trace(ExternalInterface not available);
  return;
}

if (uri.text) {
  ExternalInterface.call(loadIFrame, testFrame, http://; +
uri.text);
  ExternalInterface.call(moveIFrame, testFrame, 20, 60, 400,
500);
  ExternalInterface.call(showIFrame, testFrame);
}
  }
]]
  /mx:Script
/mx:Application



iframe.js
=
function loadIFrame(id, uri) {
var f = document.getElementById(id);
f.style.left = 20;
f.style.top = 80;
f.width = 400;
f.height = 400;
f.style.visibility = visible;
top.frames[testFrame].location.href = uri;
// alert(loadIFrame:  + id + ,  + uri);
}

function showIFrame(id){
document.getElementById(id).style.visibility=visible;
// alert(showIFrame:  + id);
}

function hideIFrame(){
document.getElementById(id).style.visibility=hidden;
// alert(hideIFrame:  + id);
}

function moveIFrame(id, x, y, w, h) {
var frameRef=document.getElementById(id);
frameRef.style.left = x;
frameRef.style.top = y;
frameRef.width = w;
frameRef.height = h;
// alert(moveIFrame:  + id +  ( + x + ,  + y + width + ,  +
height + )); }

// Ex: type in browser url bar:
// javascript:testIFrame(testFrame, http://www.cnn.com;) function
testIFrame(id, uri) {
var f = document.getElementById(id);
f.style.left = 10;
f.style.top = 10;
f.width = 400;
f.height = 400;
f.style.visibility = visible;
top.frames[testFrame].location.href = uri;
}




In the HTML wrapper (I modified html-template/index.template.html)
===
(In the head element)

script src=iframe.js language=javascript/script


(At the end of the body element)

iframe id=testFrame name=testFrame
frameborder=0

style=position:absolute;background-color:transparent;border:0px;visibil
ity:visible;
/iframe






The javascript testIFrame function is there just to demonstrate that
even with a completely empty application, like this...

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
/mx:Application

...after you load the 

RE: [flexcoders] Re: Menu Bar Killing me. Can someone help.

2006-03-28 Thread Joan Tan
Try oEvent.menuItem.data instead of the getProperty syntax. 

Joan

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy 
Rottman
Sent: Tuesday, March 28, 2006 10:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Menu Bar Killing me. Can someone help.

Joan, I added what you said, and it now formats my bar correctly to
the menubar. But now my menuhandler function no longer works. It is
setup that that it changes the states when a child menuitem is
selected. Any idea why this wont work now.

function menuHandler(oEvent:Object) {
currentState = oEvent.menuItem.getProperty(data);
}



--- In flexcoders@yahoogroups.com, Joan Tan [EMAIL PROTECTED] wrote:

 There are known issues in the beta for MenuBar. Here is the text
from the known issues page on labs:
 
 MenuBar not working with e4x XML dataProvider The MenuBar shows the
first node's children as the top level instead of showing the entire
data structure. 
 
 Issues with MenuBar and inline XML that includes a rootNode MenuBar
does not display correctly when you use well formatted inline XML that
includes a rootNode. if you are using inline XML as the dataProvider
for your MenuBar, you have the following options: 
 
 Do not use a root node for your XML; use showRoot=false and
labelField=@label 
 If you have a root node for your XML, the XML must use format=e4x
, your dataProvider must include the root (for example,
dataProvider={myXML.root}) , and you must specify showRoot=false
and labelField=@label
 
 http://labs.macromedia.com/wiki/index.php/Flex:Known_Issues
 
 joan
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Sönke Rohde
 Sent: Tuesday, March 28, 2006 10:06 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: Menu Bar Killing me. Can someone help.
 
 Hi Peter,
 In my case this doesn't change anything and all my nodes have a
 label-attribute.
 
 Cheers,
 Sönke
 
  -Original Message-
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Peter Blazejewicz
  Sent: Tuesday, March 28, 2006 8:01 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Menu Bar Killing me. Can someone help.
  
  Hello Jeremy,
  
  try to add labelField property declaration,
  e.g.:
  mx:MenuBar labelField=@label 
  
  to filter data for dataProvider,
  
  hth,
  regards,
  Peter Blazejewicz
  
  
  
  
  
  --
  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
  
  
  
   
  
  
  
  
 
 
 
 --
 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








--
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



 





--
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/
 




RE: [flexcoders] How to get the XML of a SOAP fault

2006-03-28 Thread Matt Chotin
It is addressed where possible.  I will check again to see what we can offer 
but even if we get 500 we are not able to get the content that came with it so 
we won't have the details.  And it may work inconsistently across browsers.

I have also made this statement before.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson 
Hager
Sent: Tuesday, March 28, 2006 11:43 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to get the XML of a SOAP fault

Ted,

Have you confirmed this is still happening in 8.5?  I was assured by 
engineering and product management that this would be addressed in 8.5. Please 
make sure you have tested with the latest flash player.


Thanks,

C


 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ted 
Patrick
Sent: Tuesday, March 28, 2006 11:37 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to get the XML of a SOAP fault
Importance: High

Tobias,

ADOBE PLEASE CHANGE THIS!

The problem is in Flash Player Networking. When an HTTP STATUS 500 occurs Flash 
cannot read the data from the HTTP response and thus cannot parse fault 
information. The Flex Services Proxy, flips the HTTP STATUS from a 500 to a 200 
so that Flex can process the data correctly.

When a SOAP fault occurs, it returns an HTTP STATUS of 500 according to the 
SOAP STANDARD. When Flash receives a 500, networking throws an onError event 
with no data. The data associated with the error is not read/parsed and thus 
you cannot get to the error information. This severely truncates the 
functionality of using Web Services without the proxy as all WebServices calls 
must return 200 so that the result can be parsed by Flash.

This needs to be changed in the Flash 8.5 generation player. This silly error 
forces all WebService and HTTPService implementations that need to process HTTP 
STATUS  200 to fail.

ADOBE PLEASE CHANGE THIS!

Cynergy Systems, Inc.
Theodore Patrick
Sr. Consultant
[EMAIL PROTECTED]
tel: 1.866.CYNERGY
http://www.cynergysystems.com


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tobias 
Patton
Sent: Tuesday, March 28, 2006 11:43 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to get the XML of a SOAP fault

I should have put it in the subject line that I am using Flex 2 and FP 8.5.

Is there a way to get the XML  using Flex 2 without a proxy?


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006
 


--
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



 




--
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



 




--
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/
 




[flexcoders] syntax for query call in a cfc

2006-03-28 Thread rgwilson26
I am wondering is anyone can help me on the sytna for a not equal to 
value using a cfc? I wrote this query in sql server and it works fine, 
but my cfc doesnt like the '' for not equal to. Does anyone know the 
correct way to write this?

Thanks,

***my query

SELECT  OptionValue
FROMdbo.OptionLOV
WHERE   (OptionType = 'CostCat') AND (OptionValue  'Total')





--
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/
 




RE: [flexcoders] How to get the XML of a SOAP fault

2006-03-28 Thread Ted Patrick
Carson,

I need to run the testing for 8.5 again on Flex 2 Builder Beta2 on the 3/16 
release but I am 99% sure it is still broken.

Cynergy Systems, Inc.
Theodore Patrick
Sr. Consultant
[EMAIL PROTECTED]
tel: 1.866.CYNERGY
http://www.cynergysystems.com



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson 
Hager
Sent: Tuesday, March 28, 2006 2:43 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to get the XML of a SOAP fault

Ted,

Have you confirmed this is still happening in 8.5?  I was assured by 
engineering and product management that this would be addressed in 8.5. Please 
make sure you have tested with the latest flash player.


Thanks,

C



Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ted 
Patrick
Sent: Tuesday, March 28, 2006 11:37 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to get the XML of a SOAP fault
Importance: High

Tobias,

ADOBE PLEASE CHANGE THIS!

The problem is in Flash Player Networking. When an HTTP STATUS 500 occurs Flash 
cannot read the data from the HTTP response and thus cannot parse fault 
information. The Flex Services Proxy, flips the HTTP STATUS from a 500 to a 200 
so that Flex can process the data correctly.

When a SOAP fault occurs, it returns an HTTP STATUS of 500 according to the 
SOAP STANDARD. When Flash receives a 500, networking throws an onError event 
with no data. The data associated with the error is not read/parsed and thus 
you cannot get to the error information. This severely truncates the 
functionality of using Web Services without the proxy as all WebServices calls 
must return 200 so that the result can be parsed by Flash.

This needs to be changed in the Flash 8.5 generation player. This silly error 
forces all WebService and HTTPService implementations that need to process HTTP 
STATUS  200 to fail.

ADOBE PLEASE CHANGE THIS!

Cynergy Systems, Inc.
Theodore Patrick
Sr. Consultant
[EMAIL PROTECTED]
tel: 1.866.CYNERGY
http://www.cynergysystems.com


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tobias 
Patton
Sent: Tuesday, March 28, 2006 11:43 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to get the XML of a SOAP fault

I should have put it in the subject line that I am using Flex 2 and FP 8.5.

Is there a way to get the XML  using Flex 2 without a proxy?


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006



--
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








--
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 

*  Visit your group flexcoders on the web.
  
*  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
*  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006
 


--
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/
 





[flexcoders] Re: FLEX and Open Lazslo Comparision

2006-03-28 Thread Renaun Erickson
Thanks for the clarification.

It does only include what you use but just creating a Flex application
requires a big chunk of components.  

I agree with the not in control of their runtime and playing
catch-up.  Price used to be the biggest issue but that has gone a
way with Flex2.

Flash Lite 2 supports a subset of FP7 features but does not have the
flex framework so its not viable yet.  With OpenLaslo being specific
they could probably come out with a version to work with Flash Lite2
sooner, but as mobile devices progress this will all change.

Renaun

--- In flexcoders@yahoogroups.com, Bryan Rieger [EMAIL PROTECTED]
wrote:

  Hi Renaun,
 
  I might be wrong, but I though Laslo parses their language at 
  runtime (in the SWF) instead of compiling the code into SWFs?
 
 Nope. AFAIK it's compiled to bytecode - but there is a base
framework that
 is included within the bytecode, so there might be some overhead
there as
 they mediate between LZX ideas and SWF spec.
 
  The size has to do with all the Flex Framework components, 
  yes its bigger but a richer set of components.
 
 Does it happen to remove the unused components? What if I'm only
using one
 button - does Flex include all components?
 Laszlo has a basic framework that's included, and components are
added as
 required (at compile) time. I believe they're also working on ways
to use
 shared runtime libraries/frameworks so it'll be possible to include apps
 that don't include the framework, instead reuse the libs supplied in the
 container application - makes it easier to break your apps into smaller,
 reuseable modules.
 
  The richness of Flex Framework is not to be over looked 
  though.  They will only keep bringing out more and more components.
 
 That's why I'm here - I'm very interested in learning more about
Flex. The
 one thing that makes me uneasy about OL is the fact that they don't
control
 their target runtime, and as such will always be playing catch-up.
Not to
 say that they can't be extremely innovative, but at the end of the
day Adobe
 does control the Flash platform and they are definitely in the best
position
 to offer developers the best tools and experiences moving forward.
As soon
 as Adobe announced that the Flex 2 framework would be free I couldn't
 justify not taking a serious look at Flex.
 
 Lastly, a side note - I'm also REALLY interested in how Flex (or
OpenLaszlo)
 view publishing to other platforms - specifically mobile and
devices. With
 Flash Lite 2 we're getting closer to a runtime that Flex or OL could
 theoretically publish to. FWIW - OL does somewhat publish to Flash
Lite 2
 already - although I wouldn't even begin to think of deploying a
real mobile
 application with it yet.
 

http://weblog.openlaszlo.org/archives/2006/02/openlaszlo-running-on-a-cell-p
 hone/
 
 Sincerely,
 
 Bryan







--
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/
 




RE: [flexcoders] Re: [Flex 2 beta 2 - Cairngorm 2 - AMFPHP]

2006-03-28 Thread William Lambé










Hi, 



I am trying to run your sample, but I
always have this error, and I dont find how: 



ReferenceError: Error #1069: Property
dummyDelegate not found on org.nevis.cairngorm.business.ServiceLocator and
there is no default value



Do you know how to correct that? (I
really changed nothing to your source only in Services.mxml endpoint and source)



Thanks, 



William.











De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] De la part de Renaun Erickson
Envoyé: mardi 28 mars 2006
17:37
À: flexcoders@yahoogroups.com
Objet: [flexcoders] Re:
[Flex 2 beta 2 - Cairngorm 2 - AMFPHP]





Oriol,

Thanks for you feedback,

This is one of the areas I am also not so sure
on. One way to look at
it is to define it out to 5-8 arguments. As
a general rule of thumb
passing 8 parameters is not a good thing to do.

But I am searching and trying to learn a more
elegant way to handle
any arbitrary number of parameters passed in.

Renaun

--- In flexcoders@yahoogroups.com,
Oriol Gual [EMAIL PROTECTED] wrote:

 Hi Renaun,
 
 I've been also trying to make an AMFPHPService,
quite different than
yours,
 but after looking at your code I've a doubt:
 
 flash_proxy override function callProperty(
methodName:*, ...args):* {

AppUtil.info(passed callProperty);

if( gateway_conn == null )

gateway_conn = new RemotingConnection( endpoint );
 

var respond:ResponderAMF0 = new ResponderAMF0( methodName,
 setQueryResult, setQueryFault );

AppUtil.info( methodName:  + methodName +  endpoint:  +
 endpoint +  source:  + source +
. + methodName.toString() );

gateway_conn.call( source + . + methodName.toString(),

respond,

args[ 0 ], args[ 1 ], args[ 2 ] );

_methodResponderArray[ methodName ] = respond;

return respond.getAsyncToken();
 }
 
 I'm also using the ..args parameter, but when
sending it to the php
service
 they seem to disappear if I pass the args
variable itself, without
using an
 index.
 So my doubt is: using your implementation you
can only pass three args,
 can't you? How would you do it if you want to
pass more than three args?
 
 Thanks,
 
 Oriol
 
 2006/3/28, Renaun Erickson
[EMAIL PROTECTED]:
 
  I have created an example showcasing
Flex2 Beta2, Cairngorm2 and
  AMFPHP. It uses a custom
RemoteObjectAMF0 component I created. The
  custom component allows access to AMF0
format services. The access
  tries to mimic a subset of what you can
do with the Flex 1.5
  RemoteObject. It does not support
all the features of Flex 1.5
  RemoteObject and is first draft code,
but it can work nicely in the
  context of Cairngorm's Service.mxml
(ServiceLocater) code structure.
 
  The example code is currently in the
context of the Cairngorm Login
  example that is found in the Cairngorm 2
download.
 
  Please remember that AMF3 is the newer
AS3/Flex2 format and therefore
  the longevity of the custom
RemoteObjectAMF0 is unknown. A few of us
  are hoping to see a AMF0 supported
RemoteObject to be part of the
  Flex2. But in the end it does not
matter once Flex2 is released and
  AMF3 gets embraced by a wider
adapter/connector base.
 
  You can find the example (as well as
another example I created)
  located here:
  http://www.renaun.com/flex2/
 
  Renaun
 
 
  --- In flexcoders@yahoogroups.com,
William Lambé
wlambe@ wrote:
  
   Hello guys,
  
  
  
   Did someone try to use Cairngom
(architectural framework for
flex) with
   AMFPHP ?
  
  
  
   I ask because I don't see clearly
(in the sample Cairngorm
Login) how to
 
   change LoginDelegate and
Services.mxml to use it with AMFPHP (for
  exemple
   where to introduce the
RemotingConnection of Tweenpix
  
 
(http://www.tweenpix.net/blog/index.php?2006/01/03/543-hello-world-en-amfphp
   -avec-flex20 ))
  
  
  
   If you tried one time, coud you
explain us please.
  
  
  
   Thank you,
  
  
  
   William.
  
 
 
 
 
 
 
 
  --
  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
 
 
 
 
 
 
 














--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Beta 2 CF connectivity problems

2006-03-28 Thread Doug Hughes










So, Ive done what you suggested and
Im able to create a project using Remoting.  However, Im still a
bit confused.  I know I can edit the flex-enterprise-services.xml to
change the endpoint for Remoting calls. The issue is that its configured
for http://localhost:8300/flex2gateway/
while my sites (Ive got more than one site on this server) are on two
different domains. 



Lets say my domains are http://www.foo.com and http://www.bar.com...



Both sites have been set up so I can go to
http://www.foo.com/flex2gateway/
or http://www.bar.com/flex2gateway/
and they both return a blank page.  How can I allow flex apps that rely on Remoting
to work for both sites?  I cant simply set the end point to one or the
other, because one app breaks or the other app breaks.  Is there a way to
define more than one endpoint?



To Adobe:  Why isnt this configured
on a per-application basis?  Id love to have one XML file in my
application which I define that applications settings in.  Its my
humble opinion that configuration data is part of an application, not the
server its running on.  (I have this same beef with CF.  Why do I define
datasources, custom tag paths, mappings, gateways, etc, on the server and not
in a configuration file that can be distributed with my app?)  



Thanks,



Doug











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Benoit Hediard
Sent: Monday, March 27, 2006 8:46
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Beta 2
CF connectivity problems





What do you give as the root folder and
the root url?

It should be the root of your coldfusion
instance.

Ex. : C:\CFusionMX7\wwwroot and http://localhost:8500 (if you're using the
integrated http server)

FB2 will then create a folder
flex in WEB-INF and create the appropriate
flex-enteprise-services.xml.



Are you using the integrated jrun http
server?



I found that when using Apache as the http
server instead of the integrated jrunhttp server, there is issue
(compiled files are not created under the Apache wwwroot but the JRun root
folder...).

So you have to create a Flex project
without Flex server technology and configure the CF Adapter manually :

- by creating and configuringthe
flex-enterprise-services.xml,

- by adding the compiler arg
--services=D:\CFusionMX7\wwwroot\WEB-INF\flex\flex-enterprise-services.xml
(putthe correctpath to flex-enterprise-services.xml).



Benoit Hediard







De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] De la part de Doug Hughes
Envoyé: lundi 27 mars 2006
05:11
À: flexcoders@yahoogroups.com
Objet: [Norton AntiSpam]
[flexcoders] Beta 2 CF connectivity problems



Hello,



Im just getting started with flex 2 and Ive
run into a problem I cant get past. Im trying to create a
project that will let me use AMF3. I dont want to use web services
and Im not doing anything related to the enterprise services.



Ive installed the mystic update over CF
7.0.1 running under JRun. Theres another instance of CF under JRun
but its not running. 



Im trying to create project using FlexBuilder 2.
(I have the standalone version of beta 2 installed.) To
create the project I click File  New  Flex Project. It then asks
me what Flex server technology the project will use. I select ColdFusion
Flash Remoting Service (this means AMF3, right?) and click next. 



The next page asks me for two things: Root folder and
Root URL. Ive provided the path to the flex folder under the
ColdFusion instance in JRun and the path to the flex folder via the URL.
(The JRun http server port is 8300.) 



No matter what I provide the finish button is always grayed
out. I suspect that if I click Validate Location that it should validate
this information and allow me to finish but every time I click that I get this
error:



Server root is invalid. Could not locate flex-config.xml or
flex-enterprise-services.xml.



For the life of me Ive got no freakin clue how
to get past this. Can anyone help me figure out how to get past
this? Do I need to? Can I create a standard flex project and still
use AMF3? 



Can I use this AMF stuff outside of the JRun urls? IE
via http://www.mysite.com/ instead of http://localhost:8700/flex/?



Thanks for your help!



Doug Hughes

[EMAIL PROTECTED]











--
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
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group 

RE: [flexcoders] RE: ExternalInterface and IFrame

2006-03-28 Thread Tony Pujals










Jeff, thats awesome! Ill have
to check to see if it works for Firefox. If it does, Im going to be very
happy.



-Tony







tony pujals| senior engineer | Yahoo!
SiteBuilder Express

p. 408.349.6284 |e. tonyp * yahoo-inc * com| y!id
tonypujals















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Battershall, Jeff
Sent: Tuesday, March 28, 2006
11:45 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] RE:
ExternalInterface and IFrame





Tony,

I was able to re-create the behavior you've noted,
but was able to get
the disappearing Iframe to stop in IE
when I added wmode=opaque to the
name-value pairs being passed to AC_FL_RunContent
in
index.template.html.

Jeff

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
Behalf Of Tony Pujals
Sent: Sunday, March 26, 2006 10:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] RE: ExternalInterface and
IFrame


I want to follow up and mention that I'm aware
FileRerence before I get
a lot of suggestions to use it ;-), but I had
other reasons why I wanted
to create a form within an iframe.

In any case, I'm particularly intrigued by the
idea of displaying
content in an iframe managed by an mxml component,
as C. Conraets  B.
Deitte have demonstrated in their articles. What I
did have working of
my page preview inside of a panel looked pretty awesome
-- but for now I
have to live with opening a separate browser
window.

I also forgot to mention that the FireFox
version does occasionally
display the iframe -- flickering like it's
updating umpteen times per
second.




-Original Message-
From: Tony Pujals 
Sent: Sunday, March 26, 2006 7:10 PM
To: 'flexcoders@yahoogroups.com'
Subject: ExternalInterface and IFrame

I wanted to create an dialog as an
html form in an iframe rather than
opening a separate browser window for uploading
image files. I also
wanted to create an html page preview using an
iframe as well.

I spent an entire Sunday working at this and none
of my efforts have
succeeded satisfactorily. I researched the web and
came across Crostophe
Coenrats' article, and after modifying it for Flex
2 / AS3, I still
didn't get no satisfaction. A little more research
and I found Brian
Deitte's update for AS3 as well and tried his
solution, and still no
joy. I tried every variation I could think of,
working with fscommand,
navigateToURL, and of course, ExternalInterface.

It appears that it doesn't matter which strategy
you use. In all cases,
I came close to achieving what I wanted. The
problem even in the
simplest case is that clicking in the iframe, then
clicking outside of
it, causes the iframe to disappear until something
causes the iframe to
refresh with IE, and nada for FireFox (I'm using
IE 6 and FireFox
1.5.0.1 on Windows XP SP2, and of course, Flash
8.5).

Here's a distilled set of the code primarily based
on Conraets/Deitte's
work:


Test.mxml
=
?xml version=1.0
encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
layout=absolute

 mx:HBox
 mx:Text text=http:// /
 mx:TextInput
id=uri text=www.adobe.com/ /
 mx:Button
label=Go click=go() /
 /mx:HBox
 
 mx:Script
 ![CDATA[
 import
flash.external.ExternalInterface;

 function go(): void
{
 if
(!ExternalInterface.available) {

trace(ExternalInterface not available);

return;
 }

 if
(uri.text) {

ExternalInterface.call(loadIFrame, testFrame, http:// +
uri.text);

ExternalInterface.call(moveIFrame, testFrame, 20, 60,
400,
500);

ExternalInterface.call(showIFrame, testFrame);
 }
 }
 ]]
 /mx:Script
/mx:Application



iframe.js
=
function loadIFrame(id, uri) {
 var f =
document.getElementById(id);
 f.style.left = 20;
 f.style.top = 80;
 f.width = 400;
 f.height = 400;
 f.style.visibility =
visible;

top.frames[testFrame].location.href = "">
 // alert(loadIFrame:
 + id + ,  + uri);
}

function showIFrame(id){
 document.getElementById(id).style.visibility=visible;
 // alert(showIFrame:
 + id);
}

function hideIFrame(){

document.getElementById(id).style.visibility=hidden;
 //
alert(hideIFrame:  + id);
}

function moveIFrame(id, x, y, w, h) {
 var
frameRef=document.getElementById(id);
 frameRef.style.left = x;
 frameRef.style.top = y;
 frameRef.width = w;
 frameRef.height = h;
 // alert(moveIFrame:
 + id +  ( + x + ,  + y + width + , 
+
height + )); }

// Ex: type in browser url bar:
// _javascript_:testIFrame(testFrame,
http://www.cnn.com) function
testIFrame(id, uri) {
 var f =
document.getElementById(id);
 f.style.left = 10;
 f.style.top = 10;
 f.width = 400;
 f.height = 400;
 f.style.visibility =
visible;

top.frames[testFrame].location.href = "">
}




In the HTML wrapper (I modified
html-template/index.template.html)
===
(In the head element)

script src=""
language=_javascript_/script


(At the end of the body element)

iframe id=testFrame
name=testFrame

frameborder=0
 

RE: [flexcoders] Re: FLEX and Open Lazslo Comparision

2006-03-28 Thread dos dedos



With respect to mobile apps I think one plausible idea would be for Adobe to design their own Flash-engine-as-ASIC-library and license it to mobile phone chip makers like Motorola for inclusion in some of their chip architectures. That would improve Flash's performance on mobile phones.  Just an idea ... Bryan Rieger [EMAIL PROTECTED] wrote: Hi Renaun,   I might be wrong, but I though Laslo parses their language at   runtime (in the SWF) instead of compiling the code into SWFs?  Nope. AFAIK it's compiled to bytecode - but there is a base framework that is included within the bytecode, so there might be some overhead there as they mediate between LZX ideas and SWF spec.   The size has to do with all the Flex Framework components,   yes its bigger but a richer set of
 components.  Does it happen to remove the unused components? What if I'm only using one button - does Flex include all components? Laszlo has a basic framework that's included, and components are added as required (at compile) time. I believe they're also working on ways to use shared runtime libraries/frameworks so it'll be possible to include apps that don't include the framework, instead reuse the libs supplied in the container application - makes it easier to break your apps into smaller, reuseable modules.   The richness of Flex Framework is not to be over looked   though. They will only keep bringing out more and more components.  That's why I'm here - I'm very interested in learning more about Flex. The one thing that makes me uneasy about OL is the fact that they don't control their target runtime, and as such will always be playing catch-up. Not to say that they can't be extremely innovative,
 but at the end of the day Adobe does control the Flash platform and they are definitely in the best position to offer developers the best tools and experiences moving forward. As soon as Adobe announced that the Flex 2 framework would be free I couldn't justify not taking a serious look at Flex.  Lastly, a side note - I'm also REALLY interested in how Flex (or OpenLaszlo) view publishing to other platforms - specifically mobile and devices. With Flash Lite 2 we're getting closer to a runtime that Flex or OL could theoretically publish to. FWIW - OL does somewhat publish to Flash Lite 2 already - although I wouldn't even begin to think of deploying a real mobile application with it yet.  http://weblog.openlaszlo.org/archives/2006/02/openlaszlo-running-on-a-cell-p hone/  Sincerely,  Bryan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com __Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 





--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Message destinations in the context of a multi-room chat app

2006-03-28 Thread Stefan Richter





Good question and one for Adobe to answer - and I don't 
mean the specific implementation but: where does FMS/FCS stop and FDS start? 
Should we really be building chat apps with FDS? I'm sure I am not the only one 
still a little confused by the crossover of functionalities.

Stefan


BTW hello list, long time lurker first time poster 
here


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Tom 
  BraySent: 28 March 2006 20:19To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Message 
  destinations in the context of a multi-room chat app
  I've been trying to understand how to configure destinations in 
  thecontext of a multi-room chat application where the rooms 
  aredynamically created. Here's the scenario:The application 
  loads a configuration file that specifies what roomsto create. In 
  this case, let's say that list includes the roomsLobby, Sales, and 
  Support. In additon to these dynamically createdrooms, individual 
  users can create new rooms from within theapplication.My first 
  thought was that each room would be a message destination(topic), but it 
  doesn't appear that destinations can be dynamicallycreated. Then I 
  thought I'd have a single destination but useselectors on the consumer 
  component to determine which room's messagesshould be displayed in the 
  chat output area, but that would mean thatall messages for all rooms would 
  go to all clients whether they werein that room or not.How would 
  you handle this?I'm coming at this from the perspective of a Flash 
  CommunicationServer developer and I'm trying to figure out if what I've 
  done in FCScan be replicated or, hopefully, surpassed with 
  FDS.Thanks,Tom





--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Re: FLEX and Open Lazslo Comparision

2006-03-28 Thread quasimotoca
Hi:
We started a rather large poker game program in Open Laszlo.  The 
show-stopper for us that lead us to Flex2 was the lack of AS3 
support.  I haven't looked at Open Laszlo in a while but at the time 
it only supported AS2.0 and didn't support binary sockets which we 
definitely needed to support our custom game protocols.  Flex2 also 
has a far richer set of components and I believe it's flat out faster.
(No proof just gut feeling and trial and error) We thought the fact 
that it (O-Laszlo) was free was attractive but since MM is putting 
out these Betas for free we just thought we'd climb on board.  I 
wouldn't waste valuable development time by checking out both 
platforms in detail. Just go with Flex2.  Heck, when it's out it will 
only be about $1K.  Definitely worth it.  BTW: We're a bunch of 
Python, C++ guys and we're not good at the 'ol Flash timeline.  This 
definitely fills the bill for our rich client-side programming 
requests.  
Cheers,
Dave Cook
President/CEO
Smooth Software Inc.  

--- In flexcoders@yahoogroups.com, Renaun Erickson [EMAIL PROTECTED] 
wrote:

 The size has to do with all the Flex Framework components, yes its
 bigger but a richer set of components.
 
 Even if Laslo did a lot of interperting at the runtime level it 
could
 still have decent performance, I assume its not a problem as Laslo 
is
 viable.
 
 The richness of Flex Framework is not to be over looked though.  
They
 will only keep bringing out more and more components.
 
 Renaun
 
 --- In flexcoders@yahoogroups.com, Bryan Rieger bryan-on-list@
 wrote:
 
  Hi Renaun,
  
  Actually, I'm quite interested in what you mean by that also?
  
  FWIW - Simple Flex apps seem to be 250k+ while I can spit out a 
simple
  Laszlo swf around 70k.
  Of course, the performance does appear to be better in Flex - but 
I'm
  wondering if that's simply not a result of the 8.5 runtime and 
AS3 -
 which
  OpenLaszlo has yet to implement.
  
  I'm just getting my feet wet with Flex v2, but have been using OL
 for quite
  a while.
  
  Bryan
  
   -Original Message-
   From: flexcoders@yahoogroups.com 
   [mailto:[EMAIL PROTECTED] On Behalf Of Sanjeeb Patel
   Sent: Tuesday, March 28, 2006 9:58 AM
   To: flexcoders@yahoogroups.com
   Subject: RE: [flexcoders] Re: FLEX and Open Lazslo Comparision
   
   Hi Renaun,
   
   I am sorry .. but I did not get what exactly you meant by  
   Laslo is runtime heavy and Flex is compiled.
   
   Would you please elaborate ?
   
   Thanks,
   -San
  
 







--
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/
 





RE: [flexcoders] Re: FLEX and Open Lazslo Comparision

2006-03-28 Thread Roger Gonzalez
 Does it happen to remove the unused components? What if I'm 
 only using one button - does Flex include all components?

Flex only includes classes found in the dependency chain from
your application class (or configuration settings).

When you create an application that extends mx.core.Application,
you get a bunch of things that a toy application might not need,
but that a real-world application probably will.

A Flex app has a higher initial cost, but levels off.
Flex also allows you to write your own frameworks from scratch
in AS.

 I believe they're also working on ways to use
 shared runtime libraries/frameworks so it'll be possible to 
 include apps that don't include the framework, instead reuse
 the libs supplied in the container application - makes it
 easier to break your apps into smaller, reuseable modules.

Flex has this today.  See the runtime-shared-libraries
and externs and external-library-path configuration options.

-rg


--
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/
 




RE: [flexcoders] Re: FLEX and Open Lazslo Comparision

2006-03-28 Thread Bryan Rieger
Thanks everyone!
This input is fantastic.
Lots to learn and think about, but I'm really glad I took the time to look
at Flex 2.

Sincerely,
Bryan 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Roger Gonzalez
 Sent: Tuesday, March 28, 2006 12:07 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: FLEX and Open Lazslo Comparision
 
  Does it happen to remove the unused components? What if I'm 
 only using 
  one button - does Flex include all components?
 
 Flex only includes classes found in the dependency chain from 
 your application class (or configuration settings).
 
 When you create an application that extends 
 mx.core.Application, you get a bunch of things that a toy 
 application might not need, but that a real-world application 
 probably will.
 
 A Flex app has a higher initial cost, but levels off.
 Flex also allows you to write your own frameworks from scratch in AS.
 
  I believe they're also working on ways to use shared runtime 
  libraries/frameworks so it'll be possible to include apps 
 that don't 
  include the framework, instead reuse the libs supplied in the 
  container application - makes it easier to break your apps into 
  smaller, reuseable modules.
 
 Flex has this today.  See the runtime-shared-libraries
 and externs and external-library-path configuration options.
 
 -rg



--
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/
 




[flexcoders] Re: syntax for query call in a cfc

2006-03-28 Thread Doug Lowder
Ryan, try 

(OptionValue != 'Total')


--- In flexcoders@yahoogroups.com, rgwilson26 [EMAIL PROTECTED] 
wrote:

 I am wondering is anyone can help me on the sytna for a not equal to 
 value using a cfc? I wrote this query in sql server and it works 
fine, 
 but my cfc doesnt like the '' for not equal to. Does anyone know 
the 
 correct way to write this?
 
 Thanks,
 
 ***my query
 
 SELECT  OptionValue
 FROMdbo.OptionLOV
 WHERE   (OptionType = 'CostCat') AND (OptionValue  'Total')







--
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/
 




RE: [flexcoders] How to get the XML of a SOAP fault

2006-03-28 Thread Ted Patrick
Matt,

Let me make sure I understand.

It is addressed where possible.

where possible implies that a player running in Netscape and one running in 
Internet Explorer are going to behave differently and the developer must code 2 
solutions to address a browser specific issues in Flex. 

I have never seen a browser specific issue surface in the Flash Player API 
during the entire player evolution, player 2-8. It is of no use to get errors 
some of the time and not others, these events need to always work or always 
fail in a consistent manner.

Matt, can you give us some detail on which browsers this effects?

This is really unfortunate as there is allot of functionality programmed into 
SOAP faults. 

Thanks,

Cynergy Systems, Inc.
Theodore Patrick
Sr. Consultant
[EMAIL PROTECTED]
tel: 1.866.CYNERGY
http://www.cynergysystems.com



 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt 
Chotin
Sent: Tuesday, March 28, 2006 2:46 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to get the XML of a SOAP fault

It is addressed where possible.  I will check again to see what we can offer 
but even if we get 500 we are not able to get the content that came with it so 
we won't have the details.  And it may work inconsistently across browsers.

I have also made this statement before.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson 
Hager
Sent: Tuesday, March 28, 2006 11:43 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to get the XML of a SOAP fault

Ted,

Have you confirmed this is still happening in 8.5?  I was assured by 
engineering and product management that this would be addressed in 8.5. Please 
make sure you have tested with the latest flash player.


Thanks,

C



Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ted 
Patrick
Sent: Tuesday, March 28, 2006 11:37 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to get the XML of a SOAP fault
Importance: High

Tobias,

ADOBE PLEASE CHANGE THIS!

The problem is in Flash Player Networking. When an HTTP STATUS 500 occurs Flash 
cannot read the data from the HTTP response and thus cannot parse fault 
information. The Flex Services Proxy, flips the HTTP STATUS from a 500 to a 200 
so that Flex can process the data correctly.

When a SOAP fault occurs, it returns an HTTP STATUS of 500 according to the 
SOAP STANDARD. When Flash receives a 500, networking throws an onError event 
with no data. The data associated with the error is not read/parsed and thus 
you cannot get to the error information. This severely truncates the 
functionality of using Web Services without the proxy as all WebServices calls 
must return 200 so that the result can be parsed by Flash.

This needs to be changed in the Flash 8.5 generation player. This silly error 
forces all WebService and HTTPService implementations that need to process HTTP 
STATUS  200 to fail.

ADOBE PLEASE CHANGE THIS!

Cynergy Systems, Inc.
Theodore Patrick
Sr. Consultant
[EMAIL PROTECTED]
tel: 1.866.CYNERGY
http://www.cynergysystems.com


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tobias 
Patton
Sent: Tuesday, March 28, 2006 11:43 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to get the XML of a SOAP fault

I should have put it in the subject line that I am using Flex 2 and FP 8.5.

Is there a way to get the XML  using Flex 2 without a proxy?


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006



--
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








--
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








--
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 

*  Visit your group flexcoders on the web.
  
*  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
*  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006
 


--
Flexcoders Mailing List

[flexcoders] Re: Menu Bar Killing me. Can someone help.

2006-03-28 Thread Jeremy Rottman
With what you suggested, it changes the state to a blank screen,
instead of showing the state it should have called.

Here is what I am trying now.

function menuHandler(oEvent:Object) {
currentState = oEvent.menuItem.data;
}

--- In flexcoders@yahoogroups.com, Joan Tan [EMAIL PROTECTED] wrote:

 Try oEvent.menuItem.data instead of the getProperty syntax. 
 
 Joan
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Jeremy Rottman
 Sent: Tuesday, March 28, 2006 10:44 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Menu Bar Killing me. Can someone help.
 
 Joan, I added what you said, and it now formats my bar correctly to
 the menubar. But now my menuhandler function no longer works. It is
 setup that that it changes the states when a child menuitem is
 selected. Any idea why this wont work now.
 
 function menuHandler(oEvent:Object) {
 currentState = oEvent.menuItem.getProperty(data);
 }
 
 
 
 --- In flexcoders@yahoogroups.com, Joan Tan tan@ wrote:
 
  There are known issues in the beta for MenuBar. Here is the text
 from the known issues page on labs:
  
  MenuBar not working with e4x XML dataProvider The MenuBar shows the
 first node's children as the top level instead of showing the entire
 data structure. 
  
  Issues with MenuBar and inline XML that includes a rootNode MenuBar
 does not display correctly when you use well formatted inline XML that
 includes a rootNode. if you are using inline XML as the dataProvider
 for your MenuBar, you have the following options: 
  
  Do not use a root node for your XML; use showRoot=false and
 labelField=@label 
  If you have a root node for your XML, the XML must use format=e4x
 , your dataProvider must include the root (for example,
 dataProvider={myXML.root}) , and you must specify showRoot=false
 and labelField=@label
  
  http://labs.macromedia.com/wiki/index.php/Flex:Known_Issues
  
  joan
  
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 On Behalf Of Sönke Rohde
  Sent: Tuesday, March 28, 2006 10:06 AM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] Re: Menu Bar Killing me. Can someone help.
  
  Hi Peter,
  In my case this doesn't change anything and all my nodes have a
  label-attribute.
  
  Cheers,
  Sönke
  
   -Original Message-
   From: flexcoders@yahoogroups.com 
   [mailto:[EMAIL PROTECTED] On Behalf Of Peter Blazejewicz
   Sent: Tuesday, March 28, 2006 8:01 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: Menu Bar Killing me. Can someone help.
   
   Hello Jeremy,
   
   try to add labelField property declaration,
   e.g.:
   mx:MenuBar labelField=@label 
   
   to filter data for dataProvider,
   
   hth,
   regards,
   Peter Blazejewicz
   
   
   
   
   
   --
   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
   
   
   

   
   
   
   
  
  
  
  --
  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
 
 
 
 
 
 
 
 
 --
 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








--
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/
 





RE: [flexcoders] Re: Menu Bar Killing me. Can someone help.

2006-03-28 Thread Ted Patrick
Jeremy,

With Flex 2 Beta 2 make sure to use return types for all functions. There are 
some hidden gotchas if you do not do this. In the function below I added the 
return type of void.

Try:

function menuHandler( oEvent : Object ) : void
{
 currentState = oEvent.menuItem.data;
}

That error keeps biting me also!

Cheers,

Cynergy Systems, Inc.
Theodore Patrick
Sr. Consultant
[EMAIL PROTECTED]
tel: 1.866.CYNERGY
http://www.cynergysystems.com



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy 
Rottman
Sent: Tuesday, March 28, 2006 3:40 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Menu Bar Killing me. Can someone help.

With what you suggested, it changes the state to a blank screen,
instead of showing the state it should have called.

Here is what I am trying now.

function menuHandler(oEvent:Object) {
currentState = oEvent.menuItem.data;
}


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006
 


--
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/
 




[flexcoders] Re: Menu Bar Killing me. Can someone help.

2006-03-28 Thread Jeremy Rottman
Alas they have broken menu bar. Even with the code you posted ted, it
still does the same thing. When I click on a child menu item, it go to
a blank screen instead of the called state.

Here is the code I am trying
function menuHandler( oEvent : Object) : void{
  currentState = oEvent.menuItem.data;}


--- In flexcoders@yahoogroups.com, Ted Patrick [EMAIL PROTECTED] wrote:

 Jeremy,
 
 With Flex 2 Beta 2 make sure to use return types for all functions.
There are some hidden gotchas if you do not do this. In the function
below I added the return type of void.
 
 Try:
 
 function menuHandler( oEvent : Object ) : void
 {
  currentState = oEvent.menuItem.data;
 }
 
 That error keeps biting me also!
 
 Cheers,
 
 Cynergy Systems, Inc.
 Theodore Patrick
 Sr. Consultant
 [EMAIL PROTECTED]
 tel: 1.866.CYNERGY
 http://www.cynergysystems.com
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Jeremy Rottman
 Sent: Tuesday, March 28, 2006 3:40 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Menu Bar Killing me. Can someone help.
 
 With what you suggested, it changes the state to a blank screen,
 instead of showing the state it should have called.
 
 Here is what I am trying now.
 
 function menuHandler(oEvent:Object) {
 currentState = oEvent.menuItem.data;
 }
 
 
 -- 
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006








--
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/
 




RE: [flexcoders] Re: Menu Bar Killing me. Can someone help.

2006-03-28 Thread Ted Patrick
Also watch out when using the Object return type. There is a new type called 
* for handling untyped data. Prior Object would work but it has been 
tightened down a bit.

Cheers,

Cynergy Systems, Inc. 
Theodore Patrick 
Sr. Consultant 
[EMAIL PROTECTED]
tel: 1.866.CYNERGY
http://www.cynergysystems.com

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Ted Patrick
 Sent: Tuesday, March 28, 2006 3:51 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: Menu Bar Killing me. Can someone help.
 
 Jeremy,
 
 With Flex 2 Beta 2 make sure to use return types for all functions. There
 are some hidden gotchas if you do not do this. In the function below I
 added the return type of void.
 
 Try:
 
 function menuHandler( oEvent : Object ) : void
 {
  currentState = oEvent.menuItem.data;
 }
 
 That error keeps biting me also!
 
 Cheers,
 
 Cynergy Systems, Inc.
 Theodore Patrick
 Sr. Consultant
 [EMAIL PROTECTED]
 tel: 1.866.CYNERGY
 http://www.cynergysystems.com
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Jeremy Rottman
 Sent: Tuesday, March 28, 2006 3:40 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Menu Bar Killing me. Can someone help.
 
 With what you suggested, it changes the state to a blank screen,
 instead of showing the state it should have called.
 
 Here is what I am trying now.
 
 function menuHandler(oEvent:Object) {
 currentState = oEvent.menuItem.data;
 }
 
 
 --
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006
 
 
 
 --
 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
 
 
 
 
 
 
 
 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006
 


--
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/
 




[flexcoders] Image and click event??? Flex 2 B2

2006-03-28 Thread Douglas Knudsen
Ok, so I have a TileList using a itemRenderer known as Thumb.mxml.  In
Thumb.mxml I have

mx:Image  id=up source={upArrow} visible=false
click=mx.controls.Alert.show('hello');/

I mash run, all looks good.  When I click on the image, nada, as in
nothing occurs.  If I change the event to mouseOver, mouseDown,
etc...it works.  Shouldn't click work too?

--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


--
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/
 





Re: [flexcoders] Image and click event??? Flex 2 B2

2006-03-28 Thread Manish Jethani
On 3/29/06, Douglas Knudsen [EMAIL PROTECTED] wrote:
 Ok, so I have a TileList using a itemRenderer known as Thumb.mxml.  In
 Thumb.mxml I have

 mx:Image  id=up source={upArrow} visible=false
 click=mx.controls.Alert.show('hello');/

 I mash run, all looks good.  When I click on the image, nada, as in
 nothing occurs.  If I change the event to mouseOver, mouseDown,
 etc...it works.  Shouldn't click work too?

Works for me.  Possible that the TileList is captuting the mouse
events (I think we did that in Beta 2).

Solution: listen for itemClick on the TileList followed by a
hitTestPoint() (or just compare the columnIndex and rowIndex)

Manish


--
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/
 




Re: [flexcoders] SOLVED: Flex2 - More Scroll Bar problems (DataGrid)

2006-03-28 Thread Manish Jethani
On 3/27/06, thunderstumpgesatwork [EMAIL PROTECTED] wrote:

 I was setting the scrollPolicy in the constructor of my cell renderer;
 moving it to an override of commitProperties fixed it. Is this an
 appropriate place to put something like this?

Constructor is fine.

 A similar question, I'm setting some visual properties based on the
 dataObject and listData. Currently I'm setting these visual properties
 in the override of function set dataObject. Is this appropriate? It
 seems to work. Maybe it should go in commitProperies too?

I think commitProperties is the better place to do this.

Manish


--
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/
 




Re: [flexcoders] Sticky Dragging Problem

2006-03-28 Thread Manish Jethani
On 3/28/06, sufibaba [EMAIL PROTECTED] wrote:

public function newLine(){
 var sprite:Sprite = new Sprite();
  sprite.graphics.lineStyle(1,0x00,1,false,NONE);
 sprite.graphics.moveTo(pt.x,pt.y);
 sprite.graphics.lineTo(cx,cy);
 this.addChild(sprite);
   sprite.addEventListener(MouseEvent.MOUSE_DOWN,dragLine);
   sprite.addEventListener(MouseEvent.MOUSE_UP,dropLine);
}
 public function dragLine(e:Event):void
 {
 e.target.startDrag();
 }
 public function dropLine(e:Event):void
 {
 e.target.stopDrag();
 }

 Problem: When I drag the line over another sprite in the app and release the 
 mouse button,  instead of stop dragging,  the line sticks to the  the mouse 
 pointer with the  tenacity of a leech on steroids.   I've tried everything 
 short of Fire and Salt -- which, by the way,  works fine with a real leech 
 but not on my LCD screen.

Is your dropLine method even getting called?  I don't think your
object is getting the mouseUp event.  For this sort of a thing,
typically we use setCapture() or listen for the mouseUp event on the
systemManager object (which is available as a property to every
UIComponent).

Manish


--
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/
 





[flexcoders] Re: [Flex 2 beta 2 - Cairngorm 2 - AMFPHP]

2006-03-28 Thread Renaun Erickson
Post your Services.mxml file there is something wrong with it, as it
can't find the dummyDelegate property.

Renaun

--- In flexcoders@yahoogroups.com, William Lambé [EMAIL PROTECTED] wrote:

 Hi, 
 
  
 
 I am trying to run your sample, but I always have this error, and I
don't
 find how : 
 
  
 
 ReferenceError: Error #1069: Property dummyDelegate not found on
 org.nevis.cairngorm.business.ServiceLocator and there is no default
value
 
  
 
 Do you know how to correct that ? (I really changed nothing to your
source
 only in Services.mxml endpoint and source)
 
  
 
 Thanks, 
 
  
 
 William.
 
  
 
   _  
 
 De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
De la
 part de Renaun Erickson
 Envoyé : mardi 28 mars 2006 17:37
 À : flexcoders@yahoogroups.com
 Objet : [flexcoders] Re: [Flex 2 beta 2 - Cairngorm 2 - AMFPHP]
 
  
 
 Oriol,
 
 Thanks for you feedback,
 
 This is one of the areas I am also not so sure on.  One way to look at
 it is to define it out to 5-8 arguments.  As a general rule of thumb
 passing 8 parameters is not a good thing to do.
 
 But I am searching and trying to learn a more elegant way to handle
 any arbitrary number of parameters passed in.
 
 Renaun
 
 --- In flexcoders@yahoogroups.com, Oriol Gual oriol.gual@ wrote:
 
  Hi Renaun,
  
  I've been also trying to make an AMFPHPService, quite different than
 yours,
  but after looking at your code I've a doubt:
  
  flash_proxy override function callProperty( methodName:*, ...args):* {
  AppUtil.info(passed callProperty);
  if( gateway_conn == null )
  gateway_conn = new RemotingConnection( endpoint );
  
  var respond:ResponderAMF0 = new ResponderAMF0( methodName,
  setQueryResult, setQueryFault );
  AppUtil.info( methodName:  + methodName + 
endpoint:  +
  endpoint +  source:  + source + . + methodName.toString() );
  gateway_conn.call( source + . + methodName.toString(),
  respond,
  args[ 0 ], args[ 1 ], args[ 2 ] );
  _methodResponderArray[ methodName ] = respond;
  return respond.getAsyncToken();
  }
  
  I'm also using the ..args parameter, but when sending it to the php
 service
  they seem to disappear if I pass the args variable itself, without
 using an
  index.
  So my doubt is: using your implementation you can only pass three
args,
  can't you? How would you do it if you want to pass more than three
args?
  
  Thanks,
  
  Oriol
  
  2006/3/28, Renaun Erickson renaun@:
  
   I have created an example showcasing Flex2 Beta2, Cairngorm2 and
   AMFPHP.  It uses a custom RemoteObjectAMF0 component I created.  The
   custom component allows access to AMF0 format services.  The access
   tries to mimic a subset of what you can do with the Flex 1.5
   RemoteObject.  It does not support all the features of Flex 1.5
   RemoteObject and is first draft code, but it can work nicely in the
   context of Cairngorm's Service.mxml (ServiceLocater) code structure.
  
   The example code is currently in the context of the Cairngorm Login
   example that is found in the Cairngorm 2 download.
  
   Please remember that AMF3 is the newer AS3/Flex2 format and
therefore
   the longevity of the custom RemoteObjectAMF0 is unknown.  A few
of us
   are hoping to see a AMF0 supported RemoteObject to be part of the
   Flex2.  But in the end it does not matter once Flex2 is released and
   AMF3 gets embraced by a wider adapter/connector base.
  
   You can find the example (as well as another example I created)
   located here:
   http://www.renaun.com/flex2/
  
   Renaun
  
  
   --- In flexcoders@yahoogroups.com, William Lambé wlambe@ wrote:
   
Hello guys,
   
   
   
Did someone try to use Cairngom (architectural framework for
 flex) with
AMFPHP ?
   
   
   
I ask because I don't see clearly (in the sample Cairngorm
 Login) how to
  
change LoginDelegate and Services.mxml to use it with AMFPHP… (for
   exemple
where to introduce the RemotingConnection of Tweenpix
   
  

(http://www.tweenpix.net/blog/index.php?2006/01/03/543-hello-world-en-amfphp
-avec-flex20 ))
   
   
   
If you tried one time, coud you explain us please.
   
   
   
Thank you,
   
   
   
William.
   
  
  
  
  
  
  
  
   --
   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
  
  
  
  
  
  
  
 
 
 
 
 
 
 
 
 --
 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 
 
  
 
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
   
 *  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
 

[flexcoders] Re: Cairngorm problem

2006-03-28 Thread Peter Blazejewicz
Hello Jonathan,

you've posted nice example so I've decided to investigate what you
described even if i'm not very experienced dev yet,

so first I wrote a simple jsp page that simply returns xml data (your
dummy.xml is a content returned) with added Thread.sleep() used to
sustain results for few seconds, Even if I changed response time to
minimal values there was no change in dashboard behavior, charts are
not updated with remote call, DataGrid data are correctly updated,

That was strange for me because I've already ported Flex Dashboard
sample to Cairngorm and it works fine when data is requested from server,
So I next moved HTTPService and onResults/onFault handlers to
Application that way:
code
.
initialize=initApp()
mx:HTTPService showBusyCursor=true 
id=GetSalesData 
url=http://localhost:8084/dashboard/cfm/sales.jsp;   
result=onResult(event)
fault=onFault(event)/ 
mx:Script
![CDATA[
import mx.rpc.events.*;
import mx.collections.*;
import mx.core.Container;
import mx.controls.*;
import org.healthgrades.tools.*;
import org.healthgrades.stats.model.ModelLocator;   
import org.healthgrades.stats.control.StatsEvent;

[Bindable]
public var model : ModelLocator = 
ModelLocator.getInstance();   

// Starts the 30 second timer and dispatches the 
EVENT_REFRESH
public function initApp():void {
var date:Date = new Date();
model.viewingDate = date;
// Need to offset the date by an hour for MTN 
time
model.refreshTime = new Date(date.getFullYear(),

date.getMonth(),date.getDate(),date.getHours()-1,date.getMinutes(),

date.getSeconds(),date.getMilliseconds());
model.timer = new Timer(3);
model.timer.addEventListener(timer, callService);
model.timer.start();
var seed:String = (new 
Date().getTime().toString());
GetSalesData.send({date:01/05/2006, 
rand:seed});
}
// Need to figure a way to bind a DataFormatter to a 
labelFunction
directly to get rid of this
private function formatDate(date:Date):String {
return dateShortFormat.format(date);
} 
// Called by the manual refresh button or the timer
private function callService(e:Event):void {
model.viewingDate = theDate2.selectedDate;
var date:Date = new Date();
// Need to offset the date by an hour for MTN 
time
model.refreshTime = new Date(date.getFullYear(),

date.getMonth(),date.getDate(),date.getHours()-1,date.getMinutes(),

date.getSeconds(),date.getMilliseconds());
var seed:String = (new 
Date().getTime().toString());
GetSalesData.send({date:01/05/2006, 
rand:seed});
}
   public function onResult( event : ResultEvent ) : void{
var model : ModelLocator = ModelLocator.getInstance();
// Set the data for the charts
model.hourData = new 
ArrayCollection(event.result.list.hour);
model.dailyData = new ArrayCollection(
event.result.list.dailydata.value);
model.hourlyData = new ArrayCollection(
event.result.list.hourlydata.value);
model.racesData = new ArrayCollection( 
event.result.list.race.value);
model.theTotal = new
ArrayCollection(event.result.list.totals.amount);   
var myDateFunc : DateFunction = new 
DateFunction();
// Using the dateAdd function to get the dates 
for the last 4 weeks.
var dateBack:Array = new Array(5);
dateBack[0] = Current; 
dateBack[1] = 
myDateFunc.dateAdd('d',model.viewingDate,7*-1);
dateBack[2] = 
myDateFunc.dateAdd('d',model.viewingDate,7*-2);

[flexcoders] Re: Beta 2 - RSS reader

2006-03-28 Thread Peter Blazejewicz
Hello Dave,

in Flex Builder docs there is an example that reads Matt Chotin's feed,
just search for RSS keyword in Builder help file,
also you should try open source library posted on labs:
http://labs.macromedia.com/wiki/index.php/ActionScript_3:resources:apis:libraries#RSS_and_Atom_libraries
written especially for RSS/Atom feeds parsing,

hth,
regards,
Peter Blazejewicz





--
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/
 




[flexcoders] Re: Cairngorm problem

2006-03-28 Thread Renaun Erickson
This does sound weird.  I haven't had time to play with the
HTTPService 1s timing issue.  But definetly something is going on.  So
we have narrowed it down to HTTPService and Binding is that correct,
not Cairngorm or other RPC services?

Renaun

--- In flexcoders@yahoogroups.com, Peter Blazejewicz
[EMAIL PROTECTED] wrote:

 Hello Jonathan,
 
 you've posted nice example so I've decided to investigate what you
 described even if i'm not very experienced dev yet,
 
 so first I wrote a simple jsp page that simply returns xml data (your
 dummy.xml is a content returned) with added Thread.sleep() used to
 sustain results for few seconds, Even if I changed response time to
 minimal values there was no change in dashboard behavior, charts are
 not updated with remote call, DataGrid data are correctly updated,
 
 That was strange for me because I've already ported Flex Dashboard
 sample to Cairngorm and it works fine when data is requested from
server,
 So I next moved HTTPService and onResults/onFault handlers to
 Application that way:
 code
 .
   initialize=initApp()
   mx:HTTPService showBusyCursor=true 
   id=GetSalesData
url=http://localhost:8084/dashboard/cfm/sales.jsp;   
   result=onResult(event)
   fault=onFault(event)/ 
   mx:Script
   ![CDATA[
   import mx.rpc.events.*;
   import mx.collections.*;
   import mx.core.Container;
   import mx.controls.*;
   import org.healthgrades.tools.*;
   import org.healthgrades.stats.model.ModelLocator;   
   import org.healthgrades.stats.control.StatsEvent;
   
   [Bindable]
   public var model : ModelLocator = 
 ModelLocator.getInstance();   
   
   // Starts the 30 second timer and dispatches the 
 EVENT_REFRESH
   public function initApp():void {
   var date:Date = new Date();
   model.viewingDate = date;
   // Need to offset the date by an hour for MTN 
 time
   model.refreshTime = new Date(date.getFullYear(),
   
date.getMonth(),date.getDate(),date.getHours()-1,date.getMinutes(),
   
 date.getSeconds(),date.getMilliseconds());
   model.timer = new Timer(3);
   model.timer.addEventListener(timer, callService);
   model.timer.start();
   var seed:String = (new 
 Date().getTime().toString());
   GetSalesData.send({date:01/05/2006, 
 rand:seed});
   }
   // Need to figure a way to bind a DataFormatter to a 
 labelFunction
 directly to get rid of this
   private function formatDate(date:Date):String {
   return dateShortFormat.format(date);
   } 
   // Called by the manual refresh button or the timer
   private function callService(e:Event):void {
   model.viewingDate = theDate2.selectedDate;
   var date:Date = new Date();
   // Need to offset the date by an hour for MTN 
 time
   model.refreshTime = new Date(date.getFullYear(),
   
date.getMonth(),date.getDate(),date.getHours()-1,date.getMinutes(),
   
 date.getSeconds(),date.getMilliseconds());
   var seed:String = (new 
 Date().getTime().toString());
   GetSalesData.send({date:01/05/2006, 
 rand:seed});
   }
  public function onResult( event : ResultEvent ) : void{
   var model : ModelLocator = ModelLocator.getInstance();
   // Set the data for the charts
   model.hourData = new 
 ArrayCollection(event.result.list.hour);
   model.dailyData = new ArrayCollection(
 event.result.list.dailydata.value);
   model.hourlyData = new ArrayCollection(
 event.result.list.hourlydata.value);
   model.racesData = new ArrayCollection(
event.result.list.race.value);
   model.theTotal = new
 ArrayCollection(event.result.list.totals.amount); 
   var myDateFunc : DateFunction = new 
 DateFunction();
   // Using the dateAdd function to get the dates 
 for the last 4 weeks.
   var 

Re: [flexcoders] Beta 2 CF connectivity problems

2006-03-28 Thread Muzak
change the endpoint to:
endpoint uri={context.root}/flex2gateway/ 
class=flex.messaging.endpoints.AMFEndpoint /

regards,
Muzak

- Original Message - 
From: Doug Hughes [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, March 28, 2006 9:49 PM
Subject: RE: [flexcoders] Beta 2 CF connectivity problems


So, I've done what you suggested and I'm able to create a project using
Remoting.  However, I'm still a bit confused..  I know I can edit the
flex-enterprise-services.xml to change the endpoint for Remoting calls. The
issue is that it's configured for http://localhost:8300/flex2gateway/ while
my sites (I've got more than one site on this server) are on two different
domains.



Let's say my domains are http://www.foo.com http://www.foo.com/  and
http://www.bar.com http://www.bar.com/ ...



Both sites have been set up so I can go to http://www.foo.com/flex2gateway/
or http://www.bar.com/flex2gateway/ and they both return a blank page.  How
can I allow flex apps that rely on Remoting to work for both sites?  I can't
simply set the end point to one or the other, because one app breaks or the
other app breaks.  Is there a way to define more than one endpoint?



To Adobe:  Why isn't this configured on a per-application basis?  I'd love
to have one XML file in my application which I define that application's
settings in.  It's my humble opinion that configuration data is part of an
application, not the server it's running on.  (I have this same beef with
CF.  Why do I define datasources, custom tag paths, mappings, gateways, etc,
on the server and not in a configuration file that can be distributed with
my app?)



Thanks,



Doug




--
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/
 





RE: [flexcoders] Re: [Flex 2 beta 2 - Cairngorm 2 - AMFPHP]

2006-03-28 Thread William Lambé










You can find my Services.mxml in
attachment. I still have the same problem I dont understand











De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] De la part de Renaun Erickson
Envoyé: mercredi 29 mars
2006 0:06
À: flexcoders@yahoogroups.com
Objet: [flexcoders] Re:
[Flex 2 beta 2 - Cairngorm 2 - AMFPHP]





Post your Services.mxml file there is something wrong with it, as it
can't find the dummyDelegate property.

Renaun

--- In flexcoders@yahoogroups.com,
William Lambé
[EMAIL PROTECTED] wrote:

 Hi, 
 
 
 
 I am trying to run your sample, but I always
have this error, and I
don't
 find how : 
 
 
 
 ReferenceError: Error #1069: Property
dummyDelegate not found on
 org.nevis.cairngorm.business.ServiceLocator
and there is no default
value
 
 
 
 Do you know how to correct that ? (I really
changed nothing to your
source
 only in Services.mxml endpoint and source)
 
 
 
 Thanks, 
 
 
 
 William.
 
 
 
 _ 
 
 De : flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
De la
 part de Renaun Erickson
 Envoyé : mardi 28 mars 2006 17:37
 À : flexcoders@yahoogroups.com
 Objet : [flexcoders] Re: [Flex 2 beta 2 -
Cairngorm 2 - AMFPHP]
 
 
 
 Oriol,
 
 Thanks for you feedback,
 
 This is one of the areas I am also not so
sure on. One way to look at
 it is to define it out to 5-8
arguments. As a general rule of thumb
 passing 8 parameters is not a good thing to
do.
 
 But I am searching and trying to learn a more
elegant way to handle
 any arbitrary number of parameters passed in.
 
 Renaun
 
 --- In flexcoders@yahoogroups.com,
Oriol Gual oriol.gual@ wrote:
 
  Hi Renaun,
  
  I've been also trying to make an
AMFPHPService, quite different than
 yours,
  but after looking at your code I've a
doubt:
  
  flash_proxy override function
callProperty( methodName:*, ...args):* {


AppUtil.info(passed callProperty);


if( gateway_conn == null )


gateway_conn = new RemotingConnection( endpoint );
  


var respond:ResponderAMF0 = new ResponderAMF0( methodName,
  setQueryResult, setQueryFault );


AppUtil.info( methodName:  + methodName + 
endpoint:  +
  endpoint +  source:  + source
+ . + methodName.toString() );


gateway_conn.call( source + . + methodName.toString(),


respond,


args[ 0 ], args[ 1 ], args[ 2 ] );


_methodResponderArray[ methodName ] = respond;


return respond.getAsyncToken();
  }
  
  I'm also using the ..args parameter, but
when sending it to the php
 service
  they seem to disappear if I pass the
args variable itself, without
 using an
  index.
  So my doubt is: using your
implementation you can only pass three
args,
  can't you? How would you do it if you
want to pass more than three
args?
  
  Thanks,
  
  Oriol
  
  2006/3/28, Renaun Erickson
renaun@:
  
   I have created an example
showcasing Flex2 Beta2, Cairngorm2 and
   AMFPHP. It uses a custom
RemoteObjectAMF0 component I created. The
   custom component allows access to
AMF0 format services. The access
   tries to mimic a subset of what you
can do with the Flex 1.5
   RemoteObject. It does not
support all the features of Flex 1.5
   RemoteObject and is first draft
code, but it can work nicely in the
   context of Cairngorm's Service.mxml
(ServiceLocater) code structure.
  
   The example code is currently in
the context of the Cairngorm Login
   example that is found in the
Cairngorm 2 download.
  
   Please remember that AMF3 is the
newer AS3/Flex2 format and
therefore
   the longevity of the custom RemoteObjectAMF0
is unknown. A few
of us
   are hoping to see a AMF0 supported
RemoteObject to be part of the
   Flex2. But in the end it does
not matter once Flex2 is released and
   AMF3 gets embraced by a wider
adapter/connector base.
  
   You can find the example (as well
as another example I created)
   located here:
   http://www.renaun.com/flex2/
  
   Renaun
  
  
   --- In flexcoders@yahoogroups.com,
William Lambé
wlambe@ wrote:
   
Hello guys,
   
   
   
Did someone try to use
Cairngom (architectural framework for
 flex) with
AMFPHP ?
   
   
   
I ask because I don't see
clearly (in the sample Cairngorm
 Login) how to
  
change LoginDelegate and
Services.mxml to use it with AMFPHP (for
   exemple
where to introduce the
RemotingConnection of Tweenpix
   
  

(http://www.tweenpix.net/blog/index.php?2006/01/03/543-hello-world-en-amfphp
-avec-flex20 ))
   
   
   
If you tried one time, coud
you explain us please.
   
   
   
Thank you,
   
   
   
William.
   
  
  
  
  
  
  
  
   --
   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
  
  
  
  
  
  
  
 
 
 
 
 
 
 
 
 --
 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 
 
 
 
 * Visit your

[flexcoders] Re: Message destinations in the context of a multi-room chat app

2006-03-28 Thread Peter Blazejewicz
Hi Tom,

as to dynamic topics,
I've read something about that during weekend playing with
ActiveMQ/Flex and it seems that you need to find specific
JMS-imlemenation/vendor because with standard Sun implementation
dynamic topics are not supported by JMS itself:
http://java.sun.com/products/jms/tutorial/1_3_1-fcs/doc/advanced.html#1024752

not being experienced in Java yet, can someone confirm that?

regards,
Peter Blazejewicz






--
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/
 





[flexcoders] Re: Cairngorm problem

2006-03-28 Thread Peter Blazejewicz
Hello Jonathan  Renaun,

I've added:

 executeBindings(true);

in onResults handler posted previously and now chart are working fine,
not tested with original Jonathan's example yet though,

kind regards,
Peter Blazejewicz





--
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/
 




RE: [flexcoders] Using mxml without flex framework (Flex 2 Beta 1 and 2)

2006-03-28 Thread Matt Chotin










FYI I checked and were not planning
on supporting MXML apps that dont use the framework for version 2.0.
However we will investigate to see if the case like this can at least not cause
such a horrible error.



Matt






















On 3/24/06, bussesven [EMAIL PROTECTED] wrote:


Hi,

in the alpha version of Flex 2 i was able to remove the framework.swc
from a flex project and still use mxml with only my own classes. In 
beta 1 and beta 2 this doesn't work anymore, because mxmlc by default
generates several import statements and other stuff in the generated
classes, which leads to errors of course, since i have removed the
framework.swc .

Even if i leave the framework.swc in, but use only my own classes, it
doesn't work, since there is an error with the StyleManager.

I made a simple example. I have a very simple class:

package com { 

 import flash.util.trace;
 import flash.display.Sprite;

 public class Sample extends Sprite {


public var myvalue:String;


public function Sample() { 

trace(Hello World!);

}
 }
}

And a very simple mxml:

?xml version=1.0 encoding=utf-8?
sb:Sample xmlns:sb=com.* myvalue=Test / 

It doesn't work, i get the error:

TypeError: Error #1009: null has no properties.
 at
mx.styles::StyleManager$/http://www.adobe.com/2006/flex/mx/internal::i
nitProtoChainRoots()[C:\dev\beta2
\sdk\frameworks\mx\styles\StyleManager.as:240]
 at
MyTest/http://www.adobe.com/2006/flex/mx/internal::_MyTest_StylesInit
()
 at MyTest$iinit()

What is going wrong here? How can i use mxml with just my own classes 
without the flex framework?

Thanx and cheers.














--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Re: Cairngorm problem

2006-03-28 Thread Peter Blazejewicz
hi Jonathan,

calling Application.application.executeBindings(true) within orginal
StatsCommand onResult handler make your example working fine for me
(when requesting data from jsp dynamic page),

regards,
Peter Blazejewicz






--
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/
 





Re: [flexcoders] Re: Flex Beta 2 - Loader not loading SWF 100%

2006-03-28 Thread Bruno Martins



Hi Ross,

My friend Beck Novaes did a betterimplementation of AppLoader.

Tks..
On 3/27/06, Bruno Martins [EMAIL PROTECTED] wrote:


Yes I extend the loader to create this new component. I had the same problem you have. The document is undefinedon complete event, but a fill seconds after they appear so a put a interval to manipulate the content. I don't like this solution but I'll try a better one. If you have some idea, please let me know 


Tks...


On 3/24/06, inawire 
[EMAIL PROTECTED] wrote: 


I take it 'AppLoader' is a custom component you created by extending the Loader component? How did you endup handeling the 'unloading' of an app before loading a second one?
How did you handel a notification from the inner app that it was complete and that the shell app could talk to it.Thanks 
Ross--- In flexcoders@yahoogroups.com, Bruno Martins [EMAIL PROTECTED] wrote: 

 Hi Inawire,  Excellent discover about the SystemManager. Now I did a first AppLoader component(use AppLoader instead of Loader), until now its works 
fine for me if you find some bugs please let me know.  Thanks...   
 On 3/24/06, inawire [EMAIL PROTECTED] wrote:   Hi Bruno   I was finaly able to talk to the inner app.   I added this code to a button in the shell app. 
  Note: applet is the id of my mx:Loader component in the shell app   var subApp:SystemManager = SystemManager(applet.content );  trace(subApp.document.appName);  
  content is of type SystemManager which has a document property. This  document is the inner app root application. appName is a property I  created in the root of the inner app. 
   I had to stick this on a button to make sure the inner app was  completely loaded before I tried to talk to it. The complete event of  the mx:Loader component is before the document is ready. I tried 
the  INIT event of the LoaderInfo but no sucess yet with that.   That's all I have so far.Ross--- In 
flexcoders@yahoogroups.com , Bruno Martins bheman@ wrote:  
   Hi, I know about this listener problem but I'll try other solution as  soon aspossible... Tks
   On 3/23/06, inawire ross@ wrote:   Thanks Bruno and Doug,This is on the right track (though I still do not know why 
thisworked in beta 1 with out all this extra code).   Bruno, your code worked for me fine (flex 2 version of Doug's   idea).When I load my inner app, the content resizes perfectly (see 
innerapp below).   The only trouble I am having now it a basic problem that anyone  couldprobably help me with. The event listener for the 'resize' is 
  stillbeing called from the shell when I try to load a second inner  app. Ihave been trying to use removeListener but do not seam to find an
event that lets me know when the first inner app is being removed  (orunloaded). I have tried to call unload() on the instance of theLoader app in the shell app and keep getting the error 
'Call to a possibly undefined method 'unLoad' through a referencewith static type 'mx.controls:Loader'   Is there an event I can make the inner app listen for that 
tells  methat it is being removed when I load a new inner app (or is it  beingremoved)?   Thanks Ross 
   P.S.Bruno, as for your question, using your code and the fact that myinner apps scale using the layout anchors, I did not have to 
talk  tothe inner app from the shell app. I have tried using theLoaderInstanceName.content.propertyInInnerApp and I can not getaround the same compliler error as stated above. 
   Thanks for your help. Code for sample inner app the resizes to fit 
==?xml version= 1.0 encoding=utf-8?mx:Application xmlns:mx=
 http://www.adobe.com/2006/mxml  mlns=*layout=absolute width=100% height=100%creationComplete=initApp(); 
paddingBottom=0 paddingLeft=0 paddingRight=0 paddingTop=0mx:Scriptimport 
flash.util.trace;  private function resizeLoader(event:Event = null):void {width = parent.parent.parent.width
 ;height = parent.parent.parent.height;}   public function unLoader():void {trace('unLoader called') 
parent.parent.parent.removeEventListener(resize,  resizeLoader);   }   private function initApp():void 
{resizeLoader();parent.parent.parent.addEventListener (resize, resizeLoader);}/mx:Script 
   mx:Canvas left=0 right=0 top=0 bottom=0 id=main mx:DataGrid id=dg left=0 top=0 bottom=0 right=0 
mx:columnsmx:DataGridColumn headerText=Column 1 dataField=col1/ mx:DataGridColumn headerText=Column 2 dataField=col2/ 
mx:DataGridColumn headerText=Column 3 dataField=col3/ /mx:columns/mx:DataGrid/mx:Canvas 
/mx:Application  
   --- In flexcoders@yahoogroups.com, Bruno Martins bheman@ 
  wrote: Hi, I did a poor 

RE: [flexcoders] databinding issue for combobox

2006-03-28 Thread Tracy Spratt
[object Object] means you are trying to display a complex object as
text.

Can you be more specific about what you mean when you say  send the
results from the combobox to a datagrid ?

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of rgwilson26
Sent: Tuesday, March 28, 2006 2:41 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] databinding issue for combobox

I am working on an app where I am populating various combo boxes with 
results from my look up tables in a sql server database. I have no 
problem binding the results to the comboboxes dataProvider property. 
However, when I try to send the results from the combobox to a datagrid 
it populates the datagrid field with [object Object] instead of the 
selected item value. 

I can call a query and populate a datagrid directly and it doesn't seem 
to be an issue, so I am a little confused as to why it is a problem 
going from a combobox to a datagrid?

Any suggestions?







--
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



 






--
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/
 




[flexcoders] Re: databinding issue for combobox

2006-03-28 Thread Jignesh Dodiya
it may be possible that you sending full object to Datagrid. not
sure but it may posible that u need to send the specific element from
your object from combo-box to datagrid with specific column id...i
mean object.columnID

An object automatically settle to data grid with column name while
retriving form data base...

On 3/28/06, Tracy Spratt [EMAIL PROTECTED] wrote:
   [object Object] means you are trying to display a complex object as
  text.

  Can you be more specific about what you mean when you say  send the
  results from the combobox to a datagrid ?

  Tracy

  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
  Behalf Of rgwilson26
  Sent: Tuesday, March 28, 2006 2:41 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] databinding issue for combobox

  I am working on an app where I am populating various combo boxes with
  results from my look up tables in a sql server database. I have no
  problem binding the results to the comboboxes dataProvider property.
  However, when I try to send the results from the combobox to a datagrid
  it populates the datagrid field with [object Object] instead of the
  selected item value.

  I can call a query and populate a datagrid directly and it doesn't seem
  to be an issue, so I am a little confused as to why it is a problem
  going from a combobox to a datagrid?

  Any suggestions?







  --
  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










   --
  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
   Computer software development
   Software design and development

  Macromedia flex
   Software development best practice

  
  YAHOO! GROUPS LINKS


  Visit your group flexcoders on the web.

   To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]

   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

  




--
jignesh dodiya


--
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/
 




RE: [flexcoders] Re: Beta 2 - RSS reader

2006-03-28 Thread Howard, Dave
Thank you for the response

After I sent this post I found the example in, of all things a help
file.  God forbid a developer read a help file.  No more posts from me
(after this one) until I get a clue.  Sorry to waste everyone's time.  

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Blazejewicz
Sent: Tuesday, March 28, 2006 5:23 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Beta 2 - RSS reader

Hello Dave,

in Flex Builder docs there is an example that reads Matt Chotin's feed,
just search for RSS keyword in Builder help file, also you should try
open source library posted on labs:
http://labs.macromedia.com/wiki/index.php/ActionScript_3:resources:apis:
libraries#RSS_and_Atom_libraries
written especially for RSS/Atom feeds parsing,

hth,
regards,
Peter Blazejewicz





--
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



 






--
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/
 




[flexcoders] Re: Using mxml without flex framework (Flex 2 Beta 1 and 2)

2006-03-28 Thread Jignesh Dodiya
lol. .Obvious Adobe is not do development to serve people for free
of cost..

On 3/28/06, Matt Chotin [EMAIL PROTECTED] wrote:
 FYI I checked and we're not planning on supporting MXML apps that don't
 use the framework for version 2.0.  However we will investigate to see
 if the case like this can at least not cause such a horrible error.



 Matt



 




 On 3/24/06, bussesven [EMAIL PROTECTED] wrote:

 Hi,

 in the alpha version of Flex 2 i was able to remove the framework.swc
 from a flex project and still use mxml with only my own classes. In
 beta 1 and beta 2 this doesn't work anymore, because mxmlc by default
 generates several import statements and other stuff in the generated
 classes, which leads to errors of course, since i have removed the
 framework.swc .

 Even if i leave the framework.swc in, but use only my own classes, it
 doesn't work, since there is an error with the StyleManager.

 I made a simple example. I have a very simple class:

 package com {

import flash.util.trace;
import flash.display.Sprite;

public class Sample extends Sprite {

public var myvalue:String;

public function Sample() {
trace(Hello World!);
}
}
 }

 And a very simple mxml:

 ?xml version=1.0 encoding=utf-8?
 sb:Sample xmlns:sb=com.* myvalue=Test /

 It doesn't work, i get the error:

 TypeError: Error #1009: null has no properties.
at
 mx.styles::StyleManager$/http://www.adobe.com/2006/flex/mx/internal::i
 nitProtoChainRoots()[C:\dev\beta2
 \sdk\frameworks\mx\styles\StyleManager.as:240]
at
 MyTest/http://www.adobe.com/2006/flex/mx/internal::_MyTest_StylesInit
 ()
at MyTest$iinit()

 What is going wrong here? How can i use mxml with just my own classes
 without the flex framework?

 Thanx and cheers.







--
jignesh dodiya


--
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/
 





Re: [flexcoders] Re: Using mxml without flex framework (Flex 2 Beta 1 and 2)

2006-03-28 Thread Johannes Nel



since flex is free(of cost) i wonder what you mean byt this.On 3/28/06, Jignesh Dodiya [EMAIL PROTECTED] wrote:
lol. .Obvious Adobe is not do development to serve people for freeof cost..
On 3/28/06, Matt Chotin [EMAIL PROTECTED] wrote: FYI I checked and we're not planning on supporting MXML apps that don't use the framework for version 
2.0.However we will investigate to see if the case like this can at least not cause such a horrible error. Matt 
 On 3/24/06, bussesven [EMAIL PROTECTED] wrote: Hi, in the alpha version of Flex 2 i was able to remove the framework.swc
 from a flex project and still use mxml with only my own classes. In beta 1 and beta 2 this doesn't work anymore, because mxmlc by default generates several import statements and other stuff in the generated
 classes, which leads to errors of course, since i have removed the framework.swc . Even if i leave the framework.swc in, but use only my own classes, it doesn't work, since there is an error with the StyleManager.
 I made a simple example. I have a very simple class: package com {import flash.util.trace;import flash.display.Sprite;public class Sample extends Sprite {
public var myvalue:String;public function Sample() {trace(Hello
World!);}} } And a very simple mxml: ?xml version=1.0 encoding=utf-8? sb:Sample xmlns:sb=com.* myvalue=Test /
 It doesn't work, i get the error: TypeError: Error #1009: null has no properties.at mx.styles::StyleManager$/http://www.adobe.com/2006/flex/mx/internal::i nitProtoChainRoots()[C:\dev\beta2
 \sdk\frameworks\mx\styles\StyleManager.as:240]at MyTest/http://www.adobe.com/2006/flex/mx/internal::_MyTest_StylesInit ()at MyTest$iinit() What is going wrong here? How can i use mxml with just my own classes
 without the flex framework? Thanx and cheers.--jignesh dodiya--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/
-- j:pn http://www.lennel.org






--
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
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Re: Using mxml without flex framework (Flex 2 Beta 1 and 2)

2006-03-28 Thread Jignesh Dodiya



Of Cource Flex framework and compiler is free.. but not everything
On 3/29/06, Johannes Nel [EMAIL PROTECTED] wrote:

since flex is free(of cost) i wonder what you mean byt this.

On 3/28/06, Jignesh Dodiya 
[EMAIL PROTECTED] wrote: 


lol. .Obvious Adobe is not do development to serve people for freeof cost.. On 3/28/06, Matt Chotin 
[EMAIL PROTECTED] wrote: FYI I checked and we're not planning on supporting MXML apps that don't use the framework for version 2.0.However we will investigate to see if the case like this can at least not cause such a horrible error.
 Matt  On 3/24/06, bussesven 
[EMAIL PROTECTED] wrote: Hi, in the alpha version of Flex 2 i was able to remove the framework.swc  from a flex project and still use mxml with only my own classes. In beta 1 and beta 2 this doesn't work anymore, because mxmlc by default
 generates several import statements and other stuff in the generated  classes, which leads to errors of course, since i have removed the framework.swc . Even if i leave the framework.swc
 in, but use only my own classes, it doesn't work, since there is an error with the StyleManager.  I made a simple example. I have a very simple class: package com {import 
flash.util.trace;import flash.display.Sprite;public class Sample extends Sprite { public var myvalue:String;public function Sample() {
trace(Hello World!);}} } And a very simple mxml: ?xml version=1.0 encoding=utf-8?
 sb:Sample xmlns:sb=com.* myvalue=Test /  It doesn't work, i get the error: TypeError: Error #1009: null has no properties.at 
mx.styles::StyleManager$/http://www.adobe.com/2006/flex/mx/internal::i nitProtoChainRoots()[C:\dev\beta2  \sdk\frameworks\mx\styles\StyleManager.as:240]at MyTest/http://www.adobe.com/2006/flex/mx/internal::_MyTest_StylesInit
 ()at MyTest$iinit() What is going wrong here? How can i use mxml with just my own classes  without the flex framework? Thanx and cheers.
--jignesh dodiya
--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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/ 

-- j:pn http://www.lennel.org
--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 

SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 



YAHOO! GROUPS LINKS 


Visit your group flexcoders on the web. 
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 



-- jignesh dodiya 






--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Attempting to connect flex 2 to php :error #2070

2006-03-28 Thread Manuel Saint-Victor



Matt,Thanks for getting back to me on that. I actually tried it again today from the same folder and received the same Security Sandbox violation. Are there any other causes if both the swf and the php file are on a shared host in the same directory?
Thanks in advance for your help.ManiOn 3/10/06, Matt Chotin [EMAIL PROTECTED] wrote:
















If you go to the ASDoc you'll see an
Appendixes section and in there is runtime error codes. 2070 is a Sandbox
Violation which probably means that your SWF and PHP are not from the same
domain.



Matt











From: 
flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf
Of Manuel Saint-Victor
Sent: Wednesday, March 08, 2006
9:43 AM
To: flexcoders@yahoogroups.com
Subject:  [flexcoders] Attempting
to connect flex 2 to php :error #2070





I'm getting an error#
2070
and I checked livedocs but find no further explanation. It's in the
context of trying to use an HTTPService post to contact a php form. Is
there somewhere online that details how to troubleshoot these problems? 

Mani









--
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
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders
 on the web.
  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
.



  

















--
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
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Message destinations in the context of a multi-room chat app

2006-03-28 Thread Tom Bray
Stefan, it's nice to know I'm not alone over here!

Regarding using FMS and FDS together, I'd like to be able to rebuild this app:

http://www.userplane.com/webchat/

using FDS for all the text messaging and data synchronization and FMS
for the live AV.  So far, I don't see a clear path to that goal
without dynamic destinations or some equivalent approach.  Remote
Shared Objects in FMS are essentially dynamic destinations the way we
use them in our apps.

-Tom



On 3/28/06, Stefan Richter [EMAIL PROTECTED] wrote:

 Good question and one for Adobe to answer - and I don't mean the specific
 implementation but: where does FMS/FCS stop and FDS start? Should we really
 be building chat apps with FDS? I'm sure I am not the only one still a
 little confused by the crossover of functionalities.

 Stefan


 BTW hello list, long time lurker first time poster here



  
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Tom Bray
 Sent: 28 March 2006 20:19
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Message destinations in the context of a multi-room
 chat app


 I've been trying to understand how to configure destinations in the
 context of a multi-room chat application where the rooms are
 dynamically created.  Here's the scenario:

 The application loads a configuration file that specifies what rooms
 to create.  In this case, let's say that list includes the rooms
 Lobby, Sales, and Support.  In additon to these dynamically created
 rooms, individual users can create new rooms from within the
 application.

 My first thought was that each room would be a message destination
 (topic), but it doesn't appear that destinations can be dynamically
 created.  Then I thought I'd have a single destination but use
 selectors on the consumer component to determine which room's messages
 should be displayed in the chat output area, but that would mean that
 all messages for all rooms would go to all clients whether they were
 in that room or not.

 How would you handle this?

 I'm coming at this from the perspective of a Flash Communication
 Server developer and I'm trying to figure out if what I've done in FCS
 can be replicated or, hopefully, surpassed with FDS.

 Thanks,

 Tom


  --
  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


  Visit your group flexcoders on the web.

  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]

  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

  



--
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/
 





[flexcoders] Few issues

2006-03-28 Thread angelosalsa
Hi all.,
1st issue: 
My remoteobjects and webservices work fine from my local server but 
when I try to access the site from the outside world, I get only the 
hourglass loading with no errors but nothing shows,
My crossdomain is in both C:\Inetpub\wwwroot\crossdomain.xml and 
incase C:\CFusionMX7\wwwroot\crossdomain.xml, here is what the 
crossdomain file look like. 
?xml version=1.0?
!DOCTYPE cross-domain-policy 
SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd;
cross-domain-policy
allow-access-from domain=* /
/cross-domain-policy
My local host is running on http://192.168.1.103:8701 and the 
flexenterprise-services.xml has this: 
endpoint uri=http://192.168.1.103:80{context.root}/flex2gateway/; 
all my components and services are in 
C:\Inetpub\wwwroot\CFIDE\components\...
any ideas? 
2nd issue:
My Application have many components on right hand of the App. I have 
an Accordion that has a TabNavigator and in the TabNavigator I have 
a component that search the database for employees, right now the 
result is bind to a TileList with a listItemRenderer, in that 
component 'detail State', what i want to do is: insted of the result 
getting back to the TileList, I would like to bind this 
ArrayCollection to another component 'empDetails.mxml' DataGrid 
which is on the mainApp as ns1:empDetails /
I played around with loose coupling but on my matter it doesnt look 
like it would work unless I can make the ArrayCollection as a public 
object MAYBE!
Right now this is how I am getting back the results: 
--empSearch.mxml--
mx:ArrayCollection id=searchResults 
source={mx.utils.ArrayUtil.toArray(EmployeeService.search.result)}
/mx:ArrayCollection
Also played aroung with Calling component but I couldnt figure out 
how to pass the results to dataProvider in the 'empDetails.mxml' 
3ed issue:
using the Tree, how would I call other components in a ViewStack to 
view?
Thanks
Angelo





--
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/
 




[flexcoders] How do u use HTTP POST in flex 2 / AS3

2006-03-28 Thread arpitmathur_80
I cant get HTTP POST to work (i am definitely a flex newbie). Can
anyone help me ?

thanks
arpit






--
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/
 




  1   2   >