Re: [flexcoders] RichTextEditor modifications

2006-10-31 Thread Carlos Rovira



The best option will be to have a decoupled RTE that allow binding to other controls (other textareas, or even if possible to Text controls). The RTE should be maintained for backward compatibility but will be constructed with a composite (the new one and a TextArea control). What do you think about it?.
Just a Thought :)On 10/31/06, Xavi Beumala [EMAIL PROTECTED] wrote:













  



Hi all,I've been working on an application which needed to deal
with a richTextEditor. The problem with the flex one is that it only
can manage one textArea and this didn't fit to much to requirements.I've
built an adapted RTE from the RTE flex code, for sure arround 80% or
above of the code is the same (due to the way flex RTE is built I
haven't found a way to extend from it an overwrite the funcionality so
I've copied and pasted the code into a new class).
The question is, can I post the code publicly and redistribute the new component?A working sample can be found at: 

http://www.code4net.com/rteThanksX.

  













-- ::| 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 Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: auto-scroll datagrid

2006-10-31 Thread Tim Hoff



Hi Paul,
You might be spiking because you're trying to set a verticalScrollPosition that is past the end of the dataProvider. Maybe try some thing like this:
updateComplete="resultsPlaceHolder.scrollToIndex(resultsPlaceHolder.dataProvider.length);"
I didn't test this, but it should work.
-TH__
Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY
--- In flexcoders@yahoogroups.com, "Paul Hastings" [EMAIL PROTECTED] wrote: we have a datagrid that we populate programatically and i'd like to auto scroll to the bottom of the grid after each new row is added. i've tried using the updateComplete "event" ala  updateComplete= "resultsPlaceHolder.verticalScrollPosition = resultsPlaceHolder.maxVerticalScrollPosition + 1;"  where resultsPlaceHolder is the datagrid. this works but seems to have a nasty side effect of pegging the CPU at 40-50%  more or less freezing the app under some circumstances.  not entirely sure of the relationship between this  the CPU spike as the datagrid's nested in tab navigator (w/creation policy set to all) and happens only when the app uses a custom cursor. but it does happen 100% of the time when we use this method to auto-scroll.  any ideas for a workaround?  thanks.

__._,_.___





--
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] Amazon S3 and http SOAP faults / REST problems.

2006-10-31 Thread Dirk Eismann
IMHO, this is an issue with how the hosting browser passes the HTTP
header payload to the Flash Player - you'll either need a proxy or some
other server side stuff (a servlet or ISAPI filter would also work I
think)

Dirk.

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of jgi_xyzzy
 Sent: Monday, October 30, 2006 7:57 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Amazon S3 and http SOAP faults / REST problems.
 
 I read the archives of this list, but I can't find a good 
 answer for this - sorry if it's a FAQ.
 
 I'm trying to access the Amazon S3 webservice via SOAP from 
 Flex, but I believe the S3 WSDL complex types are too much 
 for Flex's built in soap support (I get the BadElement 
 problem).. so instead I'm rolling my own SOAP requests over 
 URLRequest (similar to the example at
 http://www.zeuslabs.us/archives/84/search-google-in-flex-2/)
 
 All is good, except that I can't look at SOAP faults since 
 they come back as http status 500 and 
 URLRequest/loader/HTTPService don't provide the body of the 
 SOAP response.
 
 I read some conflicting answers on this list that said it was 
 possible with 'modern browsers' but I can't see anything.
 
 Can anyone suggest a way to do this *without* FDS as a proxy, 
 or changing the webservice.
 
 Thanks,
 
 JG
 
 PS: I would have preferred to use the REST apis, but again 
 Flex RPC weaknesses stop this - HTTPService and URLRequest 
 only support GET and POST (unless you use FDS, which I am not 
 using because of the cost and throttling problems). If anyone 
 knows a way around that problem that would be even better.
 
 
 
 
 --
 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/
 



Re: [flexcoders] Re: Flash Player 9 Beta Available

2006-10-31 Thread Federico Ferri
Wonderful
thanks a lot, Tom
i'will try as soon as possible, but i'm sure i'm sure i FINALLY (and for 
ever ) can come back to linux

Bye, Federico

Tom Chiverton ha scritto:
 On Friday 27 October 2006 14:43, hank williams wrote:
   
 I dont believe there is any way currently other than FB to get syntax
 highlighting though I think that someone can probably do that pretty
 easily.
 

 http://thefalken.livejournal.com/31865.html :-)

   
 I would think code completion code hinting and syntax checking 
 in the editor would be fairly valuable and much harder too. 
 

 The existing ActionScript2 plugin works fairly well for AS3 .as files.

   

Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


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

* 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: auto-scroll datagrid

2006-10-31 Thread coldfusionpaul
 try some thing like this:

updateComplete=resultsPlaceHolder.scrollToIndex(resultsPlaceHolder.data\
 Provider.length);

bingo. thanks, that did the trick.




--
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 explode a wedge on mouse over?

2006-10-31 Thread shemeshkale
hello,
i have a pieChart.
how do i make a specific wedge explode on mouse over on it?
mouse out will revert the explosion.


plus:
how do i alert the wedge under the mouse?
got this :  mouseOver=Alert.show('over: '+event.hitData.index)
but it is error, what is right?




--
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] Select and copy in DataGrid cells

2006-10-31 Thread Benno Kittelmann
Hello list,

How can I enable the user to select and copy text from DataGrid cells
where the editable property has been set to false?

I know that you can set the property selectable in Label and Text
controls, but I'm not able to find something comparable for a
DataGrid. What am I missing? I suppose I could roll my own DataGrid
cell by setting custom ItemRenderers, but I'm hoping for a simpler
solution than that. :)

best regards,
Benno Kittelmann


--
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: Use a Popup as itemEditor in Datagrids

2006-10-31 Thread fritzdimmel
Hi!
I was thinking similar to you, but I didn't get it out, how to
implement this.
How can I react on the itemEditBeginning event within the component.
E.g. I've a Canvas as itemEditor. I could open the window on
initialize. But: how can I then put some values to the popup? Within
the canvas I just have the data object, which only gives me the
values of the current row in the datagrid. for the popup this may be
enough (more or less) but when the popup is closed, how can I dispatch
the itemEditEnd or something like that for the grid, without having
further information?

Can anyone please show me some lines of code, how to implement this?

Thanks,
Fritz

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

 
 My first thought:
 
 I would probably write a simple component that serves as an 
 itemRenderer. From within that component I would be to launch a 
 modal popup window from the itemEditBeginning event. Ensure that you 
 pass the row and the dataGridColumn (much like a labelFunction) to 
 the new popup. Have it do whatever it is that needs to be done.
 
 Then listen for the popup to close and manually handle the update to 
 the collection through the renderer by listening to itemEditEnd.
 
 This is just a high level thought. There are some other details, but 
 the concept would probably work with a bit of tweaking.
 
 --mike
 
 --- In flexcoders@yahoogroups.com, fritzdimmel fritz.dimmel@ 
 wrote:
 
  Hi!
  I'm searching for a solution, to use e.g. a popup-window as 
 itemEditor
  in a flex datagrid. Using a Textinput, NumericStepper, 
 Checkbox, ...
  is quite easy, but I want to have a little bigger (in size)
  component. Now I have the problem that, when I use a custom Panel
  component as itemEditor, that it will be trapped within the 
 datagrid's
  dimensions.
  
  Is there another way (which I haven't found by now) to use a popup 
 as
  datagrid item editor?
  
  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] Accordion initialization problem

2006-10-31 Thread Dirk Eismann
 You probably need to look at creationPolicy specifically all.

oh oh... infinite loop :)

Dirk. 


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

2006-10-31 Thread João Fernandes













If you attended max you
already have that information, if you didnt, I dont think that
youre supposed to get that content.



If Adobe wanted to freely
distribute it, they would put it on the devnet.



Joo Fernandes











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jaga
Sent: tera-feira, 31 de
Outubro de 2006 3:18
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] MAX
examples















hi guys,











Is thereanyonewho iswilling to share their MAX user
id and password with me? you can email it to me in private. im desperate to
learn flex.











thanx in advance





Jaga





- Original Message

From: Shannon Hicks [EMAIL PROTECTED]com
To: [EMAIL PROTECTED]ups.com
Sent: Monday, 30 October, 2006 7:08:48 PM
Subject: RE: [flexcoders] MAX examples



Most of the sample codes are on the MAX
presentation library:



http://www.adobe.
com/events/ max/attendees/



The login/password were emailed to you,
and are different than your registration login/password.



Shan









From:
[EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Jonathan Miranda
Sent: Sunday, October 29, 2006
4:37 PM
To: [EMAIL PROTECTED] ups.com
Subject: [flexcoders] MAX examples



Anyone
seen if instructors/ Adobe has posted their examples from MAX?
Like Sho's flexTunes or Ely's picture shelf?





--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.17/505 - Release Date: 10/27/2006



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.17/505 - Release Date: 10/27/2006














Send instant messages to your online friends http://uk.messenger.yahoo.com







__._,_.___





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








   






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

2006-10-31 Thread Rick Root
ping...

Rick Root wrote:
 
 
 I'm working on a datagrid that has various formatted items in it..
 several currency columns, a data column, etc.
 
 Using a label function for each seems somewhat overkill.
 
 Ie...
 
 mx:DataGridColumn width=80 headerText=Legal Credit
 labelFunction=formatLegalCredit/
 
 And here's my function:
 
 public function formatLegalCredit(data, col):String {
 var currency = new CurrencyFormatter();
 currency.precision = 2;
 currency.rounding = nearest;
 return currency.format(data.LEGCRAMT);
 }
 
 But I'd have to build this function for every column with a number in
 it. Bleagh. Gotta be a better way.
 
 Can I build a datagridcolumn that automatically has a currencyFormatter
 - or a dataFormatter - built into it?
 
 Is there a better way?
 
 Rick
 
 



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

2006-10-31 Thread Tom Chiverton
On Tuesday 31 October 2006 06:15, Matt Chotin wrote:
 Gotta work through some hurdles to make it happen but it is the team's
 goal.

That's great !
Much more engaging to your legions of developers :-)

-- 
Tom Chiverton
Helping to authoritatively aggregate proactive models



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: creating charts with AS

2006-10-31 Thread Tom Chiverton
On Monday 30 October 2006 18:08, arnold_charming wrote:
 var this[test + i]= new LineSeries();

You haven't declared 'this' (as an array ?) anywhere I can see.

-- 
Tom Chiverton
Helping to apprehensively accelerate leading-edge action-items



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] Cairngorm 2.1 with support for remoteCredentials

2006-10-31 Thread Tom Chiverton
On Monday 30 October 2006 17:07, João Fernandes wrote:
 At MAX I asked if there would be support for setRemoteCredentials for FDS 
 Remoting destinations when working with ColdFusion as back-end and the
 answer was no. Are you planning to add this feature?

Did I imagine reading that in the 2.1 release notes ?

-- 
Tom Chiverton
Helping to preemptively fashion 24/365 functionalities



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: [Junk E-Mail - MED] Re: [flexcoders] Re: A DataGrid with selectable *cells*

2006-10-31 Thread Tom Chiverton
On Monday 30 October 2006 12:30, Dirk Eismann wrote:
 interface you can get the columnIndex and rowIndex from the listData
 property. If an item renderer lives inside a DataGrid, listData is of

Yeah, but then you need to unselect the previous one (argh !).

I have a nearly final version I'll post later today.

-- 
Tom Chiverton
Helping to preemptively disseminate industry-wide synergies



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] Minimum size of a Flex 2.0 application

2006-10-31 Thread Tom Chiverton
On Tuesday 31 October 2006 00:06, Flex Learner wrote:
 compiler options we can use to minimize this further. I'm using Flex as a

--optimize=true ?

-- 
Tom Chiverton
Helping to competently foster eigth-generation content



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: A web survey based on Flex

2006-10-31 Thread Rick Englert





At its 
most basic, think of a Local Shared Object as a high-capacity cookie. 
You're right that it's basically a bunch of name/value pairs, but the "value" 
can be just about any object type you'd use. I know even less about your 
setup, but since you're talking about getting the information to a server you 
probably don't want to replace your mxml survey object, although it's not out of 
the question. The advantage of a Local Shared Object survey object over an 
mxml survey object is persistence - that is,your data will remain between 
sessions, but obviously only locally (on the computer it was created on). 
There's no reason you can't have both either - the mxml survey object simply 
gets copied to the local shared object and retrieved whenever your app starts 
up/user logs in/whatever.

