[flexcoders] TextInput

2005-03-29 Thread [EMAIL PROTECTED]

Hi to all,

stupid question

mx:TextInput id=tdsc width=100% text= enabled=false   
keyDown=if (Key.isDown(113)) Elenco_Misure(Misure)/

i wish that TextInput is disable or readOnly but i can't fire keyDown 
event, there's a method to do, i think if there is a readOnly property 
this would work.
Devis


 
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] I stole Mach-II for Flex hehe...

2005-03-29 Thread Scott Barnes

I've been working (for the past 5 days) on my own framework, well my
own meaning cherry picked some damn fine ideas from Mach-II.com

At anyrate, I posted my basic theory online via my blog, and yall
being FLEXCoders here, I thought I would ask folks thoughts on my plan
of attack for a FLEX framework?

If its off topic, I apologise and will let thine thread die of a slow
but embarassing death ;)

http://www.mossyblog.com/archives/432.cfm

If anyones interested.

-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


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

2005-03-29 Thread christoph larch



hi there,

latest news from macromedia sales directly :
on 1st april the price will rise.
eur 15K / CPU
but there will be a 4 CPU license for round about eur 28K
both packages contain 5 flex builder licenses...



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

2005-03-29 Thread Robert Stuttaford

url?

-Original Message-
From: christoph larch [mailto:[EMAIL PROTECTED] 
Sent: 29 March 2005 01:25 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 1.5 price




hi there,

latest news from macromedia sales directly :
on 1st april the price will rise.
eur 15K / CPU
but there will be a 4 CPU license for round about eur 28K
both packages contain 5 flex builder licenses...



 
Yahoo! Groups Links



 





 
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 1.5 price [Macromedia Italy tech]

2005-03-29 Thread [EMAIL PROTECTED]

It's true Sjors,
it's a strange Macromedia Conversion!
but it will be difficult to find clients prepared to spend 2, with 
already 14000 they open wide me the eyes , despite the final 
product is of good impact. 
However I don't think that Macromedia will lower the costs, to the last 
Italy Macromedia Tech, has confirmed the prices and besides they wants 
to hold Macromedia Flex as  Enterprise produced, in few words if we want 
a beautiful product it needs to pay it.
But in many italy real case will be extremely difficult to find new or 
old customers (not only small firms but averages firms also) prepared to 
spend, especially in this Italy economical bad  moment.
Devis
(Vicenza)



Sjors Pals ha scritto:

Wrong calculation ;) Its even worse in Euros 9.302 is the equivalent of  
$12.000.
Sorry..

Sjors Pals



Sjors Pals wrote:

  

I dont know or its mentioned, but when i read the website it says:

$12,000 USD or 14,400 

Isn't that strange? One Euro is $1,29

So the price should be something like : 11,162
Has this something to do with export taxes or something?

Regards,

Sjors Pals

Robert Stuttaford wrote:

 



url?

-Original Message-
From: christoph larch [mailto:[EMAIL PROTECTED]
Sent: 29 March 2005 01:25 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 1.5 price




hi there,

latest news from macromedia sales directly :
on 1st april the price will rise.
eur 15K / CPU
but there will be a 4 CPU license for round about eur 28K
both packages contain 5 flex builder licenses...




Yahoo! Groups Links








*Yahoo! Groups Sponsor*
ADVERTISEMENT
click here 
http://us.ard.yahoo.com/SIG=129huq3hv/M=298184.6191685.7192823.3001176/D=groups/S=1705007207:HM/EXP=1112103135/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.com/Default?mqso=60190075
 




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


   

  



Yahoo! Groups Links









 






 
Yahoo! Groups Links



 


  




 
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] IF flex_price 12k usd THEN should_I_consider_to_Buy = undefined

2005-03-29 Thread mlaudrup1986


Hello flexcoders,

I've been evaluating this product for about 2 months for now... I'm 
not a Flash/Flex developer and the learning curve of the AS2 
principles in addition to the Flex framework was quite steep. I 
managed to develop my first application and many thanks for the 
flexcoders user groups but can't say I'm very impressed by this 
product.

It's true Flex has his merits, nice interfaces, large library of 
components, but I have my doubts about this products and here are 
some of them:

1. Too expensive. Cannot justify adding such a big price on top of 
the current hardware/software arhitecture.  JRun+Flex don't think is 
a good option, and after my experience with JRun's memory leaking 
working with Flex I have a deja vu feeling... The library is not 
open source and many times you have to  GO WISH to get a fix 
and with each fix you might fear that the new release will be more 
expensive not cool.

2. Not very sure this product is ready for a full blown production 
application. It's very nice for data retrieval application type, 
not as good for data entry apps;

3. The final product depends too much of the Flash Player ( an extra 
layer of possibles problems - especially memory leaking ). I've seen 
that sometimes under high load my browser crashes without any 
reason

In conclusion, I've seen this movie a while back at SUN. SUN 
developed a nice web framework, SUN ONE (Jato)  and at the beginning 
was open source and free:)) People like it, adopt it very well 
and then SUN introduced  a license fee in addition to not releasing 
the source code Can you guess the result? Many people dropped the 
product and agreed that Sun ONE  ( Jato )  is a great web framework, 
but considered that Struts is a better alternative Too bad

So, in case the price rises then my company will drop Flex as a UI 
candidate and we'll go back to JSF, Struts, tiles, open source 
components

just my 0.02$

Regards,
Michael





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

2005-03-29 Thread JesterXL

What parts of mobile?  Flash Lite works on many mobile devices, and you can 
work on it right now:

http://www.macromedia.com/devnet/devices/

http://www.macromedia.com/devnet/devices/articles/flashlite_ols.html


