Re: [flexcoders] how to implement the copypaste of chart in flex

2006-04-29 Thread Tariq Ahmed



Not possible as far as I know. Snag-It is your next best bet.


anjicn wrote:
 I want to add the copypaste support for charts in order to let user 
 select any chart, copy it and then paste it to some other editors 
 like Office Word or MS Paint for further use. 

 Is it possible to do so, or can I just generate a .jpg or .bmp file for 
 each chart, that will also be acceptable.

 Anyone who has such experience, please help me. Thanks.





 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links



 



 









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Could not resolve mx:Application to a component implementation

2006-04-29 Thread Chris Velevitch



I'm using Flex 2 Beta 2 and I create an empty project and the default
created application contains the error:-

 Could not resolve mx:Application to a component implementation

for the line

 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml 

Why is this error occurring?


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






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] how to implement the copypaste of chart in flex

2006-04-29 Thread jeremy lu



genearting jpg or png is possible, then let user download the file and import into word or paint.On 4/29/06, Tariq Ahmed 
[EMAIL PROTECTED] wrote:Not possible as far as I know. Snag-It is your next best bet.
anjicn wrote: I want to add the copypaste support for charts in order to let user select any chart, copy it and then paste it to some other editors like Office Word or MS Paint for further use.
 Is it possible to do so, or can I just generate a .jpg or .bmp file for each chart, that will also be acceptable. Anyone who has such experience, please help me. Thanks.
 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] how to implement the copypaste of chart in flex

2006-04-29 Thread David Mendels





Hi,

It can be done, but a few extra steps. Convert to 
JPEG first. This can help you get started:http://www.kaourantin.net/2005/10/more-fun-with-image-formats-in-as3.html

-David



  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Tariq 
  AhmedSent: Saturday, April 29, 2006 1:58 AMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] how to 
  implement the copypaste of chart in flex
  Not possible as far as I know. Snag-It is your next best 
  bet.anjicn wrote: I want to add the copypaste support 
  for charts in order to let user  select any chart, copy it and then 
  paste it to some other editors  like "Office Word" or "MS Paint" for 
  further use.  Is it possible to do so, or can I just generate 
  a .jpg or .bmp file for  each chart, that will also be 
  acceptable. Anyone who has such experience, please help me. 
  Thanks. -- Flexcoders 
  Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
  Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
   Yahoo! Groups Links 
   





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Could not resolve mx:Application to a component implementation

2006-04-29 Thread Ralf Bokelberg



Hi Chris, i've seen this error before because of a wrong namespace. I'm not sure what the correct namepace is, doublecheck it with the docs. Cheers,Ralf. On 4/29/06, 
Chris Velevitch [EMAIL PROTECTED] wrote:
I'm using Flex 2 Beta 2 and I create an empty project and the defaultcreated application contains the error:-Could not resolve mx:Application to a component implementationfor the line
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml Why is this error occurring?Chris--Chris VelevitchManager - Sydney Flash Platform Developers Group
www.flashdev.org.au--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Flex 2 problems

2006-04-29 Thread Kevin Roche



I am in the process of learning flex using the Beta installation.

There seems to be a problem and I am not sure if its a bug or a bad installation. When I click on Run in Eclipse I get a new browser window which immediately crashes. If I go to the page directly it runs correctly. Anyone any idea what might be wrong?

I am not doing anything exotic here just running the page with swf directly no web server involved.

Kevin






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] Flex 2 problems

2006-04-29 Thread JesterXL



What browser? I've been using Firefox 1.5 with no problems.

