Re: [flexcoders] Memory leak when using Bindings

2006-11-08 Thread Carlos Rovira



Hi Xavi,I tried your code and see the problem. Maybe someone at Adobe could tell us some method or technique to avoid this behaviour. This is very important due to the huge use bindings have in a common Flex application. In normal applications we must to remove childs to improve memory management and performance in the overall application if bindings make this stop working we end with a memory-leak caused by the flex application.
At first, we could think in a way to remove the binding (but I don't now how to do that at the moment, someone knows the way?) but if we must to do it manually it would be a bit unnatural and a patch.Hope someone at Adobe could throw some light into this important issue.
On 11/8/06, Xavi Beumala [EMAIL PROTECTED] wrote:













  



Hi there,I'm experiencing some weird behaviour when using Bindings. In short, when I remove some object from the DisplayList which has declared any Binding, the garbage doesn't destroy this object from memory causing unwanted binding triggers and an innecesary increase of memory usage.
Here's an example which isolates the problem. It consists in 2 mxml's (Main.mxml and MyScreen.mxml) and 1 .as. (ModelLocator.as)Main.mxml consists of one button and an empty mx:Canvas. When the button is clicked three actions are taken:
 1. A property in the ModelLocator is increased by one. 2. Remove all canvas children. 3. Create a new instance of MyScreen component 4. Add the MyScreen instance to the canvas displayList.
On the other hand, MyScreen.mxml just declares a binding from the testVar property declared in the ModelLocator to a setter. In this setter a simple trace is performed.The problem is seen when clicking several times the button. 
 1. The first time you click it only one trace is printed. 2. The second time you click it, the trace is performed twice. One for the new created instance an one for the removed one. 3. The third time you click it, the trace is performed 3 times, one for each instance of MyScreen that has been previously been instanciated.
 4. and so on...I'm not sure if this is a bug or not, but I think it's not the expected behaviour and lots of applications can suffer a serious decrease of performance due to this issue. I've been digging on the auto generated code trying to isolate where the bindings where declared. I'm not sure, but maybe the problem has to be something with weakreferences.
So the question is, how could I workarround this? Is there anyway I can force binding to stop working? remove it? or whatever? maybe declare it as a weakreference and not as a strong reference?Help is much apreciated!
Here's the isolated code:[CODE --- main.mxml]?xml version=1.0 encoding=utf-8?mx:Application  xmlns:mx=
http://www.adobe.com/2006/mxml
 layout=vertical   mx:Script  ![CDATA[   private var i:int = 0;  private function loadChild():void   {
ModelLocator.getInstance().testVar = i++;container.removeAllChildren();var s:MyScreen = new MyScreen();container.addChild (s);   }
  ]] /mx:Script  mx:Button label=load click=loadChild()/ mx:Canvas id=container width=100% height=100%/
/mx:Application[/CODE][CODE -- MyScreen.mxml]?xml version=1.0 encoding=utf-8?mx:Canvas xmlns:mx=
http://www.adobe.com/2006/mxml
 mx:Script  ![CDATA[   protected function set dest (d:String):void   {trace (modified);   }  ]]
 /mx:Script  mx:Binding source=ModelLocator.getInstance().testVar destination=dest/  mx:Text text=hola mundo//mx:Canvas
[/CODE][CODE -- ModelLocator.as]package { [Bindable] public class ModelLocator {  private static var instance:ModelLocator;public function ModelLocator() {
   instance = this;  }public static function getInstance():ModelLocator {   if (instance == null) {instance = new ModelLocator();   }
  return instance;  }public var testVar:int; }}[/CODE]Thanks so muchX.P.D: this is the third time I send this question, hope this time someone can help :-)


  













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

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups 

[flexcoders] FDS License

2006-11-08 Thread Alex
Hello Flexcoders,

I was wondering if 5 simultaneous connection restriction (FDS Express
edition) applies for HTTP RPC as well as for RMTP?

Kind regards,
Alex



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



[flexcoders] How to make FormItem labels left aligned?

2006-11-08 Thread Sergey Kovalyov
Hi All!

I want FormItem labels to be left aligned in all the Form instances.
What is the best practice to do that?

Sergey.


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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



Re: [flexcoders] Re: Tamarin, Adobe open source the Flash player ?

2006-11-08 Thread Tom Chiverton
On Wednesday 08 November 2006 03:31, Gordon Smith wrote:
 Here's my understanding. [Caveat: I'm just a Flex engineer, and not
 directly involved in Tamarin.]

Once again, a great clear explanation - should hace had something like this in 
the press release / FAQ.

-- 
Tom Chiverton
Helping to professionally morph global e-commerce



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Drag/Drop resets Grid ItemRenderer

2006-11-08 Thread John C. Bland II



Ok...here's the scenario.

Grid 1 accepts drops from Grid 2. Grid1 has an inline item renderer which is a combo box. The combo is a custom component that filters an ArrayCollection based on an ID passed to it.