- Original Message - 
From: [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, March 29, 2005 10:04 AM
Subject: Re: [flexcoders] Flex 1.5 price



When Flex came out, the joke went around that its price was a rounding error
for Java folk. I suspect the Euro price is just rounded up to make the maths
easier.

Meanwhile is anyone involved in this beta who feels they can let the rest of
in on the mobile story?

http://www.cxotoday.com/cxo/jsp/article.jsp?article_id=3053cat_id=908

David

David Aaron
Mobile 44+7976-973-451
Skype planetzog
Certified Macromedia Developer and Trainer
Blog http://www.woofquackmoo.com

- Original Message - 
From: Sjors Pals [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, March 29, 2005 2:55 PM
Subject: Re: [flexcoders] Flex 1.5 price



 Wrong calculation ;) Its even worse in Euros 9.302 is the equivalent of
 $12.000.
 Sorry..

 Sjors Pals



 Sjors Pals wrote:

 I dont know or its mentioned, but when i read the website it says:
 
 $12,000 USD or 14,400 
 
 Isn't that strange? One Euro is $1,29
 
 So the price should be something like : 11,162
 Has this something to do with export taxes or something?
 
 Regards,
 
 Sjors Pals
 
 Robert Stuttaford wrote:
 
 
 
 url?
 
 -Original Message-
 From: christoph larch [mailto:[EMAIL PROTECTED]
 Sent: 29 March 2005 01:25 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Flex 1.5 price
 
 
 
 
 hi there,
 
 latest news from macromedia sales directly :
 on 1st april the price will rise.
 eur 15K / CPU
 but there will be a 4 CPU license for round about eur 28K
 both packages contain 5 flex builder licenses...
 
 
 
 
 Yahoo! Groups Links
 
 
 
 
 
 
 
 
 *Yahoo! Groups Sponsor*
 ADVERTISEMENT
 click here

http://us.ard.yahoo.com/SIG=129huq3hv/M=298184.6191685.7192823.3001176/D=
groups/S=1705007207:HM/EXP=1112103135/A=2593423/R=0/SIG=11el9gslf/*http://ww
w.netflix.com/Default?mqso=60190075
 
 
 
 
 *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]
 
mailto:[EMAIL PROTECTED]
 * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
   Service http://docs.yahoo.com/info/terms/.
 
 
 
 
 
 
 
 
 Yahoo! Groups Links
 
 
 
 
 
 
 
 
 
 
 




 Yahoo! Groups Links













Yahoo! Groups Links








 
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] xml as input for a datagrid

2005-03-29 Thread Jeroen De Vos










Hi guys,



My data comes wrapped in an xml object.

Can I easily put the data in a datagrid?



Thanks,

Jeroen.





 

Jeroen De Vos

Gemeentelijk Havenbedrijf Antwerpen

C/ICT - AMARIS 
 





Deze e-mail en alle gekoppelde bestanden zijn officiele documenten van het Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke of persoonlijke informatie bevatten. Gelieve de afzender onmiddellijk via e-mail of telefonisch te verwittigen als u deze e-mail per vergissing heeft ontvangen en verwijder vervolgens de e-mail zonder deze te lezen, te reproduceren, te verspreiden of te ontsluiten naar derden. Het Gemeentelijk Havenbedrijf Antwerpen is op geen enkele manier verantwoordelijk voor fouten of onnauwkeurigheden in de inhoud van deze e-mail. Het Gemeentelijk Havenbedrijf Antwerpen kan niet aansprakelijk gesteld worden voor directe of indirecte schade, verlies of ongemak veroorzaakt als gevolg van een onnauwkeurigheid of fout in deze e-mail. English Translation: This e-mail and all attached files are official documents of Antwerp Port Authority and may contain confidential or personal information. If you have received this e-mail in error, you are asked to inform the sender by e-mail or telephone immediately, and to remove it from your system without reading or reproducing it or passing it on to other parties. Antwerp Port Authority is in no way responsible for any errors or inaccuracies in the contents of this e-mail, nor can it be held liable for any direct or indirect loss, damage or inconvenience arising from any such errors or inaccuracies.[GHA#Disclaimer]







Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.












RE: [flexcoders] Comboboxes in datagrid

2005-03-29 Thread Dirk Eismann

Hi,

I usually subclass the DataGridColumn class to customize the assigned cell 
renderer. This way you can easily pass extra information (in your case the 
dataprovider for the combo boxes) directly to the column. The cellrenderer then 
asks its row for the dataprovider to use:

mx:DataGrid ... 
  mx:columns
my:ExtendedDataGridColumn cellRenderer=ComboRenderer 
dataProvider={arr1}/
my:ExtendedDataGridColumn cellRenderer=ComboRenderer 
dataProvider={arr2}/
my:ExtendedDataGridColumn cellRenderer=ComboRenderer 
dataProvider={arr3}/
  /mx:columns
/mx:DataGrid

ExtendedDataGridColumn just extends the mx.controls.gridclasses.DataGridColumn 
class and adds a public variable dataProvider.

Inside the cellRenderer class ComboRenderer (which you could implement as a 
direct subclass  of mx.controls.ComboBox) you can then access the correct 
dataProvider by doing this

function init():Void {
  super.init();
  dataProvider = listOwner.getColumnAt(getCellIndex().columnIndex);
}

Dirk.


 -Original Message-
 From: Tom Fitzpatrick [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 29, 2005 5:23 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Comboboxes in datagrid
 
 
 
 I'm trying to create a datagrid that holds three-column rows with a 
 comboBox in each cell.
 
 I assume I have to use a cellrenderer to accomplish this - is 
 this correct? 
 I've been experimenting with cellrenderer examples on the 
 rich internet 
 apps site (Webster/McLeod) and one posted by Dirk Eismann. Both these 
 assume only one comboBox per row, and I haven't found a way 
 to add three 
 per row, each with a different dataProvider. So close, yet so 
 far. Any tips 
 (or code to share)?
 
 - Tom
 
 
 
 
 
 
  
 Yahoo! Groups Links
 
 
 
  
 
 
 
 


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

2005-03-29 Thread david.aaron

I am aware of Flash Lite in its current limited form but I have been hearing
rumours about its replacement which should have RIA abilities. I am curious
if these extend to the mobile platforms.

David Aaron
Mobile 44+7976-973-451
Skype planetzog
Certified Macromedia Developer and Trainer
Blog http://www.woofquackmoo.com

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, March 29, 2005 4:06 PM
Subject: Re: [flexcoders] Flex 1.5 price



 What parts of mobile?  Flash Lite works on many mobile devices, and you
can
 work on it right now:

 http://www.macromedia.com/devnet/devices/

 http://www.macromedia.com/devnet/devices/articles/flashlite_ols.html


 - Original Message - 
 From: [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, March 29, 2005 10:04 AM
 Subject: Re: [flexcoders] Flex 1.5 price



 When Flex came out, the joke went around that its price was a rounding
error
 for Java folk. I suspect the Euro price is just rounded up to make the
maths
 easier.

 Meanwhile is anyone involved in this beta who feels they can let the rest
of
 in on the mobile story?

 http://www.cxotoday.com/cxo/jsp/article.jsp?article_id=3053cat_id=908

 David

 David Aaron
 Mobile 44+7976-973-451
 Skype planetzog
 Certified Macromedia Developer and Trainer
 Blog http://www.woofquackmoo.com

 - Original Message - 
 From: Sjors Pals [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, March 29, 2005 2:55 PM
 Subject: Re: [flexcoders] Flex 1.5 price


 
  Wrong calculation ;) Its even worse in Euros 9.302 is the equivalent of
  $12.000.
  Sorry..
 
  Sjors Pals
 
 
 
  Sjors Pals wrote:
 
  I dont know or its mentioned, but when i read the website it says:
  
  $12,000 USD or 14,400 
  
  Isn't that strange? One Euro is $1,29
  
  So the price should be something like : 11,162
  Has this something to do with export taxes or something?
  
  Regards,
  
  Sjors Pals
  
  Robert Stuttaford wrote:
  
  
  
  url?
  
  -Original Message-
  From: christoph larch [mailto:[EMAIL PROTECTED]
  Sent: 29 March 2005 01:25 PM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Flex 1.5 price
  
  
  
  
  hi there,
  
  latest news from macromedia sales directly :
  on 1st april the price will rise.
  eur 15K / CPU
  but there will be a 4 CPU license for round about eur 28K
  both packages contain 5 flex builder licenses...
  
  
  
  
  Yahoo! Groups Links
  
  
  
  
  
  
  
  
  *Yahoo! Groups Sponsor*
  ADVERTISEMENT
  click here
 

http://us.ard.yahoo.com/SIG=129huq3hv/M=298184.6191685.7192823.3001176/D=

groups/S=1705007207:HM/EXP=1112103135/A=2593423/R=0/SIG=11el9gslf/*http://ww
 w.netflix.com/Default?mqso=60190075
  
  
  
 

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





 Yahoo! Groups Links









 Yahoo! Groups Links












 
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] xml as input for a datagrid

2005-03-29 Thread Pushkar Phatak

Jeroen,
May be you can take a look at the classic flexexplorer version of the
datagrid. That probably has what you are looking for.

http://flexapps.macromedia.com/flex15/explorer/explorer.mxml

Pushkar

On Tue, 29 Mar 2005 17:04:57 +0200, Jeroen De Vos
[EMAIL PROTECTED] wrote:
  
  
 
 Hi guys, 
 
   
 
 My data comes wrapped in an xml object. 
 
 Can I easily put the data in a datagrid? 
 
   
 
 Thanks, 
 
 Jeroen. 
 
   
 
   
 
  
 
 Jeroen De Vos 
  Gemeentelijk Havenbedrijf Antwerpen 
  C/ICT - AMARIS 
   
 
   
 
 Deze e-mail en alle gekoppelde bestanden zijn officiele documenten van het
 Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke of persoonlijke
 informatie bevatten. Gelieve de afzender onmiddellijk via e-mail of
 telefonisch te verwittigen als u deze e-mail per vergissing heeft ontvangen
 en verwijder vervolgens de e-mail zonder deze te lezen, te reproduceren, te
 verspreiden of te ontsluiten naar derden. Het Gemeentelijk Havenbedrijf
 Antwerpen is op geen enkele manier verantwoordelijk voor fouten of
 onnauwkeurigheden in de inhoud van deze e-mail. Het Gemeentelijk
 Havenbedrijf Antwerpen kan niet aansprakelijk gesteld worden voor directe of
 indirecte schade, verlies of ongemak veroorzaakt als gevolg van een
 onnauwkeurigheid of fout in deze e-mail. 
 
 English Translation: This e-mail and all attached files are official
 documents of Antwerp Port Authority and may contain confidential or personal
 information. If you have received this e-mail in error, you are asked to
 inform the sender by e-mail or telephone immediately, and to remove it from
 your system without reading or reproducing it or passing it on to other
 parties. Antwerp Port Authority is in no way responsible for any errors or
 inaccuracies in the contents of this e-mail, nor can it be held liable for
 any direct or indirect loss, damage or inconvenience arising from any such
 errors or inaccuracies. [GHA#Disclaimer] 
  
 Yahoo! Groups Sponsor
 ADVERTISEMENT
  
  
  
  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 the Yahoo! Terms of Service. 


-- 
www.pushkar.net
My World, Your View!


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

2005-03-29 Thread [EMAIL PROTECTED]

Hi,
 i have 3 ActionScript function , and i wish to create a progress bar 
into a tileWindow and destroy it when finish.
Can you help me please
Devis


 
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] Tab from Modal not working

2005-03-29 Thread joao_m_fernandes


Hi there,

I'm trying to avoid modal window to tab from a popupwindow field (this
case a dg) to the background application.

Is this possible? 

I want to have tab enabled but preventing to tab to another container.


Thanks,

João Fernandes





 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] How to pass AS Objects to a CFC

2005-03-29 Thread Mehdi, Agha

You can also implement mapping like this

=
1.  AS VO
--
Class TestVO
{
public var test1 : String;
public var test2 : Array;

function TestVO ()
{
Object.registerClass ( testVO, TestVO );
}
}

testVO = new TestVO();
remoteObject.passToCF ( testVO );
=

2.  CF
--
cffunction name=getASObject returntype=any access=remote
cfargument name=testVO type=struct required=yes

cfset var _asVO = arguments.testVO.getType()
cfset var _cfVO = CreateObject( component, _asVO )

cfset _cfVO[test1] = arguments.testVO[test1]
cfset _cfVO[test2] = arguments.testVO[test2]
/cffunction

cffunction name=passASObject returntype=struct access=remote
cfargument name=cfVO type=TestVO required=yes

cfset var _asVO = CreateObject( java, flashgateway.io.ASObject
).init()

cfset _asVO.setType( testVO )
cfset _asVO[test1] = arguments.cfVO[test1]
cfset _asVO[test2] = arguments.cfVO[test2]

cfreturn _asVO

/cffunction
===

3.  AS receiving the VO from CF
--
public / private var testVO : TestVO;
testVO = event.result;
==

That should get you going. You might wanna make this mapping a process,
which your service layer invokes before getting Vos into and out of your
backend. You can make it so that you define variables of your CF VO as
properties and loop over the properties to auto populate the AS VO going out
and the same when you read the AS VO. You might also wanna look into Tartan,
which has this mapping built into it and offers seemless integration.

Let me know if you have any questions.

Thanks

-Original Message-
From: Tom Link [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 9:59 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to pass AS Objects to a CFC


I believe the solution Dirk provided solves this problem as well.
That is, in addition to Mehdi's initial solution #2:

   remoteObject.cfFunction ( toPass, true );

You can use named argument syntax:
remoteObject.cfFunction({arg1:toPass});

Where arg1 is also the name of the argument in the CFC method cfFunction.

Mohanraj, this is the solution I posted in my blog:
http://tomlink.net/blog/index.cfm?mode=entryentry=BBFE84D5-7E97-A3B0-EE0B2D
C292F5272F, where you also posed this question.  Please correct me if I am
missing something.

-tom

 -Original Message-
 From: Mohanraj Jayaraman [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 25, 2005 5:44 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] How to pass AS Objects to a CFC
 
 
 Thanks for the explantion Peter. That really helps.
 Mehdi thanks for yet another Tip.
 It works in FLEX.
 
 Mohanraj
 
 
 --- Mehdi, Agha [EMAIL PROTECTED] wrote:
 
  Thanks Peter for the explanation. That explains it.
  I am glad it worked
  Mohanraj.
 
  There's one more way of doing it without having to specify the other 
  argument.
 
  var  testObject = new Array(); // it has to be an array. It won't 
  work if you did new Object()
 
  testObject[var1] = var1;
  testObject[var2] = var2
 
  remoteObject.cfFunction ( testObject );
 
  cffunction name=cfFunction access=remote
  cfargument name=testObject type=struct /cffunction
 
  It works in Flash. Haven't tried it on Flex but shouldn't have any 
  problems.
  It is simple if all you want to pass is an object with some 
  properties instead of sending over a class.
 
 
  -Original Message-
  From: Peter Farland [mailto:[EMAIL PROTECTED]
 
  Sent: Friday, March 25, 2005 11:25 AM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] How to pass AS Objects to a CFC
 
 
  The history of this problem stems way back from
  Flash Remoting in ColdFusion
  6.0.
 
  ActionScript 1.0 APIs for Flash Remoting introduced
  named arguments
  for CF-based invocation. The syntax for passing
  named arguments was usually
  listed like this in documentation:
 
  myCFService.cfFunction({var1:foo,var2:bar});
 
 
  Which was intended to match a CFC API:
 
  cffunction name=cfFunction access=remote
  cfargument name=var1
  cfargument name=var2
  /cffunction
 
  The {} syntax, however, really just means an untyped
  Object, so this
  invocation information is lost once it is serialized
  over AMF.
 
  But AMF isn't the real issue - the Flash Remoting
  gateway can't adapt
  accordinly as it can't get the necessary CFC API or
  argument type
  information from the CFC function before invoking it
  (a limitation in CF),
  so now it has a problem - how would it know that
  you're passing a single
  struct or named arguments?
 
  To disambiguate you use either of the two approaches
  that Mehdi described.
 
 
  

Re: [flexcoders] code 2 my blog

2005-03-29 Thread Pushkar Phatak

Clint,
Thanks.
This helps a lot!! 
regards
Pushkar


On Tue, 29 Mar 2005 10:43:20 -0600, Clint Tredway [EMAIL PROTECTED] wrote:
 
 I have posted the code to my blog on the blog...
 
 I changed the UI this morning to use cellrenderers and made it flow a
 bit better... The only thing missing is a true admin for the blog... I
 will add that in the next few days...
 
 I hope some learn something from it and I can learn from others
 looking at it as well...
 
 This blog shows how to use Cairngorm and how to use cell renderers to
 change how the grids display data. It also shows how to use shared
 objects to store data on the client (user info when leaving a
 comment)
 
 enjoy,
 Clint
 --
 My Blog
 http://www.clinttredway.com
 
 Are you diabetic?
 http://www.diabetesforums.com
 
 
 Yahoo! Groups Links
 
 
 
 
 


-- 
www.pushkar.net
My World, Your View!


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

2005-03-29 Thread Sjors Pals

Wrong calculation ;) Its even worse in Euros 9.302 is the equivalent of  
$12.000.
Sorry..

Sjors Pals



Sjors Pals wrote:

I dont know or its mentioned, but when i read the website it says:

$12,000 USD or 14,400 

Isn't that strange? One Euro is $1,29

So the price should be something like : 11,162
Has this something to do with export taxes or something?

Regards,

Sjors Pals

Robert Stuttaford wrote:

  

url?

-Original Message-
From: christoph larch [mailto:[EMAIL PROTECTED]
Sent: 29 March 2005 01:25 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 1.5 price




hi there,

latest news from macromedia sales directly :
on 1st april the price will rise.
eur 15K / CPU
but there will be a 4 CPU license for round about eur 28K
both packages contain 5 flex builder licenses...




Yahoo! Groups Links








*Yahoo! Groups Sponsor*
ADVERTISEMENT
click here 
http://us.ard.yahoo.com/SIG=129huq3hv/M=298184.6191685.7192823.3001176/D=groups/S=1705007207:HM/EXP=1112103135/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.com/Default?mqso=60190075
 




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







 
Yahoo! Groups Links



 





  




 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

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

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] How to pass AS Objects to a CFC

2005-03-29 Thread Mohanraj Jayaraman

I was about to post a question on 'Using Value Objects
with CFC' and your example explains it all.

Thanks again.
Mohanraj


--- Mehdi, Agha [EMAIL PROTECTED] wrote:

 You can also implement mapping like this
 
 =
 1.AS VO
 --
 Class TestVO
 {
   public var test1 : String;
   public var test2 : Array;
 
   function TestVO ()
   {
   Object.registerClass ( testVO, TestVO );
   }
 }
 
 testVO = new TestVO();
 remoteObject.passToCF ( testVO );
 =
 
 2.CF
 --
 cffunction name=getASObject returntype=any
 access=remote
   cfargument name=testVO type=struct
 required=yes
   
   cfset var _asVO = arguments.testVO.getType()
   cfset var _cfVO = CreateObject( component, _asVO
 )
   
   cfset _cfVO[test1] = arguments.testVO[test1]
   cfset _cfVO[test2] = arguments.testVO[test2]
 /cffunction
 
 cffunction name=passASObject returntype=struct
 access=remote
   cfargument name=cfVO type=TestVO
 required=yes
   
   cfset var _asVO = CreateObject( java,
 flashgateway.io.ASObject
 ).init()
   
   cfset _asVO.setType( testVO )
   cfset _asVO[test1] = arguments.cfVO[test1]
   cfset _asVO[test2] = arguments.cfVO[test2]
   
   cfreturn _asVO
   
 /cffunction

===
 
 3.AS receiving the VO from CF
 --
 public / private var testVO : TestVO;
 testVO = event.result;
 ==
 
 That should get you going. You might wanna make this
 mapping a process,
 which your service layer invokes before getting Vos
 into and out of your
 backend. You can make it so that you define
 variables of your CF VO as
 properties and loop over the properties to auto
 populate the AS VO going out
 and the same when you read the AS VO. You might also
 wanna look into Tartan,
 which has this mapping built into it and offers
 seemless integration.
 
 Let me know if you have any questions.
 
 Thanks
 
 -Original Message-
 From: Tom Link [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 28, 2005 9:59 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] How to pass AS Objects to
 a CFC
 
 
 I believe the solution Dirk provided solves this
 problem as well.
 That is, in addition to Mehdi's initial solution #2:
 
remoteObject.cfFunction ( toPass, true );
 
 You can use named argument syntax:
 remoteObject.cfFunction({arg1:toPass});
 
 Where arg1 is also the name of the argument in the
 CFC method cfFunction.
 
 Mohanraj, this is the solution I posted in my blog:

http://tomlink.net/blog/index.cfm?mode=entryentry=BBFE84D5-7E97-A3B0-EE0B2D
 C292F5272F, where you also posed this question. 
 Please correct me if I am
 missing something.
 
 -tom
 
  -Original Message-
  From: Mohanraj Jayaraman
 [mailto:[EMAIL PROTECTED]
  Sent: Friday, March 25, 2005 5:44 PM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] How to pass AS Objects
 to a CFC
  
  
  Thanks for the explantion Peter. That really
 helps.
  Mehdi thanks for yet another Tip.
  It works in FLEX.
  
  Mohanraj
  
  
  --- Mehdi, Agha [EMAIL PROTECTED] wrote:
  
   Thanks Peter for the explanation. That explains
 it.
   I am glad it worked
   Mohanraj.
  
   There's one more way of doing it without having
 to specify the other 
   argument.
  
   var  testObject = new Array(); // it has to be
 an array. It won't 
   work if you did new Object()
  
   testObject[var1] = var1;
   testObject[var2] = var2
  
   remoteObject.cfFunction ( testObject );
  
   cffunction name=cfFunction access=remote
   cfargument name=testObject type=struct
 /cffunction
  
   It works in Flash. Haven't tried it on Flex but
 shouldn't have any 
   problems.
   It is simple if all you want to pass is an
 object with some 
   properties instead of sending over a class.
  
  
   -Original Message-
   From: Peter Farland
 [mailto:[EMAIL PROTECTED]
  
   Sent: Friday, March 25, 2005 11:25 AM
   To: flexcoders@yahoogroups.com
   Subject: RE: [flexcoders] How to pass AS Objects
 to a CFC
  
  
   The history of this problem stems way back from
   Flash Remoting in ColdFusion
   6.0.
  
   ActionScript 1.0 APIs for Flash Remoting
 introduced
   named arguments
   for CF-based invocation. The syntax for passing
   named arguments was usually
   listed like this in documentation:
  
   myCFService.cfFunction({var1:foo,var2:bar});
  
  
   Which was intended to match a CFC API:
  
   cffunction name=cfFunction access=remote
   cfargument name=var1
   cfargument name=var2
   /cffunction
  
   The {} syntax, however, really just means an
 untyped
   Object, so this
   invocation information is lost once it is
 serialized
   over AMF.
  
   But AMF isn't the real issue - the Flash
 Remoting
   gateway can't adapt
   accordinly as it can't get the 

RE: [flexcoders] Comboboxes in datagrid

2005-03-29 Thread Tom Fitzpatrick

Dirk -

Many thanks for your suggestions - but I'm still struggling to make this work.

I guess I need a more complete, simple example of multiple comboboxes in 
multiple datagrid rows so I can build off of that.

Can you - or anyone else - provide or point to such an example?

- Tom

At 10:34 AM 3/29/2005, you wrote:
Hi,

I usually subclass the DataGridColumn class to customize the assigned cell 
renderer. This way you can easily pass extra information (in your case the 
dataprovider for the combo boxes) directly to the column. The cellrenderer 
then asks its row for the dataprovider to use:

mx:DataGrid ... 
   mx:columns
 my:ExtendedDataGridColumn cellRenderer=ComboRenderer 
 dataProvider={arr1}/
 my:ExtendedDataGridColumn cellRenderer=ComboRenderer 
 dataProvider={arr2}/
 my:ExtendedDataGridColumn cellRenderer=ComboRenderer 
 dataProvider={arr3}/
   /mx:columns
/mx:DataGrid

ExtendedDataGridColumn just extends the 
mx.controls.gridclasses.DataGridColumn class and adds a public variable 
dataProvider.

Inside the cellRenderer class ComboRenderer (which you could implement as 
a direct subclass  of mx.controls.ComboBox) you can then access the 
correct dataProvider by doing this

function init():Void {
   super.init();
   dataProvider = listOwner.getColumnAt(getCellIndex().columnIndex);
}

Dirk.


  -Original Message-
  From: Tom Fitzpatrick [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, March 29, 2005 5:23 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Comboboxes in datagrid
 
 
 
  I'm trying to create a datagrid that holds three-column rows with a
  comboBox in each cell.
 
  I assume I have to use a cellrenderer to accomplish this - is
  this correct?
  I've been experimenting with cellrenderer examples on the
  rich internet
  apps site (Webster/McLeod) and one posted by Dirk Eismann. Both these
  assume only one comboBox per row, and I haven't found a way
  to add three
  per row, each with a different dataProvider. So close, yet so
  far. Any tips
  (or code to share)?
 
  - Tom
 
 
 
 
 
 
 
  Yahoo! Groups Links
 
 
 
 
 
 
 
 

Yahoo! Groups Sponsor
ADVERTISEMENT
http://us.ard.yahoo.com/SIG=129ss640v/M=298184.6191685.7192823.3001176/D=groups/S=1705007207:HM/EXP=1112196939/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.com/Default?mqso=60190075
click here

[]



--
Yahoo! Groups Links
* To visit your group on the web, go to:
* 
 http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/flexcoders/
  

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

*
* Your use of Yahoo! Groups is subject to the 
 http://docs.yahoo.com/info/terms/Yahoo! Terms of Service.






 
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] super.super?

2005-03-29 Thread Simon Fifield





Hi 
Flexcoders,

Is it possible to 
make a call like:super.super.layoutChildren();
The compiler says 
"There is no such method with the name 'super'."

Is there another way 
around?



Kind Regards,

Simon 
Fifield







Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.










Re: [flexcoders] IF flex_price 12k usd THEN should_I_consider_to_Buy = undefined

2005-03-29 Thread Scott Barnes

Heya,

This raises a good question as to what FLEX is really meant to do. In
that, you've stated that you've experienced memory leaks  and so
forth, and i must admit if i load too much into the one screen stack,
i too will see some CPU climb - but thats easily fixed by removing
un-needed containers/controls (ie its no use having a mini virtual OS
within a browser) along with varies data/memory management techniques
applied (de-reference variables when finished, page breaking data
etc).

FLASH Player by its very nature has a limited amount of memory budget
to play with and if you want to store 80,000 rows of data inside a
DataGrid then yeah memory will hike. In reality though most folk will
only use the top 100 at the very most on any search criteria - unless
they are doing some crazy MS Excel type situation.

Anyway the point i'm trying to make is that if the price does
increase, and peoples expectations of what FLEX should DO vs what its
capable of DOING (ie even if you compared FLEX App against a .NET
Windows Form / JAVA SWING style app in terms of performance, you have
to agree that FLEX will look poor (performance wise) on that regard.
Yet in development costs and accessing it via the web, it kind of
doesn't seem that bad - especially in file sizes.

This is where I personally found it a point of contentation in that,
as soon as i mentioned its capabilities of emulating thickware clients
via browser, straightaway people i've pitched it to in the past have
gone on the comparisons route - neglecting the keyword being,
emulation.

To me, FLEX is like buying VW BUG (Car), and stripping its
panels/visuals away and putting porsche replacements in its place.. it
looks and in many ways can sound like a porsche, but its no porsche
its a VW made to look like one. (I recently saw a car do this very
thing and you'd swear you were looking at a porsche..until it was
started).

Analogy was probably weak

Price wise, maybe Michael is right, maybe that for $15k per CPU it HAS
to go toe to toe with a thickware client aswell as maintain a smaller
payload in terms of bandwidth consumption.




On Tue, 29 Mar 2005 14:21:05 -, mlaudrup1986 [EMAIL PROTECTED] wrote:
 
 
 Hello flexcoders,
 
 I've been evaluating this product for about 2 months for now... I'm
 not a Flash/Flex developer and the learning curve of the AS2
 principles in addition to the Flex framework was quite steep. I
 managed to develop my first application and many thanks for the
 flexcoders user groups but can't say I'm very impressed by this
 product.
 
 It's true Flex has his merits, nice interfaces, large library of
 components, but I have my doubts about this products and here are
 some of them:
 
 1. Too expensive. Cannot justify adding such a big price on top of
 the current hardware/software arhitecture.  JRun+Flex don't think is
 a good option, and after my experience with JRun's memory leaking
 working with Flex I have a deja vu feeling... The library is not
 open source and many times you have to  GO WISH to get a fix
 and with each fix you might fear that the new release will be more
 expensive not cool.
 
 2. Not very sure this product is ready for a full blown production
 application. It's very nice for data retrieval application type,
 not as good for data entry apps;
 
 3. The final product depends too much of the Flash Player ( an extra
 layer of possibles problems - especially memory leaking ). I've seen
 that sometimes under high load my browser crashes without any
 reason
 
 In conclusion, I've seen this movie a while back at SUN. SUN
 developed a nice web framework, SUN ONE (Jato)  and at the beginning
 was open source and free:)) People like it, adopt it very well
 and then SUN introduced  a license fee in addition to not releasing
 the source code Can you guess the result? Many people dropped the
 product and agreed that Sun ONE  ( Jato )  is a great web framework,
 but considered that Struts is a better alternative Too bad
 
 So, in case the price rises then my company will drop Flex as a UI
 candidate and we'll go back to JSF, Struts, tiles, open source
 components
 
 just my 0.02$
 
 Regards,
 Michael
 
 
 Yahoo! Groups Links
 
 
 
 
 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
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] code 2 my blog

2005-03-29 Thread Clint Tredway

thanks!


On Tue, 29 Mar 2005 12:22:38 -0500, Pushkar Phatak [EMAIL PROTECTED] wrote:
 
 Clint,
 Thanks.
 This helps a lot!!
 regards
 Pushkar
 
 
 On Tue, 29 Mar 2005 10:43:20 -0600, Clint Tredway [EMAIL PROTECTED] wrote:
 
  I have posted the code to my blog on the blog...
 
  I changed the UI this morning to use cellrenderers and made it flow a
  bit better... The only thing missing is a true admin for the blog... I
  will add that in the next few days...
 
  I hope some learn something from it and I can learn from others
  looking at it as well...
 
  This blog shows how to use Cairngorm and how to use cell renderers to
  change how the grids display data. It also shows how to use shared
  objects to store data on the client (user info when leaving a
  comment)
 
  enjoy,
  Clint
  --
  My Blog
  http://www.clinttredway.com
 
  Are you diabetic?
  http://www.diabetesforums.com
 
 
  Yahoo! Groups Links
 
 
 
 
 
 
 --
 www.pushkar.net
 My World, Your View!
 
 
 Yahoo! Groups Links
 
 
 
 
 


-- 
My Blog
http://www.clinttredway.com

Are you diabetic?
http://www.diabetesforums.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] responding to a custom event - help requested

2005-03-29 Thread Jonathan Hirschi

Hey all, i've got a situation that I don't think i'm
handling correctly...

situation:

I have a main application that contains a datagrid.  I
create a popup to handle editing and when the edit has
gone through, i want to refresh the main datagrid. 
I'm trying to do this through an event (is that the
right way to do it?).

Code
-

calling the event from the main window:

instwin =
mx.managers.PopUpManager.createPopUp(this,RecWin,false,initObj);
instwin.addEventListener(recAdded, refreshRecs);

On the popup side.. i have all of the editing code...
where i have the form etc, then i submit it for
editing (this all works)... but then when i get done
with the edit/add i run this function that dispatches
the event...

function processUpdate(result:Object):Void   {
  if (result.isError == 'false')  {
 textLabel = update was Successful;
 dispatchEvent({type:'recAdded'});
//this.deletePopUp();
  }  else {
 textLabel = result.msg;
  }
}

In the main app, i try to chatch it with this
function..

function refreshRecs(event) {
  
getNewHardware(arrStatusFilter[statusSearch.selectedIndex].VAL,'','','');

}

the getNewHardware is a function that runs the
processing of the new recordset... it works as well (i
use it in another part)  

my best guess is that I'm not catching the event
correctly... anybody know what I'm doing wrong?

Thanks!!

Jon Hirschi



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 


 
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] IF flex_price 12k usd THEN should_I_consider_to_Buy = undefined

2005-03-29 Thread Dennis Jackson

I have never had good luck with cold fusion and its memory management. 
Especially with com objects. I have a couple of known bugs that were opened and 
have resolved much of this by shipping COM work to .net and using MX's 
webservices to access it, and in some cases having the entire COM object 
rewritten into java. I would expect being built by the same folks and still 
being a fairly early version, there is not much hope of really great memory 
management.

If we say that memory leaks are the result of sloppy coding or incomplete 
debugging, then the more expensive the product the less of those type of error 
I expect to see, and I certainly expect a faster than 3 month turn for a hot 
fix.
-Original Message-
From: Scott Barnes [EMAIL PROTECTED]
Date: Wed, 30 Mar 2005 09:11:21 
To:flexcoders@yahoogroups.com
Subject: Re: [flexcoders] IF flex_price  12k usd THEN should_I_consider_to_Buy 
= undefined

Heya,
 
 This raises a good question as to what FLEX is really meant to do. In
 that, you've stated that you've experienced memory leaks  and so
 forth, and i must admit if i load too much into the one screen stack,
 i too will see some CPU climb - but thats easily fixed by removing
 un-needed containers/controls (ie its no use having a mini virtual OS
 within a browser) along with varies data/memory management techniques
 applied (de-reference variables when finished, page breaking data
 etc).
 
 FLASH Player by its very nature has a limited amount of memory budget
 to play with and if you want to store 80,000 rows of data inside a
 DataGrid then yeah memory will hike. In reality though most folk will
 only use the top 100 at the very most on any search criteria - unless
 they are doing some crazy MS Excel type situation.
 
 Anyway the point i'm trying to make is that if the price does
 increase, and peoples expectations of what FLEX should DO vs what its
 capable of DOING (ie even if you compared FLEX App against a .NET
 Windows Form / JAVA SWING style app in terms of performance, you have
 to agree that FLEX will look poor (performance wise) on that regard.
 Yet in development costs and accessing it via the web, it kind of
 doesn't seem that bad - especially in file sizes.
 
 This is where I personally found it a point of contentation in that,
 as soon as i mentioned its capabilities of emulating thickware clients
 via browser, straightaway people i've pitched it to in the past have
 gone on the comparisons route - neglecting the keyword being,
 emulation.
 
 To me, FLEX is like buying VW BUG (Car), and stripping its
 panels/visuals away and putting porsche replacements in its place.. it
 looks and in many ways can sound like a porsche, but its no porsche
 its a VW made to look like one. (I recently saw a car do this very
 thing and you'd swear you were looking at a porsche..until it was
 started).
 
 Analogy was probably weak
 
 Price wise, maybe Michael is right, maybe that for $15k per CPU it HAS
 to go toe to toe with a thickware client aswell as maintain a smaller
 payload in terms of bandwidth consumption.
 
 
 
 
 On Tue, 29 Mar 2005 14:21:05 -, mlaudrup1986 [EMAIL PROTECTED] wrote:
  
  
  Hello flexcoders,
  
  I've been evaluating this product for about 2 months for now... I'm
  not a Flash/Flex developer and the learning curve of the AS2
  principles in addition to the Flex framework was quite steep. I
  managed to develop my first application and many thanks for the
  flexcoders user groups but can't say I'm very impressed by this
  product.
  
  It's true Flex has his merits, nice interfaces, large library of
  components, but I have my doubts about this products and here are
  some of them:
  
  1. Too expensive. Cannot justify adding such a big price on top of
  the current hardware/software arhitecture.  JRun+Flex don't think is
  a good option, and after my experience with JRun's memory leaking
  working with Flex I have a deja vu feeling... The library is not
  open source and many times you have to  GO WISH to get a fix
  and with each fix you might fear that the new release will be more
  expensive not cool.
  
  2. Not very sure this product is ready for a full blown production
  application. It's very nice for data retrieval application type,
  not as good for data entry apps;
  
  3. The final product depends too much of the Flash Player ( an extra
  layer of possibles problems - especially memory leaking ). I've seen
  that sometimes under high load my browser crashes without any
  reason
  
  In conclusion, I've seen this movie a while back at SUN. SUN
  developed a nice web framework, SUN ONE (Jato)  and at the beginning
  was open source and free:)) People like it, adopt it very well
  and then SUN introduced  a license fee in addition to not releasing
  the source code Can you guess the result? Many people dropped the
  product and agreed that Sun ONE  ( Jato )  is a great web framework,
  but considered that Struts is a better 

Re: [flexcoders] code 2 my blog

2005-03-29 Thread Chris Velevitch

Which version of Flex are you using?


 
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] code 2 my blog

2005-03-29 Thread Clint Tredway

1.5 is what I am using


On Wed, 30 Mar 2005 12:29:03 +1000, Chris Velevitch
[EMAIL PROTECTED] wrote:
 
 Which version of Flex are you using?
 
 
 Yahoo! Groups Links
 
 
 
 
 


-- 
My Blog
http://www.clinttredway.com

Are you diabetic?
http://www.diabetesforums.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] Security Sandbox Violation when loading image

2005-03-29 Thread Dimitrios Gianninas





Hi,

It should work without having 
to convert into to the AS2 type class as you did. If you simply 
do:

results[0].price
results[1].price

this should get you the price 
of the first product and seconds products. I assumed "results" is the name of 
the object that contains the results of the RO call.

Jimmy 
Gianninas
Software Developer - 
Optimal Payments 
Inc.



From: Kristopher Schultz 
[mailto:[EMAIL PROTECTED] Sent: Monday, March 28, 2005 12:49 
PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
Security Sandbox Violation when loading image

Well, I figured out why I was experiencing different 
behavior when pulling data in from an XML file vs. pulling it in via a remote 
object. My remote object method call was returning an Array of objects which on 
the Java side were instances of a simple data object class I had created called 
com.myclient.Product. These objects had three properties: 
label(String), imageId(String), and price(Double) which were accessible through 
appropriately named getter methods. When stepping through the debugger in Flex 
Builder, I could see these objects were coming through just fine with the 
appropriate property names and values, but when I tried to pass each object to 
my custom display component it was not displaying them, even when the same 
display component had no problem displaying similar data Objects if they were 
created in the AS code. So I went ahead and created an .as class called 
com.myclient.myapp.Product and associated it with the Java 
class using the following static variable invocation:

 static var regClass = 
Object.registerClass("com.myclient.Product", 
com.myclient.myapp.Product);

After doing that, everything worked just 
fine.

So my questions are, why did I have to create that 
ActionScript class to get things to work? Is there a way to pass back a generic 
AS Object from a remote object call? Would passing back objects of type 
java.util.Map be the answer? Which is the better practice, passing back a 
java.util.Map to be converted to an untyped Object or creating .as classes for 
each typed Object that can be retured from a remote object 
call.


Kris

-- 

Kristopher Schultz
Developer

Resource Interactive
p: 614.410.2123
www.resource.com


  
  
  
  
  
  
  The weird thing 
  I've discovered is that if my image paths are brought into my Flex app via an 
  XML file, then I do get the errors above, but the images do load successfully. 
  However, if my image paths come in as a result of a remote object call, I get 
  the same errors and my images DON'T load successfully. I've double checked the 
  exact path's that are being used in both situations by tracing out the path 
  immediately before it is used as the value for the "source" property of the 
  mx:Image tag and it is EXACTLY the same in both 
  cases.
  







Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.










RE: [flexcoders] Re: Error: Cannot invoke method when using a VO

2005-03-29 Thread Dimitrios Gianninas





Hi Josh,

Make sure the Group class in 
Java has:

- no args 
constructor
- getter/setter method for 
every field
- 
serializable

On the AS2 side, make sure you 
have specified within the class:

static var regClass = Object.registerClass("com.package.Group", 
com.package.Group);

Jimmy 
Gianninas
Software Developer - 
Optimal Payments 
Inc.



From: cazzaran [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 7:58 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Error: Cannot 
invoke method when using a VO
Peter,Here's my 
whitelist:whitelist 
unnamed 
source*/source 
/unnamed 
named object 
name="userDelegate" 
sourcebusinessdelegates.UserDelegate/source 
typestateful-class/type 
allow-unnamed-accessfalse/allow-unnamed-access 
/object object 
name="groupDelegate" 
sourcebusinessdelegates.GroupDelegate/source 
typestateful-class/type 
allow-unnamed-accessfalse/allow-unnamed-access 
/object 
/named/whitelist-Josh--- In 
flexcoders@yahoogroups.com, "Peter Farland" [EMAIL PROTECTED] wrote: 
Ah, what does the unnamed whitelist in the remote-object section look 
like? Does it include your Group class? I apologize for not double 
checking whether it was still a requirement in Flex 1.5, but I know it 
was in Flex 1.0.  -Original Message- From: 
cazzaran [mailto:[EMAIL PROTECTED]  Sent: Monday, March 28, 2005 4:19 
PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: 
Error: Cannot invoke method when using a VO
Peter,  It does...   -Josh  --- 
In flexcoders@yahoogroups.com, "Peter Farland" [EMAIL PROTECTED] 
wrote:  Does the Java version of Group have a public no args 
constructor?  -Original 
Message-  From: cazzaran [mailto:[EMAIL PROTECTED]   Sent: 
Monday, March 28, 2005 3:50 PM  To: 
flexcoders@yahoogroups.com  Subject: [flexcoders] Error: Cannot 
invoke method when using a VO   
 I have a delegate class on my server called GroupDelegate, and it 
has  a method addGroup(Group group).When 
I try and call this method on my remote object, I get the error:  
  Error: Cannot invoke method addGroup
However, if I switch my method's signature to addGroup(String  
groupName), the method executes, and the group is added to the DB.  
  Group is just a POJO, and obviously the second method wont 
work  because there is a lot more information than just the 
groupName that  needs to be recorded...
Interestingly, when I do a getGroups I get back an array of the  
correct objects, and in my client side model of my Group class I have 
 correctly done the Object.registerClass. The only time I seem to 
have  an issue is when I pass it BACK to my server as a 
Group.Any ideas? -Josh
  
Yahoo! Groups Links  
 Yahoo! Groups Links







Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.










Re: Re: [flexcoders] code 2 my blog

2005-03-29 Thread nithya lakshmi radhakrishnan




 


hai
  I am now working on an ecommerce application in flex1.5.. I would like to know if it is possible to place a link on the header bar of an Accordion container.. if yes i want to have the code for it.. also i want to know how to make a tab navigator to appear on click of the link being placed in the accordion. this is very urgent.. 












Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.










Re: Re: [flexcoders] code 2 my blog

2005-03-29 Thread Clint Tredway

The header of an accordion is already clickable.. and when its clicked
it broadcasts a change event which you can tie a function to that will
execute any code you want.

make sense?


On 30 Mar 2005 05:05:00 -, nithya lakshmi radhakrishnan
[EMAIL PROTECTED] wrote:
  
 

  
  
  hai
I am now working on an ecommerce application in flex1.5.. I would like to
 know if it is possible to place a link on the header bar of an Accordion
 container.. if yes i want to have the code for it.. also i want to know how
 to make a tab navigator to appear on click of the link being placed in the
 accordion. this is very urgent.. 
  
 
  
  
  Yahoo! Groups Sponsor 
  
  ADVERTISEMENT
  
  
  
  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 the Yahoo! Terms of Service. 


-- 
My Blog
http://www.clinttredway.com

Are you diabetic?
http://www.diabetesforums.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] unsubscribe

2005-03-29 Thread Jasper Blues

unsubscribe



~~---
This e-mail may contain confidential information.  If you are not the intended 
recipient, please notify the sender immediately and delete this e-mail from 
your system.  You must not disclose this e-mail to anyone without express 
permission from the sender.  The contents of all e-mails sent to and received 
from Optus may be scanned, stored, or disclosed to others at Optus discretion.

Optus has exercised care to avoid errors in the information contained in this 
e-mail but does not warrant that the information is error or omission free.  
The information (including any pricing information) contained in this e-mail is 
subject to change.  This e-mail is not a quotation or proposal and no 
contractual obligations arise until you and Optus sign a formal written 
contract or formal variation to your existing contract.  

Any pricing contained in this e-mail is exclusive of GST unless otherwise 
stated.




 
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] Weird tree issue

2005-03-29 Thread Matt Chotin










Make sure youre using the
TreeDataProvider methods which means selectedItem.getProperty(data),
not .attributes (since that will only work for XML and not when you use an
object graph).



Matt











From: Ted Casey [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 9:51
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Weird
tree issue





Are you using attributes.data? For example:

?xml version=1.0
encoding=iso-8859-1 ?

mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml

mx:XML id=myXML
 node
label=FirstNode data="">

 node label=FirstSubNode
data="">
 /node
 node
label=SecondNode data="">
/mx:XML

mx:Tree id=myTree
dataProvider={myXML}/

mx:TextInput id=myText/

mx:Button label=click me
click=myText.text=myTree.selectedItem.attributes.data/

/mx:Application


Thanks,

Ted

-Original Message-
From: cazzaran [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 27, 2005 1:35 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Weird tree issue



I have a tree I'm populating with objects that
mimic my serverside
Group classes. What's happening is that the tree
is getting built, but
the data field of the nodes isn't getting filled.

This method:
var node = treeDP.addTreeNode(group.name, group);

is supposed to create a node with the label of the
group's name, and
the group object itself as the data. Problem is,
while the tree gets
populated, and you can see the nodes with labels,
the actual group
isn't there in the data field. Obviously the group
is getting
instantiated, because the tree nodes have
labels... Any reason why
this shouldn't work?

I'm new to Flex, and AS, but this seems like it
should work.

Below is the code I use to fill my tree...

var treeDP; 
public function initGroupTree() {
 user =
mx.core.Application.application.user;
 var topGroups:Array
= user.organization.onlyTopSuperGroups;
 treeDP = new
TreeNode();
 for(var i in
topGroups) {

 var group:Group = topGroups[i];
 
var node = treeDP.addTreeNode(group.name, group);

 addSubGroupsToTree(node, group);
 }

groupTree.dataProvider = treeDP; 
}

private function addSubGroupsToTree(node,
group:Group):Void {
 var subGroups:Array
= group.subGroups;
 for(var i in
subGroups) {

 var group:Group = subGroups[i];

 var subNode = node.addTreeNode(group.name,
group);

 addSubGroupsToTree(subNode, group);
 }
}






Yahoo! Groups Links




















Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.












RE: [flexcoders] Security Sandbox Violation when loading image

2005-03-29 Thread Matt Chotin










You shouldnt have had to create an
AS class, Im not sure why it wouldnt have worked. The regular
object should have had the data you needed. Best practice is to create the
class though.



Matt











From: Kristopher
Schultz [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 9:49
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Security
Sandbox Violation when loading image





Well, I figured out why I was
experiencing different behavior when pulling data in from an XML file vs.
pulling it in via a remote object. My remote object method call was returning
an Array of objects which on the Java side were instances of a simple data
object class I had created called com.myclient.Product.
These objects had three properties: label(String), imageId(String), and
price(Double) which were accessible through appropriately named getter methods.
When stepping through the debugger in Flex Builder, I could see these objects
were coming through just fine with the appropriate property names and values,
but when I tried to pass each object to my custom display component it was not
displaying them, even when the same display component had no problem displaying
similar data Objects if they were created in the AS code. So I went ahead and
created an .as class called com.myclient.myapp.Product
and associated it with the Java class using the following static variable
invocation:



 static var regClass =
Object.registerClass(com.myclient.Product,
com.myclient.myapp.Product);



After doing that, everything worked just
fine.



So my questions are, why did I have to
create that ActionScript class to get things to work? Is there a way to pass
back a generic AS Object from a remote object call? Would passing back objects
of type java.util.Map be the answer? Which is the better practice, passing back
a java.util.Map to be converted to an untyped Object or creating .as classes
for each typed Object that can be retured from a remote object call.









Kris











-- 











Kristopher Schultz





Developer











Resource Interactive





p: 614.410.2123





www.resource.com

























The weird thing
I've discovered is that if my image paths are brought into my Flex app via an
XML file, then I do get the errors above, but the images do load successfully.
However, if my image paths come in as a result of a remote object call, I get
the same errors and my images DON'T load successfully. I've double checked the
exact path's that are being used in both situations by tracing out the path
immediately before it is used as the value for the source property
of the mx:Image tag and it is EXACTLY the same in both cases.
























Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.












RE: [flexcoders] TextInput

2005-03-29 Thread Matt Chotin

editable=false?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 29, 2005 12:11 AM
To: Flex Coders
Subject: [flexcoders] TextInput


Hi to all,

stupid question

mx:TextInput id=tdsc width=100% text= enabled=false   
keyDown=if (Key.isDown(113)) Elenco_Misure(Misure)/

i wish that TextInput is disable or readOnly but i can't fire keyDown 
event, there's a method to do, i think if there is a readOnly property 
this would work.
Devis


 
Yahoo! Groups Links



 





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

2005-03-29 Thread Matt Chotin










Flex 1.x doesnt allow databinding
into validators.  Its something we hope to address in the next version.



Matt











From: Christoph Guse
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 29, 2005 4:38
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
Validator-requiredFieldError





Hi List,

I'm doing some work with validators and I found
the property 
requiredFieldError. With this property I can set a
custom text to be 
displayed instead of The field is
required. When I put a static text 
in this property like requiredFieldError=you
should fill in a name 
everything works fine. But it would be even nicer
if I could fill this 
property by databinding, i.e.:
var myError=you should fill in a name;
 requiredFieldError={myError}...
With this it should be easy to have all errors
somewhere central, for 
instance in a XML file. But the databinding
doesn't work. Do you have an 
idea why?

Greets
Christoph

-- 

Christoph Guse
Löhstraße 34
41747 Viersen
Tel. 0 21 62 / 50 24 066
Mobil 01 72 / 160 74 84
VoIP 0 12 12 / 39 64 48 831















Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.












RE: [flexcoders] Rowheight

2005-03-29 Thread Matt Chotin










I think youd need a cell renderer
in that row to grow based on some property of the item. Then when the cell
renderer sees that property change it changes height (and when the item for
that cell is re-assigned it goes back to normal).



Matt











From: gevgelija50
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 29, 2005
11:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Rowheight






Is there a way to resize a particular row of a
datagrid based on 
certain criteria?

Say if row 75 is clicked and column 0 == 'Yes', I
want to increase the 
row height for row 75, and row 75 only.

Thanks,
Alex
















Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.












RE: [flexcoders] referencing id in parent titlewindow from anothe r titlewindow?

2005-03-29 Thread Matt Chotin










I think parentDocument is what youre
looking for.



Matt











From: stevenkeys2003
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 29, 2005
11:42 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] referencing
id in parent titlewindow from another titlewindow?






Guys, 
I'm launching a titleWindow from another
titleWindow. I need to
reference id of container in parent titleWindow.
How?

I've done this with components, but unable to
figure this one out when
it comes to titleWindow referencing another
titleWindow..

i've tried _parent, _root,
mx.core.Application.application ... how do
I talk backwards to id in parent in this
situation?

-Steve

















Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.












[flexcoders] prevent Double click

2005-03-29 Thread [EMAIL PROTECTED]

Hi,
 have some suggestion from prevent double click on the button? for 
example my button throw some functions on back-end,
i wish to disable button until the function are end.
It's possible?
Devis




 
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/