- Original Message - 
From: Kevin Roche [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, April 29, 2006 12:39 PM
Subject: [flexcoders] Flex 2 problems


I am in the process of learning flex using the Beta installation.

There seems to be a problem and I am not sure if its a bug or a bad 
installation. When I click on Run in Eclipse I get a new browser window 
which immediately crashes. If I go to the page directly it runs correctly. 
Anyone any idea what might be wrong?

I am not doing anything exotic here just running the page with swf directly 
no web server involved.

Kevin


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  












[flexcoders] Re: Could not resolve mx:Application to a component implementation

2006-04-29 Thread Jeremy Rottman



Did you import this project. I was getting this exact same error when
I tried to import a project from f2b1 into f2b2. 

If you are importing this is what I did. I would create a new project,
then take all the mxml code only and dump it into my new project, and
it would build just fine. 

Something else you might have wrong is if you have custom namespaces.
Make sure that all your namesspaces are correct for the custom namespaces.

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

 Hi Chris,
 i've seen this error before because of a wrong namespace.
 I'm not sure what the correct namepace is, doublecheck it with the docs.
 Cheers,
 Ralf.
 
 On 4/29/06, Chris Velevitch [EMAIL PROTECTED] wrote:
 
  I'm using Flex 2 Beta 2 and I create an empty project and the default
  created application contains the error:-
 
  Could not resolve mx:Application to a component implementation
 
  for the line
 
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml 
 
  Why is this error occurring?
 
 
  Chris
  --
  Chris Velevitch
  Manager - Sydney Flash Platform Developers Group
  www.flashdev.org.au
 
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 
 
 












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Flex 2.0 net meeting and question

2006-04-29 Thread sank xuan



  HI ,  I write a simply net meeting base on flex 2.0 and java socket nio  the site url: http://sankmeeting.go.3322.orgIf you are interesting with it,you can contact mewith my gmail: [EMAIL PROTECTED], because my yahoo mail only for flexcoder maillistand my problem, How I use rtmp server in flex 2.0 to implement audio and video, I do not want to use fms for its license...:) , if you have any suggestion , you can reply me in yahoo flexcoder maillistthanks  - sank
		 
雅虎1G免费邮箱百分百防垃圾信 
雅虎助手-搜索、杀毒、防骚扰 
 

		 
雅虎1G免费邮箱百分百防垃圾信 
雅虎助手-搜索、杀毒、防骚扰 
 






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex 2.0 net meeting and question

2006-04-29 Thread JesterXL





Nice app! That's pretty cool you can create a 
shared whiteboard  chat with just a java socket.
http://www.osflash.org/red5


- Original Message - 
From: sank xuan 

To: flexcoders@yahoogroups.com 
Sent: Saturday, April 29, 2006 3:50 PM
Subject: [flexcoders] Flex 2.0 net meeting and question


  HI ,
  I write a simply net meeting base on flex 2.0 and java socket nio
  the site url: http://sankmeeting.go.3322.org
  
  If you are interesting with it,you can contact mewith my 
  gmail: [EMAIL PROTECTED], because 
  my yahoo mail only for flexcoder maillist
  
  and my problem, How I use rtmp server in flex 2.0 to implement audio and 
  video, I do not want to use fms for its license...:) , if you have any 
  suggestion , you can reply me in yahoo flexcoder maillist
  
  thanks
  - sank
  
  


雅虎1G免费邮箱百分百防垃圾信雅虎助手-搜索、杀毒、防骚扰 


雅虎1G免费邮箱百分百防垃圾信雅虎助手-搜索、杀毒、防骚扰 





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] DisplayObject serialization

2006-04-29 Thread twgonzalez01



Has anyone come up with a way to serialze DisplayObjects so they can 
both be copied AND so they could potentially be saved in a persistent 
data store and then fetched later to be re-used?

In looking through the archives I have seen the ByteArray method, but 
that just takes advantage of the native serialize method and does not 
seem to support objects like DisplayObjects.

If no solution exists, what would people recommend in terms of 
approaches of writing our own serialize method?

Thanks!

- Tom










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] how to read gutter size of chart?

2006-04-29 Thread shemeshkale



in charts (flex 1.5) - if not expicilty writing gutter size flex
calculate it alone.
how can i read this value?
it is actually a style and if i dont write it (like gutterLeft=30)
flex retrives me 'Undifiend'.
how do i find the gutter size that flex calculate by itself?









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  












[flexcoders] for in on FB2

2006-04-29 Thread Bruno Martins



I need to do this in AS3:

[CodeAS2]
public class MyClassextends UIComponent{

for(var p:String in this){mx.controls.Alert.show(p);
}


}

Tks...






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Flex 2: How do I make a List that has different heights?

2006-04-29 Thread rigidcode




If you make a List control, and you put some options in it, and one of
your options is long and happens to wrap, it doesn't wrap the text! 
It just cuts off the end of the text. How do I make it wrap?? 