So...this works great. I have the grid saving data on drop, updating level (from the combo) on change, and deleting (on delete button click). Very usable...ACCEPT...when you drop another item from Grid 2 on Grid 1. :-( It jacks up the combo and forces all visible combos to have the same exact dataset (filtered to the last drop). :-( :-( :-( 


Mind you, this ONLY happens when I drag multiple. If I just drag one item, everything stays as it should.

What is the magic key I need to press in order to get the grid to not reset all combos when a new multi-item drop happens?

BTW, I've come back and worked on this email a couple times so ignore any inconsistencies...I'm tired. :-(-- John C. Bland IIChief GeekKatapult Media, Inc. - 
www.katapultmedia.com---Biz Blog - http://blogs.katapultmedia.com/jb2Personal Blog - 
http://blog.blandfamilyonline.com 
http://www.lifthimhigh.com - Christian Products for Those Bold Enough to Wear ThemHome of FMUG.az - 
http://www.gotoandstop.org Home of AZCFUG - http://www.azcfug.org 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: Tamarin, Adobe open source the Flash player ?

2006-11-08 Thread Tom Chiverton
On Wednesday 08 November 2006 00:14, Bjorn Schultheiss wrote:
 Does this mean in the future there will be no need for the Firefox Flash
 Plugin?

It'd be intresting to see how much lighter the Flash player could be if your 
browser had ActionScript (i.e. JavaScript 2) already built into it - maybe 
all the 'Player' would be would be some extra libraries.

But we're way off in Flash 10 or 11 land if we're talking 2008, so who knows.

-- 
Tom Chiverton
Helping to revolutionarily e-enable proactive services



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



[flexcoders] How to force built-in focus manager to auto scroll containers to the focused component?

2006-11-08 Thread Sergey Kovalyov
Hi All!

How to force built-in focus manager to auto scroll containers to the
focused component? I said in message before that it's native behavior
in HTML, so users feel comfortable with this. Are there any solutions
or workarounds?

Sergey.


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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Free LocalDebugger for Flex 2 available

2006-11-08 Thread Tom Chiverton
On Tuesday 07 November 2006 18:22, efeminella wrote:
 The debugger is free so if you are interested you can learn more at
 http://www.ericfeminella.com/blog/2006/11/06/flex-2-local-debugger-api-v099

I tried all three Flash enabled browsers I have (Konqueror, native Firefox and 
WINE'd firefox with the debug player) and never managed to get any output to 
appear in the debugger template, sorry.

I assume you are meant to copy the console HTML/JS/SWF to the same site as the 
SWF you will trace from, open that in one tab then the main app SWF in 
another tab ?

This is SuSE 10.1 (64-bit, but 32-but Firefox), Adobe's fdb tool works fine if 
that helps.

-- 
Tom Chiverton
Helping to ambassadorially syndicate transparent niches



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



Re: [flexcoders] Re: FileReference Download

2006-11-08 Thread Tom Chiverton
On Wednesday 08 November 2006 04:05, sbyrne_dorado wrote:
 https://flexdemos.cynergysystems.com/support/crossdomain.xml
..
 application in Firefox using HTTPS lives, so you can imagine it's
 rather important! ;)

I get a 404 for that URL :-)

-- 
Tom Chiverton
Helping to ambassadorially implement web-enabled meta-services



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



Re: [flexcoders] Re: Calendar...visually show selection for related data?

2006-11-08 Thread Tom Chiverton
On Wednesday 08 November 2006 00:31, qnotemedia wrote:
 Given the original scenario, is there any way that I can apply this
 property to only a specfic collection of dates through something like a

set selectedRanges ?

-- 
Tom Chiverton
Helping to administratively harvest internet appliances



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



[flexcoders] Re: Image in tab

2006-11-08 Thread bhaq1972
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of bhaq1972
 Sent: Tuesday, November 07, 2006 9:48 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Image in tab
 
  
 
 check out the archives. Jeremy Lu did something special.
 


 I was unable to find that can u please reply here only. It will 
be help
 fi\ul for others also..

Although Doug has already supplied the reference. 
.you could have found the link by going to flexcoders archive 
(theres a link via www.cflex.net).
in the archive search box i typed tab Jeremy and the rest is 
history!

btw nice one Jeremy Lu.





 --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com 
ups.com,
 k4rth4l bernier_philippe@ 
 wrote:
 
  
  I want to put an image on the left of the title in each tab of a 
tab
  naviguator. Anybody know how I can do that ?
  
  This is what I try to do :
  
  [Tab Navigator]
  
  Thank yall for ur help !
 






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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] encodings problem

2006-11-08 Thread Luis Eduardo


  hi,

  my flex app talks to my servlets sending xml with á é õ characters 
using utf-8 and all is ok.
  but when i use the capital version of these characters it fails. Á É 
simple dont work.
  i searched trough the web but cant found a solution...

  can someone give (at least) an idea of how to solv this?

  thx a lot !

  Luís (already without hope) Eduardo


___ 
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. 
Registre seu aparelho agora! 
http://br.mobile.yahoo.com/mailalertas/ 
 



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Prevent focus Out in editable datagrid, if validator says invalid

2006-11-08 Thread fritzdimmel
Hi!
Is it possible to not let a user leave a editable column in a datagrid
with a custom textinput with a validator, to focus out (leaving the
edit mode).
If the user has to input a number and there's a NumberValidator, how
can I prevent letting the user leave the textinput?

Thanks,
Fritz




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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



[flexcoders] Flex Data Services for CF on Mac

2006-11-08 Thread imarichardson
I'm just curious to know if there is anyone out there who has been able to 
install Flex Data 
Services on a Mac out there? I'm running a Mac Book Pro (MacIntel) with CFMX 7 
in the 
standalone server config, and woul dreally like to install a working version of 
Flex Daa 
servces for testing.

I know I can run it on Parallels but would like to run it natively. Any help or 
input is greatly 
appreciated!

Thanks again.




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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Repeater children resetting comboboxes

2006-11-08 Thread phildouglas
Hey all
I have a Repeater repeating a component of mine containing a few
ComboBoxes and a TextInput, and using an ArrayCollection as dataProvider.

I have set the Repeater to use recycleChildren=true, however when I
perform addItem() on my ArrayCollection, the ComboBoxes are being set
to selectedIndex=0 although the TextInput retains any user input. 

Is there any way to stop this from happening?

Thanks
Phil




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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



[flexcoders] Re: Pie Chart display problem when the data is empty

2006-11-08 Thread haravallabhan
Hi Ely,
Thanks for your effort. Okie let me explain what exactly I am doing..

I am trying to evaluate Flex Data Service. I get the data from  a 
Java Service through Remote Object. I use the resulting  List from 
the Java Service as the Data Provider in the Pie Chart. The list may 
contain no values. In such scenario I get this problem. 

I dont use any kind of different strategy to load the data to the Pie 
Chart. Its a very straight forward implementation. 

Thanks
Hara

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

  
  
 Hi Hara. The snapshot is helpful, but I would still like some sample
 code to reproduce it myself. This bug might be fixed in an upcoming
 release, but I'd like to verify it if I can.
  
 Thanks,
 ely.
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Hara Jn
 Sent: Monday, November 06, 2006 10:17 PM
 To: flexcoders@yahoogroups.com; Ely Greenfield
 Subject: Re: [flexcoders] Pie Chart display problem when the data is
 empty
 
 
 
 Hi,
  
 Thanks and I appreciate for the reply to my query in the flex coders
 group regarding the Pie chart Problem. I felt that instaed of 
explaing
 the problem a snapshot will do a lot good. So I have attached the
 snapshot of the problem with the pie chart. Believe me its a Pie 
chat
 with 0 values. PLease find a JPG file illustrating the same. 
  
  
 thanks
 Hara
 
  
 On 11/6/06, Ely Greenfield [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]  wrote: 
 
   



   Can you post a simple sample, no server required, that
 demonstrates the problem?

   Ely.

 
 
 
   From: flexcoders@yahoogroups.com http://ups.com/  [mailto:
 flexcoders@ mailto:flexcoders@ yahoogroups.com
 http://yahoogroups.com ] On Behalf Of haravallabhan
   Sent: Monday, November 06, 2006 4:03 AM
   To: [EMAIL PROTECTED] ups.com http://ups.com/ 
   Subject: [flexcoders] Pie Chart display problem when the data 
is
 empty
   

   
 
   Hi,
   
   I am trying to display a set of data to say number of fruits 
of 
   different variety. I get a Pie chart when I have some values 
in
 each 
   variety. But when there are no fruits (value is 0 in all) in
 every 
   variety the obvious thing should be a blank chart. But the 
chart
 shows 
   some display with a different kind of shape pointing to 0. to
 say a one 
   sector pie with the center in the top end corner of the
 container 
   prolonged to the center of the container with the color of the
 first 
   pie.
   
   Can any one help me. It looks very ugly in the chart.
   
   Thanks
   Hara






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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Component not being displayed in screen

2006-11-08 Thread stephen50232
Hi,

I'm working on my first Flex app and I've got a page, which contains a 
component (a add user form). When I run the page and the browser opens 
the component isn't displayed, I just get the standard grey/Flex page. 
I have the correct state selected to start, but I still can't see 
anything. 
Like I said this is the firt flex app I've done so what could I be 
missing?




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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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 learn file upload result

2006-11-08 Thread Jeff Noyes
I'd be interested in learning how your using flex to upload files

On 11/6/06, Yiðit Boyar [EMAIL PROTECTED] wrote:
 i use file IO example class of adobe to upload files to my server (to a php
 file).
 i added a URLVariables object to the URLRequest to send additional variables
 with the file,
 but i could not find a way to get the result of my php.
 i mean, my php file outputs an xml (giving the result of move_upload and
 some additional values)
 but how can i read what my URLRequested php file returns?

 thanks...

 Yigit Boyar
 Middle East Technical University  / Undergraduate year 2







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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



[flexcoders] custom component with stylechanged, updateDisplayList, resizing

2006-11-08 Thread gdoucen
Hi,

I need to know the best way to deal with styles updates and component
resizing in a custom component. I will try to be more precise.

I'm making a light volume controller component. To customize it, i
have added some custom styles like progressBarBackgroundColor.

As decribed in flex doc, i have used flags to limit the redraw to
updated items and this is the result.

private bProgressBarStylesChanged = true;

override public function styleChanged(styleProp:String):void
{
   super.styleChanged(styleProp);

   var allStyles:Boolean = styleProp == null || 
   styleProp == styleName;

   // Check to see if progressBar styles changed. 
   if ( allStyles || styleProp==progressBarBackgroundColor )
   {
bProgressBarStylesChanged = true;
invalidateDisplayList();
return;
   }
}

override protected function updateDisplayList(...):void 
{
   super.updateDisplayList(unscaledWidth, unscaledHeight);
   
   if ( bProgressBarStylesChanged )
   {
   //redraw progressbar
   ...
   bProgressBarStylesChanged = false;
   }
}

This works fine for when a style changed but obviously not yet when i
resize my component (the value of the bProgressBarStylesChanged 
preventing the redraw of the item). So i decided to catch the resize
event and set a specific flag bDimensionChanged to describe the state.

This the new version.

// constructor
public function MediaVolumeController()
{
  super();
  addEventListener( ResizeEvent.RESIZE, handleResizing );
}

private function handleResizing( event:ResizeEvent ):void
{
 bDimensionChanged = true;
}

override protected function updateDisplayList(...):void 
{
   super.updateDisplayList(unscaledWidth, unscaledHeight);
   
   if ( bDimensionChanged || bProgressBarStylesChanged )
   {
   //redraw progressbar
   ...
   bProgressBarStylesChanged = false;
   }

   bDimensionChanged = false;
}

Everything works fine now, but it seems that it's not the way that mx
component have been done. What the best way to do that?

Thanks for your help.







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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



[flexcoders] Re: Eclipse becoming HORRIBLY slow??

2006-11-08 Thread klethron
I have noticed this same thing, I purchased Flex Builder 2 at the
Adobe Max 2006 Conference and tried loading the Help Tutorials, it 
would become unresponsive and kept crashing on me. I finally gave up
on the help files and downloaded the pdf and bought the Adobe Flex 2
Training from the source book.

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

 I don't know if you have the Help Panel open or not. When I start 
 seeing Flex Builder become unresponsive, it is when I have the Help 
 panel open and the Dynamic Help querys are trying to keep up. 
 Usually by shutting down the help panel it becomes responsive again.
 
 
 --- In flexcoders@yahoogroups.com, Steve Kellogg @ Project SOC 
 stevek@ wrote:
 
  Hello,
  
   
  
  I'm using FB2 on WinXP on a fairly modern laptop (core duo).
  
   
  
  I seem to be having a great deal of trouble lately with 
 FlexBuilder's TEXT
  EDITOR (in SOURCE MODE) getting VERY VERY SLOW.  Slow means that I 
 can type
  a 32 character line, and see a 10-15 second delay before all of the
  characters show up on the screen.
  
   
  
  Is there some sort of GARBAGE COLLECTION that might be getting in 
 the way of
  smooth operation?  Are there any known conditions that I should be 
 avoiding?
  
   
  
  Thanks in advance,
  
   
  
   
  
  Steve
  
   
  
   
  
   
  
  Steve Kellogg
  
  Peak8 Solutions
  
  1401 14th Street
  
  Boulder, Colorado
  
  80302, USA
  
  Fax: 303.415.2597
  
  E-Mail: stevek@
 






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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Looking to hire a Flash/Flex developer

2006-11-08 Thread leds usop
im in asia. if telecommute is feasible, count me in
too :)

--- Jeff Hindman [EMAIL PROTECTED] wrote:

 Are you taking telecommuters ?
 
 I'm in Southern California.
 
  
 
   -- Jeff Hindman
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
 Behalf Of jenunderscore
 Sent: Monday, November 06, 2006 2:31 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Looking to hire a Flash/Flex
 developer
 
  
 
 Hey all, 
 Our company in Ottawa is currently seeking to hire
 another developer
 with Flash experience. Does anybody know of some
 good resources for
 flash developers seeking employment? 
 
  
 
 




 

Sponsored Link

Free Uniden 5.8GHz Phone System with Packet8 Internet Phone Service
http://www.getpacket8.net/yahoo2


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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] encodings problem

2006-11-08 Thread leds usop
strange, i thought you can set the encoding type in
the mxml header itself? just in case you havent tried
that.

--- Luis Eduardo [EMAIL PROTECTED] wrote:

 
 
   hi,
 
   my flex app talks to my servlets sending xml with
 á é õ characters 
 using utf-8 and all is ok.
   but when i use the capital version of these
 characters it fails. Á É 
 simple dont work.
   i searched trough the web but cant found a
 solution...
 
   can someone give (at least) an idea of how to solv
 this?
 
   thx a lot !
 
   Luís (already without hope) Eduardo
 
   

___
 
 Novidade no Yahoo! Mail: receba alertas de novas
 mensagens no seu celular. Registre seu aparelho
 agora! 
 http://br.mobile.yahoo.com/mailalertas/ 
  
 
 




 

Sponsored Link

Get a free Motorola Razr! Today Only! 
Choose Cingular, Sprint, Verizon, Alltel, or T-Mobile. 
http://www.letstalk.com/inlink.htm?to=592913


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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Repeater children resetting comboboxes

2006-11-08 Thread Tracy Spratt












When the user changes the selection of the
combo box, are you saving that selection back to your dataProvider? And
setting the selection using currentItem?



If not, you will not get reliable results.
addItem is causing the repeater to re-render, according to the values in the
dataProvider.



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of phildouglas
Sent: Wednesday, November 08, 2006
12:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Repeater
children resetting comboboxes











Hey all
I have a Repeater repeating a component of mine containing a few
ComboBoxes and a TextInput, and using an ArrayCollection as dataProvider.

I have set the Repeater to use recycleChildren=true, however when I
perform addItem() on my ArrayCollection, the ComboBoxes are being set
to selectedIndex=0 although the TextInput retains any user input. 

Is there any way to stop this from happening?

Thanks
Phil






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Sorting in Datagrid

2006-11-08 Thread Renee

In datagrid i have a datacolumn amount.
  Data in amount col is coming  through a labelfunction which is used to 
format amount for currency.
Now how to sort the data in grid according to amount column..



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



Re: [flexcoders] Re: Minimum size of a Flex 2.0 application

2006-11-08 Thread leds usop
Yep, you will want as only for that. To make things
easier for you, layout things in flex, then compile
while setting the compiler to retain the generated AS
files, im sure you will find a thing or two in those
files to help you in your AS flash file generator.
Goodluck!

--- Flex Learner [EMAIL PROTECTED] wrote:

 By flash file generator, i meant that i use Flex
 Builder to layout all the
 controls (texboxes, images etc) , events , logic
 etc- since i'm comfortable
 with mxml (obviously, i'm not a legacy Flash
 developer) and the generated
 swf is hosted on a HTML page. There's no Flex
 server. Seems like core AS is
 the only way out.
 
 On 11/6/06, bjorn.schultheiss
 [EMAIL PROTECTED] wrote:
 
120kb is about the smallest possible filesize
 for any flex app based
  off mx:Application
 
  that figure will rise quickly though. 120kb is a
 flex app with nothing
 
  Bjorn
 
  --- In flexcoders@yahoogroups.com
 flexcoders%40yahoogroups.com, Flex
  Learner [EMAIL PROTECTED] wrote:
  
   Hi,
  
   What's the lightest Flex 2.0 app we can get ? .
 An empty app with
  just an
   mx:Application tag weighs in at 120 KB. It'll be
 great if there are any
   compiler options we can use to minimize this
 further. I'm using Flex
  as a
   Flash file generator that'll be embedded into a
 HTML page - and the
  entire
   page weight must be around 200 to 300KB.
  
   Let me know if Flex-generated swf is a viable
 option for me.
  
   Thanks,
   Joseph
  
 
  
 
 




 
__
Sponsored Link

Talk more and pay less. Vonage can save you up to $300 a year on your phone 
bill. 
Sign up now. http://www.vonage.com/startsavingnow/


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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



[flexcoders] Re: Language vs. DOM

2006-11-08 Thread ben.clinkinbeard
Godd stuff (again), Gordon.

So, is it reasonable to assume that the Apollo team is also using
Tamarin and adding DOMs on top of it to support the various OS-level
functionalities? I realize you're not on that team so you might not
have the details on this, but you've piqued my interest enough to want
to have a better understanding of how this all works. Would there be a
WinOS DOM, OSX DOM and Linux DOM that essentially sit on top of
Tamarin and somehow, based on the environment the app is running in,
commands are sent to the appropriate DOM?

Thanks again for the great info!
Ben


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

 At the risk of flogging the Tamarin topic to death... there seems to be
 quite a bit of conceptual confusion between a language and a DOM
 (document object model) that I'd like to try to clear up.
  
 JavaScript 1.X originated in the Netscape browser, but the language
 itself isn't concerned with the Windows, Frames, Documents, Anchors,
 etc. that exist in a browser DOM. If you look at the SpiderMonkey
 implementation of JavaScript 1.5, it has none of these types of objects.
 If you look at how JavaScript 1.5 is used to extend and automate some
 Adobe applications like Dreamweaver, it has a completely different DOM,
 on top of the same core language.
  
 The JavaScript language itself is about much more basic stuff... things
 like the following examples:
  
 * Syntax: using the var keyword to define a variable; implementing
 inheritance by assigning to the .prototype property.
  
 * Builtin data types: String, Number, Date, Array, RegExp, etc.
  
 * Runtime behavior: any variable can contain any type of value at
 runtime; you can get or set any property on any object at runtime; if a
 property isn't found on an object, the language looks up that object's
 prototype chain for it.
  
 These are language-level features, not DOM-level features, because they
 make sense and are useful with *any* DOM. Sometimes we say that features
 like these constitute the core of the JavaScript 1.5 language,
 although that implies that the DOM classes are part of the language and
 they really should be considered so.
  
 Similarly, ActionScript 3 originated in Flash, but that language isn't
 concerned with the Sprites, TextFields, Bitmaps, etc. that exist in the
 Flash DOM. Instead, the essence of ActionScript 3 is about more basic
 things such as the following:
  
 * Syntax: having compile-time type annotations; using the class keyword
 to define a class; using the private keyword to enforce encapsulation;
 using the package keyword to define a package.
  
 * Builtin data types: having int and uint in additon to Number; having
 an XML type with powerful E4X operators.
  
 * Runtime behavior: runtime type-checking; sealed classes; classes with
 true class inheritance rather than prototype-based inheritance; method
 closures; namespaces.
  
 Again, these are language-level features of AS3, independent of the
 Flash DOM. You can call them the core of AS3 if you want. The flash.*
 classes are not part of this core.
  
 The point of Mozilla's Tamarin project is that it will become an
 open-source implementation of a virtual machine (execution engine) for
 JavaScript 2 / ECMAScript 4, a still-in-the-process-of-being-defined
 *core* language, in the same way that Mozilla's SpiderMonkey project has
 been for the JavaScript 1.5 *core* language.
  
 Tamarin, like SpiderMonkey, will have *no* DOM of its own. Developers
 can host any DOM on top of it, as appropriate for your application. For
 the Firefox browser, that will be the browser DOM of Windows, Documents,
 etc. For Flash, it will be the Flash DOM of Sprites, TextFields, etc.
  
 - Gordon






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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Display image in Flex component from Java object

2006-11-08 Thread mr_vipulkaushik
Hi All,
I am facing a problem in displaying image which I am fetching from 
database. 
I am getting image in the form of ByteArrayOutputStream object from a 
java class when I retrieve it from database. Now I want to display it 
on a flex 1.5 component.
Flex Image tag takes source as path of image only so I think we can't 
show it in this way.

Anybody who has got such kind of problem and solved it?




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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Component not being displayed in screen

2006-11-08 Thread Tracy Spratt












Isolate the problem: remove the states, to
make sure the component works correctly without that. If it does, re-apply the
states code til it breaks. That will tell you where the problems is.



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of stephen50232
Sent: Wednesday, November 08, 2006
7:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Component
not being displayed in screen











Hi,

I'm working on my first Flex app and I've got a page, which contains a 
component (a add user form). When I run the page and the browser opens 
the component isn't displayed, I just get the standard grey/Flex page. 
I have the correct state selected to start, but I still can't see 
anything. 
Like I said this is the firt flex app I've done so what could I be 
missing?






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Re: Prevent focus Out in editable datagrid, if validator says invalid

2006-11-08 Thread bhaq1972
have you looked into DataGridEvent.preventDefault().
there's a simple example in the docs titled

Determining the reason for an itemEditEnd event


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

 Hi!
 Is it possible to not let a user leave a editable column in a 
datagrid
 with a custom textinput with a validator, to focus out (leaving the
 edit mode).
 If the user has to input a number and there's a NumberValidator, 
how
 can I prevent letting the user leave the textinput?
 
 Thanks,
 Fritz






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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



Re: [flexcoders] Image Scroller

2006-11-08 Thread Daniel Freiman



Thanks for the suggestion.I thought about the hbox, the thing you are going to want to remove the first image when it is no longer visible to keep memory usage low. This will jump all of the images to the left when the layout is redone.
After over-thinking this problem yesterday, I just sat down and did all the layout manually at the end of the day. I've still got some bugs left but it seems like it was simpler than I thought.- Dan
On 11/7/06, Ashish Goyal [EMAIL PROTECTED] wrote:



















I can think of one way you can achieve
this. Add all images to HBox. On Hbox's creationComplete event use Timer
class to set timer for say 500 ms. In the timer handler function increment the value
of horizontalScrollPosition by 5 px. You can also check if the horizontalScrollPosition
is greater than maxhorizontalScrollPosition and then set horizontalScrollPosition
to 0 again.



BTW, you can check out flash.utils package
for more info on Timer class.



-Ashish



















From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Daniel Freiman
Sent: Tuesday, November 07, 2006
12:34 PM
To: flexcoders
Subject: [flexcoders] Image
Scroller











I need an
image scroller. It's a standard concept. You have a set of images
in a horizontal list and the list is animated to scroll from right to
left. It never stops scrolling because the images are looped (it's like
the text scrollers people used to make in Java when applets first showed up). 

This seems to me like it should be easy but the looping is throwing me.

Some extra incentive to help me: it's for a charitable non-profit (a local Boys
and Girls Club). (Yes I'm channeling my mother to try and guilt people.) 

- Dan














__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Error #2038: File I/O Error.

2006-11-08 Thread e_baggg
If the error is on the server than you should ask this question to
forums that support whatever language your server code is written in
(Java, .NET, etc..).

--- In flexcoders@yahoogroups.com, Yiðit Boyar [EMAIL PROTECTED] wrote:

 you seem to be right, thanks...
 but the problem on the server still continues...
 my application work in my localhost but not in my server (i get the
error 2038 File I/O)
 how can i fix it?
 thanks...
 
 yigit boyar
 middle east technical university / sophomore
 
 - Original Message 
 From: e_baggg [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, November 7, 2006 5:49:12 AM
 Subject: [flexcoders] Re: Error #2038: File I/O Error.
 
 
 
 
 
 
 
 
 
   
 
 
 
 It actually doesn't have anything to do with the
filename, it's
 
 actually the file size. FileReference can't upload files that are 0KB.
 
 Add some characters to 'new document.txt' and the upload will be fine.
 
 
 
 I added a try/catch to notify the user if this happens:
 
 
 
 try {
 
   file.upload( uploadUrl) ;
 
   } catch (error : Error)
 
   {
 
   Alert.show( ' + file.name + ' cannot be uploaded 
 because
 
 it is an empty + 
 
file. Files cannot be 0 KB in size., 
 Upload Error...);
 
   return;
 
   }
 
 
 
 --- In [EMAIL PROTECTED] ups.com, Yiðit Boyar yigitboyar@ ... wrote:
 
 
 
  when i'm working in my locahost and try to upload a file which has
 
 blank character(s) (e.g. new document.txt) ,
 
   i get the error: text=Error #2038: File I/O Error.
 
  also when i uploaded my flex application to my remote server; now i
 
 can not even upload files with names consisting no blank characters.
 
  
 
  what can be the reason for this?
 
  
 
  Note: my swf,php all run in the same server
 
 
 
 
 
 
 
 
   
 
 
 
 
 
 
 
 !--
 
 #ygrp-mlmsg
{font-size:13px;font-family:arial,helvetica,clean,sans-serif;}
 #ygrp-mlmsg table {font-size:inherit;font:100%;}
 #ygrp-mlmsg select, input, textarea {font:99%
arial,helvetica,clean,sans-serif;}
 #ygrp-mlmsg pre, code {font:115% monospace;}
 #ygrp-mlmsg * {line-height:1.22em;}
 #ygrp-text{
 font-family:Georgia;
 }
 #ygrp-text p{
 margin:0 0 1em 0;
 }
 #ygrp-tpmsgs{
 font-family:Arial;
 clear:both;
 }
 #ygrp-vitnav{
 padding-top:10px;
 font-family:Verdana;
 font-size:77%;
 margin:0;
 }
 #ygrp-vitnav a{
 padding:0 1px;
 }
 #ygrp-actbar{
 clear:both;
 margin:25px 0;
 white-space:nowrap;
 color:#666;
 text-align:right;
 }
 #ygrp-actbar .left{
 float:left;
 white-space:nowrap;
 }
 .bld{font-weight:bold;}
 #ygrp-grft{
 font-family:Verdana;
 font-size:77%;
 padding:15px 0;
 }
 #ygrp-ft{
 font-family:verdana;
 font-size:77%;
 border-top:1px solid #666;
 padding:5px 0;
 }
 #ygrp-mlmsg #logo{
 padding-bottom:10px;
 }
 
 #ygrp-vital{
 background-color:#e0ecee;
 margin-bottom:20px;
 padding:2px 0 8px 8px;
 }
 #ygrp-vital #vithd{
 font-size:77%;
 font-family:Verdana;
 font-weight:bold;
 color:#333;
 text-transform:uppercase;
 }
 #ygrp-vital ul{
 padding:0;
 margin:2px 0;
 }
 #ygrp-vital ul li{
 list-style-type:none;
 clear:both;
 border:1px solid #e0ecee;
 }
 #ygrp-vital ul li .ct{
 font-weight:bold;
 color:#ff7900;
 float:right;
 width:2em;
 text-align:right;
 padding-right:.5em;
 }
 #ygrp-vital ul li .cat{
 font-weight:bold;
 }
 #ygrp-vital a {
 text-decoration:none;
 }
 
 #ygrp-vital a:hover{
 text-decoration:underline;
 }
 
 #ygrp-sponsor #hd{
 color:#999;
 font-size:77%;
 }
 #ygrp-sponsor #ov{
 padding:6px 13px;
 background-color:#e0ecee;
 margin-bottom:20px;
 }
 #ygrp-sponsor #ov ul{
 padding:0 0 0 8px;
 margin:0;
 }
 #ygrp-sponsor #ov li{
 list-style-type:square;
 padding:6px 0;
 font-size:77%;
 }
 #ygrp-sponsor #ov li a{
 text-decoration:none;
 font-size:130%;
 }
 #ygrp-sponsor #nc {
 background-color:#eee;
 margin-bottom:20px;
 padding:0 8px;
 }
 #ygrp-sponsor .ad{
 padding:8px 0;
 }
 #ygrp-sponsor .ad #hd1{
 font-family:Arial;
 font-weight:bold;
 color:#628c2a;
 font-size:100%;
 line-height:122%;
 }
 #ygrp-sponsor .ad a{
 text-decoration:none;
 }
 #ygrp-sponsor .ad a:hover{
 text-decoration:underline;
 }
 #ygrp-sponsor .ad p{
 margin:0;
 }
 o {font-size:0;}
 .MsoNormal {
 margin:0 0 0 0;
 }
 #ygrp-text tt{
 font-size:120%;
 }
 blockquote{margin:0 0 0 4px;}
 .replbq {margin:4;}
 --






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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