Rick

  -Original Message-From: advantexllc 
  [mailto:[EMAIL PROTECTED]Sent: Monday, October 30, 2006 
  1:45 PMTo: flexcoders@yahoogroups.comSubject: 
  [flexcoders] Re: A web survey based on Flex
  
  --- In [EMAIL PROTECTED]ups.com, 
  "Michael Labriola" [EMAIL PROTECTED]. wrote: 
   Overall it is not a bad way to proceed. The only place I might 
  direct you some place different is where you save to the local 
  drive if the server is unavailable.  For this part, I 
  would suggest you take a look at a concept called 'Local Shared 
  Objects'  Without knowing all of the details of your setup, I 
  would suggest that saving an XML file to their system without the 
  help of a server is going to be tricky if not impossible. 
   --Mike Thanks Mike... I did a bunch of Googling on 
  "Local Shared Objects", and I think I understand a little bit better now 
  what I might do. However, it sounds like this 100% replaces the mxml file 
  that I had created that was to represent my survey object... is that 
  correct? Essentially I'll just be creating this empty object with it's own 
  name, and stuffing key-value pairs into it upon each submit of a 
  ViewStack Canvas?After storing all that in this generic empty 
  object, how do I get it to the server for proper storage in a database, 
  and what would be the best way to split out the data for later 
  analysis?I really need some help here - I think I'm really missing 
  something important, and I'm getting desperate to deliver this survey 
  soon... any help or direct contact with me would be fantastic, if 
  someone's willing to help out a 
  newbie.Thanks,m
__._,_.___





--
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] Isn´t there any release of Adobe Apollo yet? Alpha maybe....

2006-10-31 Thread arianrechia
Hi people,
I´m very exciting about Adobe Apollo, and I´ve been looking for some
download to try the Apollo SDK, but with no success =(

anyone already have a apollo alpha realease??

thanxs




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

2006-10-31 Thread nikko_leborgne
Hello !

In my application, I have an accordion where I hide/show canvas by
clicking on diferents items in my interface.
Moreover, in my application, I can change the language by clicking on
the corresponding flag.

And so, that si my problem :

When I want to hide a canvas of my accordion, I use
accordion.removeChild(myCanvas).
And after that, when I click on a different language flag, there is an
error to update the label of the hidden canvas.

Have you a solution, please ?

Thanks !!!




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

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

* 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] Code Coverage Testing Tool For Flex...

2006-10-31 Thread kristoffersingleton



So, long ago, I heard a rumor that there was an internal Code Coverage tool for Flex 1.5 that never got ported to 2.0 Is that still the case or is there something out there that can do Code Coverage Testing? ( Matt C? anyone? )Is anyone using a tool that they can point me at for Flex 2.0 / 2.01? Here are the wishlist items:Statement Coverage - Has each line of the source code been executed and tested?Condition Coverage - Has each evaluation point (such as a true/false decision) been executed and tested?Path CoverageDeadWoodCopy/Pasted Code

__._,_.___





--
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] problem with refreshing datagrid under IE6 or Firefox

2006-10-31 Thread jbbec_fr
Hi all,

I made an UI with flex that take data from a database  using
HTTPService, and when i modify a row using a form and valid it, the
datagrid doesn't refresh when i call the HTTPService 
That works fine under IE7 but all the others browsers don't work.
Have you any idea ?

Thy very much

JB




--
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] Accordion initialization problem

2006-10-31 Thread Rick Root
Dirk Eismann wrote:
 
 
   You probably need to look at creationPolicy specifically all.
 
 oh oh... infinite loop :)

Yahoo's greylisting on groups is kind of annoying.  Sometimes people 
respond right away but their emails don't show up for an hour if they 
haven't posted in a while!

Rick


--
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] Isn´t there any release of Adobe Apollo yet? Alpha maybe....

2006-10-31 Thread Andrew D. Goodfellow



Yep, I know how you feel. The suspense is brutal. I could have already built and sold like 8 products built on it.There are probably too many holes in it still, or at least that's what I keep telling myself. :o)
-AndyOn 10/31/06, arianrechia [EMAIL PROTECTED] wrote:













  



Hi people,
I´m very exciting about Adobe Apollo, and I´ve been looking for some
download to try the Apollo SDK, but with no success =(

anyone already have a apollo alpha realease??

thanxs


  















__._,_.___





--
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: export to excel

2006-10-31 Thread Anatole Tartakovsky



Ziyad,
 There is a chapter in the Flex 2.0 book on external communications -three of the examples show different ways to export datagrid to excel
Two client - centric approaches are : 
1. To use office web component - do Externalinterface to IE browser, and _javascript_to OfficeWeb component embedded in HTML
2. download Excel file with embedded flash player and use LocalConnection for 2-way communications

HTH,
Anatole

On 10/20/06, Ziyad MADERBOCUS [EMAIL PROTECTED] wrote:


Hello Could u plz tell me if u were able to do it? Coz im facing the same prob n I duno how to export data from flex datagrid to an excel sheet
 
Thnx in advance 
 
Ziyaad Maderbocus I.T. Programmer Superfund Asset Management
 Office 112 Grand Bay Business Park Geranium Road
 Grand Bay Tel: (230) 209 8073 Cell: (230) 496 96 87
 Fax: (230) 263 1919 

__._,_.___





--
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] Isnt there any release of Adobe Apollo yet? Alpha maybe....

2006-10-31 Thread Muzak
Apollo FAQ:
http://labs.adobe.com/wiki/index.php/Apollo:developerfaq

- Original Message - 
From: arianrechia [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, October 31, 2006 1:11 PM
Subject: [flexcoders] Isnt there any release of Adobe Apollo yet? Alpha 
maybe


Hi people,
Im very exciting about Adobe Apollo, and Ive been looking for some
download to try the Apollo SDK, but with no success =(

anyone already have a apollo alpha realease??

thanxs






--
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] Datagrid selectedItem on updateChange from Rails dataprovider

2006-10-31 Thread greg.carbon8
I have a datagrid that I'm using as a navigation list and a panel that
shows the data for the selectedItem.  The panel also has a update form
to update the record.  

When I update a record I need it to select the updated record in the
datagrid.

In addition, I have a create record form that inserts a new record.  I
need to have that item selected if a new record is created.

Does anyone have an idea how I can achieve 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/
 



[flexcoders] Filtering a Datagrid

2006-10-31 Thread Rick Root
Let's say I've got a datagrid containing a persons gifts to the 
University.  Each item has a gift id, pledge id, legal and soft credit 
amounts, a fund code to which the gift is being credited, etc.

By default, the grid loads all of a persons gifts.

I'd like to be able to filter the data by fund - A simple way is to just 
use the sort functionality of the columns themselves, and then just 
havee them scroll down to find what they're looking for.

But is there a simple way to filter the contents of a datagrid without 
going back to the server to re-retrieve the results?

I could probably put the dataProvider into memory, then loop through it, 
creating a filtered dataprovider and assign it to the grid..  but I'm 
kind of hoping for a simpler solution :)

rick


--
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: gant chart

2006-10-31 Thread Andrew Trice












Glad you like the example. I agree
that this is not the best solution, but it is a very reasonable
solution for 2 reasons:



1) Its quick and easy and will get the job done for a large
number of scenarios.

2) Not all clients want/need the full dependencies.



Karls solution is actually very
similar to mine, although it uses a tree instead of a datagrid (and it is done
in Flex 1.5). Having full dependencies and linked tasks will definitely require
a custom control. Trying to add those by extending a datagrid would be a
lot of work, and would still be very clunky. It really
depends on your requirements and schedule to determine which solution works
best, this can be just another weapon in the flex arsenal.



-Andy





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of iko_knyphausen
Sent: Tuesday, October 31, 2006
1:02 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: gant
chart













Nice work, Andrew. It sure illustrates the flex-ibility of the dataGrid.
I am not entirely convinced that the dataGrid is the best way to go
though... I mean for a pro-component. I think a combination of datagrid
(or tree) and canvas could be easier down the road. By this I mean, once
you get into drawing dependency lines - as an example - (which can go
across multiple rows either up or down, backwards, and sometimes around
objects) a grid and the itemrenderer could face a hard time. I believe
there is a colleague of yours at cynergy, by the name of Karl Johnson,
who has done some work on this subject too - I am sure he can offer some
valuable input as well. Have seen some earlier posts coming from him...
Hey, don't get me wrong, thanks for putting up these samples - really
appreciate this kind of pro-bono work; this is very helpful to
study,
especially for newbies like myself.

--- In [EMAIL PROTECTED]ups.com,
Andrew Trice andrew.trice@...
wrote:

 I threw together an example over the weekend using a datagrid to show
a
 very basic Gantt Chart. It really wasn't that difficult. It would take
 more time to get it looking polished, but definitely less effort than
 creating chart, series, and renderers as a custom component. You can
 check it out here:




http://www.cynergysystems.com/blogs/page/andrewtrice?entry=gantt_charts_
 in_flex_datagrids



 _

 Andrew Trice

 Cynergy Systems, Inc.

 http://www.cynergysystems.com



 Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

 Email: andrew.trice@...

 Office: 866-CYNERGY



 

 From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of Andrew Trice
 Sent: Friday, October 27, 2006 5:18 PM
 To: [EMAIL PROTECTED]ups.com
 Subject: RE: [flexcoders] gant chart



 If you want a full gantt chart with dependencies and links to other
 tasks, yes this is a huge undertaking. If you just want a visual
 display of a duration over time it is not so difficult.



 The datagrid approach can easily represent something like:



 [[]]

 --[[]]--

 

 ---[]---

 ---[[[]]



 (hopefully flexcoders doesn't kill the formatting on that)

 _

 Andrew Trice

 Cynergy Systems, Inc.

 http://www.cynergysystems.com
http://www.cynergysystems.com



 Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
 http://www.cynergysystems.com/blogs/page/andrewtrice

 Email: andrew.trice@...
 mailto:andrew.[EMAIL PROTECTED]

 Office: 866-CYNERGY



 

 From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of Jonathan Miranda
 Sent: Friday, October 27, 2006 5:06 PM
 To: [EMAIL PROTECTED]ups.com
 Subject: Re: [flexcoders] gant chart



 Having dove into this long ago with many discussions with people from
 FlexCoders (Ely mostly), I can tell you this is a huge undertaking.
You
 need a:

 -GantChart
 -GantSeries
 -GantChartItem
 -GantSeriesRenderData
 -GantRenderer

 Just to name a few :) I've got a Gantt chart abou 49% done but haven't
 had time to crank on itbut as Ely said at MAX, people would kill
for
 it if you finished it and released it.

 On 10/20/06, Andrew Trice andrew.trice@...
 mailto:andrew.[EMAIL PROTECTED]  wrote:

 You could create itemrenderers for a datagrid that utilize the drawing
 API to draw the horizontal lines for your data.



 For instance, have a grid like this:



 Column 1: task name

 Column 2: duration

 Column 3: start date

 Column 4: item renderer that draws out task length with respect to
width
 of column. Use the drawing api to draw lines/rectangles to represent a
 duration of time.



 You could also have a custom 

[flexcoders] Re: filterFunction between ViewStack MXML components

2006-10-31 Thread pioplacz
Yes, i want to put my filter function in the main mxml file where all my 
HTTPServices are 
locates. I have already apply my filterfunction in the result handler in the 
HTTPService the 
problem is that i cannot get it to connect with the textinput located in a MXML 
ViewStack 
component. 

I pass my code here for both Main.MXML and MovieView.MXML. 

Hopes this help you all to help me.

Main.MXML:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* 
layout=absolute
horizontalAlign=center verticalAlign=middle 
backgroundGradientColors=[#00, #00] 
width=100% height=100%  creationComplete=initApp() 
viewSourceURL=srcview/index.html 

mx:HTTPService id=movieService 
url=http://192.168.25.200/PHP/katalog.php; 
useProxy=false
 result=srv_results(event) fault=msFaultHandler(event); 
invoke=msInvokeHandler
(event);/
!-- HTTPSerivce for the tv-shows starts here --
mx:HTTPService id=tvService url=http://192.168.25.200/PHP/tvshows.php; 
useProxy=false result=tv_results(event)/
mx:HTTPService id=epService 
url=http://192.168.25.200/PHP/tvepisodes.php; 
useProxy=false result=ep_results(event)/
!-- END --
!--mx:Model id=ipService source=data/ip.xml/--
mx:Style source=katalog2main.css/
mx:Script
![CDATA[
import mx.managers.CursorManager;
import mx.collections.IViewCursor;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.InvokeEvent;
import mx.collections.ArrayCollection;
import mx.events.ItemClickEvent;
import mx.controls.Alert; 
import mx.events.CloseEvent;
import flash.events.Event;

private function initApp():void
{
movieService.send(); 
tvService.send(); 
epService.send();
}

private function msFaultHandler(event:FaultEvent):void
{

// There was an error in loading the XML
Alert.show (event.fault.message);

// Hide the busy cursor
CursorManager.removeBusyCursor();
}

// Gets called when HTTPService is invoked to
// request the XML.
private function msInvokeHandler(event:InvokeEvent):void

{
// Display the busy cursor
CursorManager.setBusyCursor();
}
 
public function srv_results(event:ResultEvent):void
{
movieCollection = event.result.helakatalog.katalog as 
ArrayCollection;
movieCollection.filterFunction=movieFilter;
//Hide the busy cursor
CursorManager.removeBusyCursor();
}

public function tv_results(event:ResultEvent):void
{
tvCollection = event.result.helakatalog.katalog as 
ArrayCollection;
//tvCollection.filterFunction=tvshowsFilter;
}

public function ep_results(event:ResultEvent):void
{
epCollection = event.result.helakatalog.katalog as 
ArrayCollection;
//epCollection.filterFunction=episodeFilter;
}

[Bindable]
private var movieCollection:ArrayCollection;

[Bindable]
private var tvCollection:ArrayCollection;

[Bindable]
private var epCollection:ArrayCollection;

// Filter function 
public function movieFilter(item:Object):Boolean
{
var result:Boolean=false;
if (!item.title.length
|| item.title.toUpperCase().indexOf(filterInput.text.toUpperCase()) 
= 0)
if (!item.genres.length
|| 
item.genres.toUpperCase().indexOf(genresInput.selectedItem.data.toUpperCase
()) = 0)
result=true;

return result;
 }


]]
/mx:Script
mx:VBox width=85% height=100% verticalCenter=20 horizontalCenter=0 
top=0
mx:ViewStack id=mainViewStack width=100% height=100% 
creationPolicy=all
!--MovieView HERE --
MovieView id=mView label=Filmer 
movieCollection={movieCollection} 
movieFilter=movieFilter/
!--HomeView HERE--
mx:Canvas id=home label=Start width=100% height=100%
mx:VBox width=100% height=100% id=startVbox 

Re: [flexcoders] Custom datagridcolumns

2006-10-31 Thread Anatole Tartakovsky



Yes, there is - but explanation is a bit long. Please pick up October and November copies of colfusion magazine - there is3-partchapter on advanced datagrid from our book. If unavailable, the code for the articles/chapter is here :

http://samples.faratasystems.com/AdvancedDataGrid/index.html
You need to look at custom classfactory and extension of datagridcolumn.

Hope this helps,
Anatole Tartakovsky

On 10/31/06, Rick Root [EMAIL PROTECTED] wrote:





ping...Rick Root wrote:   I'm working on a datagrid that has various formatted items in it.. several currency columns, a data column, etc.  Using a label function for each seems somewhat overkill.
  Ie...  mx:DataGridColumn width=80 headerText=Legal Credit labelFunction=formatLegalCredit/  And here's my function:
  public function formatLegalCredit(data, col):String { var currency = new CurrencyFormatter(); currency.precision = 2; currency.rounding = nearest; return currency.format
(data.LEGCRAMT); }  But I'd have to build this function for every column with a number in it. Bleagh. Gotta be a better way.  Can I build a datagridcolumn that automatically has a currencyFormatter
 - or a dataFormatter - built into it?  Is there a better way?  Rick   

__._,_.___





--
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] Isn´t there any release of Adobe Ap ollo yet? Alpha maybe....

2006-10-31 Thread Shannon Hicks





Some people do have a private beta release, as we got to 
see some apps at MAX. Word has it the public beta on Labs is going to happen 
late this year or early next year.

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
arianrechiaSent: Tuesday, October 31, 2006 6:12 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Isn´t there any 
release of Adobe Apollo yet? Alpha maybe


Hi people,I´m very exciting about Adobe Apollo, and I´ve been looking for 
somedownload to try the Apollo SDK, but with no success =(anyone 
already have a apollo alpha realease??thanxs
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.409 / Virus Database: 268.13.19/507 - Release 
Date: 10/31/2006
__._,_.___





--
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 outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.19/507 - Release Date: 10/31/2006
 


[flexcoders] Training from the Source - Can't find my error

2006-10-31 Thread Todd Breiholz
I am working through the Adobe Flex 2 - Training from the Source book.
(Excellent book, BTW). I am in chapter 11 on the section Create an
inline MXML Item Renderer for Displaying the Remove Button. I can't
get beyond this section, because my code won't compile with the
following error:

1120: Access of undefined property
valueObjects.   FlexGrocer/views/ecomm  Cart.mxml   
/FlexGrocer/views/ecomm/Cart.mxml   1162264545587   243

Here's my data grid:

mx:DataGrid
id=cartView
dataProvider={cart.aItems} width=100% height=100%
editable=true draggableColumns=false
variableRowHeight=true
mx:columns
mx:DataGridColumn dataField=product 
headerText=Product
itemRenderer=renderer.ecomm.ProductName 
editable=false/
mx:DataGridColumn dataField=quantity
itemEditor=mx.controls.NumericStepper
editorDataField=value editable=true 
headerText=Quantity /
mx:DataGridColumn dataField=subtotal 
headerText=Amount
labelFunction=renderPriceLabel editable=false /
mx:DataGridColumn editable=false
mx:itemRenderer
mx:Component
mx:VBox
mx:Button
label=Remove

click=outerDocument.removeItem(valueObjects.ShoppingCartItem(data));/
/mx:VBox
/mx:Component
/mx:itemRenderer
/mx:DataGridColumn
/mx:columns
/mx:DataGrid

It's choking on the click event of the inner Button component.

I've even copied the code from the CD into my project but I get the same error.

Anyone see what I'm doing wrong?

Thanks!

Todd


--
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] JUST SAY NO to creationPolicy=all !

2006-10-31 Thread Adam Dorritie
On 10/30/06, Gordon Smith [EMAIL PROTECTED] wrote:
 rant
 I've never seen a case where it is necessary to push data into the controls 
 before they exist. If you must put the data somewhere in the meantime, store 
 it in data vars, which have none of the startup cost of a visual component, 
 and then move it into the controls after they get created.

 /rant

I guess I'm wondering why, if there is apparently no use case for this
feature and deferrred instantiation is the way to go, it is
included in the language at all.  Is there never a case to use this
option?


--
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] Binding on properties with Class type

2006-10-31 Thread Mozilla By
It seems like binding doesn't work with STATIC variables of type Class.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Sergey Kovalyov
Sent: 31 ??? 2006 ?. 17:16
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Binding on properties with Class type

Hi All!

It seems that binding on properties with Class type does not work. Is
it correct?

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

2006-10-31 Thread Branko
I'm working on Text editor project in flex and I have got one very 
strange idea, and I'm not sure if it possible to do it.
My idea is making pages in editor similar to pages organization in 
Microsoft Word.So when You reach the end of the page it will move to 
next page or when You delete content of the page it will remove 
page.
My original idea is to use textArea component and to clone it when new 
page in needed or to remove when user want to delete it.
Does anyone has any experience with this or maybe some can give me some 
route to follow or some example or anything which will help me with 
this project.




--
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: Filtering a Datagrid

2006-10-31 Thread Michael Labriola
Rick,

Check out the filter capabilities of the list collections. Basically,
the dataProvider of the datagrid can be filtered as you requested.

--Mike

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

 Let's say I've got a datagrid containing a persons gifts to the 
 University.  Each item has a gift id, pledge id, legal and soft credit 
 amounts, a fund code to which the gift is being credited, etc.
 
 By default, the grid loads all of a persons gifts.
 
 I'd like to be able to filter the data by fund - A simple way is to
just 
 use the sort functionality of the columns themselves, and then just 
 havee them scroll down to find what they're looking for.
 
 But is there a simple way to filter the contents of a datagrid without 
 going back to the server to re-retrieve the results?
 
 I could probably put the dataProvider into memory, then loop through
it, 
 creating a filtered dataprovider and assign it to the grid..  but I'm 
 kind of hoping for a simpler solution :)
 
 rick






--
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: popup (with a zoom effect) button label issue

2006-10-31 Thread bhaq1972
if anyones interested. i solved this one.

basically, my extended button's label was showing the elipsis ... 
because the zoom effect was affecting what it thought was the actual 
width (i think).
anyway, all i did was reset the textField.text in updateDisplayList()
eg
myButton.mxml

override protected function updateDisplayList(unscaledWidth:Number, 
unscaledHeight:Number):void{
  super.updateDisplayList(unscaledWidth, unscaledHeight);

 this.textField.text = this.label;
}

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

 Hi everybody
 
 i've got an issue with button labels not rendering correctly
 eg. if the button label should say Login ... it actually 
shows L...
 
 the buttons are controls within a popup (titlewindow) which has a 
zoom 
 effect. 
 if i get rid of the zoom effect, the labels appear correctly.
 
 any suggestions on how i can get the label show correctly (and 
keep my 
 zoom effect) would greatly appreciated.






--
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: export to excel

2006-10-31 Thread Jonas Windey
Title: Re: [flexcoders] Re: export to excel





What book is that exact?

Thanks


On 10/31/06 3:46 PM, Anatole Tartakovsky [EMAIL PROTECTED] wrote:

 




Ziyad,
There is a chapter in the Flex 2.0 book on external communications - three of the examples show different ways to export datagrid to excel
Two client - centric approaches are : 
1. To use office web component - do Externalinterface to IE browser, and _javascript_ to OfficeWeb component embedded in HTML
2. download Excel file with embedded flash player and use LocalConnection for 2-way communications

HTH,
Anatole


On 10/20/06, Ziyad MADERBOCUS [EMAIL PROTECTED] wrote: 


Hello 
Could u plz tell me if u were able to do it? 
Coz im facing the same prob n I duno how to export data from flex datagrid to an excel sheet  

Thnx in advance 




 

Ziyaad Maderbocus 
I.T. Programmer 
Superfund Asset Management  
Office 112 
Grand Bay Business Park 
Geranium Road  
Grand Bay 
Tel: (230) 209 8073 
Cell: (230) 496 96 87  
Fax: (230) 263 1919 








__._,_.___





--
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: filterFunction between ViewStack MXML components

2006-10-31 Thread Michael Labriola

In your result handler, call the refresh method after you set the
filterFunction.

--Mike

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

 Yes, i want to put my filter function in the main mxml file where
all my HTTPServices are 
 locates. I have already apply my filterfunction in the result
handler in the HTTPService the 
 problem is that i cannot get it to connect with the textinput