I even tried making a custom IDropInListItemRenderer. If I set the
height differently for some but not for others, then the highlighting
gets messed up. Apparently the size of the blue highlighter bar has
to be the same for all??!

Am I the only one with this problem? Anyone else made a List with a
long text entry?











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] for in on FB2

2006-04-29 Thread Ralf Bokelberg



take a look at describeType. r. On 4/30/06, Bruno Martins [EMAIL PROTECTED] wrote:



I need to do this in AS3:

[CodeAS2]
public class MyClassextends UIComponent{

for(var p:String in this){mx.controls.Alert.show(p);
}


}

Tks...






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.

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



  















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex 2: How do I make a List that has different heights?

2006-04-29 Thread jeremy lu



I believe there's a property called variableRowHeight, set it to true and try again.On 4/30/06, rigidcode 
[EMAIL PROTECTED] wrote:If you make a List control, and you put some options in it, and one of
your options is long and happens to wrap, it doesn't wrap the text!It just cuts off the end of the text.How do I make it wrap??I even tried making a custom IDropInListItemRenderer.If I set theheight differently for some but not for others, then the highlighting
gets messed up.Apparently the size of the blue highlighter bar hasto be the same for all??!Am I the only one with this problem?Anyone else made a List with along text entry?
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Flex 1.5 development, hardware question

2006-04-29 Thread Matt Chotin



Make sure that your JVM has enough memory allocated. Your specs seem
fine, so maybe allocate more RAM using -Xmx512m for example. 

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Stanislav Zayarsky
Sent: Friday, April 28, 2006 2:41 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 1.5 development, hardware question

Hello FlexCoders,

I'm interested what is the best hardware configuration for developing
Flex app?

Because compiling time sometimes, when project really large, takes 1
min+.

I know that processor(less 50%) and RAM usage is ok on my machine when
compile, but HDD is working hard.

So where is bottleneck, and how I can decrease compile time?

My hardware configuration:
P4 3.0
RAM 1 GB
HDD WD 100 GB.

Best regards
Stanislav


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Flex 2.0 b2: List, itemEditEnd event

2006-04-29 Thread Matt Chotin



If the item was null we didn't do anything to create the item. The
DataGrid doesn't know how to create a new item of your class so it may
have just filled in the itemRenderer without doing anything. This
allows you to create the object yourself, which you should probably do
in the itemEditBeginning event. You'd get the information as to where
the thing is about to be created and if it's null you'd go ahead and
create an empty object and make sure that the it gets put into your
dataProvider.

I'm not sure if it will work, but I'm assuming otherwise we'd throw
errors for the value being null.

Matt 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of tyombria
Sent: Friday, April 28, 2006 1:14 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2.0 b2: List, itemEditEnd event

Hi, all.

i have a problem with itemEditEnd event.
How can i get data was being entered?
see the code:

someList.addEventListener( ListEvent.ITEM_EDIT_END, onItemEditEnd );
...
...

private function onItemEditEnd( event : ListEvent ) : void {
 var itemRenderer : IListItemRenderer = event.itemRenderer;
 trace( itemRenderer.data ); // outputs null
 // (row i've edited
 // was null before)
 trace( someList.dataProvider ); // outputs, for example: 1,2,,5
 // although between rows with
 // data '2' and '5'
 // i've entered, for example, '8'
 // and i can see it in list.
}






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Building a complex chat application on Fx2 FDS

2006-04-29 Thread Matt Chotin



We cannot guarantee any dates so please don't commit yourself to
something where you're at risk of the product not shipping in time.
Previous guidance has said 1st half of 2006 and David Mendels recently
said in a post middle of the year. If you take those two together you
should get a sense of what we're aiming at, but the date is still
unannounced.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Aldo Bucchi
Sent: Friday, April 28, 2006 3:29 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Building a complex chat application on Fx2 
FDS

Matt,

hahahj!! I saw that one coming... ;)

Ok... I'll put my ass on the line for this one. FDS it is then... the
project is due to july with a very little slack If I get any
complaints I will see you next max and you'll be saying oh! hahhha

No, seriously, and absolutely off the record... am I too lost on the
dates? it is a complex app... so I will start coding ASAP on Red5 and
then port it to whatever solution FDSb3 provides. I don't want to
force my customer on adding yet another tech to his environment ( they
have 3 uninstalled flex 1.5 licences that are waiting to be upgraded
to FDS )