* Your use of 

Re: [flexcoders] Re: Prevent focus Out in editable datagrid, if validator says invalid

2006-11-08 Thread Valy Sivec


Hello flexcoders,

I'm working on the same issues for about a day without any luck. All the examples I've seen so far work correctly for TAB navigation but fail for mouse navigation and invalid cell will loose the focus. I might need a final validation before submit the form/grid data, but I'll do that as a last resort I'm still trying to find something because I suspect that I'm missing something is this a BUG?. Can somebody from Adobe confirm this?

Editable Datagrid is one of the most apealing components, and I'm kinda surprised to see this issue... but again, it might be me.

Thanks,
Valy


- Original Message From: bhaq1972 [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Wednesday, November 8, 2006 9:07:18 AMSubject: [flexcoders] Re: Prevent focus Out in editable datagrid, if validator says invalid

have you looked into DataGridEvent. preventDefault( ).there's a simple example in the docs titled"Determining the reason for an itemEditEnd event"--- In [EMAIL PROTECTED] ups.com, "fritzdimmel" fritz.dimmel@ ... wrote: Hi! Is it possible to not let a user leave a editable column in a datagrid with a custom textinput with a validator, to focus out (leaving the edit mode). If the user has to input a number and there's a NumberValidator, how can I prevent letting the user leave the textinput?  Thanks, Fritz



Sponsored Link
Free Uniden 5.8GHz Phone System with Packet8 Internet Phone 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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___


[flexcoders] yet another sudoku game

2006-11-08 Thread wci.geo
wrote this sudoku game using flex 2.0 and actionscript 3.0 just for 
fun. The generator took about 0.5 - 1.0 second for each new game, kind 
slow, but works for now. will add more functions in the next update.

http://www.mr-ci.com/sudoku.html

let me know what do you think!
Willy





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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Setting alpha style on a single stacked column

2006-11-08 Thread Tom Fitzpatrick
I've created a stacked column chart using a ColumnSet that contains 
three column series.

When building a group of four stacked columns, I'd like to 
programmatically set the alpha for all the elements in the first stacked 
column to .5.

What is the way to set the alpha style on the elements of just that one 
stacked column?

- Tom








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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



[flexcoders] Re: FileReference Download

2006-11-08 Thread sbyrne_dorado
My point exactly. 

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

 On Wednesday 08 November 2006 04:05, sbyrne_dorado wrote:
  https://flexdemos.cynergysystems.com/support/crossdomain.xml
 ..
  application in Firefox using HTTPS lives, so you can imagine it's
  rather important! ;)
 
 I get a 404 for that URL :-)
 
 -- 
 Tom Chiverton
 Helping to ambassadorially implement web-enabled meta-services
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at St James's Court Brown Street Manchester M2 2JF.
 A list of members is available for inspection at the registered