located in a MXML ViewStack 
 component. 
 
 I pass my code here for both Main.MXML and MovieView.MXML. 
 
 Hopes this help you all to help me.
 
 Main.MXML:
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* 
 layout=absolute
   horizontalAlign=center verticalAlign=middle 
 backgroundGradientColors=[#00, #00] 
   width=100% height=100%  creationComplete=initApp() 
 viewSourceURL=srcview/index.html 
   
   mx:HTTPService id=movieService
url=http://192.168.25.200/PHP/katalog.php; 
 useProxy=false
  result=srv_results(event) fault=msFaultHandler(event);
invoke=msInvokeHandler
 (event);/
 !-- HTTPSerivce for the tv-shows starts here --
 mx:HTTPService id=tvService
url=http://192.168.25.200/PHP/tvshows.php; 
 useProxy=false result=tv_results(event)/
 mx:HTTPService id=epService
url=http://192.168.25.200/PHP/tvepisodes.php; 
 useProxy=false result=ep_results(event)/
 !-- END --
 !--mx:Model id=ipService source=data/ip.xml/--
   mx:Style source=katalog2main.css/
 mx:Script
   ![CDATA[
   import mx.managers.CursorManager;
   import mx.collections.IViewCursor;
   import mx.rpc.events.ResultEvent;
   import mx.rpc.events.FaultEvent;
   import mx.rpc.events.InvokeEvent;
   import mx.collections.ArrayCollection;
   import mx.events.ItemClickEvent;
   import mx.controls.Alert; 
   import mx.events.CloseEvent;
 import flash.events.Event;
 
 private function initApp():void
   {
   movieService.send(); 
   tvService.send(); 
   epService.send();
   }
   
   private function msFaultHandler(event:FaultEvent):void
 {
 
 // There was an error in loading the XML
 Alert.show (event.fault.message);
 
 // Hide the busy cursor
 CursorManager.removeBusyCursor();
 }
 
 // Gets called when HTTPService is invoked to
 // request the XML.
 private function msInvokeHandler(event:InvokeEvent):void
 
 {
 // Display the busy cursor
 CursorManager.setBusyCursor();
 }
  
   public function srv_results(event:ResultEvent):void
   {
   movieCollection = event.result.helakatalog.katalog as
ArrayCollection;
   movieCollection.filterFunction=movieFilter;
   //Hide the busy cursor
 CursorManager.removeBusyCursor();
   }
   
   public function tv_results(event:ResultEvent):void
   {
   tvCollection = event.result.helakatalog.katalog as 
 ArrayCollection;
   //tvCollection.filterFunction=tvshowsFilter;
   }
   
   public function ep_results(event:ResultEvent):void
   {
   epCollection = event.result.helakatalog.katalog as 
 ArrayCollection;
   //epCollection.filterFunction=episodeFilter;
   }
   
   [Bindable]
   private var movieCollection:ArrayCollection;
   
   [Bindable]
   private var tvCollection:ArrayCollection;
   
   [Bindable]
   private var epCollection:ArrayCollection;
   
   // Filter function 
   public function movieFilter(item:Object):Boolean
   {
   var result:Boolean=false;
   if (!item.title.length
 ||
item.title.toUpperCase().indexOf(filterInput.text.toUpperCase()) = 0)
 if (!item.genres.length
 ||
item.genres.toUpperCase().indexOf(genresInput.selectedItem.data.toUpperCase
 ()) = 0)
   result=true;
 
   return result;
}
   
   
   ]]
 /mx:Script
 mx:VBox width=85% height=100% verticalCenter=20
horizontalCenter=0 
 top=0
 mx:ViewStack id=mainViewStack width=100% height=100%
creationPolicy=all
   !--MovieView HERE --
 MovieView id=mView label=Filmer
movieCollection={movieCollection} 

RE: [flexcoders] Re: DataGrid not displaying nested data

2006-10-31 Thread Joan Lafferty












Try setting the resultFormat to xml or e4x
in your HTTPService tag. The default value for the resultFormat property is object
which takes the returned XML and parses it into an Actionscript object.



Joan











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of greenfishinwater
Sent: Tuesday, October 31, 2006
8:16 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: DataGrid
not displaying nested data











No I did not find any solution.

I am getting my data via rails, and I added logic to the rails
controller to create extra fields all at the same level, so I don't
have to get a nested value. Its a pain in the neck. But I have to try
and resolve this in a better way soon.

Andrew






__._,_.___





--
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: Tree drag drop: how to get node where item is dropped

2006-10-31 Thread Jim Laing
I just encountered this problem in our app this morning, and I thought
my solution might be helpful for someone out there. Building on
Peter's example (1), I also needed to allow a user to drag a new root
node onto the tree. That is, if they drag onto an existing node, add
it as a child. Otherwise, add it as a root. Below us a sketch of the
doDragDrop function I used. It's a hack, but it works:

private function doDragDrop(e:DragEvent):void {
  var items:Array = e.dragSource.dataForFormat(items) as Array;
  if(e.target == myTree) {
var tree:Tree = Tree(e.target);
var i:int = tree.calculateDropIndex(e);
tree.addEventListener(FlexEvent.VALUE_COMMIT, figureActionOut);
tree.selectedIndex = i;
tree.removeEventListener(FlexEvent.VALUE_COMMIT, figureActionOut);
function figureActionOut(e2:FlexEvent):void {
  if(tree.selectedIndex != i) {
trace(Add New Root(s));
  } else {
trace(Add Child(ren));
  }
}
  } 
}   

Hope that helps someone!

Jim

1. 
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60catid=585threadid=1209910

On 10/30/06, kim_boulton [EMAIL PROTECTED] wrote:

 If you skim over to the Adobe Flex 2 General discussion forum. Peter
 Ent just showed me how to get this working.

 Easy too.

 hth

 kimb


 --- In flexcoders@yahoogroups.com, kim_boulton [EMAIL PROTECTED] wrote:
 
  Hello,
 
  Me too!
 
  kimb
 
  --- In flexcoders@yahoogroups.com, Niklas Richardson
  flexcoldfusion@ wrote:
  
   Hi there,
  
   Could you post your example code as I'm just trying to sort this out
  myself
   and running into the same problem.
  
   Thanks.
  
   Regards
  
   Niklas
  
  
  
  
   On 8/21/06, Jason Y. Kwong inlineblue@ wrote:
   
  I had posted a request to Adobe's wish form, asking that the
  drop data
be made available.  I got a very quick response (within 10
 minutes!):
   
Yes, we discovered this very soon after shipping that this data
  should
have been exposed. We have a bug for this already logged
  internally, so
we will work on fixing it for the future. For now, I think you
  will have
to rewrite your own updateDropData function, which is unfortunate.
   
So I'll have to stick with my original plan of duplicating a few
  methods
(as stated in my original post).
   
   
   
On 8/21/06, thunderstumpgesatwork thunder.stumpges@ wrote:

I'm glad it's not just me! So, were you able to get something
  working
 for your scenario?

 Anyone from the Adobe team want to confirm this and/or offer
 alternative solutions?

 thanks,
 Thunder

 --- In flexcoders@yahoogroups.com
  flexcoders%40yahoogroups.com, Jason
 Y. Kwong inlineblue@

 wrote:
 
  I've running into this myself right now as well. If you look
  at the
 Tree
  code, you can see that the drop parent is being tracked in the
 variable
  _dropData.parent. It gets calculated in the method
  updateDropData().
  Unfortunately, both the variable and the method are private, so
 they're
  useless as is (another example of Adobe being overly
 private, I'm
 afraid).
  I've had to duplicate (and tweak) the updateDropData() method to
 make use of
  the algorithm. The methods getChildIndexInParent() and
 getChildren() had to
  be duplicated as well.
 
  On 8/18/06, thunderstumpgesatwork thunder.stumpges@ wrote:
  
  
   Bump... I'm trying to do similar. Though I need to do it
 in the
   DragOver event, and determine under which node it is going
 to be
   dropped. I need to do this because certain places in the
  tree are
   acceptable places to drop certain items...
  
   I know I can get the dropIndex by using the tree function
   calculateDropIndex however this is not enough. It simply
  tells me
   where in the list of displayed nodes it will go. So if the
  item is
   being placed between the last item in a lower level node
 and the
   continuation of the next level up, the index is the same,
  but the
   parent of the ending drop is different.
  
   I can tell the Tree internals are tracking this because
 the drop
   indicator changes it's horizontal alignment to indicate
  which level
   it's going in...
  
   Anyone know how to determine the parent node of the
  indicated drop
   position?
  
   thanks,
   Thunder
  
  
   --- In flexcoders@yahoogroups.com
  flexcoders%40yahoogroups.comflexcoders%40yahoog
 roups.com,

 Jonas
   Windey jonas@ wrote:
   
Hi,
   
   
   
I have a tree with drag  drop enabled. Now what is the
  best way
 to
   find out
where the current selected item is dropped?
   
I'd need to know its parent (if it's not 

RE: [flexcoders] JUST SAY NO to creationPolicy=all !

2006-10-31 Thread Benoit Hediard
In most cases and in a perfect world, it can be avoided.
But in some specific cases, it is very useful, especially to workaround some
binding bugs...

In our app (a pretty complex one), we use as much as possible the Cairngorm
ModelLocator and bindings.
But we have some views that could not be configured by bindings or at
initialization, so we are using cairngorm ViewHelpers to do that.
In order to use viewHelpers, you have to be sure that the view has been
instantiated.

Deferred instantiation is not always the way to go.
So please, do not remove this option... ;)

Benoit Hediard
#affinitiz.com

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de Adam Dorritie
Envoyé : mardi 31 octobre 2006 14:37
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] JUST SAY NO to creationPolicy=all !

On 10/30/06, Gordon Smith [EMAIL PROTECTED] wrote:
 rant
 I've never seen a case where it is necessary to push data into the
controls before they exist. If you must put the data somewhere in the
meantime, store it in data vars, which have none of the startup cost of a
visual component, and then move it into the controls after they get created.

 /rant

I guess I'm wondering why, if there is apparently no use case for this
feature and deferrred instantiation is the way to go, it is included in
the language at all.  Is there never a case to use this option?


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



RE: [flexcoders] JUST SAY NO to creationPolicy=all !

2006-10-31 Thread Benoit Hediard
In that case, we even don't need view helpers, we could set the model
directly in our commands.
Sometimes, on complex app, bindings don't work as expected, so you have to
find workarounds.
But don't get me wrong, in 99% of the cases, bindings are the way to go.

Benoit Hediard
#affinitiz.com 

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de Tom Chiverton
Envoyé : mardi 31 octobre 2006 17:24
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] JUST SAY NO to creationPolicy=all !

On Tuesday 31 October 2006 15:40, Benoit Hediard wrote:
 But we have some views that could not be configured by bindings or at 
 initialization, so we are using cairngorm ViewHelpers to do that.
 In order to use viewHelpers, you have to be sure that the view has 
 been instantiated.

Why don't your ViewHelpers just set something in the model, then bind to
that in the view ?

--
Tom Chiverton
Helping to quickly participate eligible deliverables



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









--
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: Custom datagridcolumns

2006-10-31 Thread Michael Labriola

Rick,

Just one more comment on your labelFunction versus subclass of
DataGridColumn. There are times to subclass, but, what you are doing
here really seems like a good argument for a labelFunction.

You don't have to build a function for every column, so, if you
rewrote your labelFunction like this:

mx:CurrencyFormatter id=currency precision=2 rounding=nearest/

mx:DataGridColumn width=80 headerText=Legal Credit
labelFunction=formatLegalCredit dataField=LEGCRAMT/

public function formatLegalCredit(data:Object, column:DataGridColumn
):String {
  return currency.format(data[ column.dataField ]);
}

You would now have one function that would format any dataGrid column
because it uses the dataField to know where to grab the data. Does
this make sense?

--Mike


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

 ping...
 
 Rick Root wrote:
  
  
  I'm working on a datagrid that has various formatted items in it..
  several currency columns, a data column, etc.
  
  Using a label function for each seems somewhat overkill.
  
  Ie...
  
  mx:DataGridColumn width=80 headerText=Legal Credit
  labelFunction=formatLegalCredit/
  
  And here's my function:
  
  public function formatLegalCredit(data, col):String {
  var currency = new CurrencyFormatter();
  currency.precision = 2;
  currency.rounding = nearest;
  return currency.format(data.LEGCRAMT);
  }
  
  But I'd have to build this function for every column with a number in
  it. Bleagh. Gotta be a better way.
  
  Can I build a datagridcolumn that automatically has a
currencyFormatter
  - or a dataFormatter - built into it?
  
  Is there a better way?
  
  Rick
  
 






--
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: Internationalisation Accordion

2006-10-31 Thread camlinaeizerous
My first actual flex app beyond simple sand boxing was multi language
and i ran into a similar problem. Long story short I made the
accordian only change the items on the active panel by determining
which internal canvas it was showing. And would change the other text
on the other canvases on navigation to those respective canvases.

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

 Hello !
 
 In my application, I have an accordion where I hide/show canvas by
 clicking on diferents items in my interface.
 Moreover, in my application, I can change the language by clicking on
 the corresponding flag.
 
 And so, that si my problem :
 
 When I want to hide a canvas of my accordion, I use
 accordion.removeChild(myCanvas).
 And after that, when I click on a different language flag, there is an
 error to update the label of the hidden canvas.
 
 Have you a solution, please ?
 
 Thanks !!!






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

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

* 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 Message Service adapter

2006-10-31 Thread ryanlevere
I'm trying to create a custom message service adapter for my Flex 
application and I'd like to be able to filter out certain clients from 
within the 'invoke' method. Does anyone know how to do this? The 
MessageService method 'pushMessageToClients' can accept a set of 
subscriber identifiers but I'm not too clear on where those 
identifiers come from. Any assistance woul be greatly appreciated.

Thanks,
Ryan




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

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

* 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] test eom

2006-10-31 Thread xoconnick
sorry!




--
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] Convert time string to minutes

2006-10-31 Thread Wally Randall
Does anyone have some AS3 code to convert a time string to minutes:

'01:30' = 90 minutes into the day.




--
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: export to excel

2006-10-31 Thread Tom Chiverton
On Tuesday 31 October 2006 14:46, Anatole Tartakovsky wrote:
 1. To use office web component - do Externalinterface to IE browser, and
 JavaScript to OfficeWeb component embedded in HTML
 2. download Excel file with embedded flash player and use LocalConnection
 for 2-way communications

Eww.
We extended DataGrid to have a 'Save' button that invokes a server-side 
component, passing in enough of the view state to regenerate the data. This 
component then spits out a XLS file (well, a HTML file with a .xls extension. 
Java people might want to put POI in there).

-- 
Tom Chiverton
Helping to seamlessly compete market-driven design-patterns



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: negatively scale canvas

2006-10-31 Thread Doug Lowder
Negatively scale as in show at a smaller-than-normal size?

mx:Canvas scaleX=0.5 scaleY=0.5 ... /

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

 anyone know how I would negatively scale a canvas's width?
   
 
 
 






--
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] JUST SAY NO to creationPolicy=all !

2006-10-31 Thread Alex Uhlmann





Hi Benoit,

can you tell us more wherebindings didn't work for 
you?

Best,
Alex



  
  

  


  
  
Alex 
Uhlmann Consultant (Rich Internet Applications)Adobe 
ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, 
Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 6969m: +44 (0) 
7917 428 951[EMAIL PROTECTED]http://weblogs.macromedia.com/auhlmann



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Benoit 
HediardSent: 31 October 2006 15:40To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] JUST SAY NO to 
creationPolicy="all" !