Best,
Aldo


On 4/28/06, Matt Chotin [EMAIL PROTECTED] wrote:
 You wait until Beta 3 and then you say, oh... :-)

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of Aldo Bucchi
 Sent: Thursday, April 27, 2006 6:30 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Building a complex chat application on Fx2  FDS

 Hi all,

 How would you go about building a chat application with Flex2  Flex
 Data Services.
 - Multiple users
 - 1to1, many to many
 - Java Backend
 - Needs to keep track of connected users ( and a reference to them )
 - Server to Client invocation of custom methods

 Using RPC services gives me a Client to Server call sequence, but not
 the opposite. Plus, it does not allow me to keep a reference ( in a
 stateful server side application ) to the client connections.

 Using messaging... well, I have push. but... what else?

 Basically, I need something analog to the functionality that I would
 find in these FMS2 features:
 - application.onConnect()
 - application.onDisconnect()
 - client.call()
 - Remote SharedObjects
 - the ability to keep a reference ( Client Object ) to all connected
 clients

 But with the robustness and extensibility of a Java App ( a la Red5,
but
 Today )

 Can this be done???
 approaches?

 We also have a license of FMS2, but I only want to use it for
 streaming media, as AS1 is not an allowed development language in my
 customer's infrastructure and is difficult to interface with other
 things ( namely Avaya Comm Manager and LDAP ). Of course we could use
 webservices to talk to a Java app, but that's too much overhead.
 I once found a FCS to Java connector, somewhere.. but seems like beta
 code. Not acceptable either. ( is there a production release of this
 connector ? ).

 Thanks,
 Aldo

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


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









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


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Re: dataGridInstance.setVPosition(dataGridInstance.maxVPosition);

2006-04-29 Thread Matt Chotin



Yep, multiple frames is probably the way to go, I think I've used 3 as a
safe number. Sorry! V2 is better, I promise!

Matt 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bhaq1972
Sent: Friday, April 28, 2006 3:58 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
dataGridInstance.setVPosition(dataGridInstance.maxVPosition);

when i did a trace on myGrid.maxVPosition the very first time, it 
was definately = 0; my test had to go thru 2 or 3 frames (dolaters) 
before the actual maxVposition was set.

yes it is a clunky workaround agreed. 
i dont have a better suggestion. your gonna have to wait for that 
genius Matt to respond


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

 Hello bhaq1972,
 
  if i can add to matts suggestion.
  i usually find one doLater() isn't enough so i tried your 
example 
  with the following change
 your code skipped
 
 Does the code suggested work for you? Your code did not resolve the
 problem for me.
 
 In fact myGrid.maxVPosition is never equal to 0 immediately 
after myGrid got populated with
 10,000 records of data.
 
 
 I post here an updated snipped of my code. Now the code includes 
property
 -
 var callTimes: Number = 0;
 -
 This property limits the calls number of scrollMe() function
 to 2 times.
 
 If scrollMe() function is called twice via doLater() or
 setInterval() statements, the dataGrid current index is updated to
 the very bottom one correctly.
 
 Kinda clunky workaround, is it not?
 
 
 
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml 
width=100% childrenCreated=populate()
 mx:Script
 ![CDATA[
 import mx.controls.Alert;
 public var largeArray = new Array(1);
 var callTimes: Number = 0; 
 public function populate():Void
 {
 for (var i:Number = 0; i  largeArray.length; i++)
 largeArray[i] = {Number: i, TestColumn: 'a' + 
i}; 
 } 
 function scrollMe()
 {
 callTimes++;
 if (callTimes 2) {
 doLater(this, scrollMe)
 } 
 myGrid.vPosition = myGrid.maxVPosition;
 
 }
 function scrollDatagridDoLater() { 
 doLater(this, scrollMe);
 }
 ]]
 /mx:Script
 mx:DataGrid id=myGrid width=350 height=350 
dataProvider={largeArray} 
 mx:columns
 mx:Array 
 mx:DataGridColumn columnName=Number /
 mx:DataGridColumn columnName=TestColumn /
 /mx:Array
 /mx:columns 
 /mx:DataGrid 
 mx:Button id=mybtn1 label=scroll DoLater 
