RE: [flexcoders] Flex and Databas Project

2005-08-01 Thread Abdul Qabiz
Right said...

Start with whatever you know and then ask the problems you face.

First focus on backend logic (ASP, PHP whatever). Then create Flex application, 
use HTTPService to connect to backend file.

To check your backend logic(insert task, update task, delete taks, get tasks), 
write unit tests using html forms. So you can fix backend logic isloatly

Someone has also requested me to help me on the same, if I am able to get 
sometime, I will send a working example. But don't wait for me or anyone, as 
said start working...

You can find many ASP examples on net, which connects to MDB file and show how 
to insert, update or delete records


-abdul

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sjors 
Pals
Sent: Saturday, July 30, 2005 8:22 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex and Databas Project

Well i don't think too much people are gonna help you this way.
Just start building it your self and if you get stuck, ask your 
questions on this list.

Not too much people are you gonna help this way. I would also advice you 
to read the FAQ of this mailinglist.
There are some rules regarding posting to this list and also a lot of 
information which can help you designing your Flex Applications.

Greets,

Sjors


[EMAIL PROTECTED] wrote:

 Good day to you,

 Recently, I started designing a small Project on MXML, using
 a small database such as XML or any database, trying to
 develop this Excel Spreadsheet attached with this message.

 I wish if someone can help me and design this small system..
 I would be so grateful.


 Best regards,
 Ahmed Abdel Aziz




 --
 Message sent from the
 Unlimited Mail Free Services Platform.
 http://www.unlimitedmail.net
 --


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

 *  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



 





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hlks8k5/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122883568/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] Returning an object Array from .NET to Flex

2005-08-01 Thread Abdul Qabiz





Check out the object you are returning from server is in 
correct format ?

-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of priya sSent: 
Monday, August 01, 2005 10:22 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Returning an 
object Array from .NET to Flex

this did'nt seem to work ! :( the datagrid is still not getting 
populatedam i missing out on something???Sreejith 
Unnikrishnan [EMAIL PROTECTED] wrote: 
Here's 
  the code that works. Additions in red.?xml version="1.0" 
  encoding="utf-8"? 
  mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" 
  backgroundColor="#FF" 
  initialize="initApp()"
   
  mx:Script 
   var arrTest:Array;// don't 
  know if all this is required. function initApp() 
  {
   
  getArray(); 
  }
   
  function getArray() 
  { arrTest = 
  srv.GetData();
   
  }
  function initApp() 
  {srv.GetData.send();} 
  /mx:Script
   mx:RemoteObject id="srv" 
  source="RemoteTest.Sample" 
  mx:method name="GetData" result="arrTest=event.result" 
  / /mx:RemoteObject
   
  mx:Formmx:FormItem
   
  mx:DataGrid id="dg" width="100%" height="100%" dataProvider="{arrTest}" 
  /mx:DataGrid/mx:FormItem/mx:Form 
  /mx:ApplicationHope this helps!priya s 
  wrote: 
  
Hi all,
 Here's what I m trying to do  
1) In the following code snippet, the datagrid is not populated with 
the array I am returning from .NET. Where am I going wrong??
2)Any changes to be incorporated, if I am returning an array of 
objects, i.e other than the built in types??
.NET Class

using System;using FlashGateway.IO;using System.Xml;using 
System.Data;using System.Data.SqlClient;using System.IO;using 
System.Text;using System.Collections;
namespace RemoteTest{public class Sample 
{public object[] 
GetData(){ 
ArrayList list = new 
ArrayList();list.Add("string1");list.Add("string2");list.Add("string3");list.Add("string4");return 
list.ToArray();}}}?xml 
version="1.0" encoding="utf-8"?
mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" 
backgroundColor="#FF" 
initialize="initApp()"
 
mx:Script 
 var 
arrTest:Array; function 
initApp() {
 
getArray(); 
}
 function getArray() 
{ arrTest = 
srv.GetData();
 }
 /mx:Script
 mx:RemoteObject id="srv" 
source="RemoteTest.Sample" 
mx:method name="GetData"/ 
/mx:RemoteObject
 
mx:Formmx:FormItem
 
mx:DataGrid id="dg" width="100%" height="100%" 
dataProvider="{arrTest}" 
/mx:DataGrid/mx:FormItem/mx:Form 