In most cases and in a "perfect" world, it can be avoided.But in some 
specific cases, it is very useful, especially to workaround somebinding 
bugs...In our app (a pretty complex one), we use as much as possible the 
CairngormModelLocator and bindings.But we have some views that could not 
be configured by bindings or atinitialization, so we are using cairngorm 
ViewHelpers to do that.In order to use viewHelpers, you have to be sure that 
the view has beeninstantiated.Deferred instantiation is not "always 
the way to go".So please, do not remove this option... ;)Benoit 
Hediard#affinitiz.com-Message d'origine-De : [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
De lapart de Adam DorritieEnvoyé : mardi 31 octobre 2006 14:37À : [EMAIL PROTECTED]ups.comObjet 
: Re: [flexcoders] JUST SAY NO to creationPolicy="all" !On 
10/30/06, Gordon Smith [EMAIL PROTECTED]com wrote: 
rant I've never seen a case where it is necessary to push data 
into thecontrols before they exist. If you must put the data somewhere in 
themeantime, store it in data vars, which have none of the startup cost of 
avisual component, and then move it into the controls after they get 
created. /rantI guess I'm wondering why, if 
there is apparently no use case for this"feature" and deferrred 
instantiation is "the way to go," it is included inthe language at all. Is 
there never a case to use this option?--Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
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
  
  
  

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] JUST SAY NO to creationPolicy=all !

2006-10-31 Thread Tom Chiverton
On Tuesday 31 October 2006 15:40, Benoit Hediard wrote:
 But we have some views that could not be configured by bindings or at
 initialization, so we are using cairngorm ViewHelpers to do that.
 In order to use viewHelpers, you have to be sure that the view has been
 instantiated.

Why don't your ViewHelpers just set something in the model, then bind to that 
in the view ?

-- 
Tom Chiverton
Helping to quickly participate eligible deliverables



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: DataGrid not displaying nested data

2006-10-31 Thread greenfishinwater
No I did not find any solution.

I am getting my data via rails, and I added logic to the rails
controller to create extra fields all at the same level, so I don't
have to get a nested value. Its a pain in the neck. But I have to try
and resolve this in a better way soon.

Andrew





--
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] JUST SAY NO to creationPolicy=all !

2006-10-31 Thread Tracy Spratt












Well, all Flex developers use containers
very early in their work, and referencing / setting properties on hidden
components is a basic task common to most all environments. However, manual
control of instantiation, and even binding, in order to optimize the
performance of an application is fairly advanced stuff.



If all they want to do is learn how to
work with components in their first test application, creationPolicy=all
can get a newbie coding again. You can hear the frustration folks are
experiencing when they post this question. Saying No, Flex is not
broken, and you are not stupid, try this, and your code will work, is sometimes
ok.



Recreational use of creationPolicy=all
should not be illegal. It is just a matter of education.



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Adam Dorritie
Sent: Tuesday, October 31, 2006
8:37 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] JUST SAY
NO to creationPolicy=all !











On
10/30/06, Gordon Smith [EMAIL PROTECTED]com
wrote:
 rant
 I've never seen a case where it is necessary to push data into the
controls before they exist. If you must put the data somewhere in the meantime,
store it in data vars, which have none of the startup cost of a visual
component, and then move it into the controls after they get created.

 /rant

I guess I'm wondering why, if there is apparently no use case for this
feature and deferrred instantiation is the way to go,
it is
included in the language at all. Is there never a case to use this
option?






__._,_.___





--
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: export to excel

2006-10-31 Thread Tracy Spratt
A very simple, though primitive solution is to build an html table, put
it on the clipboard, and paste it into excel.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Tuesday, October 31, 2006 11:22 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: export to excel

On Tuesday 31 October 2006 14:46, Anatole Tartakovsky wrote:
 1. To use office web component - do Externalinterface to IE browser,
and
 JavaScript to OfficeWeb component embedded in HTML
 2. download Excel file with embedded flash player and use
LocalConnection
 for 2-way communications

Eww.
We extended DataGrid to have a 'Save' button that invokes a server-side 
component, passing in enough of the view state to regenerate the data.
This 
component then spits out a XLS file (well, a HTML file with a .xls
extension. 
Java people might want to put POI in there).

-- 
Tom Chiverton
Helping to seamlessly compete market-driven design-patterns



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








--
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: ContextMenuEvent on BarSeries - how can I access the item that was clicked o

2006-10-31 Thread cdhbookingedge
Brian did this work for you?




--
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: Training from the Source - Can't find my error

2006-10-31 Thread Michael Labriola

Glad you are enjoying it.

We have occasionally seen the same thing. The flex compiler seems to
get confused with the inline renderer and the valueObject.

This line is the cause:

outerDocument.removeItem(valueObjects.ShoppingCartItem(data));

You can literally go an modify this line by adding a space before the
word valueObject. Then remove the space and all will work next time
your compile. 

It doesn't happen everytime on every computer. If it becomes
problematic, just remove the entire click event from the delete in the
shopping cart. My guess is that by this point in the book, you
understand how that is supposed to work.

--Mike

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

 I am working through the Adobe Flex 2 - Training from the Source book.
 (Excellent book, BTW). I am in chapter 11 on the section Create an
 inline MXML Item Renderer for Displaying the Remove Button. I can't
 get beyond this section, because my code won't compile with the
 following error:
 
 1120: Access of undefined property
 valueObjects. FlexGrocer/views/ecomm  Cart.mxml
/FlexGrocer/views/ecomm/Cart.mxml   1162264545587   243
 
 Here's my data grid:
 
   mx:DataGrid
   id=cartView
   dataProvider={cart.aItems} width=100% height=100%
   editable=true draggableColumns=false
   variableRowHeight=true
   mx:columns
   mx:DataGridColumn dataField=product 
 headerText=Product
   itemRenderer=renderer.ecomm.ProductName 
 editable=false/
   mx:DataGridColumn dataField=quantity
   itemEditor=mx.controls.NumericStepper
   editorDataField=value editable=true 
 headerText=Quantity /
   mx:DataGridColumn dataField=subtotal 
 headerText=Amount
 labelFunction=renderPriceLabel editable=false /
   mx:DataGridColumn editable=false
   mx:itemRenderer
   mx:Component
   mx:VBox
   mx:Button
   label=Remove
   
click=outerDocument.removeItem(valueObjects.ShoppingCartItem(data));/
   /mx:VBox
   /mx:Component
   /mx:itemRenderer
   /mx:DataGridColumn
   /mx:columns
   /mx:DataGrid
 
 It's choking on the click event of the inner Button component.
 
 I've even copied the code from the CD into my project but I get the
same error.
 
 Anyone see what I'm doing wrong?
 
 Thanks!
 
 Todd






--
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: DataGrid not displaying nested data

2006-10-31 Thread Tracy Spratt












I dont see where you mentioned or
anyone suggested a labelFunction(). Will that not work for you?



If your dataProvider item is an e4x xml
node, then it is easy to use the selection expressions to get data from any
nested level you want.



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of greenfishinwater
Sent: Tuesday, October 31, 2006
11:16 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: DataGrid
not displaying nested data











No I did not find any solution.

I am getting my data via rails, and I added logic to the rails
controller to create extra fields all at the same level, so I don't
have to get a nested value. Its a pain in the neck. But I have to try
and resolve this in a better way soon.

Andrew






__._,_.___





--
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] how to explode a wedge on mouse over?

2006-10-31 Thread Ely Greenfield








What error are you getting?

PieSeries has a property called called 
perWedgeExplodeRadius. This is an array of values from 0 to 1. The Nth value in 
this array corresponds to how far the nth value in the dataProvider should be 
exploded. 0 is no explode, 1 is fully exploded (which means there's no room to 
actually render anything, so probably not what you want. Choose something in 
between).

So get the index of the item under the mouse (listen for 
itemRollOver and itemRollOut events), and update the perWedgeExplodeRadius 
property accordingly.

Ely.





From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
shemeshkaleSent: Tuesday, October 31, 2006 12:42 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] how to explode a 
wedge on mouse over?


hello,i have a pieChart.how do i make a specific wedge explode on 
mouse over on it?mouse out will revert the explosion.plus:how do 
i alert the wedge under the mouse?got this : 
mouseOver="Alert.show('over: '+event.hitData.index)"but it is 
error, what is right?
__._,_.___





--
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: Convert time string to minutes

2006-10-31 Thread e_baggg
It shouldn't be too difficlut to write this code yourself. I haven't
tested this but 'hours' is 0 based so that's why I added 1.

var date : Date = new Date();
var totalMinutes : Number = (date.hours+1) * 60;
totalMinutes += date.minutes;

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

 Does anyone have some AS3 code to convert a time string to minutes:
 
 '01:30' = 90 minutes into the day.






--
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] Loop with call to Flex Data Services

2006-10-31 Thread jonathan_merey






--
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] Why shadowDirection does not support flexible angles?

2006-10-31 Thread Sergey Kovalyov
Hi All!

I have found that it's impossible to assign shadow direction angle for
containers. Why so? I found in HaloBorder that it's possible, but due
to a lot of private fields and other tricks, it's impossible to hack
it. :(

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] JUST SAY NO to creationPolicy=all !

2006-10-31 Thread greg h



Regarding Gordons having to repeatedly post on the perils of
creationPolicy=All let's all please save the following link and post
it on creationPolicy questions (so that Gordon can get back to creating
more amazing Flex functionality :-):
http://livedocs.macromedia.com/flex/2/langref/mx/core/ContainerCreationPolicy.html#ALL

The link above is for the page in the Language Reference that reads:
Avoid using this creationPolicy because
   it increases the startup time of your application.
   There is usually no good reason to create components at startup
   which the user cannot see.
   If you are using this policy so that you can push data into
   hidden components at startup, you should instead design your
   application so that the data is stored in data variables
   and components which are created later pull in this data,
   via databinding or an initialize handler.


Regarding John's statement that There's a book somewhere here on best
practices and performance/tuning to address issues like this.

I believe what John is referring to is:

BOOK: Building and Deploying Flex 2 Applications 
CHAPTER 6: Improving Startup Performance
http://livedocs.macromedia.com/flex/2/docs/1424.html

This chapter includes sections on:
About startup order
Using deferred creation
Creating deferred components
This chapter should be required reading before setting creationPolicy=All :-)

Regrettably setting creationPolicy=All is the switch that turns off
deferred creation. The only time this makes sense is for small,
odd out applications in Flex.

For anything more involved, I found that as I started to use Cairngorm,
the temptation to use creationPolicy=All went away altogether :-)

hth,

g

__._,_.___





--
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: Filtering a Datagrid

2006-10-31 Thread Tim Hoff



Hi Rick,
Here is a basic example that you might findhelpful: View Sample
-TH__
Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY
--- In flexcoders@yahoogroups.com, "Michael Labriola" [EMAIL PROTECTED] wrote: Rick,  Check out the filter capabilities of the list collections. Basically, the dataProvider of the datagrid can be filtered as you requested.  --Mike  --- In flexcoders@yahoogroups.com, Rick Root rick.root@ wrote:   Let's say I've got a datagrid containing a persons gifts to the   University. Each item has a gift id, pledge id, legal and soft credit   amounts, a fund code to which the gift is being credited, etc.By default, the grid loads all of a persons gifts.I'd like to be able to filter the data by fund - A simple way is to just   use the sort functionality of the columns themselves, and then just   havee them scroll down to find what they're looking for.But is there a simple way to filter the contents of a datagrid without   going back to the server to re-retrieve the results?I could probably put the dataProvider into memory, then loop through it,   creating a "filtered" dataprovider and assign it to the grid.. but I'm   kind of hoping for a simpler solution :)rick 

__._,_.___





--
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] negatively scale canvas

2006-10-31 Thread jeff noyes
anyone know how I would negatively scale a canvas's width?
  


   



--
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] Binding on properties with Class type

2006-10-31 Thread Sergey Kovalyov
Hi All!

It seems that binding on properties with Class type does not work. Is
it correct?

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] Cairngorm 2 with Data Management

2006-10-31 Thread laidezmon
Are there any examples out there on using Cairngorm and cairngorm
events with the MVC and such, and using Data Manager. I heard at max,
that using Cairngorm with DMS is possible, but there dont seem to be
any examples of its use out there. 

The reason I ask is because I understand with pointing grids and such
at the model, as the dataprovider, how that works, and I understand
calling an event which calls the data service indirectly, but where
would the model come into play logically, when DMS is handling so much
of the work directly from the grid? 

So any help would be appreciated. 






--
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] Using As with a string Class type

2006-10-31 Thread Mark Doberenz