click=scrollDatagridDoLater()/mx:Button
 /mx:Application
 -
 
 -- 
 Best regards,
 Andriy mailto:[EMAIL PROTECTED]








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  












RE: [flexcoders] Re: player 8.5 difficulty

2006-04-29 Thread Matt Chotin



Sorry, yes sometimes you need to run the uninstaller depending on what
previous version of Flash Player you had. Especially since we've had
different system/security settings in the different 8.5 betas it might
be necessary to get the system clean and then install again. Your
customers should not run into this when upgrading to Player 9 when we
ship.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flexlearner
Sent: Friday, April 28, 2006 1:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: player 8.5 difficulty

I solved the issue by downloading and installing the Flash Player 
UNINSTALLER and REMOVING the Flash Player completely. Then, after 
installing Flash Player 8.5, Apparently, installing over existing 
implementations is buggy. 

Flex Learner 
( Here no one have comment on this ? )

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

 I downloaded and installed flash 8.5 player active X from 
macromedia 
 labs site after this when right click on any flash content from any 
 website.
 Its not showing me flash player 8.5 in settings 
 
 I needed 8.5 to run my flex application 
 When I run application from flexbulider 2 I get the error as the 
flash 
 player found is of lower version and player 8.5 and above is needed 
 
 Please please help .. I am not able to move forward because of this 
 problem








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Re: Using Hibernate, Gateway pushing out two Error: null

2006-04-29 Thread Matt Chotin



When you return an object to Flex it's going to do a deep traversal of
the object graph, so any objects that are lazy are going to be
requested. That may end up causing problems I guess, so your workaround
is probably correct.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of crrb
Sent: Thursday, April 27, 2006 10:05 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Using Hibernate, Gateway pushing out two
Error: null

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

 We're using Mysql 4.1 with Hibernate 3.1, Cairngorm, Flex 1.5, and 
 Hibernate Synchronizer to auto generate Java classes and AS classes.
... 
 Flex, it appears to matter that the 2nd two Objects are lazy 
 loaded by Hibernate. If I force one of them, and it's the only one 
 that exists, the system doesn't hang. I can't force both of them 

Right or wrong, the items causing the problem were many-to-one items 
that could be forced to load, so putting lazy=false in the hibernate 
hbm for the two sub-classes tells hibernate to not lazy load them 
(even tho it shouldn't have been doing so anyway, based upon my 
interprestation of the docs) and our interface stopped having a 
problem. As long as lazy loading isn't required, we're getting along 
fine. Good thing it's a small set of objects.

Roxanne






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] data service in craingorm

2006-04-29 Thread Matt Chotin



I don't know how many folks have tried the DataService using a Cairngorm
approach yet. But in this case I think if you want your second app to
hear changes it's going to need to add event listeners to the service
itself, not just the token that's returned from an individual service
call. So using the responder approach might not be what you really want
for this particular system.

For your previous question about what event to listen for, the message
event is I think the right one, what was happening when you tried
listening?

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of deepu_verma
Sent: Friday, April 28, 2006 4:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] data service in craingorm

I have declared the following two methods in my delegate and call them
from the commands
//
  //get the products
  public function fill():void
  {
   var call:Object =
service.fill(modelLocator.productModel.ProductVersion);
   call.resultHandler = responder.onResult;
   call.faultHandler = responder.onFault;
  
  }
  public function commit():void
  {
   var call:Object = service.commit();
   call.resultHandler = responder.onResult;
   call.faultHandler = responder.onFault;
   
  }
And I have used modelLocator.productModel.ProductVersion as the
dataprovider binding for a list box.
modelLocator.productModel.ProductVersion.addItem(obj);
to add a new product
I am trying to access the application on two diferrent browsers and
after I add a new product the product is not pushed to the other
connected client.

 view the following in the server dump
[CFDataServicesAdapter] invoking SYNC method, 1 change(s) to process.
[CFDataServicesAdapter] invoking Fill method...
Am I missing something so that if one client adds a product then other
client should be able to view it





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Problems with Flex2 serializing ActionScript objects to SOAP elements

2006-04-29 Thread Matt Chotin