/mx:ApplicationSreejith Unnikrishnan [EMAIL PROTECTED] 
wrote:
Priya, 
  you should add as much details you can, preferably with pieces of code 
  that you are willing to share (to help understand problem better) when 
  you ask a question.Because the short answer to your question is 
  NO.You are doing fine. That is indeed how you bind a result to a 
  datagrid.A better answer would need better detailed 
  question.RegardsSreepriya s wrote: no i m 
  not using web services. I am just making a call to a .NET 
  assembly. */Clint Modien [EMAIL PROTECTED]/* 
  wrote: Are you using 
  webservices? On 7/28/05, 
  *priya_uvce* [EMAIL PROTECTED] 
  mailto:[EMAIL PROTECTED] 
  wrote: Hi 
  all, I 
  want to return an object array from .NET to Flex, and bind 
  the datagrid with 
  the same. I have 
  created an Array variable in ActionScript which 
  will recieve 
  the object array 
  from .NET. I bind 
  this array variable to the 
  DataGrid. The 
  array I am returning is an array of objects of say an 
  Employee class 
  which I have created. This Employee class is 
  Serializable. Am I 
  missing out 
  something? 
  -- 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 
  http://groups.yahoo.com/group/flexcoders/ 
  mailto:[EMAIL PROTECTED] 
  SPONSORED LINKS Computer software 
  testing http://groups.yahoo.com/gads?t=msk=Computer+software+testingw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=kh2CguJwmatU5oBXjFo9Rg 
   Macromedia 
  flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=dAUcEV7do91-wrRtVS641g 
   Development 
  http://groups.yahoo.com/gads?t=msk=Developmentw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=AlxNUQBOI7Io7S7nhmxV0Q 
  Software developer 

[flexcoders] Using of an class with arrays

2005-08-01 Thread mtoppine
Hi all!

I´ll have an problem with actionscript right now. 

I'll have two classes: class1 and class2. The class1 consists from
arrays like this:

public static var areaUnitNames:Array  = [
 meter^2,
 mm^2, cm^2, hectare, 
 km^2, in^2, ft^2,
 yd^2, rood, acre,
 mile^2
 ];




  public static var areaUnitConvertRates:Array = [
 1.0,
 1E-6, 1E-4, 1E4,
 1E6, 6.4516E-4, 9.290304E-2,
 8.3612736E-1, 1.01171E3, 4.0468564224E3,
 2.58998811E6 
 ];

In the class2 I´m trying to create an new instance from class1 like this:

import class1;

private var rates:class1;
rates = new class1();

and then I´m trying to go through the arrays in the class like this:

//Area units array
while(i = rates.areaUnitNames.length) {
if(rates.areaUnitConvertRates[i] == prefix) {
rate_ = 
parseFloat(rates.areaUnitConvertRates[i]);
break;
}
i++;
}


The problem is that I can´t get out any data from the arrays. The
.length method doesn´t work eather. It returns only undefined.

Thanks for your answers!










 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hs7u3o2/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122884164/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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 of an class with arrays

2005-08-01 Thread Abdul Qabiz
Hi,

Arrays are static properties in class1, you need to access them properly. 
Corrected your code, see below:


code

var areaUnitNames:Array = class1.areaUnitNames;
var areaUnitConvertRates:Array = class1.areaUnitConvertRates;

var len:Number = areaUnitNames.length;

while(i = len ) {
if(areaUnitConvertRates[i] == prefix) {
rate_ = parseFloat(areaUnitConvertRates[i]);
break;
}
i++;
}



/code


It should work now...


-abdul


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mtoppine
Sent: Monday, August 01, 2005 11:41 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Using of an class with arrays

Hi all!

I´ll have an problem with actionscript right now. 

I'll have two classes: class1 and class2. The class1 consists from
arrays like this:

public static var areaUnitNames:Array  = [
 meter^2,
 mm^2, cm^2, hectare, 
 km^2, in^2, ft^2,
 yd^2, rood, acre,
 mile^2
 ];




  public static var areaUnitConvertRates:Array = [
 1.0,
 1E-6, 1E-4, 1E4,
 1E6, 6.4516E-4, 9.290304E-2,
 8.3612736E-1, 1.01171E3, 4.0468564224E3,
 2.58998811E6 
 ];

In the class2 I´m trying to create an new instance from class1 like this:

import class1;

private var rates:class1;
rates = new class1();

and then I´m trying to go through the arrays in the class like this:

//Area units array
while(i = rates.areaUnitNames.length) {
if(rates.areaUnitConvertRates[i] == prefix) {
rate_ = 
parseFloat(rates.areaUnitConvertRates[i]);
break;
}
i++;
}


The problem is that I can´t get out any data from the arrays. The
.length method doesn´t work eather. It returns only undefined.

Thanks for your answers!











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



 





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hmeg99d/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122885169/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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 and Databas Project

2005-08-01 Thread Scott Barnes
Now now, no need to be rude. They did construct themselves in a manner
which was polite.. they could of easily said something like:

stfu n00biez, har har get a l0ad of th15 guy, he wants h3lp! 

like other forums would, (not saying your a newbie or meant that in
an insensitive tone, just stating that people here are polite and
respectful to one another).

Have a crack at it, or put out a tender for consultation (which is
probably what you were hinting at) and you're response may be a lot
more positive?



On 7/31/05, Ahmed [EMAIL PROTECTED] wrote:
  
  
 
 Thanks for disappointing me . 
 
   
 
   
  
  
  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Sjors Pals
  Sent: Saturday, July 30, 2005 4:52 PM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Flex and Databas Project 
 
   
 
 Well i don't think too much people are gonna help you this way.
  Just start building it your self and if you get stuck, ask your 
  questions on this list.
  
  Not too much people are you gonna help this way. I would also advice you 
  to read the FAQ of this mailinglist.
  There are some rules regarding posting to this list and also a lot of 
  information which can help you designing your Flex Applications.
  
  Greets,
  
  Sjors
  
  
  [EMAIL PROTECTED] wrote:
  
   Good day to you,
  
   Recently, I started designing a small Project on MXML, using
   a small database such as XML or any database, trying to
   develop this Excel Spreadsheet attached with this message.
  
   I wish if someone can help me and design this small system..
   I would be so grateful.
  
  
   Best regards,
   Ahmed Abdel Aziz
  
  
  
  
   --
   Message sent from the
   Unlimited Mail Free Services Platform.
   http://www.unlimitedmail.net
   --
  
  
   --
   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]
  
   *  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 
 
  
 
  
  SPONSORED LINKS 
  Computer software testing Macromedia flex Development 
  Software developer 
  
  
  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. 
  
  
  
 
 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hc21dt8/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122886228/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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] Returning an object Array from .NET to Flex

2005-08-01 Thread priya s



Correct format?? I am just returning an object[]

public object[] GetData(){ ArrayList list = new ArrayList();list.Add("string1");list.Add("string2");list.Add("string3");list.Add("string4");return list.ToArray();}Abdul Qabiz [EMAIL PROTECTED] wrote:


Check out the object you are returning from server is in correct format ?

-abdul


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of priya sSent: Monday, August 01, 2005 10:22 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Returning an object Array from .NET to Flex

this did'nt seem to work ! :( the datagrid is still not getting populatedam i missing out on something???Sreejith Unnikrishnan [EMAIL PROTECTED] wrote: 
Here's the code that works. Additions in red.?xml version="1.0" encoding="utf-8"? 
mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" backgroundColor="#FF" initialize="initApp()"
 mx:Script  var arrTest:Array;// don't know if all this is required. function initApp() {
 getArray(); }
 function getArray() { arrTest = srv.GetData();
 }
function initApp() {srv.GetData.send();} /mx:Script
 mx:RemoteObject id="srv" source="RemoteTest.Sample" mx:method name="GetData" result="arrTest=event.result" / /mx:RemoteObject
 mx:Formmx:FormItem
 mx:DataGrid id="dg" width="100%" height="100%" dataProvider="{arrTest}" /mx:DataGrid/mx:FormItem/mx:Form /mx:ApplicationHope this helps!priya s wrote: 

Hi all,
 Here's what I m trying to do  
1) In the following code snippet, the datagrid is not populated with the array I am returning from .NET. Where am I going wrong??
2)Any changes to be incorporated, if I am returning an array of objects, i.e other than the built in types??
.NET Class

using System;using FlashGateway.IO;using System.Xml;using System.Data;using System.Data.SqlClient;using System.IO;using System.Text;using System.Collections;
namespace RemoteTest{public class Sample {
}}?xml version="1.0" encoding="utf-8"?
mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" backgroundColor="#FF" initialize="initApp()"
 mx:Script  var arrTest:Array; function initApp() {
 getArray(); }
 function getArray() { arrTest = srv.GetData();
 }
 /mx:Script
 mx:RemoteObject id="srv" source="RemoteTest.Sample" mx:method name="GetData"/ /mx:RemoteObject
 mx:Formmx:FormItem
 mx:DataGrid id="dg" width="100%" height="100%" dataProvider="{arrTest}" /mx:DataGrid/mx:FormItem/mx:Form 
/mx:ApplicationSreejith Unnikrishnan [EMAIL PROTECTED] wrote:
Priya, you should add as much details you can, preferably with pieces of code that you are willing to share (to help understand problem better) when you ask a question.Because the short answer to your question is NO.You are doing fine. That is indeed how you bind a result to a datagrid.A better answer would need better detailed question.RegardsSreepriya s wrote: no i m not using web services. I am just making a call to a .NET assembly. */Clint Modien [EMAIL PROTECTED]/* wrote: Are you using webservices? On 7/28/05, *priya_uvce* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi all, I want to return an object array from .NET to Flex, and bind the datagrid with the same. I have created an Array variable in ActionScript which will recieve the object array from .NET. I bind this array variable to the DataGrid. The array I am returning is an array of objects of say an
 Employee class which I have created. This Employee class is Serializable. Am I missing out something? -- 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 http://groups.yahoo.com/group/flexcoders/ mailto:[EMAIL PROTECTED] SPONSORED LINKS Computer software testing http://groups.yahoo.com/gads?t=msk=Computer+software+testingw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=kh2CguJwmatU5oBXjFo9Rg  Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=dAUcEV7do91-wrRtVS641g  Development http://groups.yahoo.com/gads?t=msk=Developmentw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=AlxNUQBOI7Io7S7nhmxV0Q Software developer http://groups.yahoo.com/gads?t=msk=Software+developerw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=QWIit8JayomoIHLVkV3FDg
  Start your day with Yahoo! - make it your home page  http://us.rd.yahoo.com/evt=34442/*http://www.yahoo.com/r/hs -- 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 

[flexcoders] Re: Using of an class with arrays

2005-08-01 Thread mtoppine
Thank you Abdul, it works great now!






 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h3a484e/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122890023/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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] Two .Java files to compile

2005-08-01 Thread Ahmed










Dear Everyone, 



I have two .Java files , but unfortunately I can't compile
them . If you can , would you please compile them .Class ? 



Thanks indeed.



Ahmed.









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



  











RestaurantDAO.java
Description: Binary data


RestaurantVO.java
Description: Binary data


[flexcoders] date.getUTCMonth / date.getUTCDate with a leading zero

2005-08-01 Thread Reto M. Kiefer
Dear all,

maybe I am simply do not see the crucial point but I have a small 
problem. In a form the users can enter some dates via

mx:DateField id=compBop dateFormatter=formatDate /

The corresponding formatDate() looks like this one:

function formatDate(date:Date):String
{
return (date.getUTCDate() + 1) + - + ( date.getUTCMonth() + 1 ) + - 
+ date.getUTCFullYear();
}

This works quite good, but I want have a leading 0 if the Day or the 
month conists of only on digit, e.g. 02 instead of 2 for february.

I searched all the variants of date.UTC() but did not saw an option 
for this. I assume there is one because you can have the year displayes 
with 4 or 2 digits...

Maybe some is so helpful and can provide me with the proper function 
call or a workaround if there is no such a call.

Thanks in advance and best regards

Reto


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hi3apt8/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122891737/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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] date.getUTCMonth / date.getUTCDate with a leading zero

2005-08-01 Thread Michael Herron










Look up the dateFormatter class (mx.formatters.DateFormatter). In your
format function, create an instance of it and supply it with the format string DD\MM\
and that should give you what you want.



Ta.













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Reto M. Kiefer
Sent: 01 August 2005 09:22
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
date.getUTCMonth / date.getUTCDate with a leading zero





Dear all,

maybe I am simply do not see the crucial point but
I have a small 
problem. In a form the users can enter some dates
via

 mx:DateField
id=compBop dateFormatter=formatDate /

The corresponding formatDate() looks like this
one:

function formatDate(date:Date):String
{
return (date.getUTCDate() + 1) + - + (
date.getUTCMonth() + 1 ) + - 
+ date.getUTCFullYear();
}

This works quite good, but I want have a leading 0
if the Day or the 
month conists of only on digit, e.g. 02 instead of
2 for february.

I searched all the variants of date.UTC() but
did not saw an option 
for this. I assume there is one because you can
have the year displayes 
with 4 or 2 digits...

Maybe some is so helpful and can provide me with
the proper function 
call or a workaround if there is no such a call.

Thanks in advance and best regards

Reto








--
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] Two .Java files to compile

2005-08-01 Thread Chris Velevitch
You need to download the free jdk to compile it.

http://java.sun.com/j2se/1.5.0/download.jsp and get JDK 5.0 Update 4 
includes the JVM technology


Chris
-- 
Chris Velevitch
Manager - Sydney Flash Developers Group
www.flashdev.org.au


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hme4oa1/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122892060/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

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




ADMIN: RE: [flexcoders] Two .Java files to compile

2005-08-01 Thread Steven Webster





Ahmed,

Your posts are increasingly asking people to do your work 
for you - clearly from your previous emails you have a deadline on a technology 
(or technologies) with which you are only just trying to become familiar (Java 
and Flex). Asking people on this list to compile a .java file into a 
.class file demonstrates absolutely no willingness on your part to sit down with 
a book, or a manual, or a google search, and do some learning for 
yourself.

For your reference, the command to compile 
is:

javac RestaurantDAO.java

Your emails are coming through as moderated at present on 
the list; there are a wealth of developers on this list, who are ready, willing 
and able to ensure that each and every subscriber is successful with Macromedia 
Flex. All that we ask - as outlined in the FAQ - is that before posting to 
the list, people have made every effort to read the extensive documentation that 
ships with Flex, and perhaps even the books, websites, blogs, devnet articles 
and numerous other resources mentioned in the FAQ, that people (most of whom are 
the ones who will answer your questions on this list) etc, that also go out of 
their way to help people learn how to work with Flex.

If the time to ramp up on a technology is too short to fit 
in with your personal or professional deadlines, then the course of action 
should be to reset the expectations of whomever you are delivering to; 
flexcoders is not a forum for having your projects delivered on your behalf over 
email.

Please take this administrative email in the spirit it is 
intended; a lot of us have put a lot of time into making resource available to 
help you, and will continue to put a great deal of our personal and professional 
time into responding to your email enquiries until you are able to deliver 
solutions with the technology. *All* that we ask in return, is that 
you do the required reading, self-learning or official training necessary to 
elevate your questions beyond those that could be answered by a little 
self-reading and self-research.

These steps will ensure that flexcoders continues to be a 
forum in which some of the very best Flex developers are willing to help others 
become the same.

Best of luck in your studies,

Steven
(Flexcoders List Administrator)



--
Steven WebsterTechnical 
Director
iteration::two

This e-mail and any associated attachments 
transmitted with it may contain confidential information and must not be copied, 
or disclosed, or used by anyone other than the intended recipient(s). If you are 
not the intended recipient(s) please destroy this e-mail, and any copies of it, 
immediately.Please also note that while software systems have been 
used to try to ensure that this e-mail has been swept for viruses, 
iteration::two do not accept responsibility for any damage or loss caused in 
respect of any viruses transmitted by the e-mail. Please ensure your own checks 
are carried out before any attachments are 
opened.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of AhmedSent: 01 
August 2005 10:13To: flexcoders@yahoogroups.comSubject: 
[flexcoders] Two ".Java" files to compile


Dear 
Everyone, 


I have two ".Java" 
files , but unfortunately I can't compile them . If you can , would you please 
compile them ".Class" ? 

Thanks 
indeed.

Ahmed.





--
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] date.getUTCMonth / date.getUTCDate with a leading zero

2005-08-01 Thread Reto M. Kiefer
Hello Michael,

 Look up the /dateFormatter/ class (mx.formatters.DateFormatter). In your 
 format function, create an instance of it and supply it with the format 
 string “DD\MM\” and that should give you what you want.

Cool! Thank you very much for this fast solution!

Thanks again and best regards

Reto


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h9nkore/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122892731/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] Custom event inheritance

2005-08-01 Thread svktiilikainen
Hi all,

how should a custom event be used in subclasses? 

I have a custom event specified in the prototype of an AS class, say 
ScrollSelectList. Now I want to use the event in an instance of a 
subclass of ScrollSelectList, say DataGrid. If I just write something 
like 
mx:DataGrid id=myGrid event-name=function-name,
'event-name' being the event to catch, Flex throws an error
unknown attribute 'event-name' on myGrid.
The event handling works just fine when used in the parent 
(ScrollSelectList) class instance.

Should the event be declared somehow for subclass as well?

Thanks, 
Satu




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hf7r705/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122893407/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] date.getUTCMonth / date.getUTCDate with a leading zero

2005-08-01 Thread Reto M. Kiefer
Hi all,

Look up the /dateFormatter/ class (mx.formatters.DateFormatter). In your 
format function, create an instance of it and supply it with the format 
string “DD\MM\” and that should give you what you want.

Just for the records I managed it in the following way:

[1]
mx:FormItem label=Birthday
mx:DateField id=persBirthday dateFormatter=formatDate2 /
/mx:FormItem  

[2]
mx:DateFormatter id=dateformatter formatString=DD.MM./

[3]
function formatDate2(date:Date):String {
return dateformatter.format(date);
}


Even if it seems to be trivial now, maybe some one else can find a 
solution for this topic in the archive

Best regards

Reto


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h7ck8j3/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122897287/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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] Hope all is watching the Avalon space..

2005-08-01 Thread Tolulope Olonade












There have been clamours from the .Net
developer fold for Macromedia to make flex as native to .NET platform as well
as it is with the java platform. 

What do you think will happen when MS
releases a platform that allow .NET developers use the same Visual Studio.NET(2005
Maybe) + zero licensing fees (it runs on Server 2003), to create applications thats
puts the kind of rich programming components jus like flex/flash ?

Take a look here:

http://msdn.microsoft.com/library/default.asp?url="">

What do you think will happen?
















--
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] accessing repeated children

2005-08-01 Thread Fritz Dimmel
Hi!

The following thing is my problem:

At the moment I've a repeater which repeats custom components (.mxml files).
But I want to access them separately to change some of their attributes.

I don't know how this could work. Is there a possibility to access them
like:
repeatername[index].attribute? Or something like that?

Thanks for you help!

Bye,
Fritz

-- 
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hetsvfs/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122898615/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] alpha for headers

2005-08-01 Thread Duccio Del Ministro
Can i change the background alpha for a panel and an
accordion header? The flex style explorer example
doesn't show how to do it but it has nice transparent
panel headers (with glass looking shadow). How did
they do it?
Thanks in advance
Duccio Del Ministro 




Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hvtiv95/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122900401/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] Tree with 3 different AMF is it possibile?

2005-08-01 Thread João Fernandes
Davis,

What I usually do is to set a function that accept those variables as arguments 
and then build the treeNodes with the information, when any of them changes, 
the tree is automaticly updated.

Something like this:

mx:tree dataProvider ={myfunction(amf1Result,amf2Result,amf3Result)}/

mx:Script
function myfunction(arg1,arg2,arg3) : mx.controls.treeclasses.TreeNode { 
var rootNode = new mx.controls.treeclasses.TreeNode('my root 
node',{dataOfNode});
// Buid the treeNodes where
...
Return rootNode;
}
mx:Script/

João Fernandes
Secção de Desenvolvimento
Departamento de Informática


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Devis
Sent: segunda-feira, 1 de Agosto de 2005 11:06
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tree with 3 different AMF is it possibile?

hi to all, i have this question,

i have 3 AMF that return an array of ActionScript class

1°  COLOR[]
2°  SIZE[]
3°  WEIGHT[]

this is my goal:

tree
   COLOR
RED
GREEN
YELLOW
   SIZE 
10
 20   
 20
  WEIGHT
   40
   78
  90
/tree

but  i haven't  an xml file, i  have 3 amf function that returns array 
of ActionScript class, pls can you help me, if you can post some code 
will be appreciate.
Thank's in advance

For you it's better to use 3 TREE component?
Devis




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



 




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hen4nuj/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122900601/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] Tree with 3 different AMF is it possibile?

2005-08-01 Thread Devis
Great your code WAS my problem
Bye
Devis

João Fernandes ha scritto:

Davis,

What I usually do is to set a function that accept those variables as 
arguments and then build the treeNodes with the information, when any of them 
changes, the tree is automaticly updated.

Something like this:

mx:tree dataProvider ={myfunction(amf1Result,amf2Result,amf3Result)}/

mx:Script
function myfunction(arg1,arg2,arg3) : mx.controls.treeclasses.TreeNode { 
var rootNode = new mx.controls.treeclasses.TreeNode('my root 
node',{dataOfNode});
// Buid the treeNodes where
...
Return rootNode;
}
mx:Script/

João Fernandes
Secção de Desenvolvimento
Departamento de Informática


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Devis
Sent: segunda-feira, 1 de Agosto de 2005 11:06
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tree with 3 different AMF is it possibile?

hi to all, i have this question,

i have 3 AMF that return an array of ActionScript class

1°  COLOR[]
2°  SIZE[]
3°  WEIGHT[]

this is my goal:

tree
   COLOR
RED
GREEN
YELLOW
   SIZE 
10
 20   
 20
  WEIGHT
   40
   78
  90
/tree

but  i haven't  an xml file, i  have 3 amf function that returns array 
of ActionScript class, pls can you help me, if you can post some code 
will be appreciate.
Thank's in advance

For you it's better to use 3 TREE component?
Devis




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



 


  




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h1raome/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122901310/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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] Hope all is watching the Avalon space..

2005-08-01 Thread Sjors Pals
You don't have to wait: http://www.xamlon.com/

Greets,

Sjors


Tolulope Olonade wrote:

 There have been clamours from the .Net developer fold for Macromedia 
 to make flex as native to .NET platform as well as it is with the java 
 platform.

 What do you think will happen when MS releases a platform that allow 
 .NET developers use the same Visual Studio.NET(2005 Maybe) + zero 
 licensing fees (it runs on Server 2003), to create applications that’s 
 puts the kind of rich programming components jus like flex/flash ?

 Take a look here:

 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnlong/html/hgtomayavalonctp.asp

 What do you think will happen?

 



 --
 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]
 * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
   Service http://docs.yahoo.com/info/terms/.


 




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hobs1ht/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122902103/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] accessing repeated children

2005-08-01 Thread Manish Jethani
On 8/1/05, Fritz Dimmel [EMAIL PROTECTED] wrote:

 At the moment I've a repeater which repeats custom components (.mxml files).
 But I want to access them separately to change some of their attributes.

repeaterIndex

http://www.mail-archive.com/flexcoders@yahoogroups.com/msg10082.html

Manish


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hkc6rlr/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122903025/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] Custom event inheritance

2005-08-01 Thread Manish Jethani
On 8/1/05, svktiilikainen [EMAIL PROTECTED] wrote:

 I have a custom event specified in the prototype of an AS class, say
 ScrollSelectList. Now I want to use the event in an instance of a
 subclass of ScrollSelectList, say DataGrid. If I just write something
 like
 mx:DataGrid id=myGrid event-name=function-name,
 'event-name' being the event to catch, Flex throws an error
 unknown attribute 'event-name' on myGrid.
 The event handling works just fine when used in the parent
 (ScrollSelectList) class instance.
 
 Should the event be declared somehow for subclass as well?

Let me see if I understand you right:

 1.  You have a class A, which declares an event E.  I presume this is
how the event is declared:

  Event(E)
  class A {
...
  }

 2.  You have a class B that extends A.

  class B extends A {
...
  }

You want that class B should be able to have an E-handler in MXML,
such as the following, right?

 B E=eHandler() /

It'll work.  You don't need to declare E in the code for B again.

Manish


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hflbt5q/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122903378/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] Hope all is watching the Avalon space..

2005-08-01 Thread Scott Barnes
Actually you do, they are still taking the product out for a few more
test spins before it goes fully mainstream (which i will watch with a
keen eye aswell hehe).

In all honesty, its a hard one to forcast. Microsoft have a lot of
devoted developers to the point where it may be a registered religion
in a few countries.

If they go the approach of giving the IDE away for free and let the
minions develop until they have taken over the world, it could be a
force to rekon with. I still think FLEX has a much more positive
approach, mainly again as the people who wrote FLASH player have the
right to tweak/poke/pull/molest flash player to suite any wild ideas
they conjure with FLEX.

That being said, Flex has this nice attack power, whereby it can run
an application on any platform/device that can't be said for the
future of avalon *yet*. I'm pro FLEX, but at the very least i think it
will heat things up some more ( i honestly did not expect
Vista/Longhorn O/S to kick in until at min next year..so it cought me
by suprise).

It may put some pressure on FLEX price model, as its been said over
and over, Flash UI concept in general isn't as widely accepted and
requires initial prooving ground - Microsoft, kind of has a pretty
damn powerful brand.

Hard to say, earlier this question / concept was asked of the list and
my overall summary was pft, longhorn..when they catchup it will be
long-in-the-tooth-horn... now.. seeing how much traction they are
getting in PR alone... could be i was wrong (as if i am ever wrong
hehe).

I do like the look of vista..its damn purty and they have some nice
FREAKING UI concepts..did you all see that breadcrubs-pulldown
approach, been staring us in the face all this time. Oh and i get the
whole transparent chrome aswell, ie takes the focus off medoke visuals
and more on actionable *did i make that word up?* controls.

On 8/1/05, Sjors Pals [EMAIL PROTECTED] wrote:
 You don't have to wait: http://www.xamlon.com/
 
 Greets,
 
 Sjors
 
 
 Tolulope Olonade wrote:
 
  There have been clamours from the .Net developer fold for Macromedia
  to make flex as native to .NET platform as well as it is with the java
  platform.
 
  What do you think will happen when MS releases a platform that allow
  .NET developers use the same Visual Studio.NET(2005 Maybe) + zero
  licensing fees (it runs on Server 2003), to create applications that's
  puts the kind of rich programming components jus like flex/flash ?
 
  Take a look here:
 
  http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnlong/html/hgtomayavalonctp.asp
 
  What do you think will happen?
 
  
 
 
 
  --
  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]
  * 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
 
 
 
 
 
 
 
 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hveoba2/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122903930/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] [release] v2 framework SplitPane component

2005-08-01 Thread Philippe Maegerman





some ideas 
for the HDividedBox and VDividedBox
http://www.joangarnet.com/blog/archives/2005/07/release_v2_fram_1.php

Philippe 
Maegerman







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



  






--**STATEMENT OF CONFIDENTIALITY** 
This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--


[flexcoders] Testing of Server requests with FlexUnit

2005-08-01 Thread Pradeep Chaudhary
I have implemented Command Pattern in ActionScript to perform
operations on server as given in book Developing Rich Clients with
Macromedia Flex. I want to test this commands using FlexUnit
framework. Issue is that test does not waits for the callback to be
invoked after response from server. So test is always passed. Also i
want to fail the test on some validation in resultHandler.

Please suggest the best way of how i can achieve this.

Pradeep


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12ho1qbjv/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122906589/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] Hope all is watching the Avalon space..

2005-08-01 Thread Rick Bullotta
Then, I think the price of Flex will go down... :)
 
Just realize the Flex will ultimately support a much broader range of both 
back-end OS's/app servers and front end devices/platforms than Avalon will.  
There will be a significant amount of development using Avalon-based 
technologies for behind-the-firewall applications, for sure.  Flex is a 
different beast, though.  I also wouldn't be at all surprised to see a Flex 
client based on the Java plug-in someday.  When looking at the Flex class 
models, it has a lot of similarities to Java rich client stuff - so who knows - 
maybe the Flash viewer someday becomes classes deployed on a JVM!



From: flexcoders@yahoogroups.com on behalf of Tolulope Olonade
Sent: Mon 8/1/2005 6:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Hope all is watching the Avalon space..


 
There have been clamours from the .Net developer fold for Macromedia to make 
flex as native to .NET platform as well as it is with the java platform. 
What do you think will happen when MS releases a platform that allow .NET 
developers use the same Visual Studio.NET(2005 Maybe) + zero licensing fees (it 
runs on Server 2003), to create applications that's puts the kind of rich 
programming components jus like flex/flash ?
Take a look here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnlong/html/hgtomayavalonctp.asp
What do you think will happen?





--
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] 
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
http://docs.yahoo.com/info/terms/ . 






 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hsig4pj/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122906653/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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/
 
winmail.dat

Re: [flexcoders] namespace/directory structure issue

2005-08-01 Thread Jaime Bermudez
Ok guys, so w/ Brian's suggestion I was able to get the compiler to
recognize the namespaces w/o changing the initial structure.  I'm more
than halfway there, but I still get some issues w/ image locations. 
Several components have embedded images that are located in an
assets directory one level below the main directory.  So, for
example, one component contains a Link w/
icon=@Embed('assets/logo.swf').  This compiles fine for the main
app.mxml, but I get a resource not found error when trying to hit
one of the test apps.  Do I have to create a variable at the app level
that prepends a prefix like ../../ for test apps and a blank string
for the main level app?  Is there a better way to handle this, maybe a
default image root property?

Thanks,

Jaime

On 7/31/05, Brian Deitte [EMAIL PROTECTED] wrote:
 I think what Matt was saying is having the components directory a level 
 deeper and then referencing this directory in actionscript-classpath in 
 flex-config.xml.  You should be able to create references to components in 
 any directory you put in actionscript-classpath in the same manner that you 
 reference components in a subdirectory of the main application.  I don't 
 think you necessarily need to move the components directory though- I think 
 it would also work to just put the main directory in actionscript-classpath.  
 -Brian
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jaime 
 Bermudez
 Sent: Sunday, July 31, 2005 11:17 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] namespace/directory structure issue
 
 Ok, so I think what you're suggesting is to restructure to something
 like the following:
 
 main
as
components
UI
 test
test1
components
   comp1
test2
 components
comp2
 
 If so, that kind of ruins my approach of dynamically adding components
 to a Container in each testXmxml.  I wanted to follow the approach
 of having each test1...testN directory define a Components.as file
 that lists the component references from the components directory that
 will be added to the Container - that way I could share an appTest.as
 file across each testXmxml declaration.
 
 In any case, there is still the question of code changes and
 check-ins.  How would I keep comp1, for example, in synch w/ comp1 in
 the main branch?  Is there a way to make the components directories
 under each testN directory a pointer to the main components directory?
 
 Thanks,
 
 Jaime
 
 
 On 7/30/05, Matt Chotin [EMAIL PROTECTED] wrote:
 
 
 
  I think what you're gonna need to do is create a different root directory
  and then add it to your classpath in flex-config.xml.  Put all the
  components in that directory (create whatever subdirectories you desire).
  Since you have the test directory it cannot easily refer to components in a
  parallel directory unless the main MXML file is in main.
 
 
 
   
 
 
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
  Behalf Of Jaime Bermudez
   Sent: Saturday, July 30, 2005 5:23 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] namespace/directory structure issue
 
 
 
  Hi Flexcoders,
 
   I am working on a rather large FLEX app w/ a directory structure that
   looks like this:
 
   main
  as
  components
  UI
  ...
  test
  test1
 
   the main directory contains the project's app.mxml, which has custom
   namespace declarations like xmlns:cc = components.UI.*, etc.  That
   works just fine b/c the components and as directories are below the
   app directory.
 
   Because of the size of the app, I created the test directory above,
   which I hope will contain subdirectories of test applications to make
   development compilation quicker (i.e. app.mxml may have 20 components
   from the components directory, but test1.mxml will have just 1).
   The reason I created a test directory is so that it can be easily
   excluded from a production build.  Anyway, in each testX.mxml file,
   I need to be able to refer to components in the components directory
   in an Application tag.  Is there an easy way I can do this w/o having
   to make SWC files?  Note that the components directory is often
   updated, so having to compile a SWC is not ideal.
 
   Thanks,
 
   Jaime
 
 
 
   --
   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
   Computer software testing Macromedia flex Development
   Software developer
 
   
   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] Hope all is watching the Avalon space..

2005-08-01 Thread Darron J. Schall
Rick Bullotta wrote:

I also wouldn't be at all surprised to see a Flex client based on the Java 
plug-in someday.  When looking at the Flex class models, it has a lot of 
similarities to Java rich client stuff - so who knows - maybe the Flash viewer 
someday becomes classes deployed on a JVM!
  

I'd actually be *very* surprised to see this.  There was a Flash Player 
written in Java a long time ago that supported swf version 2.  It was 
horrendously slow, and therefore abandoned.  Granted Java has made some 
performance improvements since then, but how does moving from the Flash 
Player to the JVM help at all?

Flash is already available on a ton of devices, and Java's write once 
run anywhere mantra didn't pan out as much as Sun wanted it to 
especially in the mobile space.  Flash is more portable in it's current 
codebase then it would be as a Java application, and it also runs faster 
as native code anyway.  I don't see any reason why MM would want to 
invest the time in a Flash Player that runs on top of the JVM since it 
doesn't buy them performance or portability, but rather just a new 
series of headaches.

-d




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hf4gbc9/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122911887/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] Hope all is watching the Avalon space..

2005-08-01 Thread Rick Bullotta










Fair enough. Nevertheless, Flash
ubiquity will be key, regardless of technology.



Thanks for the thoughts.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Darron J. Schall
Sent: Monday, August 01, 2005 9:53
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Hope all
is watching the Avalon space..





Rick Bullotta wrote:

I also wouldn't be at all surprised to see a
Flex client based on the Java plug-in someday. When looking at the Flex
class models, it has a lot of similarities to Java rich client stuff - so who
knows - maybe the Flash viewer someday becomes classes deployed on a JVM!
 

I'd actually be *very* surprised to see
this. There was a Flash Player 
written in Java a long time ago that supported swf
version 2. It was 
horrendously slow, and therefore abandoned.
Granted Java has made some 
performance improvements since then, but how does
moving from the Flash 
Player to the JVM help at all?

Flash is already available on a ton of devices,
and Java's write once 
run anywhere mantra didn't pan out as much
as Sun wanted it to 
especially in the mobile space. Flash is
more portable in it's current 
codebase then it would be as a Java application,
and it also runs faster 
as native code anyway. I don't see any
reason why MM would want to 
invest the time in a Flash Player that runs on top
of the JVM since it 
doesn't buy them performance or portability, but
rather just a new 
series of headaches.

-d










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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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] FlashPlayer 8 beta and scriptTimeLimit

2005-08-01 Thread Abdul Qabiz
Title: FlashPlayer 8 beta and scriptTimeLimit





Tracy,

Can you please create a sample mxml file reproducing this 
case? I will also try to reproduce at my end and co-ordinate Flash Player team 
to get it fixed.

Thanks

-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tracy 
SprattSent: Thursday, July 28, 2005 11:42 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] FlashPlayer 8 beta 
and scriptTimeLimit

FP8 seems to not be 
honoring my ScriptTimeLimit setting. Same SWF, probably even locally 
cached, since I just installed the player, then restarted my 
app.
I will see if anything 
changes this behavior.
BTW, it appears to be 
about 30% faster on this ridiculously intense AS process.
Tracy





--
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] namespace/directory structure issue

2005-08-01 Thread Jaime Bermudez
Still waiting for ideas on an approach, but I thought I'd set up the
problem a little better:

Here's the developer directory structure for my project:

main
   app.mxml
   as
   app.as
   appTest.as
   assets (images, etc.)
   components
   test
   test1
   test1.mxml
   as
   Components.as
   test2
   test2.mxml
   as
Components.as

I added the following path-element to the actionscript-classpath in
flex-config.xml:
path-element/main/path-element so I can use the same namespace
declarations in test1.mxml as I use in app.mxml.  I reference
appTest.as in a Script block as Script source=../../as/appTest.as.
 The appTest.as refers to the Components class, which I import in each
testX.mxml file.

The problem I'm seeing is that a handful of components have embedded
image files that are referenced in a source or icon parameter as
assets/image.xxx.  I'm pretty sure that these are all paths relative
to the location of the app file being called, so the references are
only being found for app.mxml.  Is my only and best option to define
some image root variable at the app level that I can prepend to each
image call (thereby forcing me to check-out and change every class
that embeds images)?  Is there a standard approach to this problem?

Thanks.


On 8/1/05, Jaime Bermudez [EMAIL PROTECTED] wrote:
 Ok guys, so w/ Brian's suggestion I was able to get the compiler to
 recognize the namespaces w/o changing the initial structure.  I'm more
 than halfway there, but I still get some issues w/ image locations.
 Several components have embedded images that are located in an
 assets directory one level below the main directory.  So, for
 example, one component contains a Link w/
 icon=@Embed('assets/logo.swf').  This compiles fine for the main
 app.mxml, but I get a resource not found error when trying to hit
 one of the test apps.  Do I have to create a variable at the app level
 that prepends a prefix like ../../ for test apps and a blank string
 for the main level app?  Is there a better way to handle this, maybe a
 default image root property?
 
 Thanks,
 
 Jaime
 
 On 7/31/05, Brian Deitte [EMAIL PROTECTED] wrote:
  I think what Matt was saying is having the components directory a level 
  deeper and then referencing this directory in actionscript-classpath in 
  flex-config.xml.  You should be able to create references to components in 
  any directory you put in actionscript-classpath in the same manner that you 
  reference components in a subdirectory of the main application.  I don't 
  think you necessarily need to move the components directory though- I think 
  it would also work to just put the main directory in 
  actionscript-classpath.  -Brian
 
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
  Jaime Bermudez
  Sent: Sunday, July 31, 2005 11:17 AM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] namespace/directory structure issue
 
  Ok, so I think what you're suggesting is to restructure to something
  like the following:
 
  main
 as
 components
 UI
  test
 test1
 components
comp1
 test2
  components
 comp2
 
  If so, that kind of ruins my approach of dynamically adding components
  to a Container in each testXmxml.  I wanted to follow the approach
  of having each test1...testN directory define a Components.as file
  that lists the component references from the components directory that
  will be added to the Container - that way I could share an appTest.as
  file across each testXmxml declaration.
 
  In any case, there is still the question of code changes and
  check-ins.  How would I keep comp1, for example, in synch w/ comp1 in
  the main branch?  Is there a way to make the components directories
  under each testN directory a pointer to the main components directory?
 
  Thanks,
 
  Jaime
 
 
  On 7/30/05, Matt Chotin [EMAIL PROTECTED] wrote:
  
  
  
   I think what you're gonna need to do is create a different root directory
   and then add it to your classpath in flex-config.xml.  Put all the
   components in that directory (create whatever subdirectories you desire).
   Since you have the test directory it cannot easily refer to components in 
   a
   parallel directory unless the main MXML file is in main.
  
  
  

  
  
   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
   Behalf Of Jaime Bermudez
Sent: Saturday, July 30, 2005 5:23 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] namespace/directory structure issue
  
  
  
   Hi Flexcoders,
  
I am working on a rather large FLEX app w/ a directory structure that
looks like this:
  
main
   as
   components
   UI
   ...
   test
   test1
  
the main directory contains the project's app.mxml, which has custom
namespace 

[flexcoders] where can i access previous emails to this list?

2005-08-01 Thread Sauro, Nick










Hey guys, thanks matt for helping me w/
that packaging problem, it worked. As it turned out, it didnt
like the xmlns=*.



Where is the archive of this group? I
need to look up an answer to a question someone previously posted about setting
column widths in data grid, and I dont want to re ask it(unless
someone knows the answer off the top of their head J ) .



Anyways, if someone can post that link
here, it would be much appreciated. Thanks a lot everyone. I think it was
email.com/flexcoders or something like that.



Thanks











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jaime Bermudez
Sent: Monday, August 01, 2005
11:58 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
namespace/directory structure issue





Still waiting for ideas on an
approach, but I thought I'd set up the
problem a little better:

Here's the developer directory structure for my
project:

main
 app.mxml
 as
 app.as
 appTest.as
 assets (images, etc.)
 components
 test
 test1

test1.mxml

as

Components.as
 test2

test2.mxml

as

Components.as

I added the following path-element to the
actionscript-classpath in
flex-config.xml:
path-element/main/path-element so
I can use the same namespace
declarations in test1.mxml as I use in
app.mxml. I reference
appTest.as in a Script block as Script
source=../../as/appTest.as.
The appTest.as refers to the Components class,
which I import in each
testX.mxml file.

The problem I'm seeing is that a handful of
components have embedded
image files that are referenced in a source or
icon parameter as
assets/image.xxx. I'm pretty
sure that these are all paths relative
to the location of the app file being called, so
the references are
only being found for app.mxml. Is my only
and best option to define
some image root variable at the app level that I
can prepend to each
image call (thereby forcing me to check-out and
change every class
that embeds images)? Is there a standard
approach to this problem?

Thanks.


On 8/1/05, Jaime Bermudez
[EMAIL PROTECTED] wrote:
 Ok guys, so w/ Brian's suggestion I was able
to get the compiler to
 recognize the namespaces w/o changing the
initial structure. I'm more
 than halfway there, but I still get some
issues w/ image locations.
 Several components have embedded images that
are located in an
 assets directory one level below
the main directory. So, for
 example, one component contains a Link w/

icon=@Embed('assets/logo.swf'). This compiles fine for the
main
 app.mxml, but I get a resource not
found error when trying to hit
 one of the test apps. Do I have to
create a variable at the app level
 that prepends a prefix like ../../
for test apps and a blank string
 for the main level app? Is there a
better way to handle this, maybe a
 default image root property?
 
 Thanks,
 
 Jaime
 
 On 7/31/05, Brian Deitte
[EMAIL PROTECTED] wrote:
  I think what Matt was saying is having
the components directory a level deeper and then referencing this directory in
actionscript-classpath in flex-config.xml. You should be able to create
references to components in any directory you put in actionscript-classpath in
the same manner that you reference components in a subdirectory of the main
application. I don't think you necessarily need to move the components
directory though- I think it would also work to just put the main directory in
actionscript-classpath. -Brian
 
  -Original Message-
  From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Jaime Bermudez
  Sent: Sunday, July 31, 2005 11:17 AM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders]
namespace/directory structure issue
 
  Ok, so I think what you're suggesting is
to restructure to something
  like the following:
 
  main
  as
  components

 UI
  test
  test1

 components

 comp1
  test2

 components

 comp2
 
  If so, that kind of ruins my approach of
dynamically adding components
  to a Container in each
testXmxml. I wanted to follow the approach
  of having each test1...testN directory define
a Components.as file
  that lists the component references from
the components directory that
  will be added to the Container - that
way I could share an appTest.as
  file across each testXmxml
declaration.
 
  In any case, there is still the question
of code changes and
  check-ins. How would I keep comp1,
for example, in synch w/ comp1 in
  the main branch? Is there a way to
make the components directories
  under each testN directory a pointer to
the main components directory?
 
  Thanks,
 
  Jaime
 
 
  On 7/30/05, Matt Chotin
[EMAIL PROTECTED] wrote:
  
  
  
   I think what you're gonna need to
do is create a different root directory
   and then add it to your classpath
in flex-config.xml. Put all the
   components in that directory
(create whatever subdirectories you desire).
   Since you have the test directory
it cannot easily refer to components in a
   parallel directory unless the main
MXML file is in 

Re: [flexcoders] where can i access previous emails to this list?

2005-08-01 Thread chris.alvarado
 Where is the archive of this group?  I need to look up an answer to a
 question someone previously posted about setting column width's in  data
 grid, and I don't want to re ask it(unless someone knows the answer off the
 top of their head J ) . 
 
   
 
 Anyways, if someone can post that link here, it would be much appreciated. 
 Thanks a lot everyone.  I think it was email.com/flexcoders or something
 like that. 
 
   
 
 Thanks 
 
   


http://groups.yahoo.com/group/flexcoders/

-- 
-chris.alvarado
[application developer]


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hgem7g1/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122919830/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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] where can i access previous emails to this list?

2005-08-01 Thread Sauro, Nick










*slaps
self* thanks again lol, still shaking off the Monday dust.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Monday, August 01, 2005
12:12 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] where
can i access previous emails to this list?





Check the bottom of these emails J



FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro, Nick
Sent: Monday, August 01, 2005 9:06
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] where can i
access previous emails to this list?





Hey guys, thanks matt for helping me w/
that packaging problem, it worked. As it turned out, it
didnt like the xmlns=*.



Where is the archive of this group?
I need to look up an answer to a question someone previously posted about
setting column widths in data grid, and I dont want to re
ask it(unless someone knows the answer off the top of their head J ) .



Anyways, if someone can post that link
here, it would be much appreciated. Thanks a lot everyone. I think
it was email.com/flexcoders or something like that.



Thanks











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jaime Bermudez
Sent: Monday, August 01, 2005
11:58 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
namespace/directory structure issue





Still waiting for ideas on an
approach, but I thought I'd set up the
problem a little better:

Here's the developer directory structure for my project:

main
 app.mxml
 as
 app.as
 appTest.as
 assets (images, etc.)
 components
 test
 test1

test1.mxml

as

Components.as
 test2

test2.mxml

as

Components.as

I added the following path-element to the
actionscript-classpath in
flex-config.xml:
path-element/main/path-element so
I can use the same namespace
declarations in test1.mxml as I use in
app.mxml. I reference
appTest.as in a Script block as Script
source=../../as/appTest.as.
The appTest.as refers to the Components class,
which I import in each
testX.mxml file.

The problem I'm seeing is that a handful of
components have embedded
image files that are referenced in a source or
icon parameter as
assets/image.xxx. I'm pretty
sure that these are all paths relative
to the location of the app file being called, so
the references are
only being found for app.mxml. Is my only
and best option to define
some image root variable at the app level that I
can prepend to each
image call (thereby forcing me to check-out and
change every class
that embeds images)? Is there a standard
approach to this problem?

Thanks.


On 8/1/05, Jaime Bermudez
[EMAIL PROTECTED] wrote:
 Ok guys, so w/ Brian's suggestion I was able
to get the compiler to
 recognize the namespaces w/o changing the
initial structure. I'm more
 than halfway there, but I still get some
issues w/ image locations.
 Several components have embedded images that
are located in an
 assets directory one level below
the main directory. So, for
 example, one component contains a Link w/

icon=@Embed('assets/logo.swf'). This compiles fine for the
main
 app.mxml, but I get a resource not
found error when trying to hit
 one of the test apps. Do I have to
create a variable at the app level
 that prepends a prefix like
../../ for test apps and a blank string
 for the main level app? Is there a
better way to handle this, maybe a
 default image root property?
 
 Thanks,
 
 Jaime
 
 On 7/31/05, Brian
 Deitte [EMAIL PROTECTED] wrote:
  I think what Matt was saying is having
the components directory a level deeper and then referencing this directory in
actionscript-classpath in flex-config.xml. You should be able to create
references to components in any directory you put in actionscript-classpath in
the same manner that you reference components in a subdirectory of the main
application. I don't think you necessarily need to move the components
directory though- I think it would also work to just put the main directory in
actionscript-classpath. -Brian
 
  -Original Message-
  From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Jaime Bermudez
  Sent: Sunday, July 31, 2005 11:17 AM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders]
namespace/directory structure issue
 
  Ok, so I think what you're suggesting is
to restructure to something
  like the following:
 
  main
  as
  components

 UI
  test
  test1

 components

 comp1
  test2

 components

 comp2
 
  If so, that kind of ruins my approach of
dynamically adding components
  to a Container in each
testXmxml. I wanted to follow the approach
  of having each test1...testN directory
define a Components.as file
  that lists the component references from
the components directory that
  will be added to the Container - that
way I could share an appTest.as
  file 

[flexcoders] Setting selectedIndex, selection off screen

2005-08-01 Thread Stacy Young

Any tips on auto scrolling a list to show currently selected item? I've
got a long list on which I'm setting the selected index which, at times,
is off the screen.

Thx!
Stace


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h7amb76/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122925871/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] Setting selectedIndex, selection off screen

2005-08-01 Thread Deepa Subramaniam
Set the vPosition property on your List control to the selectedIndex to have 
the visible area of the List jump to that particular selection. 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy 
Young
Sent: Monday, August 01, 2005 10:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Setting selectedIndex, selection off screen


Any tips on auto scrolling a list to show currently selected item? I've
got a long list on which I'm setting the selected index which, at times,
is off the screen.

Thx!
Stace



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



 




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hjoctlp/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122926410/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] Setting selectedIndex, selection off screen

2005-08-01 Thread Stacy Young










Deepa, u rock as usual. Gracias.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Deepa Subramaniam
Sent: Monday, August 01, 2005 2:00
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Setting
selectedIndex, selection off screen





Set the vPosition property on your List control to the selectedIndex to
have the visible area of the List jump to that particular selection. 

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Stacy Young
Sent: Monday, August 01, 2005 10:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Setting selectedIndex,
selection off screen


Any tips on auto scrolling a list to show
currently selected item? I've
got a long list on which I'm setting the selected
index which, at times,
is off the screen.

Thx!
Stace



--
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] Setting selectedIndex, selection off screen

2005-08-01 Thread JesterXL
Set the vPosition.  You can also scroll to the bottom setting the vPosition 
to the maxVPosition.


- Original Message - 
From: Stacy Young [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, August 01, 2005 1:50 PM
Subject: [flexcoders] Setting selectedIndex, selection off screen



Any tips on auto scrolling a list to show currently selected item? I've
got a long list on which I'm setting the selected index which, at times,
is off the screen.

Thx!
Stace



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








 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hj1m0vn/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122926566/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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] Hope all is watching the Avalon space..

2005-08-01 Thread Aldo Bucchi
Hi guys,

I believe you are missing the macro perspective here.

Don't give Flex that much importance in the long term.
After all it is just a browser built into Flash, with a set of tools
to allow an enterprise development workflow.
It won't be long till an opensource alternative pops up... it's just a
matter of time till the osflash community develops the pieces and
someone puts them together. No rocket science.

Moreover, anyone with enough money to get Flex is, most of the times,
developing for an intranet where there is full control over the client
runtime and they would happily switch to a less expensive alternative,
or to one that fits nicer into the workflow, even if they have to give
up some eye candy or functionality. Eventually Avalon and other techs
will be better practical alternatives for an important majority.

The important piece here is the Flash player and it's impressive
features, all bundled into one tiny download:

- ubiquity ( 9_% )
- consistency across platforms ( including mobile ) 
- rich scripting language ( AS2 + E4X = reuse, best practices, productivity++ )
- multimedia
- streaming, web presence ( flash comm )

I believe it is the sum of these that will be hard to beat... this is
MM's strong card.

Don't take me wrong, I believe Flex is a wonderful tech, and I enjoy
developing with it and having my customers praise me for free... a
paradigm shifter. But let's not loose objectivity.

It's like talking about Swing, when the important piece is the JVM.

So, Flex is happening today... helping Flash gain some respect in the
enterprise arena ( and MM make tons of money ), but old good Flash
will eventually live on, on it's own, and will evolve as requirements
grow. Unless MM pulls some licence trickery that changes the landscape
in the short term, of course. Who knows.

OTOH, I believe MM has done marvels with in making Flex hard to beat,
and I hope some more power come out of merging flex with the rest of
the family.
Perhaps an integrated presentation ( flex ) + presence + BMP + ESB +
collab + management...?

The flash player can get that far, no doubt about it.

BTW, I was attending a Best of SAP world tour conference the other
day, going over some new netweaver features, and I thought...
What if these guys had built all the presentation capabilities of
netweaver with flash from the beginning! They would have the ultimate
platform from head to toes, from desktop to mobile, with very little
tradeoffs.
The important thing to understand here is that the SOA trend is
quickly pushing more and more functonality to layers that are strongly
related to presentation: collab, presence, information pushing, drag
and relate, high level BUS entry points, etc.
Thus a robust solution on this end would enhance any platform
dramatically ( this wasn't true some time ago ).
Online presence, streaming and collab are just too real and too
powerful to overlook nowadays.

The same goes for Bea, oracle, etc.

Team up, Macromedia!

well, that was a getting too OT.
Back to work.

Best,
Aldo

On 8/1/05, Darron J. Schall [EMAIL PROTECTED] wrote:
 Rick Bullotta wrote:
 
 I also wouldn't be at all surprised to see a Flex client based on the Java 
 plug-in someday.  When looking at the Flex class models, it has a lot of 
 similarities to Java rich client stuff - so who knows - maybe the Flash 
 viewer someday becomes classes deployed on a JVM!
 
 
 I'd actually be *very* surprised to see this.  There was a Flash Player
 written in Java a long time ago that supported swf version 2.  It was
 horrendously slow, and therefore abandoned.  Granted Java has made some
 performance improvements since then, but how does moving from the Flash
 Player to the JVM help at all?
 
 Flash is already available on a ton of devices, and Java's write once
 run anywhere mantra didn't pan out as much as Sun wanted it to
 especially in the mobile space.  Flash is more portable in it's current
 codebase then it would be as a Java application, and it also runs faster
 as native code anyway.  I don't see any reason why MM would want to
 invest the time in a Flash Player that runs on top of the JVM since it
 doesn't buy them performance or portability, but rather just a new
 series of headaches.
 
 -d
 
 
 
 
 
 --
 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
 
 
 
 
 
 
 


-- 
: Aldo Bucchi :
mobile (56) 8 429 8300


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h93mp7o/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122933589/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
Flexcoders 

RE: [flexcoders] Hope all is watching the Avalon space..

2005-08-01 Thread Rick Bullotta










Hi, Aldo!



I would certainly view Flex as more than
a browser built in Flash  it is server-side generated
Flash. Quite a different architecture, of course Also, I wouldnt
say that Flex deals with enterprise development workflow, per se.
Just a piece of the puzzle.



While Flash is the important piece, Flash
player makes MM very little direct money. Dont discount Flex and
its future companions (app builders, other back end information delivery
products, etc.) as insignificant. They are very significant!



Having just been acquired by SAP, Im
currently involved in conceptualizing solutions for the manufacturing vertical
to deliver on exactly what you described below:



Perhaps an integrated presentation ( flex ) + presence + BPM + ESB + collab
+ management...?



I totally share that
vision and think were getting really closestay tuned! Try to make it to SAP TechEd this year in Vienna
or Boston



- Rick













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Aldo Bucchi
Sent: Monday, August 01, 2005 3:59
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Hope all
is watching the Avalon space..





Hi guys,

I believe you are missing the macro perspective
here.

Don't give Flex that much importance in the long
term.
After all it is just a browser built into Flash,
with a set of tools
to allow an enterprise development workflow.
It won't be long till an opensource alternative
pops up... it's just a
matter of time till the osflash community develops
the pieces and
someone puts them together. No rocket science.

Moreover, anyone with enough money to get Flex is,
most of the times,
developing for an intranet where there is full
control over the client
runtime and they would happily switch to a less
expensive alternative,
or to one that fits nicer into the workflow, even
if they have to give
up some eye candy or functionality. Eventually
Avalon and other techs
will be better practical alternatives for an
important majority.

The important piece here is the Flash player and
it's impressive
features, all bundled into one tiny download:

- ubiquity ( 9_% )
- consistency across platforms ( including mobile
) 
- rich scripting language ( AS2 + E4X = reuse,
best practices, productivity++ )
- multimedia
- streaming, web presence ( flash comm )

I believe it is the sum of these that will be hard
to beat... this is
MM's strong card.

Don't take me wrong, I believe Flex is a wonderful
tech, and I enjoy
developing with it and having my customers praise
me for free... a
paradigm shifter. But let's not loose objectivity.

It's like talking about Swing, when the important
piece is the JVM.

So, Flex is happening today... helping Flash gain
some respect in the
enterprise arena ( and MM make tons of money ),
but old good Flash
will eventually live on, on it's own, and will
evolve as requirements
grow. Unless MM pulls some licence trickery that
changes the landscape
in the short term, of course. Who knows.

OTOH, I believe MM has done marvels with in making
Flex hard to beat,
and I hope some more power come out of merging
flex with the rest of
the family.
Perhaps an integrated presentation ( flex ) +
presence + BMP + ESB +
collab + management...?

The flash player can get that far, no doubt about
it.

BTW, I was attending a Best of SAP world tour
conference the other
day, going over some new netweaver features, and I
thought...
What if these guys had built all the presentation
capabilities of
netweaver with flash from the beginning! They
would have the ultimate
platform from head to toes, from desktop to
mobile, with very little
tradeoffs.
The important thing to understand here is that the
SOA trend is
quickly pushing more and more functonality to
layers that are strongly
related to presentation: collab, presence,
information pushing, drag
and relate, high level BUS entry points, etc.
Thus a robust solution on this end would enhance
any platform
dramatically ( this wasn't true some time ago ).
Online presence, streaming and collab are just too
real and too
powerful to overlook nowadays.

The same goes for Bea, oracle, etc.

Team up, Macromedia!

well, that was a getting too OT.
Back to work.

Best,
Aldo

On 8/1/05, Darron J. Schall
[EMAIL PROTECTED] wrote:
 Rick Bullotta
wrote:
 
 I also wouldn't be at all surprised to
see a Flex client based on the Java plug-in someday. When looking at the
Flex class models, it has a lot of similarities to Java rich client stuff - so
who knows - maybe the Flash viewer someday becomes classes deployed on a JVM!
 
 
 I'd actually be *very* surprised to see
this. There was a Flash Player
 written in Java a long time ago that
supported swf version 2. It was
 horrendously slow, and therefore
abandoned. Granted Java has made some
 performance improvements since then, but how
does moving from the Flash
 Player to the JVM help at all?
 
 Flash is already available on a ton of
devices, and Java's write once
 run anywhere mantra didn't pan 

[flexcoders] Re: broadcasting to a sub-component

2005-08-01 Thread Ghislain Simard
In our apps, we would like to refresh all the values in all related 
forms  based on a selected ID from a list. Each time we select a 
zone ID, all the children components must change their values.  I 
haven't figured out how to do so. Can you please help me…I feel that 
I must use the Dispatching but I don't get it yet on how to trigger 
a function in each component.

Here is the structure of the files.


NouveauProjet.mxml (this is the main apps)
mx:Application……

mx:ViewStack id=vsl
EEfrm:zone_hallPEBC projectID={projID} 
id=zone_hallPEBC zoneGenID={zoneGenID} target={this}/
EEfrm:zone_hallMainPEBC id=zone_hallMainPEBC/
….


zone_hallPEBC.mxml
mx:VBox….

function accessZone(choixZone:Object){
_global.tempZone = choixZone;
target.vsl.selectedIndex = 35;
}

mx:List id=zones width=100% height=100% 
dataProvider={ecranRO.affichage.result} labelField=Description 
borderStyle=solid/
mx:Button id=accederButton label=Accéder à la zone 
click=must go to page and refresh all the values for all the 
viewStacks/

zone_hallMainPEBC.mxml
mx:VBox…..

function initApp(){
ecranRO.affichage(_global.tempZone.Building_Zone_ID);
}


…..
mx:RemoteObject id=ecranRO…
mx:method name=affichage 
mx:arguments
zoneID{choixZone.ZoneID}/zoneID
/mx:arguments
/mx:method
/mx:RemoteObject

mx:Accordion id=myAccordion width=100% height=100% 
mx:TabNavigator label=Enveloppe

EEfrm:MursExtPEBCFrm id=MursExtPEBCFrm 
zoneID={_global.tempZone.Building_Zone_ID} /
EEfrm:FenestrationPEBCFrm id=FenestrationPEBCFrm 
zoneID={_global.tempZone.Building_Zone_ID}/ 
EEfrm:ToiturePEBCFrm id=ToiturePEBCFrm 
zoneID={_global.tempZone.Building_Zone_ID}/

/mx:TabNavigator
mx:TabNavigator label=Équipements
EEfrm:EclairagePEBCFrm id=EclairagePEBCFrm 
zoneID={_global.tempZone.Building_Zone_ID} /
EEfrm:CuissonPEBCFrm id=CuissonPEBCFrm 
zoneID={_global.tempZone.Building_Zone_ID}/
EEfrm:EvacuaPEBCFrm id=EvacuaPEBCFrm 
zoneID={_global.tempZone.Building_Zone_ID}/
/mx:TabNavigator
EEfrm:CVCAPEBCFrm id=CVCAPEBCFrm 
zoneID={_global.tempZone.Building_Zone_ID} label=CVCA/
EEfrm:RegulationPEBCFrm id=RegulationPEBCFrm 
zoneID={_global.tempZone.Building_Zone_ID} label=Régulation/
/mx:Accordion

MursExtPEBCFrm  FenestrationPEBCFrm  ToiturePEBCFrm  
EclairagePEBCFrm  CuissonPEBCFrm  EvacuaPEBCFrm  CVCAPEBCFrm  
RegulationPEBCFrm

VBox….

function initApp(){
ecranRO.affichage(_global.tempZone.Building_Zone_ID);
}

……  .

mx:RemoteObject id=ecranRO…
mx:method name=affichage 
mx:arguments
zoneID{choixZone.ZoneID}/zoneID
/mx:arguments
/mx:method
/mx:RemoteObject

mx:TextInput text={ecranRO.result.input1}

…….


Thanks for any help.


--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] 
wrote:
 You're gonna have to provide more information than this.  Give 
everyone
 ids and you'll be able to reach them by dotting down.
 
  
 
 comp1:myComp1 id=mc1 /
 
  
 
 Subcomp2:mySubComp2 id=msc2 /
 
  
 
 mc1.msc2.dispatchEvent({type: change});
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Ghislain Simard
 Sent: Saturday, July 30, 2005 10:55 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] broadcasting to a sub-component
 
  
 
 How to broadcast an event to a component inside a component?
 
 main.mxml
 comp1:myComp1/
 
 myComp1.mxml
 Subcomp2:mySubComp2/
 
 mySubComp2.mxml
 
 
 
 
 --
 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/ . 
 
  
 
 




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h2hdld7/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122937515/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font

Re: [flexcoders] Hope all is watching the Avalon space..

2005-08-01 Thread Aldo Bucchi
Great Rick,
.
You even corrected the typo!... now that's called synchrony. Glad to
see SAP is on this track, I will bet hard on you guys.

I agree I was a little too hard on Flex, I was just trying to cut the
I-love-flex bias from the conversation... After all, this is
flexcoders ;)

And for the server side of Flex... watch out for Spark (which could
sometime provide robust connectivity services) and some yet-to-come
opensource xml compiler ( which could even be a client side
interpreter, with some limitations, but still).

BTW, I had built a client side XML interpreter + databinding framework
some years ago. It has some limitations though... sure the Flex team
stumbled upon them already, and went for the server side compiler.
Anyway, I already have some ideas to work around some of them.

Bottomline, I can tell you from experience that the only really scary
part in rebuilding flex is the component architecture, and getting it
right... BUT, if Grant Skinner could make his own framework, then an
OSFlex is, well, probable.

Best Regards,
Aldo


On 8/1/05, Rick Bullotta [EMAIL PROTECTED] wrote:
  
  
 
 Hi, Aldo! 
 
   
 
 I would certainly view Flex as more than a browser built in Flash – it is
 server-side generated Flash.  Quite a different architecture, of course 
 Also, I wouldn't say that Flex deals with enterprise development workflow,
 per se.  Just a piece of the puzzle. 
 
   
 
 While Flash is the important piece, Flash player makes MM very little direct
 money.  Don't discount Flex and its future companions (app builders, other
 back end information delivery products, etc.) as insignificant.  They are
 very significant! 
 
   
 
 Having just been acquired by SAP, I'm currently involved in conceptualizing
 solutions for the manufacturing vertical to deliver on exactly what you
 described below: 
 
   
 
 Perhaps an integrated presentation ( flex ) + presence + BPM + ESB +
 collab + management...? 
 
   
 
 I totally share that vision and think we're getting really close…stay tuned!
  Try to make it to SAP TechEd this year in Vienna or Boston… 
 
   
 
 - Rick 
 
   
 
   
  
  
  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Aldo Bucchi
  Sent: Monday, August 01, 2005 3:59 PM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Hope all is watching the Avalon space.. 
 
   
 
 Hi guys,
 
  
  I believe you are missing the macro perspective here.
  
  Don't give Flex that much importance in the long term.
  After all it is just a browser built into Flash, with a set of tools
  to allow an enterprise development workflow.
  It won't be long till an opensource alternative pops up... it's just a
  matter of time till the osflash community develops the pieces and
  someone puts them together. No rocket science.
  
  Moreover, anyone with enough money to get Flex is, most of the times,
  developing for an intranet where there is full control over the client
  runtime and they would happily switch to a less expensive alternative,
  or to one that fits nicer into the workflow, even if they have to give
  up some eye candy or functionality. Eventually Avalon and other techs
  will be better practical alternatives for an important majority.
  
  The important piece here is the Flash player and it's impressive
  features, all bundled into one tiny download:
  
  - ubiquity ( 9_% )
  - consistency across platforms ( including mobile ) 
  - rich scripting language ( AS2 + E4X = reuse, best practices,
 productivity++ )
  - multimedia
  - streaming, web presence ( flash comm )
  
  I believe it is the sum of these that will be hard to beat... this is
  MM's strong card.
  
  Don't take me wrong, I believe Flex is a wonderful tech, and I enjoy
  developing with it and having my customers praise me for free... a
  paradigm shifter. But let's not loose objectivity.
  
  It's like talking about Swing, when the important piece is the JVM.
  
  So, Flex is happening today... helping Flash gain some respect in the
  enterprise arena ( and MM make tons of money ), but old good Flash
  will eventually live on, on it's own, and will evolve as requirements
  grow. Unless MM pulls some licence trickery that changes the landscape
  in the short term, of course. Who knows.
  
  OTOH, I believe MM has done marvels with in making Flex hard to beat,
  and I hope some more power come out of merging flex with the rest of
  the family.
  Perhaps an integrated presentation ( flex ) + presence + BMP + ESB +
  collab + management...?
  
  The flash player can get that far, no doubt about it.
  
  BTW, I was attending a Best of SAP world tour conference the other
  day, going over some new netweaver features, and I thought...
  What if these guys had built all the presentation capabilities of
  netweaver with flash from the beginning! They would have the ultimate
  platform from head to toes, from desktop to mobile, with very little
  tradeoffs.
  The important 

Re: [flexcoders] Hope all is watching the Avalon space..

2005-08-01 Thread JesterXL





Macromedia makes bling from licensing their Flash 
Player for devices, so yes, they do make direct money from it.

- Original Message - 
From: Rick Bullotta 
To: flexcoders@yahoogroups.com 
Sent: Monday, August 01, 2005 4:16 PM
Subject: RE: [flexcoders] Hope all is watching the Avalon 
space..


Hi, 
Aldo!

I would certainly view 
Flex as more than a “browser built in Flash” – it is server-side generated 
Flash. Quite a different architecture, of course Also, I wouldn’t 
say that Flex deals with “enterprise development workflow”, per se. Just a 
piece of the puzzle.

While Flash is the 
important piece, Flash player makes MM very little direct money. Don’t 
discount Flex and its future companions (app builders, other back end 
information delivery products, etc.) as insignificant. They are very 
significant!

Having just been 
acquired by SAP, I’m currently involved in conceptualizing solutions for the 
manufacturing vertical to deliver on exactly what you described 
below:

Perhaps an integrated 
presentation ( flex ) + presence + BPM + ESB + collab + 
management...?

I totally share that 
vision and think we’re getting really close…stay tuned! Try 
to make it to SAP TechEd this year in Vienna or 
Boston…

- 
Rick






From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Aldo 
BucchiSent: Monday, August 01, 
2005 3:59 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Hope all is 
watching the Avalon space..

Hi guys,I believe you are missing the macro perspective 
here.Don't give Flex that much 
importance in the long term.After 
all it is just a browser built into Flash, with a set of 
toolsto allow an enterprise 
development workflow.It won't be 
long till an opensource alternative pops up... it's just 
amatter of time till the osflash 
community develops the pieces andsomeone puts them together. No rocket 
science.Moreover, anyone with 
enough money to get Flex is, most of the times,developing for an intranet where there is full control over 
the clientruntime and they would 
happily switch to a less expensive alternative,or to one that fits nicer into the workflow, even if they 
have to giveup some eye candy or 
functionality. Eventually Avalon and other techswill be better practical alternatives for an important 
majority.The important piece 
here is the Flash player and it's impressivefeatures, all bundled into one tiny 
download:- ubiquity ( 9_% 
)- consistency across platforms ( 
including mobile ) - rich scripting 
language ( AS2 + E4X = reuse, best practices, productivity++ 
)- 
multimedia- streaming, web presence 
( flash comm )I believe it is 
the sum of these that will be hard to beat... this isMM's strong card.Don't take me wrong, I believe Flex is a wonderful tech, and 
I enjoydeveloping with it and 
having my customers praise me for free... aparadigm shifter. But let's not loose 
objectivity.It's like talking 
about Swing, when the important piece is the JVM.So, Flex is happening today... helping Flash gain some 
respect in theenterprise arena ( 
and MM make tons of money ), but old good Flashwill eventually live on, on it's own, and will evolve as 
requirementsgrow. Unless MM pulls 
some licence trickery that changes the landscapein the short term, of course. Who 
knows.OTOH, I believe MM has 
done marvels with in making Flex hard to beat,and I hope some more power come out of merging flex with the 
rest ofthe 
family.Perhaps an integrated 
presentation ( flex ) + presence + BMP + ESB +collab + management...?The flash player can get that far, no doubt about 
it.BTW, I was attending a Best 
of SAP world tour conference the otherday, going over some new netweaver features, and I 
thought...What if these guys had 
built all the presentation capabilities ofnetweaver with flash from the beginning! They would have the 
ultimateplatform from head to toes, 
from desktop to mobile, with very littletradeoffs.The 
important thing to understand here is that the SOA trend 
isquickly pushing more and more 
functonality to layers that are stronglyrelated to presentation: collab, presence, information 
pushing, dragand relate, high level 
BUS entry points, etc.Thus a robust 
solution on this end would enhance any platformdramatically ( this wasn't true some time ago 
).Online presence, streaming and 
collab are just too real and toopowerful to overlook nowadays.The same goes for Bea, oracle, 
etc.Team up, 
Macromedia!well, that was a 
getting too OT.Back to 
work.Best,AldoOn 
8/1/05, Darron J. Schall [EMAIL PROTECTED] 
wrote: Rick Bullotta wrote:  I 
also wouldn't be at all surprised to see a Flex client based on the Java plug-in 
someday. When looking at the Flex class models, it has a lot of 
similarities to Java rich client stuff - so who knows - maybe the Flash viewer 
someday becomes classes deployed on a JVM!  
 I'd actually be *very* 
surprised to see this. There was a Flash Player written in Java a long time ago that supported swf 
version 

Re: [flexcoders] Hope all is watching the Avalon space..

2005-08-01 Thread Scott Barnes
Great read aldo, weighed up some nice arguments.

My only thoughts are - aren't you putting a little too much faith in
Open Source champions? ie i've seen quite a few wave the open source
banner which is fine, but initially after the hype has gone and the
champions have moved onto other projects or got bored with the
existing, then it kind of falls ot the side a bit.

There are a lot of OS solutions that have taken off, don't get me
wrong but the thing that makes me sceptic of OS is there is no
motivation other then ownership/creativity. At least if its commercial
and makes money, the momentum keeps being pushed so that they grow
financially.

OSFLASH isn't a saviour, while I understand admire what they have been
doing with the movement of it, it still brings nothing new
techically to the table. There have been component architects that
have tried and someone what failed, either due to complexity or not
enough interest.

Lazlo is open source, by rights its only realistic limiation on
pontential is the player - yet that can be overcome if the right
people are behind it.

AJAX is now staring everyone in the face and woooing web-based folks
into this hole world of we can still save our html/js skills yet no1
has bothered to sit down and actually write a decent framework behind
it (exception bindows.net)

My point is, the technology has been staring us all in the face for
years and openly, yet there has been no momentum in terms of getting
folks to drive it.

Opensource needs community to drive it,until that happens its simply a
nice cool project.



On 8/2/05, Aldo Bucchi [EMAIL PROTECTED] wrote:
 Great Rick,
 .
 You even corrected the typo!... now that's called synchrony. Glad to
 see SAP is on this track, I will bet hard on you guys.
 
 I agree I was a little too hard on Flex, I was just trying to cut the
 I-love-flex bias from the conversation... After all, this is
 flexcoders ;)
 
 And for the server side of Flex... watch out for Spark (which could
 sometime provide robust connectivity services) and some yet-to-come
 opensource xml compiler ( which could even be a client side
 interpreter, with some limitations, but still).
 
 BTW, I had built a client side XML interpreter + databinding framework
 some years ago. It has some limitations though... sure the Flex team
 stumbled upon them already, and went for the server side compiler.
 Anyway, I already have some ideas to work around some of them.
 
 Bottomline, I can tell you from experience that the only really scary
 part in rebuilding flex is the component architecture, and getting it
 right... BUT, if Grant Skinner could make his own framework, then an
 OSFlex is, well, probable.
 
 Best Regards,
 Aldo
 
 
 On 8/1/05, Rick Bullotta [EMAIL PROTECTED] wrote:
 
 
 
  Hi, Aldo!
 
 
 
  I would certainly view Flex as more than a browser built in Flash – it is
  server-side generated Flash.  Quite a different architecture, of course
  Also, I wouldn't say that Flex deals with enterprise development workflow,
  per se.  Just a piece of the puzzle.
 
 
 
  While Flash is the important piece, Flash player makes MM very little direct
  money.  Don't discount Flex and its future companions (app builders, other
  back end information delivery products, etc.) as insignificant.  They are
  very significant!
 
 
 
  Having just been acquired by SAP, I'm currently involved in conceptualizing
  solutions for the manufacturing vertical to deliver on exactly what you
  described below:
 
 
 
  Perhaps an integrated presentation ( flex ) + presence + BPM + ESB +
  collab + management...?
 
 
 
  I totally share that vision and think we're getting really close…stay tuned!
   Try to make it to SAP TechEd this year in Vienna or Boston…
 
 
 
  - Rick
 
 
 
 
 
   
 
 
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
  Behalf Of Aldo Bucchi
   Sent: Monday, August 01, 2005 3:59 PM
   To: flexcoders@yahoogroups.com
   Subject: Re: [flexcoders] Hope all is watching the Avalon space..
 
 
 
  Hi guys,
 
 
   I believe you are missing the macro perspective here.
 
   Don't give Flex that much importance in the long term.
   After all it is just a browser built into Flash, with a set of tools
   to allow an enterprise development workflow.
   It won't be long till an opensource alternative pops up... it's just a
   matter of time till the osflash community develops the pieces and
   someone puts them together. No rocket science.
 
   Moreover, anyone with enough money to get Flex is, most of the times,
   developing for an intranet where there is full control over the client
   runtime and they would happily switch to a less expensive alternative,
   or to one that fits nicer into the workflow, even if they have to give
   up some eye candy or functionality. Eventually Avalon and other techs
   will be better practical alternatives for an important majority.
 
   The important piece here is the Flash player and it's impressive
   

Re: [flexcoders] Hope all is watching the Avalon space..

2005-08-01 Thread JesterXL
Amen.  If Laszlo utilized MTASC instead of JGenerator, replaced JavaScript 
with AS2, then maybe it wouldn't suck.

- Original Message - 
From: Scott Barnes [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, August 01, 2005 5:40 PM
Subject: Re: [flexcoders] Hope all is watching the Avalon space..


Great read aldo, weighed up some nice arguments.

My only thoughts are - aren't you putting a little too much faith in
Open Source champions? ie i've seen quite a few wave the open source
banner which is fine, but initially after the hype has gone and the
champions have moved onto other projects or got bored with the
existing, then it kind of falls ot the side a bit.

There are a lot of OS solutions that have taken off, don't get me
wrong but the thing that makes me sceptic of OS is there is no
motivation other then ownership/creativity. At least if its commercial
and makes money, the momentum keeps being pushed so that they grow
financially.

OSFLASH isn't a saviour, while I understand admire what they have been
doing with the movement of it, it still brings nothing new
techically to the table. There have been component architects that
have tried and someone what failed, either due to complexity or not
enough interest.

Lazlo is open source, by rights its only realistic limiation on
pontential is the player - yet that can be overcome if the right
people are behind it.

AJAX is now staring everyone in the face and woooing web-based folks
into this hole world of we can still save our html/js skills yet no1
has bothered to sit down and actually write a decent framework behind
it (exception bindows.net)

My point is, the technology has been staring us all in the face for
years and openly, yet there has been no momentum in terms of getting
folks to drive it.

Opensource needs community to drive it,until that happens its simply a
nice cool project.



On 8/2/05, Aldo Bucchi [EMAIL PROTECTED] wrote:
 Great Rick,
 .
 You even corrected the typo!... now that's called synchrony. Glad to
 see SAP is on this track, I will bet hard on you guys.

 I agree I was a little too hard on Flex, I was just trying to cut the
 I-love-flex bias from the conversation... After all, this is
 flexcoders ;)

 And for the server side of Flex... watch out for Spark (which could
 sometime provide robust connectivity services) and some yet-to-come
 opensource xml compiler ( which could even be a client side
 interpreter, with some limitations, but still).

 BTW, I had built a client side XML interpreter + databinding framework
 some years ago. It has some limitations though... sure the Flex team
 stumbled upon them already, and went for the server side compiler.
 Anyway, I already have some ideas to work around some of them.

 Bottomline, I can tell you from experience that the only really scary
 part in rebuilding flex is the component architecture, and getting it
 right... BUT, if Grant Skinner could make his own framework, then an
 OSFlex is, well, probable.

 Best Regards,
 Aldo


 On 8/1/05, Rick Bullotta [EMAIL PROTECTED] wrote:
 
 
 
  Hi, Aldo!
 
 
 
  I would certainly view Flex as more than a browser built in Flash – it 
  is
  server-side generated Flash.  Quite a different architecture, of course
  Also, I wouldn't say that Flex deals with enterprise development 
  workflow,
  per se.  Just a piece of the puzzle.
 
 
 
  While Flash is the important piece, Flash player makes MM very little 
  direct
  money.  Don't discount Flex and its future companions (app builders, 
  other
  back end information delivery products, etc.) as insignificant.  They 
  are
  very significant!
 
 
 
  Having just been acquired by SAP, I'm currently involved in 
  conceptualizing
  solutions for the manufacturing vertical to deliver on exactly what you
  described below:
 
 
 
  Perhaps an integrated presentation ( flex ) + presence + BPM + ESB +
  collab + management...?
 
 
 
  I totally share that vision and think we're getting really close…stay 
  tuned!
   Try to make it to SAP TechEd this year in Vienna or Boston…
 
 
 
  - Rick
 
 
 
 
 
   
 
 
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
  Behalf Of Aldo Bucchi
   Sent: Monday, August 01, 2005 3:59 PM
   To: flexcoders@yahoogroups.com
   Subject: Re: [flexcoders] Hope all is watching the Avalon space..
 
 
 
  Hi guys,
 
 
   I believe you are missing the macro perspective here.
 
   Don't give Flex that much importance in the long term.
   After all it is just a browser built into Flash, with a set of tools
   to allow an enterprise development workflow.
   It won't be long till an opensource alternative pops up... it's just a
   matter of time till the osflash community develops the pieces and
   someone puts them together. No rocket science.
 
   Moreover, anyone with enough money to get Flex is, most of the times,
   developing for an intranet where there is full control over the client
   runtime and they would 

Re: [flexcoders] Hope all is watching the Avalon space..

2005-08-01 Thread Aldo Bucchi
Scott, 

Reckon your point.
OS is not magic, and is usually far from optimal. No one will invest
serious time if it is competing with the job that pays their bills.
But in some cases it can make a difference... I believe that in this
particular case the success probability is higher that average. Let me
develop on this. Just some brainstorming...

Let's analyze Flex from a broad perspective, the general problem
domains would be:

- Foundation classes ( logging, unit testing and other services )
- Component framework
--- Data management ( dataprovider or similar )
--- Events
--- Skinning
--- Layout
- Data Binding framework
- Declarative programming interpreter/compiler
- Remoting Services / security, server side proxy, etc

Now, the good news is that the component framework is so big in terms
of relative effort that from the moment an opensource component
framework emerges, the rest of the problems can organize themselves
and evolve around it.
Of course it would be a gigantic task to address from scratch, but in
reality we have frameworks to copycat... Swing, cocoa, and even mx.
This existing pieces of eingeneering provide concepts, idiom,
practices and documentation that can be reused.

Foundation classes already exist in many libraries ( I would settle
for as2lib, and investigate on using AOP in the component framework.
Ain't that fancy )

Declarative and data binding frameworks are not much of a technical
problem, but a conceptual one. And, guess what, they are already
solved in flex. Legalities aside, a lot can be learned from the way
flex generates code.

Of course all this would not lead to a consistent solution like
flex... where every problem domain was tackled by a collaborative
team. Some work would have to be made to refactor each piece into a
coherent solution. But if they are all based on the original
foundation classes and component framework, they might share a common
allignment from the very start.

Moreover, I believe there is a large probability that systematic
effort might be invested by some developers. Remember that the flash
community is quite unique in terms of the amount of I'm making money
from my hobby people looking for an opportunity ( versus Microsoft /
J2EE ). I'm talking of people that have also acquired significant
knowledge of OO concepts
Someone might see a chance here, and settle for paypal and the like.

And last but not least.
Maelstrom and the whole bitmap abstraction layer can, prehaps, allow
for some simplification and optimization on the way components are
drawn... highlights and such. The v2 framework could be simplified a
little with the new functionality ( and there are other quirks that I
don't personally like that could also be overhauled ).

Going home now, nice discusison guys.
See you soon.

Best,
Aldo

PD: I believe Laszlo should just remake itself. I don't really think
it will ever be rendered in anything but Flash (what's the point!!?),
so they should settle for as2 (or wait for as3 and E4X ).
I personally think it is wy inferior to Flex, and to any other
initiative that could be started from zero.




On 8/1/05, JesterXL [EMAIL PROTECTED] wrote:
 Amen.  If Laszlo utilized MTASC instead of JGenerator, replaced JavaScript
 with AS2, then maybe it wouldn't suck.
 
 - Original Message -
 From: Scott Barnes [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Monday, August 01, 2005 5:40 PM
 Subject: Re: [flexcoders] Hope all is watching the Avalon space..
 
 
 Great read aldo, weighed up some nice arguments.
 
 My only thoughts are - aren't you putting a little too much faith in
 Open Source champions? ie i've seen quite a few wave the open source
 banner which is fine, but initially after the hype has gone and the
 champions have moved onto other projects or got bored with the
 existing, then it kind of falls ot the side a bit.
 
 There are a lot of OS solutions that have taken off, don't get me
 wrong but the thing that makes me sceptic of OS is there is no
 motivation other then ownership/creativity. At least if its commercial
 and makes money, the momentum keeps being pushed so that they grow
 financially.
 
 OSFLASH isn't a saviour, while I understand admire what they have been
 doing with the movement of it, it still brings nothing new
 techically to the table. There have been component architects that
 have tried and someone what failed, either due to complexity or not
 enough interest.
 
 Lazlo is open source, by rights its only realistic limiation on
 pontential is the player - yet that can be overcome if the right
 people are behind it.
 
 AJAX is now staring everyone in the face and woooing web-based folks
 into this hole world of we can still save our html/js skills yet no1
 has bothered to sit down and actually write a decent framework behind
 it (exception bindows.net)
 
 My point is, the technology has been staring us all in the face for
 years and openly, yet there has been no momentum in terms of getting
 folks to drive it.
 

[flexcoders] Loading mxml Components

2005-08-01 Thread Mehdi, Agha
Title: Loading mxml Components







Hi all,

I need to create a panel control and load another mxml component into that and partially lay the panel on top of the current app. How do I go about doing that?

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Fax: 408.284.2766









--
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] setFocus is evil

2005-08-01 Thread Mercer, Dustin
Title: Loading mxml Components










Stacy,



I have had this problem as well L I am sad to say, I hate
the focus manager. Ok that was a little harsh but none the less, it has
its issues. There is a way to set the position of the caret though (Set
the start index of the caret as well as the end, so you can choose the text you
wish to be highlighted). I am going to try to find that code. In the mean
time, you may want to try setFocus in the show event or childrenCreated event.
That may fix your issue. If not, then the code for setting the caret position
may help. I will find that code and post it. Give me a few



Dustin Mercer











From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Stacy Young
Sent: Monday, August 01, 2005 7:03
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] setFocus is
evil





Tiny problem but its still driving
me nuts. Ive got a viewstack thats changed based on a users
selection. Each time a container within that stack is viewed an initialization
script is run to populate form elements. At the end of the process Im
using setFocus to, well, focus on the first textinput field. The problem is the
selection on the textinput field is the length of the previous value for that
field. So if the current value of the textinput is abc and the
model changes to abcdefWhen the setFocus executes
its only highlighting from a to c



Hope that was clear, tis late



Thx

Stace









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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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] setFocus is evil

2005-08-01 Thread Mercer, Dustin
Title: Loading mxml Components










Ok got it. You have to use the selection
object. Here is the code (Straight from Flash MX 204 LiveDocs http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=1659.html
) :



this.createTextField(myText_txt,
99, 10, 10, 200, 30);

myText_txt.text =
this is my text;

Selection.setFocus(myText_txt);

Selection.setSelection(0,
3);



Hope this helps J











From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mercer, Dustin
Sent: Monday, August 01, 2005 7:54
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] setFocus
is evil





Stacy,



I have had this problem as well L I am sad to say, I
hate the focus manager. Ok that was a little harsh but none the
less, it has its issues. There is a way to set the position of the
caret though (Set the start index of the caret as well as the end, so you can
choose the text you wish to be highlighted). I am going to try to find
that code. In the mean time, you may want to try setFocus in the show
event or childrenCreated event. That may fix your issue. If not,
then the code for setting the caret position may help. I will find that
code and post it. Give me a few



Dustin Mercer











From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Stacy Young
Sent: Monday, August 01, 2005 7:03
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] setFocus is
evil





Tiny problem but its still driving
me nuts. Ive got a viewstack thats changed based on a users
selection. Each time a container within that stack is viewed an initialization
script is run to populate form elements. At the end of the process Im
using setFocus to, well, focus on the first textinput field. The problem is the
selection on the textinput field is the length of the previous value for that
field. So if the current value of the textinput is abc and the
model changes to abcdefWhen the setFocus executes
its only highlighting from a to c



Hope that was clear, tis
late



Thx

Stace










--
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] namespace/directory structure issue

2005-08-01 Thread Matt Chotin










Sorry, the image embedding is going to be
relative from the main file. You MIGHT be able to do /assets (starting slash)
but we do not have a search path for image locations I think.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jaime Bermudez
Sent: Monday, August 01, 2005 8:58
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
namespace/directory structure issue





Still waiting for ideas on an
approach, but I thought I'd set up the
problem a little better:

Here's the developer directory structure for my
project:

main
 app.mxml
 as
 app.as
 appTest.as
 assets (images, etc.)
 components
 test
 test1

test1.mxml

as

Components.as
 test2

test2.mxml

as

Components.as

I added the following path-element to the
actionscript-classpath in
flex-config.xml:
path-element/main/path-element so
I can use the same namespace
declarations in test1.mxml as I use in
app.mxml. I reference
appTest.as in a Script block as Script
source=../../as/appTest.as.
The appTest.as refers to the Components class,
which I import in each
testX.mxml file.

The problem I'm seeing is that a handful of
components have embedded
image files that are referenced in a source or
icon parameter as
assets/image.xxx. I'm pretty
sure that these are all paths relative
to the location of the app file being called, so
the references are
only being found for app.mxml. Is my only
and best option to define
some image root variable at the app level that I
can prepend to each
image call (thereby forcing me to check-out and
change every class
that embeds images)? Is there a standard
approach to this problem?

Thanks.


On 8/1/05, Jaime Bermudez
[EMAIL PROTECTED] wrote:
 Ok guys, so w/ Brian's suggestion I was able
to get the compiler to
 recognize the namespaces w/o changing the
initial structure. I'm more
 than halfway there, but I still get some
issues w/ image locations.
 Several components have embedded images that
are located in an
 assets directory one level below
the main directory. So, for
 example, one component contains a Link w/

icon=@Embed('assets/logo.swf'). This compiles fine for the
main
 app.mxml, but I get a resource not
found error when trying to hit
 one of the test apps. Do I have to
create a variable at the app level
 that prepends a prefix like ../../
for test apps and a blank string
 for the main level app? Is there a
better way to handle this, maybe a
 default image root property?
 
 Thanks,
 
 Jaime
 
 On 7/31/05, Brian
 Deitte [EMAIL PROTECTED] wrote:
  I think what Matt was saying is having
the components directory a level deeper and then referencing this directory in
actionscript-classpath in flex-config.xml. You should be able to create
references to components in any directory you put in actionscript-classpath in
the same manner that you reference components in a subdirectory of the main
application. I don't think you necessarily need to move the components
directory though- I think it would also work to just put the main directory in
actionscript-classpath. -Brian
 
  -Original Message-
  From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Jaime Bermudez
  Sent: Sunday, July 31, 2005 11:17 AM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders]
namespace/directory structure issue
 
  Ok, so I think what you're suggesting is
to restructure to something
  like the following:
 
  main
  as
  components

 UI
  test
  test1

 components

 comp1
  test2

 components

 comp2
 
  If so, that kind of ruins my approach of
dynamically adding components
  to a Container in each
testXmxml. I wanted to follow the approach
  of having each test1...testN directory define
a Components.as file
  that lists the component references from
the components directory that
  will be added to the Container - that
way I could share an appTest.as
  file across each testXmxml
declaration.
 
  In any case, there is still the question
of code changes and
  check-ins. How would I keep comp1,
for example, in synch w/ comp1 in
  the main branch? Is there a way to
make the components directories
  under each testN directory a pointer to
the main components directory?
 
  Thanks,
 
  Jaime
 
 
  On 7/30/05, Matt Chotin
[EMAIL PROTECTED] wrote:
  
  
  
   I think what you're gonna need to
do is create a different root directory
   and then add it to your classpath
in flex-config.xml. Put all the
   components in that directory
(create whatever subdirectories you desire).
   Since you have the test directory
it cannot easily refer to components in a
   parallel directory unless the main
MXML file is in main.
  
  
  
  

  
  
   From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
   Behalf Of Jaime Bermudez
   Sent: Saturday, July 30, 2005
5:23 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders]
namespace/directory structure issue
  
  
  
   Hi Flexcoders,
  
   I am working on a rather

[flexcoders] NaN

2005-08-01 Thread Ghislain Simard
I have in the NetConnectionDebugger a field with a value of NaN.
The following condition doesn't see the NaN...why ? and how to make 
the condition working?

if (myField == NaN){
 dosomething;
}




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h7nqk6s/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122962345/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

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

2005-08-01 Thread Andrew Spaulding
NaN stands for Not a Number, and it is a String. So to correct you
if statement you would have to check (myField == NaN).

** at least i think its a string haha, can't remember :p

Hope that helps,

Andrew
www.flexdaddy.info


--- In flexcoders@yahoogroups.com, Ghislain Simard [EMAIL PROTECTED]
wrote:
 I have in the NetConnectionDebugger a field with a value of NaN.
 The following condition doesn't see the NaN...why ? and how to make 
 the condition working?
 
 if (myField == NaN){
  dosomething;
 }




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h5utdb4/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122963828/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

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

2005-08-01 Thread Matt Chotin










Actually you need to use isNaN(myField) J











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Andrew Spaulding
Sent: Monday, August 01, 2005 9:24
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: NaN





NaN stands for Not a Number, and
it is a String. So to correct you
if statement you would have to check
(myField == NaN).

** at least i think its a string haha, can't
remember :p

Hope that helps,

Andrew
www.flexdaddy.info


--- In flexcoders@yahoogroups.com,
Ghislain Simard [EMAIL PROTECTED]
wrote:
 I have in the NetConnectionDebugger a field
with a value of NaN.
 The following condition doesn't see the NaN...why ? and how to make 
 the condition working?
 
 if (myField == NaN){
 dosomething;
 }










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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







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

2005-08-01 Thread Andrew Spaulding
Hehe thanks matt, i had no idea, but thought I'd throw something up :p


--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
 Actually you need to use isNaN(myField) :-)
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Andrew Spaulding
 Sent: Monday, August 01, 2005 9:24 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: NaN
 
  
 
 NaN stands for Not a Number, and it is a String. So to correct you
 if statement you would have to check (myField == NaN).
 
 ** at least i think its a string haha, can't remember :p
 
 Hope that helps,
 
 Andrew
 www.flexdaddy.info
 
 
 --- In flexcoders@yahoogroups.com, Ghislain Simard [EMAIL PROTECTED]
 wrote:
  I have in the NetConnectionDebugger a field with a value of NaN.
  The following condition doesn't see the NaN...why ? and how to make 
  the condition working?
  
  if (myField == NaN){
   dosomething;
  }
 
 
 
 
 --
 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] 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
  
 
 




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hk34kpf/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122964551/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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] Loading mxml Components

2005-08-01 Thread Mehdi, Agha
Title: Loading mxml Components





Hi Matt,

Yeah, I realized after posting my thread that we have PopUp 
Managers to do that sort of thing. But now I'm stuck at another problem. I am 
creating TitleWindow as a popup. How can I make it so that users can 
resize/minimize/maximize it?

Thanks

Agha


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Matt 
ChotinSent: Monday, August 01, 2005 8:27 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Loading mxml 
Components


You can tell the Panel 
instance to createChild and pass in the MXML component you want it to 
instantiate. I'm assuming you want to do this programmatically, this isn't 
a Panel containing a single kind of component that you could easily write in 
MXML? When you say the Panel needs to lay on top, does it need to stick 
around for a while? Or this the sort of thing you could use the 
PopUpManager for? If you need it to move around but not be a popup you're 
going to need to have your Application have a Canvas. Then the Canvas can 
contain a VBox that is sized to the same size as the Canvas. And then you 
can add the Panel to the Canvas which will allow the Panel to move around and on 
top of the VBox.

HTH,
Matt





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, AghaSent: Monday, August 01, 2005 4:54 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Loading mxml 
Components

Hi 
all,
I need to create a 
panel control and load another mxml component into that and 
partially lay the panel on top 
of the current app. How do I go 
about doing that?
Thanks
Agha 
Mehdi
IDT - eBusiness 
Program Manager
Work: 
408.284.8239
Fax: 
408.284.2766






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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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.



  










To ensure compliance with requirements imposed by the IRS, we inform you that any U.S. federal tax advice contained in this document (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein.

This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com




Re: [flexcoders] setFocus is evil

2005-08-01 Thread JesterXL
Title: Loading mxml Components





Old skool way was to use the text name. You 
can use the built in setFocus, which originally was just a wrapper to 
Selection.setFocus.

As for setSelection:

Selection.setSelection(0, 
myText_txt.length);

That always has to occur after setFocus, not 
before.

- Original Message - 
From: Mercer, Dustin 
To: flexcoders@yahoogroups.com 
Sent: Monday, August 01, 2005 11:03 PM
Subject: RE: [flexcoders] setFocus is evil


Ok got it. You 
have to use the selection object. Here is the code (Straight from Flash MX 
204 LiveDocs http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=1659.html 
) :

this.createTextField("myText_txt", 
99, 10, 10, 200, 30);
myText_txt.text = "this 
is my text";
Selection.setFocus("myText_txt");
Selection.setSelection(0, 
3);

Hope this helps 
J







From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mercer, DustinSent: Monday, August 01, 2005 7:54 
PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] setFocus is 
evil

Stacy,

I have had this problem 
as well L I am sad to say, 
I hate the focus manager. Ok that was a little harsh… but none the less, 
it has its’ issues. There is a way to set the position of the caret though 
(Set the start index of the caret as well as the end, so you can choose the text 
you wish to be highlighted). I am going to try to find that code. In 
the mean time, you may want to try setFocus in the show event or childrenCreated 
event. That may fix your issue. If not, then the code for setting 
the caret position may help. I will find that code and post it. Give 
me a few…

Dustin 
Mercer





From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy YoungSent: Monday, August 01, 2005 7:03 
PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] setFocus is 
evil

Tiny problem but it’s 
still driving me nuts. I’ve got a viewstack that’s changed based on a users 
selection. Each time a container within that stack is viewed an initialization 
script is run to populate form elements. At the end of the process I’m using 
setFocus to, well, focus on the first textinput field. The problem is the 
selection on the textinput field is the length of the previous value for that 
field. So if the current value of the textinput is “abc” and the model changes 
to “abcdef”…When the setFocus executes it’s only highlighting from a to 
c

Hope that was clear, 
‘tis late…

Thx
Stace






--
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] Loading mxml Components

2005-08-01 Thread Matt Chotin
Title: Loading mxml Components










You can start here: http://manish.revise.org/2005/04/resizable-titlewindow-in-flex.html



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha
Sent: Monday, August 01, 2005 9:45
PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] Loading
mxml Components





Hi Matt,



Yeah, I realized after posting my thread
that we have PopUp Managers to do that sort of thing. But now I'm stuck at
another problem. I am creating TitleWindow as a popup. How can I make it so
that users can resize/minimize/maximize it?



Thanks



Agha









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Monday, August 01, 2005 8:27
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Loading
mxml Components

You can tell the Panel instance to
createChild and pass in the MXML component you want it to instantiate.
I'm assuming you want to do this programmatically, this isn't a Panel
containing a single kind of component that you could easily write in
MXML? When you say the Panel needs to lay on top, does it need to stick
around for a while? Or this the sort of thing you could use the
PopUpManager for? If you need it to move around but not be a popup you're
going to need to have your Application have a Canvas. Then the Canvas can
contain a VBox that is sized to the same size as the Canvas. And then you
can add the Panel to the Canvas which will allow the Panel to move around and
on top of the VBox.



HTH,

Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha
Sent: Monday, August 01, 2005 4:54
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Loading mxml
Components





Hi all,

I need to create a panel control and load
another mxml component into that and partially lay the panel on top of the current app. How do I go about doing that?

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Fax: 408.284.2766











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



  











To ensure compliance with requirements imposed by the IRS, we inform you that any U.S. federal tax advice contained in this document (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein.

This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com



RE: [flexcoders] Loading mxml Components

2005-08-01 Thread Mehdi, Agha
Title: Loading mxml Components





Great. Thanks a bunch Matt.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Matt 
ChotinSent: Monday, August 01, 2005 9:54 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Loading mxml 
Components


You can start here: http://manish.revise.org/2005/04/resizable-titlewindow-in-flex.html

Matt





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, AghaSent: Monday, August 01, 2005 9:45 
PMTo: 'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] Loading mxml 
Components

Hi 
Matt,

Yeah, I realized after 
posting my thread that we have PopUp Managers to do that sort of thing. But now 
I'm stuck at another problem. I am creating TitleWindow as a popup. How can I 
make it so that users can resize/minimize/maximize 
it?

Thanks

Agha




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Matt ChotinSent: Monday, August 01, 2005 8:27 
PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Loading mxml 
Components
You can tell the Panel 
instance to createChild and pass in the MXML component you want it to 
instantiate. I'm assuming you want to do this programmatically, this isn't 
a Panel containing a single kind of component that you could easily write in 
MXML? When you say the Panel needs to lay on top, does it need to stick 
around for a while? Or this the sort of thing you could use the 
PopUpManager for? If you need it to move around but not be a popup you're 
going to need to have your Application have a Canvas. Then the Canvas can 
contain a VBox that is sized to the same size as the Canvas. And then you 
can add the Panel to the Canvas which will allow the Panel to move around and on 
top of the VBox.

HTH,
Matt





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, AghaSent: Monday, August 01, 2005 4:54 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Loading mxml 
Components

Hi 
all,
I need to create a 
panel control and load another mxml component into that and 
partially lay the panel on top 
of the current app. How do I go 
about doing that?
Thanks
Agha 
Mehdi
IDT - eBusiness 
Program Manager
Work: 
408.284.8239
Fax: 
408.284.2766


To ensure compliance with requirements imposed by the IRS, we 
inform you that any U.S. federal tax advice contained in this document 
(including any attachments) is not intended or written to be used, and cannot be 
used, for the purpose of (i) avoiding penalties under the Internal Revenue Code 
or (ii) promoting, marketing or recommending to another party any transaction or 
matter addressed herein.This email may contain confidential and 
privileged material for the sole use of the intended recipient(s). Any review, 
use, distribution or disclosure by others is strictly prohibited. If you are not 
the intended recipient (or authorized to receive for the recipient), please 
contact the sender by reply email and delete all copies of this 
message.To reply to our email administrator directly, send an email 
to[EMAIL PROTECTED]Littler Mendelson, 
P.C.http://www.littler.com





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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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.



  










To ensure compliance with requirements imposed by the IRS, we inform you that any U.S. federal tax advice contained in this document (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein.

This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com




[flexcoders] Re: Loading mxml Components

2005-08-01 Thread Andrew Spaulding
There have been multiple attempts at things like this from some
talented Flex/Flash developers on the list.

I tried to combine these attempts some time ago and havent looked at
it since (back when I first started with Flex and Actionscript, so it
is probably a bit sloppy). Take a look at it, it might help get you
started.

http://www.flexdaddy.info/2005/03/06/resizable-and-collapsable-titlewindow-flex-15/

For other great code samples be sure to check out www.cflex.net and
www.flexauthority.com both are great resources.

Andrew
www.flexdaddy.info




--- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote:
 Hi Matt,
  
 Yeah, I realized after posting my thread that we have PopUp Managers
to do
 that sort of thing. But now I'm stuck at another problem. I am creating
 TitleWindow as a popup. How can I make it so that users can
 resize/minimize/maximize it?
  
 Thanks
  
 Agha
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Matt Chotin
 Sent: Monday, August 01, 2005 8:27 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Loading mxml Components
 
 
 
 You can tell the Panel instance to createChild and pass in the MXML
 component you want it to instantiate.  I'm assuming you want to do this
 programmatically, this isn't a Panel containing a single kind of
component
 that you could easily write in MXML?  When you say the Panel needs
to lay on
 top, does it need to stick around for a while?  Or this the sort of
thing
 you could use the PopUpManager for?  If you need it to move around
but not
 be a popup you're going to need to have your Application have a Canvas.
 Then the Canvas can contain a VBox that is sized to the same size as the
 Canvas.  And then you can add the Panel to the Canvas which will
allow the
 Panel to move around and on top of the VBox.
 
  
 
 HTH,
 
 Matt
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Mehdi, Agha
 Sent: Monday, August 01, 2005 4:54 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Loading mxml Components
 
  
 
 Hi all,
 
 I need to create a panel control and load another mxml component
into that
 and partially lay the panel on top of the current app. How do I go about
 doing that?
 
 Thanks
 
 Agha Mehdi
 
 IDT - eBusiness Program Manager
 
 Work: 408.284.8239
 
 Fax:   408.284.2766
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
 Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
 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] 
   
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
 http://docs.yahoo.com/info/terms/ . 
 
 
   _  
 
 
 
 
 
 To ensure compliance with requirements imposed by the IRS, we inform
you that any U.S. federal tax advice contained in this document
(including any attachments) is not intended or written to be used, and
cannot be used, for the purpose of (i) avoiding penalties under the
Internal Revenue Code or (ii) promoting, marketing or recommending to
another party any transaction or matter addressed herein.
 
 This email may contain confidential and privileged material for the
sole use of the intended recipient(s). Any review, use, distribution
or disclosure by others is strictly prohibited. If you are not the
intended recipient (or authorized to receive for the recipient),
please contact the sender by reply email and delete all copies of this
message.
 
 To reply to our email administrator directly, send an email to
 [EMAIL PROTECTED]
 
 Littler Mendelson, P.C.
 http://www.littler.com





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hl7vdpi/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=112294/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

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