office. Any reference to a partner in relation to Halliwells LLP means
a member of Halliwells LLP. Regulated by the Law Society.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above
and may be confidential or legally privileged.  If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents.  If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.






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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



[flexcoders] Re: cairngorm: calling a function in a view

2006-11-08 Thread Jamie O
My view has a SWC component within it, so parsing the XML in the
command or anywhere within the program is not an option. I pass the
XML to the component and call it's parseXML method() to have it
update. I did manage to find another thread much earlier in this
discussion that - although not recommended from an encapsulating code
best practices point of view - temporarily resolves my issue. In my
command I execute the views component method directly:

Application.application.viewstackNameHere.getChildByName(viewNameHere).ComponentID.ParseXML();

Later on, I'll get some consulting time with someone smarter in the
ways of cairngorm and Flex than myself to help re-factor the code and
post the 'proper' method to this. From what I've read it is an issue
for a number of others.

Thanks,
Jamie




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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



Re: [flexcoders] Re: How do I add superscript text in Flex?

2006-11-08 Thread Daniel Freiman



The ideas in your original question might be the way to go then. Some simplification can be done by making your own component (FootnoteTextArea). Throw a UITextField on a UIComponent and then overlay the footnotes (images or additional UITextFields) as children to the FootnoteTextArea (simplifies the origin point). You can re-layout the footnotes on resize of the FootnoteTextArea or the change event of UITextField. The a placeholder for the footnotes can be represented in the UITextField by a space character in a special font that won't otherwise be used. You can search for these placeholder characters and then use the getCharBoundaries() to find out where the footnote should be placed.
It's not simplest solution...unless there isn't an alternate solution.I'm going to need to implement superscript in a few months, so I'd be interested to hear if you ever find a solution.Good luck,
- DanOn 11/7/06, thegators_2002 [EMAIL PROTECTED] wrote:
Thanks, Dan!I tried your suggestion and made a small SWF.I embedded it in a lineof htmlText using the img tag.mx:htmlText![CDATA[Total Amountimg src=''
Required Today: font color=#ff$0/font]]/mx:htmlTextUnfortunately, Flex doesn't seem to render it correctly.The imageonly appears when I have a text control that is expanded to be several
lines long.In other words, I can't just put a simple 1-line textfield on the canvas and generate the text.I have to use a multi-linetext field or text area, and even then the image appears at the end of
the text.In the help, it says The img tag is not fully supported in Flex 2,and might not work in some cases and also This tag is supported onlyin dynamic and input text fields that are multiline and wrap their
text.There is an example about how to make text flow around animage.I can't really do this for a simple superscript footnotenumber, unfortunately.Does anyone have any other ideas I can try?It seems odd that
something so simple should be so impossible!:(Thanks for any help,Pete--- In flexcoders@yahoogroups.com, Daniel Freiman [EMAIL PROTECTED] wrote:
 to the best of my knowledge, there's not a great way to do this.Mybest idea would be to create a footnote swf and embed it in the textboxwith the img tag.Each swf could be passed a number (and/or possibly some
formating information) and would simply display that number in a small font in a textfield (autosize left).you would need to keep track of the number within the textbox so that if one gets deleted the rest get renumbered
 automatically (or i guess you could let them edit it manually too). - Dan On 11/6/06, thegators_2002 [EMAIL PROTECTED] wrote:   Hi, 
  My Flex app will have lots of text that must be footnoted on the  screen.Some of the text includes dynamically generated numbers, so  the size of the textbox is indeterminate at design-time.
   I have read that superscript/subscript HTML tags are not supported in  the HtmlText sections of the text controls.And, because the text  fields are dynamically sized, I can't just pop a shrunken footnote
  image or text control on the canvas overlaying the textbox.Does  anyone know of a way I could dynamically add superscript to a line of  text generated at runtime?   Thanks,
  Pete  --  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/* Your email settings:Individual Email | Traditional* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join(Yahoo! ID required)* To change settings via email:mailto:
[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]* 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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups 

Re: [flexcoders] Re: cairngorm: calling a function in a view

2006-11-08 Thread Douglas McCarroll
Hi Jamie,

I'm a Cairngorm newbie, but it looks to me as though this is simply a 
case of trying to cobble preexisting code (your SWC) into a framework 
that it wasn't designed for. In such a case your current fix, though a 
kludge, may be a reasonable solution, even if not really 
Cairngorm-compliant.

Your only other option may be to completely rework your SWC so it fits 
into the framework. But this may not be possible. So much of the 
Cairngorm model consists of using data binding from model to view, and 
I'm having trouble imagining how one could implement binding from model 
to SWC. But now I'm moving into an area where I'm pretty ignorant, so 
I'll shut up.  :-)

In any case, if you do find a Cairngorm-compliant approach, please do 
post it. Then we'll all learn. :-)

Thanks,

Douglas



Jamie O wrote:

 My view has a SWC component within it, so parsing the XML in the
 command or anywhere within the program is not an option. I pass the
 XML to the component and call it's parseXML method() to have it
 update. I did manage to find another thread much earlier in this
 discussion that - although not recommended from an encapsulating code
 best practices point of view - temporarily resolves my issue. In my
 command I execute the views component method directly:

 Application.application.viewstackNameHere.getChildByName(viewNameHere).ComponentID.ParseXML();

 Later on, I'll get some consulting time with someone smarter in the
 ways of cairngorm and Flex than myself to help re-factor the code and
 post the 'proper' method to this. From what I've read it is an issue
 for a number of others.

 Thanks,
 Jamie

  



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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] BindingWatcher and XML

2006-11-08 Thread Daniel Freiman



You are supposed to use the XMLListCollection class which broadcasts events. There isn't a way to bind or listen directly to an XML or XMLList object without using XMLWatcher, XMLNotifier or IXMLNotifiable which are all not documented.
- DanOn 11/7/06, tobiaspatton [EMAIL PROTECTED] wrote:
Hello list;Is there way to use the BindingWatcher class to detect changes tonodes in an XML object? So far, I've not been able to get this towork.I've looked at the compiler-generated code that implements this sort
of binding for MXML files, but it uses classes like XMLWatcher thatare in the mx:internal namespace. I understand that developers arenot meant to use these classes.Thanks.Tobias.Here's the code I'm using for my tests:
?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxmllayout=vertical
creationComplete=OnCreationComplete()mx:Script![CDATA[import mx.binding.utils.ChangeWatcher;private function OnCreationComplete() : void
{_watcher = ChangeWatcher.watch(this, [ x1, leaf[ 0 ] ], OnChange );trace( _watcher.isWatching() );
}privatefunction OnChange( change :Object ) : void{trace( Change );}
private var _watcher : ChangeWatcher;]]/mx:Scriptmx:HBoxmx:Label id=l1 text={x1.leaf
[ 0 ]}/mx:TextInput id=ti1/mx:Button label=Change click=x1.leaf[ 0 ] =ti1.text//mx:HBox
mx:XML id=x1 format=e4x xmlns=rootleafInitial Value 0/leafgroup1
leafInitial Value/leafleafInitial Value 2/leaf/group1/root
/mx:XML/mx:Application--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/* Your email settings:Individual Email | Traditional* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join(Yahoo! ID required)* To change settings via email:mailto:
[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]* 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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] DateField selectedDate toggle

2006-11-08 Thread Niklas Richardson
Sorry to resurrect this, but this feature slipped into Flex 2 and
we're trying to figure out a work around.

Jesse - did you create a solution that would work in Flex 2?

Thanks

Niklas



On 2/3/06, Deepa Subramaniam [EMAIL PROTECTED] wrote:
 I've filed a bug and its being looked at internally.

 deepa

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt 
 Chotin
 Sent: Thursday, February 02, 2006 10:07 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] DateField  selectedDate toggle

 Have you filed a bug on this issue? I don't have a better way for
 you...

 Matt

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of JesterXL
 Sent: Monday, January 30, 2006 2:22 PM
 To: Flexcoders
 Subject: [flexcoders] DateField  selectedDate toggle

 If you select a day in a DateChooser or DateField, it sets the
 selectedDate
 to the Date value chosen. If you select it again, it sets it to
 undefined.

 This is not desirable. This is the only control that does not follow
 the
 List way of working:
 - click to select
 - control + click to deselect

 This is driving our validation crazy as well.

 In Flash MX 2004, I simply extended the CalendarLayout  DateChooser to
 fix
 the problem. I did not allow de-selection, therefore never had to worry

 about selectedDate toggling to a non-selectable value if a user clicks
 the
 same date again.

 In Flex, this isn't so straightforward. For now, I'm going to just try
 to
 extend the DateField, extend DateChooser's getter/setter functions
 (since
 there are like 3 functions that are too huge to extend that atcually do
 the
 re-setting of the variable), and then hi-jack the class that DateField
 throws up in the PopUpManager to use mine instead.

 ...anyone have a... you know... better way? Perhaps an already fixed
 DateField?

 --JesterXL




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






-- 
Niklas Richardson
Prismix Ltd

UK based Flex and ColdFusion Specialists


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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



RE: [flexcoders] Re: cairngorm: calling a function in a view

2006-11-08 Thread Evan Gifford












Also, if you can put your solution in the
form of a short article (or even blog entry) we would love to have this on
cairngormdocs.org once its matured. :^)



Cairngorm is condensed and purified
experience, so to should the documentation embody that principle. You wont
be the last to try to do this, so you might consider sharing what youve
learned and get credit for your effort in the process. :^) 



-Evan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Douglas McCarroll
Sent: Wednesday, November 08, 2006
8:41 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
cairngorm: calling a function in a view











Hi Jamie,

I'm a Cairngorm newbie, but it looks to me as though this is simply a 
case of trying to cobble preexisting code (your SWC) into a framework 
that it wasn't designed for. In such a case your current fix, though a 
kludge, may be a reasonable solution, even if not really 
Cairngorm-compliant.

Your only other option may be to completely rework your SWC so it fits 
into the framework. But this may not be possible. So much of the 
Cairngorm model consists of using data binding from model to view, and 
I'm having trouble imagining how one could implement binding from model 
to SWC. But now I'm moving into an area where I'm pretty ignorant, so 
I'll shut up. :-)

In any case, if you do find a Cairngorm-compliant approach, please do 
post it. Then we'll all learn. :-)

Thanks,

Douglas

Jamie O wrote:

 My view has a SWC component within it, so parsing the XML in the
 command or anywhere within the program is not an option. I pass the
 XML to the component and call it's parseXML method() to have it
 update. I did manage to find another thread much earlier in this
 discussion that - although not recommended from an encapsulating code
 best practices point of view - temporarily resolves my issue. In my
 command I execute the views component method directly:

 Application.application.viewstackNameHere.getChildByName(viewNameHere).ComponentID.ParseXML();

 Later on, I'll get some consulting time with someone smarter in the
 ways of cairngorm and Flex than myself to help re-factor the code and
 post the 'proper' method to this. From what I've read it is an issue
 for a number of others.

 Thanks,
 Jamie

 






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___








--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.0/524 - Release Date: 11/8/2006
 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.0/524 - Release Date: 11/8/2006
 


[flexcoders] Re: Prevent focus Out in editable datagrid, if validator says invalid

2006-11-08 Thread bhaq1972
yes you're right. but i dont know whether this is a bug or by design.

but i agree, you'd expect the same behaviour for both tabbing out 
and mouse outs.

what i usually do is save the currentcell coordinates ...and then if 
validation fails, i just set the editedItemPosition back to the 
saved cell coordinates eg

dg.editedItemPosition = {columnIndex:savedNum1, rowIndex:savedNum2}

however, ideally i would prefer to stay focused on the current cell 
untill further notice.

 

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

 Hello flexcoders,
 
 I'm working on the same issues for about a day without any luck. 
All the examples I've seen so far work correctly for TAB navigation 
but fail for mouse navigation and invalid cell will loose the focus. 
I might need a final validation before submit the form/grid data, 
but I'll do that as a last resort I'm still trying to find 
something because I suspect that I'm missing something is this a 
BUG?. Can somebody from Adobe confirm this?
 
 Editable Datagrid is one of the most apealing components, and I'm 
kinda surprised to see this issue... but again, it might be me.
 
 Thanks,
 Valy
 
 
 
 - Original Message 
 From: bhaq1972 [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, November 8, 2006 9:07:18 AM
 Subject: [flexcoders] Re: Prevent focus Out in editable datagrid, 
if validator says invalid
 
 have you looked into DataGridEvent. preventDefault( ).
 there's a simple example in the docs titled
 
 Determining the reason for an itemEditEnd event
 
 --- In [EMAIL PROTECTED] ups.com, fritzdimmel 
fritz.dimmel@ ... 
 wrote:
 
  Hi!
  Is it possible to not let a user leave a editable column in a 
 datagrid
  with a custom textinput with a validator, to focus out (leaving 
the
  edit mode).
  If the user has to input a number and there's a NumberValidator, 
 how
  can I prevent letting the user leave the textinput?
  
  Thanks,
  Fritz
 
 
 
 
 
 
 
  
 
_
___
 Sponsored Link
 
 Mortgage rates near historic lows: 
 $150,000 loan as low as $579/mo. Intro-*Terms 
 https://www2.nextag.com/






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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



[flexcoders] Re: New to Array Collection.

2006-11-08 Thread camlinaeizerous
You need to know first the index and the field name. If the array
collection looked something like;

public var test:ArrayCollection = new ArrayCollection
([{one: 1,1, two: 1,2, three: 1,3},
{one: 2,1, two: 2,2, three: 2,3}]);

to extract 2,2 you would need

test.getItemAt(2).two

if you only specify test.getItemAt(2) you will end up with [object
object] as text as it is returning the entire row.



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

 What is the easiest way to exstract a single value from an array 
 collection that is a reslut from remote object calling a cfc.
 
 
  [Bindable]
 public var empSelected:Number;
 
 public function getempProfile():void{
   
 cfService.empName({emp:empSelected});
   
 }
 
 [Bindable]
   
 private var empData:ArrayCollection;
   
 private function dataHandler(event:ResultEvent):void{
 empData = event.result as ArrayCollection;
 }
 
 
 mx:RemoteObject id=cfService 
   destination=ColdFusion 
   source=cfc.names
   result=dataHandler(event)
   /
 
 
 
  mx:Label  text={empData.getItemAt()}
   
   /mx:Label






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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



[flexcoders] Re: How to make FormItem labels left aligned?

2006-11-08 Thread camlinaeizerous
While you could go an set textAlign=left on each form item that
would simply be a headache. I would suggest since you want it done on
every form item to simply change the CSS settings for the form items.

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

 Hi All!
 
 I want FormItem labels to be left aligned in all the Form instances.
 What is the best practice to do that?
 
 Sergey.






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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] mx.rpc.remoting.mxml.RemoteObject source code?

2006-11-08 Thread Douglas McCarroll
Hi All,

Does anyone know if the source code for 
mx.rpc.remoting.mxml.RemoteObject is available?

And if so, where to find it?

Doesn't seem to be in \Flex SDK 2\frameworks\mx\.

TIA!

Douglas McCarroll


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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



RE: [flexcoders] Re: Pie Chart display problem when the data is empty

2006-11-08 Thread Ely Greenfield








OK, this is my last attempt. if you can post some 
sample source that I can copy/paste into an mxml file and compile, I can see if 
it's been fixed. Otherwise, I can't help.

Thanks,
Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
haravallabhanSent: Tuesday, November 07, 2006 9:50 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: 
Pie Chart display problem when the data is empty


Hi Ely,Thanks for your effort. Okie let me explain what exactly I am 
doing..I am trying to evaluate Flex Data Service. I get the data from a 
Java Service through Remote Object. I use the resulting List from the 
Java Service as the Data Provider in the Pie Chart. The list may contain no 
values. In such scenario I get this problem. I dont use any kind of 
different strategy to load the data to the Pie Chart. Its a very straight 
forward implementation. ThanksHara--- In [EMAIL PROTECTED]ups.com, 
"Ely Greenfield" [EMAIL PROTECTED]. wrote:  
 Hi Hara. The snapshot is helpful, but I would still like some 
sample code to reproduce it myself. This bug might be fixed in an 
upcoming release, but I'd like to verify it if I can.  
Thanks, ely.   
  From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of Hara Jn Sent: Monday, November 06, 2006 10:17 
PM To: [EMAIL PROTECTED]ups.com; 
Ely Greenfield Subject: Re: [flexcoders] Pie Chart display problem when 
the data is emptyHi, 
 Thanks and I appreciate for the reply to my query in the flex 
coders group regarding the Pie chart Problem. I felt that instaed of 
explaing the problem a snapshot will do a lot good. So I have 
attached the snapshot of the problem with the pie chart. Believe me its 
a Pie chat with 0 values. PLease find a JPG file illustrating the 
same.thanks Hara   
On 11/6/06, Ely Greenfield [EMAIL PROTECTED]. 
mailto:egreenfi@...  wrote: 
  Can you post a simple sample, no server required, that 
demonstrates the problem?  Ely.   
  From: [EMAIL PROTECTED]ups.com 
http://ups.com/ [mailto: 
flexcoders@ mailto:flexcoders@ yahoogroups.com http://yahoogroups.com ] On Behalf Of 
haravallabhan Sent: Monday, November 06, 2006 4:03 AM To: 
[EMAIL PROTECTED] ups.com http://ups.com/  Subject: [flexcoders] 
Pie Chart display problem when the data is empty  
   Hi,  I am trying to display a set of 
data to say number of fruits of  different variety. I get a Pie 
chart when I have some values in each  variety. But when 
there are no fruits (value is 0 in all) in every  variety the 
obvious thing should be a blank chart. But the chart shows  
some display with a different kind of shape pointing to 0. to say a one 
 sector pie with the center in the top end corner of the 
container  prolonged to the center of the container with the color of 
the first  pie.  Can any one help me. It looks 
very ugly in the chart.  Thanks 
Hara
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Setting alpha style on a single stacked column

2006-11-08 Thread Ely Greenfield







Hi Tom. You'll need a custom renderer to do 
this. If it's just the first column you want, a one-off renderer should be 
pretty easy...just extend mx/charts/renderers/BoxItemRenderer, and in the 
updateDisplayList code, check the index property of the ChartItem in the data 
property...if it's 0, set your alpha to .3 (or whatever), otherwise, 
1:

public function 
updateDisplayList(...):void
{
 
super.updateDisplayList();
 alpha = (data.index == 0)? 
.3:1;}

You can obviously get more complex if you need to...define 
a static variable that contains the index you want to alpha out, etc. 



Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tom 
FitzpatrickSent: Wednesday, November 08, 2006 7:18 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Setting alpha style 
on a single stacked column


I've created a stacked column chart using a ColumnSet that contains three 
column series.When building a group of four stacked columns, I'd like to 
programmatically set the alpha for all the elements in the first stacked 
column to .5.What is the way to set the alpha style on the elements 
of just that one stacked column?- 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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Memory leak when using Bindings

2006-11-08 Thread kurtfusion



Hi Carlos,
Unfortunately you can't remove the binding when you use mx:Binding. You can use the BindingUtils.bindSetter to create a changeWatcher andremove the binding when the Canvas is removed.I modified your MyScreen.mxmland it nowreturns "modified" twice as you would expect. 
http://livedocs.macromedia.com/flex/2/langref/mx/binding/utils/BindingUtils.html
[Modified CODE -- MyScreen.mxml]
?xml version="1.0" encoding="utf-8"?mx:Canvas removed="removeBind()" initialize="addBinding()" xmlns:mx="http://www.adobe.com/2006/mxml" mx:Script ![CDATA[// import the binding utils.  import mx.binding.utils.*;  // create a ChangeWatcher.  public var watcherSetter:ChangeWatcher; 
private function addBinding():void{// using bindSetter to set this to your setter function.   watcherSetter = BindingUtils.bindSetter(dest, ModelLocator.getInstance(), "testVar");}private function removeBind():void{// on remove of the Canvas unwatch the bind. watcherSetter.unwatch(); } protected function dest (d:String):void { // should now only display twice.  trace ("modified"); } ]]  /mx:Script mx:Text text="hola mundo"//mx:Canvas 
[/CODE]
-Kurt. --- In flexcoders@yahoogroups.com, "Carlos Rovira" [EMAIL PROTECTED] wrote: Hi Xavi,  I tried your code and see the problem. Maybe someone at Adobe could tell us some method or technique to avoid this behaviour. This is very important due to the huge use bindings have in a common Flex application. In normal applications we must to remove childs to improve memory management and performance in the overall application if bindings make this stop working we end with a memory-leak caused by the flex application.  At first, we could think in a way to remove the binding (but I don't now how to do that at the moment, someone knows the way?) but if we must to do it manually it would be a bit unnatural and a patch.  Hope someone at Adobe could throw some light into this important issue.  On 11/8/06, Xavi Beumala [EMAIL PROTECTED] wrote:   Hi there,   I'm experiencing some weird behaviour when using Bindings. In short, when  I remove some object from the DisplayList which has declared any Binding,  the garbage doesn't destroy this object from memory causing unwanted binding  triggers and an innecesary increase of memory usage.   Here's an example which isolates the problem. It consists in 2 mxml's (  Main.mxml and MyScreen.mxml) and 1 .as. (ModelLocator.as)   Main.mxml consists of one button and an empty mx:Canvas. When the button  is clicked three actions are taken:  1. A property in the ModelLocator is increased by one.  2. Remove all canvas children.  3. Create a new instance of MyScreen component  4. Add the MyScreen instance to the canvas displayList.   On the other hand, MyScreen.mxml just declares a binding from the testVar  property declared in the ModelLocator to a setter. In this setter a simple  trace is performed.   The problem is seen when clicking several times the button.  1. The first time you click it only one trace is printed.  2. The second time you click it, the trace is performed twice. One  for the new created instance an one for the removed one.  3. The third time you click it, the trace is performed 3 times, one  for each instance of MyScreen that has been previously been instanciated.  4. and so on...   I'm not sure if this is a bug or not, but I think it's not the expected  behaviour and lots of applications can suffer a serious decrease of  performance due to this issue. I've been digging on the auto generated code  trying to isolate where the bindings where declared. I'm not sure, but maybe  the problem has to be something with weakreferences.   So the question is, how could I workarround this? Is there anyway I can  force binding to stop working? remove it? or whatever? maybe declare it as a  weakreference and not as a strong reference?   Help is much apreciated!   Here's the isolated code:   [CODE --- main.mxml]  ?xml version="1.0" encoding="utf-8"?  mx:Application  xmlns:mx="http://www.adobe.com/2006/mxml "  layout="vertical"mx:Script  ![CDATA[  private var i:int = 0;   private function loadChild():void  {  ModelLocator.getInstance().testVar = i++;   container.removeAllChildren();  var s:MyScreen = new MyScreen();  container.addChild (s);  }  ]]  /mx:Script   mx:Button label="load" click="loadChild()"/  mx:Canvas id="container" width="100%" height="100%"/  /mx:Application  [/CODE]   [CODE -- MyScreen.mxml]  ?xml version="1.0" encoding="utf-8"?  mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml "  mx:Script  ![CDATA[  protected function set dest (d:String):void  {  trace ("modified");  }  ]]  /mx:Script   mx:Binding source="ModelLocator.getInstance().testVar"  destination="dest"/   mx:Text text="hola mundo"/  /mx:Canvas  [/CODE][CODE -- ModelLocator.as]  package {  [Bindable]  public class ModelLocator {  private static var instance:ModelLocator;   public function ModelLocator() {  instance = this;  }   public static function getInstance():ModelLocator {  if (instance 

[flexcoders] Re: mx.rpc.remoting.mxml.RemoteObject source code?

2006-11-08 Thread Renaun Erickson
They do not give us everything, this is one of those cases.

Is there anything in particular that you are trying to do with that class?

Renaun
http://renaun.com/blog/

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

 Hi All,
 
 Does anyone know if the source code for 
 mx.rpc.remoting.mxml.RemoteObject is available?
 
 And if so, where to find it?
 
 Doesn't seem to be in \Flex SDK 2\frameworks\mx\.
 
 TIA!
 
 Douglas McCarroll






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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Embed font

2006-11-08 Thread Jeff Noyes
How do you embed fonts.

I've tried embedding via:

@font-face{
 src: url(assets/fonts.swf);
 font family: arial;
}

I've also tried the other means of srcing the font directly vs. Srcing
a swf with embedded fonts.

In both cases, flex is unable to resolve the src url location.

On 11/8/06, Luis Eduardo [EMAIL PROTECTED] wrote:


   hi,

   my flex app talks to my servlets sending xml with á é õ characters
 using utf-8 and all is ok.
   but when i use the capital version of these characters it fails. Á É
 simple dont work.
   i searched trough the web but cant found a solution...

   can someone give (at least) an idea of how to solv this?

   thx a lot !

   Luís (already without hope) Eduardo

   
 ___
 Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular.
 Registre seu aparelho agora!
 http://br.mobile.yahoo.com/mailalertas/




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







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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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 to Value Object?

2006-11-08 Thread Jon Gauthier



Is there a clean way to map an xml model to AS classes? If so, also maintain binding relationships with ui elements so the XML could be shipped back to the server eventually?Im receiving a xml packet which represents the model but I need to implement logic on the client. Trick is I want to be able to bind elements in the model to UI elements and have changes reflected back in the XML model. Am I asking for too much?
Thanks for any high level guidance,jon



__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] DataGrid Scroll Size

2006-11-08 Thread Chad Callahan










I have a DataGrid that is 400 px in height but many of the
rows in the DataGrid are taller than 400 px. When viewing a tall row, I
scroll the DataGrid down to see the rest of the row but it skips to the next
row instead of scrolling through it. Is there a way to make the DataGrid
scroll according to the height of the DataGrid rather than the height of its
rows?






 
  
  
  
  
  CHAD CALLAHAN
  PROGRAMMER
  
 
 
  
  T8DESIGN.COM
  | P 319.266.7574 - x195 | 877.T8IDEAS | F 888.290.4675
  
 



This e-mail, including attachments, is
covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is
confidential, and may be legally privileged. If you are not the intended
recipient, you are hereby notified that any retention, dissemination,
distribution, or copying of this communication is strictly prohibited. Please
reply to the sender that you have received the message in error, and then
please delete it. Thank you.












__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





[flexcoders] Namespace Declaration / Custom Components

2006-11-08 Thread cam.ward
I'm just getting into using custom components and have a question about 
the location of these files. Do they have to be in a subdirectory of 
the calling (parent) mxml file? If my parent mxml file is in 
c:\inetpub\wwwroot\billingApp, can I include a custom component in 
c:\inetpub\wwwroot\sharedGarbage\components? If so, how do I reference 
that directory in the xmlns attribute of the application tag? Can it be 
on a completely different server? Now that I think about it, does the 
compiled SWF need access to the custom components at runtime or do I 
just need to have them available to the Flex compiler at compile time?
Thanks for any light that you can shed on this.




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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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



Re: [flexcoders] Re: Flex Data Service Linux Ubuntu

2006-11-08 Thread Tom Chiverton
On Tuesday 07 November 2006 13:05, devisbalsemin wrote:
 in my linux i have try
 http://linux...
 http://192.168.1.5..
 http://localhost...
 but nothing i can see the data ;-(

Do both browsers have the same proxy/connection settings ?
Could 'linux' on your linux box resolve to 12.0.0.1 and 'linux' on your 
windows machine resolve to a real IP ?

-- 
Tom Chiverton
Helping to proactively develop fifth-generation data



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.




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

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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