I believe this is a known bug in Beta 2 that we've fixed in B3. Sorry,
I'm not sure of a workaround right now...

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of yomahz
Sent: Friday, April 28, 2006 8:34 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problems with Flex2 serializing ActionScript
objects to SOAP elements

When serializing ActionScript objects to XML, it does not appear that
Flex is properly ordering the elements according the order defined in
the WSDL. For instance, I have a WSDL with a complext type defined as
such:

complexType name='SoapInventory'
 sequence
 element name='id' nillable='true' type='int'/
 element name='inventoryDate' nillable='true' type='dateTime'/
 element name='label' nillable='true' type='string'/
 element maxOccurs='unbounded' minOccurs='0' name='locations'
nillable='true' type='ns2:SoapInventoryLocation'/
 element name='storeId' nillable='true' type='int'/
 element name='type' nillable='true' type='string'/
 /sequence
/complexType

I also have a ActionScript object defined as:

package com.mycompany.myapp.inventory.model {
 public class SoapInventory {
 public var id:int;
 public var inventoryDate:Date;
 public var label:String;
 public var locations:Array;
 public var storeId:int;
 public var type:String;
 }
}

Flex serializes this object as:

SoapInventory_1
ns1:storeId1012/ns1:storeId
ns1:type xsi:nil='true'/
ns1:labelTest/ns1:label
ns1:id123/ns1:id
ns1:inventoryDate2006-04-27T20:52:12.129Z/ns1:inventoryDate
/SoapInventory_1

Which is not the order defined in the WSDL's sequence. Am I doing
something incorrectly or have I missed something? Here's how I'm
calling the webservice:


ws = new mx.rpc.soap.WebService();
ws.wsdl = http://localhost:8080/test/InventoryWebService?wsdl;
ws.save.addEventListener(result, handleSave);
ws.addEventListener(fault, handleFault);
ws.loadWSDL();
ws.save(soapInventory);







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Re: Adding a child to a vbox

2006-04-29 Thread Matt Chotin



Based on the code you provided you only have to do
parentApplication.closing.mainBox.addChild(newCanvas).

After that you could do newCanvas.addChild(...)
Etc without doing the parentApplication stuff.

It's hard to tell what other problems you might be having without seeing
what errors are coming out.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeremy Rottman
Sent: Friday, April 28, 2006 10:18 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Adding a child to a vbox

I think the issue, is when I try to add a child to a previously
created child. Here is the test code that I have.


   for ( var i:Number=0;iresult.length;i++){
  // CREATE CANVAS //
  var newCanvas:Canvas =
new Canvas();
 
newCanvas.percentWidth = 100;
   newCanvas.id =
canvas + i;
  var canvasId =
newCanvas.id;
 
parentApplication.closing.mainBox.addChild(newCanvas);
  var newLabel:Label = new
Label();
   newLabel.text =
canvasId;
 
parentApplication.closing.mainBox.canvasId.addChild(newLabel);
  


  }





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

 I have to use parentApplication because I am trying to create this
 grid from another state. So I have to work on the parent level. 
 
 I have never used getChildByName, would I use it like this.
 

parentApplication.closing.mainBox.getChildByName(newGird:string).addChil
d(newGridRow);
 
 
 --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote:
 
  For one thing I would only do the
  parentApplication.closing.mainBox.addChild(newGrid) and then for
every
  other addChild just use the local variable.
  
  newGrid.addChild(newGridRow);
  newGridRow.addChild(newGridItem);
  
  It will make things easier to follow, plus I'm not sure
mainBox.newGrid
  will work unless it has an explicit property called newGrid,
otherwise
  you have to do getChildByName or something like that.
  
  Matt
  
  -Original Message-
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
  Behalf Of Jeremy Rottman
  Sent: Wednesday, April 26, 2006 8:50 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Adding a child to a vbox
  
  I am still working on this. I need to dynamically create a grid with
a
  single row, and two items. Then I need to create labels, and text