I'm trying to work on a serializer for objects coming from a Web Service call.I've got a clean way of doing it for basic classes, but when the class has another custom class in it, I'm failing to figure it out.
Any help would be greatly appreciated. The highlighted code is what I'm having issues with. If fullyQualifiedName=TestVO, then how do I use that String value as a Class so that I can call the objectToInstance function again?
Here's what I have so far...package{import mx.collections.ArrayCollection
;import mx.utils.ObjectUtil;import flash.utils.describeType;public final class ObjectTranslator{private static var _simpleTypes:ArrayCollection = new ArrayCollection(new Array(
int,String,Object))
public static function objectToInstance(obj:Object, cls:Class):*{var newObj:* = new cls();var objClassInfo:Object = ObjectUtil.getClassInfo(obj);var typeInfo:XML = describeType( cls );
for each (var prop:QName in objClassInfo.properties){if (newObj.hasOwnProperty(prop.localName)){var fullyQualifiedName:String = typeInfo..accessor.(@name == 
prop.localName)[EMAIL PROTECTED]().replace( /::/, . );var idx:int = _simpleTypes.getItemIndex(fullyQualifiedName);if (idx == -1){newObj[prop.localName] = 
ObjectTranslator.objectToInstance(obj[prop.localName], fullyQualifiedName as Class);//translateObject(//registerClassAlias( fullyQualifiedName, obj[
prop.localName] );} else {//var fullyQualifiedName:String = [EMAIL PROTECTED](prop.localName)[EMAIL PROTECTED]().replace( /::/, . );newObj[prop.localName] = obj[prop.localName
];trace(prop.localName + :  + ObjectUtil.isSimple(obj[prop.localName]));}}}return newObj;}}}

__._,_.___





--
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: How does Digital Editions do read/write across the net without a trust file?

2006-10-31 Thread jeremyrichman
Many thanks for the replies.  They also read/write my local files 
without a trust file -- makes sense that they aren't using just 
Player.

(My problem is that I have intended customers who I need to upload 
their files without them having to know about trust files or modify 
their system32 file.  So far it seems impossible, so Digital Editions 
raised my hopesg  :-/)

Thanks again,

Jeremy



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

 jeremyrichman wrote:
  If you haven't already, check out Adobe's new Digital Editions 
beta (at 
  http://labs.adobe.com/technologies/digitaleditions/install/).
  I believe this was written using Flex; but how do they read and 
write 
  across the net without needing a trust file? 
 
 This project is a mix of Player and native-code. There isn't yet 
good 
 public documentation on its mechanics, even though the project 
raises a 
 number of intriguing questions. I'm hoping we see more details soon.
 
  From what I've been able to gather in informal hallway 
conversations, I 
 don't see much that would be transferrable to other projects yet -- 
my 
 first reaction was Wow, are they really reading PDF/A into SWF?, 
but 
 that's apparently not the case either. Their remote retrieval might 
not 
 even be using the Player; we can't tell yet.
 
 It looks to me now more like a one-off project than something we 
can 
 reuse in various ways, but it would be better to wait for 
authoritative 
 information to appear than to rely on the impressions I've been 
able to 
 gather.
 
 jd
 
 
 
 
 
 -- 
 John Dowdell . Adobe Developer Support . San Francisco CA USA
 Weblog: http://weblogs.macromedia.com/jd
 Aggregator: http://weblogs.macromedia.com/mxna
 Technotes: http://www.macromedia.com/support/
 Spam killed my private email -- public record is best, thanks.






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

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

* 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: Horizontal Scroll in Tree ?

2006-10-31 Thread thunderstumpgesatwork
Bump... maybe people missed it last night. This seems like such an
obvious problem that it seems like I'm missing something!

Also, I can force the scrollbars by setting
maxHorizontalScrollPosition, but even then, when you scroll the
window, none of the labels redraw! So you don't end up seeing any more
of the text than you did before!

=/  what's the deal here?

thanks,
Thunder

 
 Guys, I can't seem to get the horizontal scrollbars to work properly
 on a tree control. Setting the horizontalScrollPolicy=auto doesn't
 do the trick, and I've started looking at maxHorizontalScrollPosition
 but that doesn't seem to work correctly either (not to mention I don't
 exactly know how that would be calculated anyway).
 
 Here's a sample app. All you have to do is open up some nodes, and
 make the window small enough that it cuts off the text horizontally.
 
 Any ideas? Anyone else have this working correctly?
 
 thanks,
 Thunder
 
 _
 

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

mx:Tree id=mxTree
width=25% height=25%
showRoot=false
labelField=@label 
horizontalScrollPolicy=auto
dataProvider={treeData} /


!-- Add the XMLList DataProvider --

mx:XML id=treeData
node label=Root
node label=1
node label=1-1
node label=1-1-1
node label=1-1-1-1
node label=1-1-1-1-1/
node label=1-1-1-1-2/
node label=1-1-1-1-3/
node label=1-1-1-1-4/
node label=1-1-1-1-5/

/node
/node
/node
node label=1-2
node label=1-2-1
node label=1-2-1-1
node label=1-2-1-1-1/
node label=1-2-1-1-2/
node label=1-2-1-1-3/
node label=1-2-1-1-4/
node label=1-2-1-1-5/

/node
/node
/node
/node
/node
/mx:XML

/mx:Application





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

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

* 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] Why shouldnt you use a specific event type for a command.execute in cairngorm?

2006-10-31 Thread Rick Schmitty



Thanks for the replies, appreciate it. Could you give a for example of a command that would handle different types of events? I'm thinking of a command as a specific task (which in my world..so far.. has been a specific event)  I think I have some tunnel vision here...
On 10/30/06, Douglas Knudsen [EMAIL PROTECTED] wrote:













  



What if this command reacted to more than one evnt type?DKOn 10/30/06, Rick Schmitty
 [EMAIL PROTECTED]
 wrote:in the execute(event:CairngormEvent) function of your command class,