input
  inside the grid. However, I cant get to that point yet, I am still
  unable to the complete grid w/ a test label in side the grid. I am
  working with in F2B2.
  
  Here is my code.
  
  for ( var i:Number=0;iresult.length;i++){
  // CREATE GRID //
  var newGrid:Grid = new Grid();
  newGrid.id = 'grid' + i;
  newGrid.percentWidth = 90;
  
  parentApplication.closing.mainBox.addChild(newGrid);
  // CREATE GRID ROW //
  var newGridRow:GridRow = new GridRow();
  newGridRow.id = 'gridRow' + i;
  
  parentApplication.closing.mainBox.newGrid.addChild(newGridRow);
  
  if (result[i].TRANSSIDE is 'buyer'){
  // CREATE GRID ITEM //
  var newGridItem:GridItem = new
GridItem();
  newGridItem.id = 'listGridItem' +
i;
  newGridItem.width = 445;
  
 
parentApplication.closing.mainBox.newGrid.newGridRow.addChild(newGridIte
  \
  m);
  // CREATE CANVAS //
  var newCanvas:Canvas = new Canvas();
  newCanvas.id = 'canvas' + i;
  
 
parentApplication.closing.mainBox.newGrid.newGridRow.newGridItem.addChil
  \
  d(newCanvas);
  // CREATE LABEL //
  var newLabel:Label = new Label();
  newLabel.text = TEST;
  
 
parentApplication.closing.mainBox.newGrid.newGridRow.newGridItem.newCanv
  \
  as.addChild(newLabel);
  
  }
  else if (result[i].TRANSSIDE is 'seller'){
  // CREATE GRID ITEM //
  var newGridItem:GridItem = new
GridItem();
  newGridItem.id = 'saleGridItem' +
i;
  newGridItem.width = 529;
  
 
parentApplication.closing.mainBox.newGrid.newGridRow.addChild(newGridIte
  \
  m);
  // CREATE CANVAS //
  var newCanvas:Canvas = new Canvas();
  newCanvas.id = 'canvas' + i;
  
 
parentApplication.closing.mainBox.newGrid.newGridRow.newGridItem.addChil
  \
  d(newCanvas);
  // CREATE LABEL //
  var newLabel:Label = new Label();
  newLabel.text = TEST;
  
 
parentApplication.closing.mainBox.newGrid.newGridRow.newGridItem.newCanv
  \
  as.addChild(newLabel);
  
  }
  
  
  
  
  
  
  
  --
  Flexcoders Mailing List
  FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links
 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
 

RE: [flexcoders] Re: mx:ComboBox selectedItem ={blah} (flex 2)

2006-04-29 Thread Matt Chotin










If the contents of the list is a string
setting selectedItem should just work. If its an object and you have a ref
to the same object in the CB, setting selectedItem should work. 



If you just have matching values youll
probably need to loop, unless the objects in the dataProvider implement IUID
and then you could try to pass an object that has the same uid value as the one
you want to select. That of course is harder to pull off.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of John C. Bland II
Sent: Friday, April 28, 2006 11:59
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
mx:ComboBox selectedItem ={blah} (flex 2)





I've already tried that.
Well, not getItemAt because I used items.selectedItem (same thing).



On 4/28/06, Suzy
Lawson 
[EMAIL PROTECTED] wrote:



selectedItem={items.getItemAt(3).fieldName}

--- In flexcoders@yahoogroups.com,
John C. Bland II 






[EMAIL PROTECTED] wrote:

 I am working with some a combo and the custom component
listing the 
states
 works perfectly fine for simply saying: selectedItem={
 items.selectedItem.state}. It will change and work as
expected 
(when the
 grid is clicked).
 
 Well, that component is nothing but a mx:dataProvider with 
mx:String
 values inside. So the selectedItem is a string (when calling
 mycombo.selectedItem) as opposed to an object.
 
 My question is, when you have an object as the dp to a combo
(or 
any other
 component with selectedItem) how do you set the selected
item 
without doing
 a loop + if to find the proper selectedIndex?
 
 Thanks,
 
 --
 John C. Bland II
 I do what I can do when I can do it. - Chris
Tucker, Money Talks
 
 http://www.gotoandstop.org
- Home of FMUG.az
















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







SPONSORED
LINKS 




 
  
  Web site design development 
  
  
  Computer software development 
  
  
  Software design and development 
  
 
 
  
  Macromedia flex 
  
  
  Software development best practice 
  
  
  
  
 










YAHOO!
GROUPS LINKS





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

















-- 
John C. Bland II
I do what I can do when I can do it. - Chris Tucker, Money Talks

http://www.gotoandstop.org - Home of
FMUG.az 







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Re: lazy associations in FDS

2006-04-29 Thread Matt Chotin



Assuming you set up your relationships correctly (and it may be that you
need to externalize some of the relationships and have your own fill
statements instead of relying on nested properties) this should all work
without much difficulty.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of busitech
Sent: Friday, April 28, 2006 1:32 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: lazy associations in FDS

Hi Matt, thank you for the response, it was much appreciated. It
sounds like the framework for this feature is still being fleshed out.

As I think more about it, a lazy association is a lot like paging,
except that the first page needs to be retrieved when a control
becomes visible - just like with paging when the second page needs to
be retrieved as the first page runs dry. The lazy association array
is delivered dry before we've scrolled down at all. Maybe much of
the paging code could be utilized. 

The child record count is an important way to detect an empty
relationship vs a not-yet-loaded one. The count would be the first
thing to retrieve with a lazy association, and should be stored to
indicate empty vs uninitialized.

Instead of passing a null array, could we return some sort of an
paging array object which has array status, total record count,
current page number and the array itself as properties? This way the
client will know what it's dealing with. 

It would be a terrific feature to be able to subscribe to the
association (lazy or not, paged or not, or lazy and paged) which is
specific to the parent in the relationship, like Order--Detail or
Customer--Invoices.

Take for example two people are editing the same sales order. Line
items being added by one operator could be sent to the other, totals
kept in sync, etc.. An awesome way to exploit the messaging protocol...





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Re: namespaces and sub-classes

2006-04-29 Thread Matt Chotin



http://livedocs.macromedia.com/labs/1/flex20beta2/2788.html
http://livedocs.macromedia.com/labs/1/flex20beta2/2775.html

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of nz_mehere
Sent: Friday, April 28, 2006 1:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: namespaces and sub-classes

Hi Matt,

I was suspecting that may be the case.
Where can I find some info on creating a namespace manifest file 
you talked about?

Cheers,
David

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

 Sorry, you'll need to create another namespace for again,
 xmlns:again=com.here.it.is.again.*
 
 Alternatively you could create a namespace manifest file, but I 
don't
 know if it's worth it.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of nz_mehere
 Sent: Thursday, April 27, 2006 5:09 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] namespaces and sub-classes
 
 Hi Guys,
 
 I am learngin about namespaces.
 It's great you can have multiple name spaces in a .MXML file, but my
 question is this...
 
 if I have:
 mx:Canvas ...[etc etc]... xmlns:myNameSpace=com.here.it.is.*
 
 and in my classes I have the folder 
structure /com/here/it/is/again/
 is there any way I can use .AS classes in the /again/ folder using
 the myNameSpace namespace?
 
 I guess I am thinking of something like 
myNameSpace.again:someClass /
 or myNameSpace:again.someClass /
 
 Hope that question makes sense.
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] New to Flex and deciding...

2006-04-29 Thread nasirk09



Hi,
I am new to Flex, bought the Flex book and started using the 2.0 beta.
I love it. 
I am however confused by the Flex2.0 licensing. What is free and what
is not?
 
1. Somewhere they say that the SDK is now free but the builder is
priced and with that will be one framework license. I don't quite
understand what is this framework license. 

2. In the book there is reference that you can (technically) deliver
compiled mxml files from your website but it will be a license
violation. Is it still true with 2.0?

3. I understand that Data Services are priced and will need license
but if I use HTTP Service and use compiled mxml application as UI to
connect to my server without any Flex server component. Can I do it
without any licensing from Macromedia? 

Bottomline. I am working on a shoestring. I need to get started
quickly with a budget of $200/yr. (which means mostly open source
CPL/GPL software). Of course when I grow and need more commercial
features I will loosen my purse but I do not like any entry barriers
(who does?) 
Does Flex2.0 licensing model accomodate people like me or not? 

I posted these questions to almost all Flex email addresses I could
get but there was no reply. (Which I construe as sorry not interested).

The website has conflicting information as I mentioned in 1. 
Anyway, there is an alternative in OpenLaszlo but I think in terms of
features it is not as rich as Flex. 
Any clarification in this regard will be greatly appreciated, as I
need to decide on the choice of platform in very near future. 

Thanks
Nasir 









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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