why shouldnt you use the specific event type (aside from that factthat it wouldnt compile). I find myself casting the event object asthe specific event.public class LoginCommand implements Command, Responder {
public function execute(event:CairngormEvent):void {var delegate:LoginDelegate = new LoginDelegate(this);var loginEvent:LoginEvent=event as LoginEvent;
delegate.login(loginEvent.username,loginEvent.password);}vs being able to do something like thispublic class LoginCommand implements Command, Responder {public function execute(event:LoginEvent):void {
var delegate:LoginDelegate = new LoginDelegate(this);delegate.login(event.username,event.password);}Am I going about it the right way or am I offbase on what I'm thinking
should happen here..--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/* 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/
-- Douglas Knudsenhttp://www.cubicleman.com
this is my signature, like it?

  















__._,_.___





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








   






  
  
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: Filtering a Datagrid

2006-10-31 Thread Rick Root
Excellent, thanks all.. those suggestions worked great.  The cflex 
example was very nice.

Rick


--
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: DataGrid not displaying nested data

2006-10-31 Thread Luis Eduardo


Tracy,

after some search and tests i found:
- labelFunction indeed works. But it is a implicit workaround for one 
limitation of the actionscript 3 and not the Datagrid itself. (there is 
one line of code inside the datagrid class that take the data using: 
data = data[dataField] and if dataField isn't a leaf of a xml, this 
isn't rigth evaluated )
- if we use the labelFunction, than re-sort with clicking on the 
datagridcolumn doesn't work anymore. So we need to code sorting too.
- another way to solve this problem is to extend datagrid and code the 
proper workaround OR give the data already on a format datagrid likes 
(like greenfishinwaterr made )

i cant use the solution of greenfishinwater because there are already 
too code on the servlets (and i dont want the idea of having a strange 
response xml format without any nested data) so i extend my datagrid and 
coded the labelFunction inside the new class.

it all works... but if data[dataField] evaluates rigth as we expect, too 
much people using datagrids would not need to code labelFunction for 
basic nested data manipulatiuons (i understand this function is great 
and have to be there... but if i would need some column that are 
calculations of another or something like that.. not to fetch nested data).

did you know when they will release a Flex 2.0.1 with some fixes?
did you know if xml evaluator like data[dataField] (when dataField is 
something like [EMAIL PROTECTED]) will be improved 
someday?

[]'s,

Luís Eduardo.



Tracy Spratt escreveu:

 I don’t see where you mentioned or anyone suggested a labelFunction(). 
 Will that not work for you?

 If your dataProvider item is an e4x xml node, then it is easy to use 
 the selection expressions to get data from any nested level you want.

 Tracy

 

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
 *On Behalf Of *greenfishinwater
 *Sent:* Tuesday, October 31, 2006 11:16 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Re: DataGrid not displaying nested data

 No I did not find any solution.

 I am getting my data via rails, and I added logic to the rails
 controller to create extra fields all at the same level, so I don't
 have to get a nested value. Its a pain in the neck. But I have to try
 and resolve this in a better way soon.

 Andrew

  







___ 
Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar 
seu conhecimento? Experimente o Yahoo! Respostas !
http://br.answers.yahoo.com/


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

* 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: Custom datagridcolumns

2006-10-31 Thread Rick Root
Thanks Michael... the key part was that I didn't understand the purpose 
of passing in the datagridcolumn object itself so I wasn't thinking 
dynamically

  return currency.format(data[ column.dataField ]);

works great, so now I have a single currencyFormat label function... 
(and another for date formatting)

Rick


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

2006-10-31 Thread Shannon Hicks





Anyone working on 
tying flex  the smugmug API? I'm thinking of starting a side project, but I 
want to make sure I'm not duplicating efforts.

Shan
__._,_.___





--
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 outgoing message.
Checked by AVG Free Edition.

 


Re: [flexcoders] Why shadowDirection does not support flexible angles?

2006-10-31 Thread Michael Schmalle



Hi,In my opinion...The hack is clear, copy and paste into your own skin class, change the checks to straight angle input and problem solved.The plus side is, using the new borderSkin class style in your components, if you want to add anything in the futrue, it's easy.
Peace, MikeOn 10/31/06, Sergey Kovalyov [EMAIL PROTECTED] wrote:













  



Hi All!

I have found that it's impossible to assign shadow direction angle for
containers. Why so? I found in HaloBorder that it's possible, but due
to a lot of private fields and other tricks, it's impossible to hack
it. :(

Sergey.

  













-- What goes up, does come down.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

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] Isn´t there any release of Adobe Apollo yet? Alpha maybe....

2006-10-31 Thread Gordon Smith












Just wondering, since I'm working on it...
what features of Apollo are people most excited about?



- Gordon











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew D. Goodfellow
Sent: Tuesday, October 31, 2006
6:15 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Isn´t
there any release of Adobe Apollo yet? Alpha maybe











Yep, I know how you feel. The suspense is brutal. I
could have already built and sold like 8 products built on it.

There are probably too many holes in it still, or at least that's what I keep
telling myself. :o)

-Andy



On 10/31/06, arianrechia
arianrechia@yahoo.com.br
wrote:









Hi people,
I´m very exciting about Adobe Apollo, and I´ve been looking for some
download to try the Apollo SDK, but with no success =(

anyone already have a apollo alpha realease??

thanxs




















__._,_.___





--
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: Why shouldnt you use a specific event type for a command.execute in cairngor

2006-10-31 Thread Jamie O
If you have one 'Search' event being broadcast from a view that can
search in multiple ways depending on user interaction, perhaps it's
searching different resources depending on a radio button perhaps?
Then you could use the same broadcast event and evaluate the event
data to call different services accordingly.

I have one 'Navigate' event that the majority of my views call and
pass a constant within that so the command picks that out and updates
my model app_State as a result. The main view stack monitors that
state. Keeps the views clean of any data manipulation.

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

 Thanks for the replies, appreciate it.  Could you give a for example
of a
 command that would handle different types of events?
 
 I'm thinking of a command as a specific task (which in my world..so
far..
 has been a specific event) I think I have some tunnel vision here...
 




--
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] JUST SAY NO to creationPolicy=all !

2006-10-31 Thread Gordon Smith












I allowed creationPolicy=all
because I thought it should be the developer's decision whether the user experiences
a single long wait at startup rather than a bunch of short waits as s/he
navigates through an application. (All the waits were more noticeable in Flex 1
and 1.5 before the player got a lot faster.)



I didn't allow it just to solve the
problem of developers wanting to push data into not-yet-created controls.
That's easily solved by using the right event handlers.



I agree with Tracy that recreational use of
creationPolicy=all should not be illegal for Flex newbies.
But I was frustrated that people were recommending it without any guidance that
it isn't best practice.



- Gordon











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Adam Dorritie
Sent: Tuesday, October 31, 2006
5:37 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] JUST SAY
NO to creationPolicy=all !











On 10/30/06,
Gordon Smith [EMAIL PROTECTED]com
wrote:
 rant
 I've never seen a case where it is necessary to push data into the
controls before they exist. If you must put the data somewhere in the meantime,
store it in data vars, which have none of the startup cost of a visual
component, and then move it into the controls after they get created.

 /rant

I guess I'm wondering why, if there is apparently no use case for this
feature and deferrred instantiation is the way to go,
it is
included in the language at all. Is there never a case to use this
option?






__._,_.___





--
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: e4x expression passed as string

2006-10-31 Thread Diego Guebel
Hi Mike,
Many thanks, that was exactly what I was looking for.
I didnt have the chance to see the code but I did some test and it seems  
to be working fine. At least it returns what it is expected.
I have in mind to build some user interface to evaluate e4x expression,  
I'll back to the list as soon as I have something to show.

BTW did Alex post anything regarding this topic in his blog?

Cheers, Diego.


On Tue, 31 Oct 2006 16:47:11 +1300, Michael Labriola [EMAIL PROTECTED]  
wrote:


 Diego,

 Here is a starting point. There are probably bugs, it is bloated,
 and it is not completely tested, however, it is a starting point.

 A final version of this, along with some actual example code, error
 handling and other dynamic tools will eventually be available in a
 devnet article.

 Used as follows:

 import net.digitalprimates.utils.E4XParser;
 var parser:E4XParser;
 parser = new E4XParser();

 var returnXML:XMLList;
 //Use parser.evaluate( data:XML, expression:String );
 returnXML = parser.evaluate( myXML, '..item.(@id==2)..price' );

 If you find a bug, let me know off list.

 BTW, thanks on this and future releases also go to Alex Harui who
 started this pet project before I. (Although none of the blame for
 the bad code that currently permeates it)

 http://www.digitalprimates.net/src/e4x.zip

 --Mike


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

 Hi all,
 I'm wondering if there is any method to apply an e4x expression
 passed
 as a string to an xml.
 For example I have this variable:
 private var sourceXML:XML = order
  book ISBN=0942407296
  titleBaking Extravagant Pastries with
 Kumquats/title
  author
  lastNameContino/lastName
  firstNameChuck/firstName
  /author
  pageCount238/pageCount
  /book
  book ISBN=0865436401
  titleEmu Care and Breeding/title
  editor
  lastNameCase/lastName
  firstNameJustin/firstName
  /editor
  pageCount115/pageCount
  /book
  /order

 and a method like this:

 private  function testExpression(s:String):void
 {
  // somehow, I want to apply that string as e4x expression to
 the xml
  result_txt.text = sourceXML.apply(s);
 }

 Any clue?
 Thanks in advance.
 Diego.






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



RE: [flexcoders] Isn´t there any release of Adobe Ap ollo yet? Alpha maybe....

2006-10-31 Thread Shannon Hicks





1. Offline support
2. Filesystem access
3. Cross-platform *true* applications, no web browser 
needed (read: more screen real-estate available!!!)
4. HTML  _javascript_ support, as *true* UIContainer 
objects. You should have seen the demo at MAX where they took the Adobe website, 
rotated it, put a blur on it, scaled it down, and then clicked on a link and had 
the next page load, still rotated, blurred and scaled.

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Gordon 
SmithSent: Tuesday, October 31, 2006 2:41 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Isn´t there any 
release of Adobe Apollo yet? Alpha maybe




Just wondering, since 
I'm working on it... what features of Apollo are people most excited 
about?

- 
Gordon





From: 
[EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Andrew D. 
GoodfellowSent: Tuesday, 
October 31, 2006 6:15 AMTo: 
[EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] Isn´t there any 
release of Adobe Apollo yet? Alpha maybe




Yep, I know 
how you feel. The suspense is brutal. I could have already built and sold like 8 
products built on it.There are probably too many holes in it still, or 
at least that's what I keep telling myself. 
:o)-Andy

On 10/31/06, arianrechia arianrechia@yahoo.com.br 
wrote:




Hi people,I´m very exciting about Adobe Apollo, and 
I´ve been looking for somedownload to try the Apollo SDK, but with no 
success =(anyone already have a apollo alpha 
realease??thanxs



--No virus found in this incoming message.Checked by AVG 
Free Edition.
__._,_.___





--
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 outgoing message.
Checked by AVG Free Edition.

 


RE: [flexcoders] Re: Get BitmapData from symbol in SWF file?

2006-10-31 Thread Roger Gonzalez





That looks ok to me at first glance. What error do you get in this 
case? Are you sure that bgImage is a bitmap? (If you're using 
Scale-9, it will be a SpriteAsset, for example.)

-rg

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  joshuajnobleSent: Monday, October 30, 2006 1:51 
  PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
  Re: Get BitmapData from symbol in SWF file?
  
  
  --- In [EMAIL PROTECTED]ups.com, 
  "Roger Gonzalez" [EMAIL PROTECTED]. wrote: You can't 
  cast a Class to a Bitmap. You need to do BitmapAsset(new 
  c()). Hi Roger,I had given that a try but got type 
  casting errors then too. I'm not sure what's wrong with it since this is 
  basically right out of the documentation for BitmapAsset. Here's what I 
  tried:var c:Class = 
  SessionLocator.getSession().assets[bgImage];var 
  icon:BitmapAsset = BitmapAsset(new c());if(icon != 
  null)graphics.beginBitmapFill(icon.bitmapData);
__._,_.___





--
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] Installing FDS As Win2003 WebService

2006-10-31 Thread Shannon Hicks





I wasn't able to get jrunsvc to work with what came 
with FDS 2 Express, so I ended up installing Tomcat instead. It took awhile to 
figure out, having never used Tomcat before, but I pieced together the install 
process form a few different resources, and put it in one handy step-by-step 
guide:

http://www.webapper.net/index.cfm/2006/10/31/Installing-Flex-Data-Services-2-Express-on-Tomcat-for-Dummies

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of João 
FernandesSent: Monday, October 02, 2006 7:27 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] RE: 
[flexcoders] Installing FDS As Win2003 WebService




What is your server 
called? 

If your java server 
instance is called fds and located inside drive:\{jrun.home}\servers\ run 
the command from the bin folder drive:\{jrun.home}\bin 
:

jrunsvc -install fds 
"Flex Data Service" "Flex Data Service" 

João 
Fernandes





From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Francois DejardinSent: segunda-feira, 2 de Outubro de 2006 
12:51To: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] Installing FDS As 
Win2003 WebService





Hi all,I'm trying to install fds as service on 
Win2003.. i've read that it was possible with jrunsvc but it doesn't work 
with the following command line : jrunsvc.exe -install jrun-server "Flex 
data service" "Flex Data Service"(I find the jrunsvc from Coldfusion 
installation directory)Is it something wrong ? 
regards

--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.407 / Virus Database: 268.12.11/460 - Release 
Date: 10/1/2006
__._,_.___





--
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 outgoing message.
Checked by AVG Free Edition.

 


[flexcoders] Datagrid selected index

2006-10-31 Thread camlinaeizerous
There is probably a really simple solution to the problem i'm having
with a datagrid.

I have a data grid with several rows in it. Say you select the item at
index 5(item 'f') and sort one of the columns. The item 'f' that was
at index 5 moves to index 10 and remains selected yet the data grid
still says that the selected index is 5 instead of index 10 but the
selected item reports the correct selected item 'f' even though its
new index is 10.

Anyone have an idea on how to go about forcing the datagrid to update
to the new selected index, as i have tried playing with validate now
and a few other things.




--
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] Can't download from adobe flex 2 site in Firefox 2.0

2006-10-31 Thread dirtmediaworld



None of the download links seem to work in Firefox 2.0. at Adobe'sFlex download page. They work fine in IE 6.0 though. I sent a"feedback" message on adobe's site, but thought I'd put something herein case someone on the adobe flex team wanted to know. I didn't havetime to check other versions of Firefox or other download pages.problem is here: http://www.adobe.com/cfusion/tdrc/index.cfm?product=flex-Dustin

__._,_.___





--
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] Dynamic View Rendering

2006-10-31 Thread Brian Holmes





I have a directory 
of about 15 custom viewcomponents (all panels)and I would like to 
display 3 or 4 of them at a time, How can I dynamically render only the 3 or 4 
that I would like to display? 




Thanks,
Brian


***
The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed.  If you have received this e-mail in error please notify the sender by return e-mail delete this e-mail and refrain from any disclosure or action based on the information.
***


__._,_.___





--
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] Isn´t there any release of Adobe Apollo yet? Alpha maybe....

2006-10-31 Thread greg h



Code Reuse. User finds my
web based application ... Uses it in a browser ... Likes it ... Nice to
have the option for them to just download and store a version on their
desktop. (One step up from getting bookmarked ;-)

Client Side Storage. I am
curious to see what type of client side storage options Apollo will
allow. For instance, for SharedObject storage will Apollo apps be
constrained by the same default Local Storage limit as Flash
apps? (I hope not! For Apollo I would prefer a default of
Unlimited for Local Storage.)

btw ... is there an Apollo wish list being maintained elsewhere that we can view and post to also?

btw #2 ... Gordon, did you attend MAX?

Regardless, thank you for asking Gordon. I for one am hugely
excited about Apollo's potential. Your work will be fomenting a
revolution in software development in '07!

 Best regards,

 g

On 10/31/06, Gordon Smith [EMAIL PROTECTED] wrote:


















Just wondering, since I'm working on it...
what features of Apollo are people most excited about?



- Gordon

__._,_.___





--
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] Isn´t there any release of Adobe Apollo yet? Alpha maybe....

2006-10-31 Thread Dustin Mercer












Everything!  But mainly



1. Freedom from the browser restrictions, mainly file IO capabilities. 
Its going to be awesome to handle files natively.

2. Finally getting out of the browser chrome!  Much more control over
look and feel.

3. Integration with devices connected directly to the client machine. 
We have a lot of that here, and I was dreading having to integrate the flash
player with some sort of com controls

4. Losing some of the memory overhead we incur from the browser!  This
one gives us much more room to make larger applications.



So, basically, freedom, freedom, freedom!



Dustin
 Mercer









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Gordon Smith
Sent: Tuesday, October 31, 2006
12:41 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Isn´t
there any release of Adobe Apollo yet? Alpha maybe













Just wondering, since I'm working on it... what features of Apollo
are people most excited about?



- Gordon











From: [EMAIL PROTECTED]ups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Andrew D. Goodfellow
Sent: Tuesday, October 31, 2006
6:15 AM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] Isn´t
there any release of Adobe Apollo yet? Alpha maybe











Yep, I
know how you feel. The suspense is brutal. I could have already built and sold
like 8 products built on it.

There are probably too many holes in it still, or at least that's what I keep
telling myself. :o)

-Andy



On 10/31/06, arianrechia
arianrechia@yahoo.com.br
wrote:









Hi people,
I´m very exciting about Adobe Apollo, and I´ve been looking for some
download to try the Apollo SDK, but with no success =(

anyone already have a apollo alpha realease??

thanxs


























__._,_.___





--
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] Linechart with dynamic series?

2006-10-31 Thread Bill Brown



I was wondering if it is possible to dynamically add LineSeries to a LineChart component at run-time?I'd like to create something like a stock chart where the user can select multiple stocks to display on the stock chart.
How would I format the arrayCollection being used as a dataProvider for the LineChart? My initial guess would be something like this, except it would be coming from a web service:private var stocksAC:ArrayCollection = new ArrayCollection( [
{ Date: 2006-10-25, Stock1: 2000, Stock2: 150, Stock3: 450 },{ Date: 2006-10-26, Stock1: 1000, Stock2: 200, Stock3: 600 },{ Date: 2006-10-27, Stock1: 1500, Stock2: 500, Stock3: 300 },
{ Date: 2006-10-28, Stock1: 1800, Stock2: 120, Stock3: 900 },{ Date: 2006-10-29, Stock1: 2400, Stock2: 575, Stock3: 500 } ]);]]One issue I am having is how to dynamically add properties to the objects in the stocksAC arrayCollection. What do I do if I want to add a forth stock or fifth stock at runtime?
Another issue is how to add LineSeries at runtime?mx:LineChart id=linechart dataProvider={stocksAC}mx:horizontalAxismx:CategoryAxis categoryField=Date/
/mx:horizontalAxismx:seriesmx:LineSeries yField=Stock1 form=curve displayName=Adobe/mx:LineSeries yField=Stock2 form=curve displayName=Microsoft/
mx:LineSeries yField=Stock3 form=curve displayName=Apple//mx:series/mx:LineChartAgain, how do I add a forth or fifth stock at runtime?
I hope this is clear enough.Cheers,BB

__._,_.___





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

2006-10-31 Thread Robert W
J'm looking in google for flex bug list but not found any. Is any 
official or not bug list for flex2? I found some issues and i am in the 
balance: bugs or my incomplete knowledge.

-- 
Robert Was





--
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] custom Message Service adapter

2006-10-31 Thread Seth Hodgson
Hi Ryan,

Are message headers and Consumer selectors, or subtopics 
(http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=8f1eb6ea) insufficient 
to manage message routing for your use case? You should be able to use either 
of these approaches to 'filter out' certain subscribed clients from receiving 
certain messages.

If this isn't sufficient I'd like to hear more about the use case you're trying 
to solve.

Best,
Seth


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
ryanlevere
Sent: Tuesday, October 31, 2006 9:31 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] custom Message Service adapter

I'm trying to create a custom message service adapter for my Flex 
application and I'd like to be able to filter out certain clients from 
within the 'invoke' method. Does anyone know how to do this? The 
MessageService method 'pushMessageToClients' can accept a set of 
subscriber identifiers but I'm not too clear on where those 
identifiers come from. Any assistance woul be greatly appreciated.

Thanks,
Ryan
 


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

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

* 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] Isn´t there any release of Ado be Apollo yet? Alpha maybe....

2006-10-31 Thread Mike Chambers
Hehe. Gordon is the one building the Flex HTML control for Apollo.

mike chambers

[EMAIL PROTECTED]

On Oct 31, 2006, at 1:25 PM, Shannon Hicks wrote:

 4. HTML  Javascript support, as *true* UIContainer objects. You  
 should have seen the demo at MAX where they took the Adobe website,  
 rotated it, put a blur on it, scaled it down, and then clicked on a  
 link and had the next page load, still rotated, blurred and scaled.



--
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] JUST SAY NO to creationPolicy=all !

2006-10-31 Thread John Kirby
Title: quote






Greg -

I was thinking more "in depth" discussion along this like there is in
the Java community. But I know Flex is young... I'd just like to see
more detail on the hows and whys? Also it would be nice if the
ActionScript profiler
(http://www.adobe.com/devnet/flex/articles/profiler.html) could also
profile your "non-ActionScript" code such as the creationPolicy
impacts. I don't believe the profiler mentioned here does this?
(please correct if I'm wrong?).

I've been working with Java since day one. I was blown away when it
came out. I get the same feeling about Flex... hopefully it will
follow a similar path to make the same impact on web development?

.j



  
  
  
  
I believe what John is referring to is:
  
BOOK: Building and Deploying Flex 2 Applications 
CHAPTER 6: Improving Startup Performance
  http://livedocs.macromedia.com/flex/2/docs/1424.html
  
This chapter includes sections on:
  About
startup order
  Using
deferred creation
  Creating
deferred components
  
This chapter should be required reading before setting
creationPolicy="All" :-)
  
Regrettably setting creationPolicy="All" is the switch that turns off
deferred creation. The only time this makes sense is for small,
odd out applications in Flex.
  
For anything more involved, I found that as I started to use Cairngorm,
the temptation to use creationPolicy="All" went away altogether :-)
  
hth,
  
g
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 



__._,_.___





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

2006-10-31 Thread Joan Lafferty












There is a list of bugs in the Flex 2
release notes. This isnt a list of every bug that we have logged internally,
but, just a list of bugs that we felt needed to be documented because people
may run into them:



Flex SDK :

http://www.adobe.com/support/documentation/en/flex/2/releasenotes_flex2_sdk.html



Flex Builder:

http://www.adobe.com/support/documentation/en/flex/2/releasenotes_flex2_fb.html#knownissues



Joan











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert W
Sent: Tuesday, October 31, 2006
2:09 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex2
bugtracking











J'm looking in google for flex bug list but not found
any. Is any 
official or not bug list for flex2? I found some issues and i am in the 
balance: bugs or my incomplete knowledge.

-- 
Robert Was






__._,_.___





--
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] Isn´t there any release of Adobe Apollo yet? Alpha maybe....

2006-10-31 Thread Gordon Smith












 Gordon, did you attend MAX?



No, but maybe next year.



- Gordon











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of greg h
Sent: Tuesday, October 31, 2006
1:46 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Isn´t
there any release of Adobe Apollo yet? Alpha maybe











Code Reuse.
User finds my web based application ... Uses it in a browser ... Likes it ...
Nice to have the option for them to just download and store a version on their
desktop. (One step up from getting bookmarked ;-)

Client Side Storage. I am
curious to see what type of client side storage options Apollo will
allow. For instance, for SharedObject storage will Apollo apps be
constrained by the same default Local Storage limit as Flash
apps? (I hope not! For Apollo I would prefer a default of
Unlimited for Local Storage.)

btw ... is there an Apollo wish list being maintained elsewhere that we can
view and post to also?

btw #2 ... Gordon, did you attend MAX?

Regardless, thank you for asking Gordon. I for one am hugely excited
about Apollo's potential. Your work will be fomenting a revolution in
software development in '07!

 Best regards,

 g





On 10/31/06, Gordon
Smith [EMAIL PROTECTED]com
wrote:





Just wondering, since I'm working on it... what features of
Apollo are people most excited about?



- Gordon














__._,_.___





--
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: filterFunction between ViewStack MXML components

2006-10-31 Thread pioplacz
Still not working it says it cannot connect to the filterInput and 
genresInput and those 
two are located in MovieView.mxml


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

 
 In your result handler, call the refresh method after you set the
 filterFunction.
 
 --Mike
 
 --- In flexcoders@yahoogroups.com, pioplacz icep87@ wrote:
 
  Yes, i want to put my filter function in the main mxml file where
 all my HTTPServices are 
  locates. I have already apply my filterfunction in the result
 handler in the HTTPService the 
  problem is that i cannot get it to connect with the textinput
 located in a MXML ViewStack 
  component. 
  
  I pass my code here for both Main.MXML and MovieView.MXML. 
  
  Hopes this help you all to help me.
  
  Main.MXML:
  
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* 
  layout=absolute
  horizontalAlign=center verticalAlign=middle 
  backgroundGradientColors=[#00, #00] 
  width=100% height=100%  creationComplete=initApp() 
  viewSourceURL=srcview/index.html 
  
  mx:HTTPService id=movieService
 url=http://192.168.25.200/PHP/katalog.php; 
  useProxy=false
   result=srv_results(event) fault=msFaultHandler(event);
 invoke=msInvokeHandler
  (event);/
  !-- HTTPSerivce for the tv-shows starts here --
  mx:HTTPService id=tvService
 url=http://192.168.25.200/PHP/tvshows.php; 
  useProxy=false result=tv_results(event)/
  mx:HTTPService id=epService
 url=http://192.168.25.200/PHP/tvepisodes.php; 
  useProxy=false result=ep_results(event)/
  !-- END --
  !--mx:Model id=ipService source=data/ip.xml/--
  mx:Style source=katalog2main.css/
  mx:Script
  ![CDATA[
  import mx.managers.CursorManager;
  import mx.collections.IViewCursor;
  import mx.rpc.events.ResultEvent;
  import mx.rpc.events.FaultEvent;
  import mx.rpc.events.InvokeEvent;
  import mx.collections.ArrayCollection;
  import mx.events.ItemClickEvent;
  import mx.controls.Alert; 
  import mx.events.CloseEvent;
  import flash.events.Event;
  
  private function initApp():void
  {
  movieService.send(); 
  tvService.send(); 
  epService.send();
  }
  
  private function msFaultHandler(event:FaultEvent):void
  {
  
  // There was an error in loading the XML
  Alert.show (event.fault.message);
  
  // Hide the busy cursor
  CursorManager.removeBusyCursor();
  }
  
  // Gets called when HTTPService is invoked to
  // request the XML.
  private function msInvokeHandler(event:InvokeEvent):void
  
  {
  // Display the busy cursor
  CursorManager.setBusyCursor();
  }
   
  public function srv_results(event:ResultEvent):void
  {
  movieCollection = event.result.helakatalog.katalog as
 ArrayCollection;
  movieCollection.filterFunction=movieFilter;
  //Hide the busy cursor
  CursorManager.removeBusyCursor();
  }
  
  public function tv_results(event:ResultEvent):void
  {
  tvCollection = event.result.helakatalog.katalog as 
  ArrayCollection;
  //tvCollection.filterFunction=tvshowsFilter;
  }
  
  public function ep_results(event:ResultEvent):void
  {
  epCollection = event.result.helakatalog.katalog as 
  ArrayCollection;
  //epCollection.filterFunction=episodeFilter;
  }
  
  [Bindable]
  private var movieCollection:ArrayCollection;
  
  [Bindable]
  private var tvCollection:ArrayCollection;
  
  [Bindable]
  private var epCollection:ArrayCollection;
  
  // Filter function 
  public function movieFilter(item:Object):Boolean
  {
  var result:Boolean=false;
  if (!item.title.length
  ||
 item.title.toUpperCase().indexOf(filterInput.text.toUpperCase()) = 0)
  if (!item.genres.length
  ||
 item.genres.toUpperCase().indexOf(genresInput.selectedItem.data.toUpperCase
  ()) = 0)
  

Re: [flexcoders] flex2 bugtracking

2006-10-31 Thread Robert W






Thanks, i read them, but... I'm searching for something similar to
http://bugs.sun.com/bugdatabase/index.jsp or
https://bugs.eclipse.org/bugs/ with searching, commenting etc.. Most of
posts on this list (and my dilemmas) is about not working intuitively
things. But searching mail archive is worse that using bugtracking
system. Adobe not planning something similar to eclipse/sun? 
Robert



Joan Lafferty wrote:


  
  
  
  
  There is a
list of bugs in the Flex 2
release notes. This isnt a list of every bug that we have logged
internally,
but, just a list of bugs that we felt needed to be documented because
people
may run into them:
  
  Flex SDK :
  http://www.adobe.com/support/documentation/en/flex/2/releasenotes_flex2_sdk.html
  
  Flex Builder:
  http://www.adobe.com/support/documentation/en/flex/2/releasenotes_flex2_fb.html#knownissues
  
  Joan
  
  
  
  
  From:
[EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com]
  On Behalf Of Robert W
  Sent: Tuesday, October
31, 2006
2:09 PM
  To: [EMAIL PROTECTED]ups.com
  Subject: [flexcoders]
flex2
bugtracking
  
  
  
  
  
  J'm looking in google for flex bug list but
not found
any. Is any 
official or not bug list for flex2? I found some issues and i am in the
  
balance: bugs or my incomplete knowledge.
  
-- 
Robert Was
  
  
  

  
  





__._,_.___





--
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] Isn´t there any release of Adobe Apollo yet? Alpha maybe....

2006-10-31 Thread Gordon Smith












 Integration
with devices connected directly to the client machine



What kind of devices do you have in mind?



- Gordon











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dustin Mercer
Sent: Tuesday, October 31, 2006
1:55 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Isn´t
there any release of Adobe Apollo yet? Alpha maybe













Everything! But mainly



1. Freedom from the browser restrictions, mainly file IO
capabilities. Its going to be awesome to handle files natively.

2. Finally getting out of the browser chrome! Much more control
over look and feel.

3. Integration with devices connected directly to the client
machine. We have a lot of that here, and I was dreading having to
integrate the flash player with some sort of com controls

4. Losing some of the memory overhead we incur from the browser!
This one gives us much more room to make larger applications.



So, basically, freedom, freedom, freedom!



Dustin Mercer











From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Gordon Smith
Sent: Tuesday, October 31, 2006 12:41
PM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] Isn´t
there any release of Adobe Apollo yet? Alpha maybe













Just wondering, since I'm working on it... what features of Apollo
are people most excited about?



- Gordon











From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com]
On Behalf Of Andrew D. Goodfellow
Sent: Tuesday, October 31, 2006
6:15 AM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] Isn´t
there any release of Adobe Apollo yet? Alpha maybe











Yep, I know
how you feel. The suspense is brutal. I could have already built and sold like
8 products built on it.

There are probably too many holes in it still, or at least that's what I keep
telling myself. :o)

-Andy



On 10/31/06, arianrechia
arianrechia@yahoo.com.br
wrote:









Hi people,
I´m very exciting about Adobe Apollo, and I´ve been looking for some
download to try the Apollo SDK, but with no success =(

anyone already have a apollo alpha realease??

thanxs


































__._,_.___





--
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] Isn´t there any release of Adobe Apollo yet? Alpha maybe....

2006-10-31 Thread Gordon Smith












 is there an Apollo wish list being maintained elsewhere that we
can view and post to also?



You can send email to [EMAIL PROTECTED]



- Gordon











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of greg h
Sent: Tuesday, October 31, 2006
1:46 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Isn´t
there any release of Adobe Apollo yet? Alpha maybe











Code Reuse.
User finds my web based application ... Uses it in a browser ... Likes it ...
Nice to have the option for them to just download and store a version on their
desktop. (One step up from getting bookmarked ;-)

Client Side Storage. I am
curious to see what type of client side storage options Apollo will
allow. For instance, for SharedObject storage will Apollo apps be
constrained by the same default Local Storage limit as Flash
apps? (I hope not! For Apollo I would prefer a default of
Unlimited for Local Storage.)

btw ... is there an Apollo wish list being maintained elsewhere that we can
view and post to also?

btw #2 ... Gordon, did you attend MAX?

Regardless, thank you for asking Gordon. I for one am hugely excited
about Apollo's potential. Your work will be fomenting a revolution in
software development in '07!

 Best regards,

 g





On 10/31/06, Gordon
Smith [EMAIL PROTECTED]com
wrote:





Just wondering, since I'm working on it... what features of
Apollo are people most excited about?



- Gordon














__._,_.___





--
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 shows empty rows?

2006-10-31 Thread mschumacher74
Hi,

I have a data grid that is tied to a dataProvider array that has only 
one row.  However, my dataGrid always draws 7-8 rows showing the items 
in one and leaving the rest empty.  What is the best way to compact 
the grid so that it does not show any empty rows?  I tried calling 
setRowCount but to no avail.  Is there a particular time in the 
construction of the component that I need to call it?  I will be 
adding rows dynamically to my grid and thus want to avoid the 
explicitRowCount property.

Also, the rows height is very big, how do I change the default?

thanks very much in advance.

Khurram




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



  1   2   >