[flexcoders] Re: HistoryManger state is undefined on loading

2005-07-12 Thread rockmoyosa
I'm beginning to get the idee that this part of Flex is pushed in 1.5
(Or what version it was introduced). No documentation is minimal so
are the supported functionality. 

I hope somebody can prove me wrong.

be continued??


--- In flexcoders@yahoogroups.com, rockmoyosa [EMAIL PROTECTED] wrote:
 --- In flexcoders@yahoogroups.com, rockmoyosa [EMAIL PROTECTED] wrote:
  This thing is really weird:
  
  first save state:
  
  DEBUG: - saveState 
  
   DUMP START  
   this:Object
  |view = false  (boolean)
  |detailId = 7bd21a76-b716-4501-a196-1acf4265d847  (string)
  
  
  And if I click on Back:
  
  DEBUG: - loadState 
  
   DUMP START  
   this:Object
  |detailId = 7bd21a76-b716-4501-a196-1acf4265d847  (string)
  |view = true  (string)
  
  What the @[EMAIL PROTECTED] view = true??? ... More documentation on the
  HistoryManager would be appreciated. Are perhaps more samples. 
  
  I found one but it to damn simple it doesn't say anything on how
  it's working only how to use it for simple things.
  
 

http://www.richinternet.de/blog/index.cfm?mode=entryentry=3CF01C8E-CFBB-A5CA-36BCC797581D2CFB
  
  
  
  --- In flexcoders@yahoogroups.com, jacksodj [EMAIL PROTECTED] wrote:
   I personnaly have seen really flakey behavior from that history 
   controller. I have posted before, but have not been able to see a 
   good resolution
   --- In flexcoders@yahoogroups.com, rockmoyosa [EMAIL PROTECTED] 
   wrote:
My case:

- saveState is executed 
- On Back loadState is executed.

But.
Than my state is undefined


private var changed:Boolean;

public function initHistory():Void {
mx.managers.HistoryManager.register(this);
storeInternalState();
}

public function saveState():Object {
// called by HistoryManager, tells the component
// to create a state object and to return it\
var state = new Object();
state.model = Model.getInstance();
state.view = this._scope.m_detailview;

mx.controls.Alert.show
   (+this._scope.m_detailview.visible);
Log.debug(hello+state);
return state;
}

public function loadState(state:Object):Void {
// called by HistoryManager, passes in a state
// object so the component can rebuild it's state
mx.controls.Alert.show(state: +state.view);
restoreInternalState(state);
}

public function savePresent():Void {
storeInternalState( );
}

public function storeInternalState():Void {
mx.managers.HistoryManager.save();
}

public function restoreInternalState(state:Object):Void {
Log.dump(state);
Log.debug
   (state.view.visible: +state.view.visible);

if(state.view.visible == true  
   this._scope.m_detailview.visible ==
false ||
state.view.visible == false 
   
this._scope.m_detailview.visible == true){
toggleView();
}
Model.getInstance().restoreInstance(state.model);
}




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

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

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

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




[flexcoders] Re: Flex + JSP + MySQL

2005-07-12 Thread Florian Pflueger
Title: [flexcoders] Re: Flex + JSP + MySQL











Thanks Dirk



I
guess this Tutorial will answer my questions.



Flo



-Ursprüngliche Nachricht-
Von: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] Im
Auftrag von Dirk Eismann
Gesendet: Montag, 11. Juli 2005
20:23
An: flexcoders@yahoogroups.com
Betreff: RE: [flexcoders] Re: Flex
+ JSP + MySQL







Hi Flo,











if you're passing back a String from
your Java class you'll have to parse this String inside your Flex application
by yourself - when using RemoteObject there's no automatic transformation of
XML data to dataproviders.











Instead, let your getEntries()
method return a java.util.ArrayList which is populated with Entry instances.
Flex will automatically convert the ArrayList to a dataProviderafter the
data arrived in the Flash player and you can directly bind the result to your
DataGrid. The objects inside this dataProvider will be of type Object but you
can also create a mapping between your Java Entry class and ActionScript
classes.











Make sure you read through the
RemoteObject documentation. Also check Christophe Coenraets Restaurantfinder
tutorial - this should give you a good start: http://www.coenraets.com/tutorials/restaurant/index.jsp











Dirk.





















Von:
flexcoders@yahoogroups.com im Auftrag von florianpflueger
Gesendet: Mo 11.07.2005 15:42
An: flexcoders@yahoogroups.com
Betreff: [flexcoders] Re: Flex +
JSP + MySQL





Thanks a lot Dirk.

Now i decided to work with the RemoteObject.which should be faster and
i haven't use jsp. Now i can connect to the DB and can save my Data in
it. I wrote a Java class for the DB access. With an get and a Set
Method. Problem Now: When i call the getMethod I retrieve a String and
don't get the Data in my DataProvider of the GridData.

### Script ##
var infoStr;

 
function getData(){
 infoStr =
remoteTagInfo.getEntries();
 return infoStr;
}


function resultHandler(result)
{
infoStr= result;
}

 ARRAY ##
mx:Array id=arr
{infoStr}
/mx:Array

 DATAGRID ##
mx:DataGrid id=empGrid 
mx:dataProvider
{arr}
/mx:dataProvider
/mx:DataGrid


NOTE the infoStr contains the correct data but the Entries didn't
appaer in the DataGrid

content of infoStr
:mx:Objectdatum10.7.2005/datumnameFlorian/name/mx:Object

I hope someone could help me soon

thx flo



--- In flexcoders@yahoogroups.com, Dirk Eismann
[EMAIL PROTECTED] wrote:
 Hi Flo,

 take a look at the HTTPService class. This way you can POST data to the
 jsp page just the way you would with a traditional HTML form. Basically,
 you need to populate a the rquest model of the HTTPService instance with
 the data and then send it to your jsp page by using
 myHttpService.send(), e.g.

 mx:HTTPService id=myHttpService
url="">
 mx:request
 name{name.text}/name
 /mx:request
 /mx:HTTPService

 mx:TextInput id=name /
 mx:Button label=Senden
click=myHttpService.send()/

 Instead of using a jsp page you could also send the data to a server
 side service/class which deals with the data (e.g. a POJO)

 Dirk.

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]
On
 Behalf Of florianpflueger
 Sent: Friday, July 08, 2005 4:19 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex + JSP + MySQL

 Hi

 I want to programm a guestbook in flex, which should store the entries
 in a database(MySQL). I wrote a JSP site with a flex script and can so
 show all the entries in the database. That's works fine.

 But now I have Problem to get the Data from the Flex Form in the
 JSP-Variables to store them in the Database.(look example at bottom)

 How can i solve this

 Has anybody a simple example how i can write the flex variable to the
 JSP variable.


 thx flo

  PROBLEM 

 mx:FormItem horizontalAlign=left label=Name
required=true
 direction=horizontal

mx:TextInput id=name width=200/ /mx:FormItem


 How can I store the value of name.text in the Database or in a JSP/Jave
 variable





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

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

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











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



  
  





  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL 

[flexcoders] Seattle Flex Developers

2005-07-12 Thread Keldon Rush
Hello Flexcoders,

I am looking for a couple of experienced server developers who know Flex
quite well.

I have a project starting up that is long term in Seattle.  This is a
contract position to start.

Please forward to anyone you think appropriate,
Keldon Rush



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

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

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

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




[flexcoders] Seattle Flex Developers

2005-07-12 Thread Keldon Rush
Hello Flexcoders,

I am looking for a couple of experienced server developers who know Flex
quite well.

I have a project starting up that is long term in Seattle.  This is a
contract position to start.

Please forward to anyone you think appropriate,
Keldon Rush



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

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

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

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




RE: [flexcoders] TabBar tabs magins ?

2005-07-12 Thread Philippe Maegerman





horizntalGap?

Philippe Maegerman


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of r0mainSent: 
mardi 12 juillet 2005 9:55To: 
flexcoders@yahoogroups.comSubject: [flexcoders] TabBar tabs magins 
?
Hello,I've got a TabBar that is filled with 14 tabs, and now 
that bar is toowide, but I can see on each tab about 40 pixels of inner 
margins... Isthere a way I can control those left and right margins inside 
my tabs? Or a way I can individually set each tab's size ?Thanks a 
lot, r0main--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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



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



  






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


RE: [flexcoders] TabBar tabs magins ?

2005-07-12 Thread Philippe Maegerman





btw, the Flex CSS Explorer developed my Macromedia 
Consulting is always a good place to start investigating Component styles 
:)
http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.html

Philippe Maegerman


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of r0mainSent: 
mardi 12 juillet 2005 9:55To: 
flexcoders@yahoogroups.comSubject: [flexcoders] TabBar tabs magins 
?
Hello,I've got a TabBar that is filled with 14 tabs, and now 
that bar is toowide, but I can see on each tab about 40 pixels of inner 
margins... Isthere a way I can control those left and right margins inside 
my tabs? Or a way I can individually set each tab's size ?Thanks a 
lot, r0main--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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



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



  






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


[flexcoders] Re: Column chart using webservice result

2005-07-12 Thread tony_lic
Matt Chotin:
  Ha. i tried with that  it works. I have one more problem. now 
i'm able to set the horizontal axis from the web service result. but
how can i set other details like Column series  values of each 
series. it would be a great help for me if you could help me.
with regards,
tony

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] 
wrote:
 Shouldn't you be able to replace the last two lines with
 colchartKPI.horizontalAxis = series?
 
  
 
 I haven't played with this much...
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of tony_lic
 Sent: Monday, July 11, 2005 4:24 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Column chart using webservice result
 
  
 
 hi,
 I have to build a column chart, where all the properties like 
 columnseries, categoryaxis  the y-axis  values all should come 
from 
 a web service.
 I dont know where to provide the data provider property. 
 
 I tried some coding but it does not appear to work. let me provide 
 with you the code snippet.
 please help me.
 
   for(var i=0;i  oRequest.AxisData.item[0].Set.item.length; i++)
   {
 tempValues.push
 (oRequest.AxisData.item[0].Set.item[i].Caption.toString());
 //Alert.show(oRequest.AxisData.item
 [0].Set.item[i].Caption.toString());
   }
   colchartKPI.dataProvider = 
 oRequest.AxisData.item[0].Set;
   var series:CategoryAxis = new CategoryAxis();
   series.dataProvider = tempValues;
 
   colchartKPI.horizontalAxis.CategoryAxis.dataProvider = 
 tempValues;
   colchartKPI.horizontalAxis.addItem(series);
 
 with regards,
 tony
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 
 
 YAHOO! GROUPS LINKS 
 
  
 
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
subject=Unsubscribe 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
  
 
 




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

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

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

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




[flexcoders] Re: TabBar tabs magins ?

2005-07-12 Thread Andrew Spaulding
Sorry, I noticed you meant TabBar .. I would still give tab-width and
tab-height a go though,

cheers,

Andrew Spaulding
www.flexdaddy.info


--- In flexcoders@yahoogroups.com, Andrew Spaulding [EMAIL PROTECTED] wrote:
 You can control the width and height of the tabs with the following
 styles:
 
 TabNavigator
 {
tab-width: 40; //default = 70
tab-height: 35; //default = 22
 }
 
 if you decrease the width you'll see a difference in the left and
 right margins in the tabs.
 
 For more information be sure to check out the FlexStyleExplorer from
 Macromedia Consulting
 http://weblogs.macromedia.com/mc/archives/2005/06/updated_flex_st.cfm
 
 Hope that helps,
 
 Andrew Spaulding
 www.flexdaddy.info
 
 
 
 --- In flexcoders@yahoogroups.com, r0main [EMAIL PROTECTED] wrote:
  Hello,
  I've got a TabBar that is filled with 14 tabs, and now that bar is too
  wide, but I can see on each tab about 40 pixels of inner margins... Is
  there a way I can control those left and right margins inside my tabs
  ? Or a way I can individually set each tab's size ?
  
  Thanks a lot, r0main




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

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

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

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




[flexcoders] Flash Player 8 Public Beta

2005-07-12 Thread Dirk Eismann
In case you haven't heard the news, the Flash Player 8 Public Beta is
available:

http://www.macromedia.com/software/flashplayer/public_beta/

I tested it with several Flex applications and already noticed about 30%
less memory consumption and less CPU cooking compared to Flash Player
7. Kudos to the Flash Player Team!

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/

* 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: Flash Player 8 Public Beta

2005-07-12 Thread bhaq1972
I've noticed a increase in speed of rendering (about 10-30%).

but still have issues with datagrids with many columns (very 
slowstill trying to find the problem!)

regards
bod


--- In flexcoders@yahoogroups.com, Dirk Eismann [EMAIL PROTECTED] 
wrote:
 In case you haven't heard the news, the Flash Player 8 Public Beta is
 available:
 
 http://www.macromedia.com/software/flashplayer/public_beta/
 
 I tested it with several Flex applications and already noticed about 
30%
 less memory consumption and less CPU cooking compared to Flash 
Player
 7. Kudos to the Flash Player Team!
 
 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/

* 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: TabBar tabs magins ?

2005-07-12 Thread Philippe Maegerman





Maybemanualy then:

mx:Script![CDATA[function 
updateTabs(){tb.getChildAt(0).width=50;tb.getChildAt(1).width=200;}]]/mx:Scriptmx:TabBar 
width="100%" id="tb" dataProvider="vw" horizontalGap="-5" textAlign="left" 
creationComplete="updateTabs()"/

Philippe Maegerman


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of r0mainSent: 
mardi 12 juillet 2005 13:50To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: TabBar tabs 
magins ?
Thanks, but this manage the way tabs are overlapping on each 
other[with negative hgap's], not the size of my 
tabs...r0main--- In flexcoders@yahoogroups.com, "Philippe 
Maegerman" [EMAIL PROTECTED] wrote: horizntalGap?  
Philippe Maegerman   
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On 
Behalf Of r0main Sent: mardi 12 juillet 2005 9:55 To: 
flexcoders@yahoogroups.com Subject: [flexcoders] TabBar tabs magins 
?   Hello, I've got a TabBar that is filled with 
14 tabs, and now that bar is too wide, but I can see on each tab about 
40 pixels of inner margins... Is there a way I can control those left 
and right margins inside my tabs ? Or a way I can individually set each 
tab's size ?  Thanks a lot, r0main   
  -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 YAHOO! GROUPS LINKS
  * Visit 
your group "flexcoders http://groups.yahoo.com/group/flexcoders 
" on the web.
* To unsubscribe from this group, send an email 
to:  
[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] 

* Your use of Yahoo! Groups is subject to the 
Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ 
.  
  
-- 
**STATEMENT OF CONFIDENTIALITY**   This e-mail and any attached 
files are confidential and intendedsolely for the use of the individual to 
whom it is addressed. If youhave received this email in error please send it 
back to the personthat sent it to you. Any views or opinions presented are 
solely thoseof author and do not necessarily represent those the Emakina 
Company.Unauthorized publication, use, dissemination, forwarding, printing 
orcopying of this email and its associated attachments is 
strictlyprohibited.  We also inform you that we have checked 
that this message does notcontain any virus but we decline any 
responsability in case of anydamage caused by an a non detected 
virus. 
Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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



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



  






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


Re: [flexcoders] Re: Flash Player 8 Public Beta

2005-07-12 Thread Sjors Pals
Nice but i can't find the release notes, can someone tell me or there is 
a document online?

Greets

Sjors

bhaq1972 wrote:

 I've noticed a increase in speed of rendering (about 10-30%).

 but still have issues with datagrids with many columns (very
 slowstill trying to find the problem!)

 regards
 bod


 --- In flexcoders@yahoogroups.com, Dirk Eismann [EMAIL PROTECTED]
 wrote:
  In case you haven't heard the news, the Flash Player 8 Public Beta is
  available:
 
  http://www.macromedia.com/software/flashplayer/public_beta/
 
  I tested it with several Flex applications and already noticed about
 30%
  less memory consumption and less CPU cooking compared to Flash
 Player
  7. Kudos to the Flash Player Team!
 
  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

 *  Visit your group flexcoders
   http://groups.yahoo.com/group/flexcoders on the web.

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

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


 




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

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

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

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




[flexcoders] Re: TabBar tabs magins ?

2005-07-12 Thread r0main
Thanks.. I think I'll do it this way !!!
Yet I was looking to kill the 32+5 pixels margin per tab that is
hard-coded in the TabBar class [saw it using debug], but it doesn't
work as expected.

Ciao, r0main

--- In flexcoders@yahoogroups.com, Philippe Maegerman [EMAIL PROTECTED] 
wrote:
 Maybe manualy then:
  
 mx:Script
 ![CDATA[
 function updateTabs(){
  tb.getChildAt(0).width=50;
  tb.getChildAt(1).width=200;
 }
 ]]
 /mx:Script
 mx:TabBar width=100% id=tb dataProvider=vw horizontalGap=-5
 textAlign=left creationComplete=updateTabs()/
 
  
 Philippe Maegerman
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of r0main
 Sent: mardi 12 juillet 2005 13:50
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: TabBar tabs magins ?
 
 
 Thanks, but this manage the way tabs are overlapping on each other
 [with negative hgap's], not the size of my tabs...
 
 r0main
 
 --- In flexcoders@yahoogroups.com, Philippe Maegerman [EMAIL PROTECTED]
 wrote:
  horizntalGap?
   
  Philippe Maegerman
  
  
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 On
  Behalf Of r0main
  Sent: mardi 12 juillet 2005 9:55
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] TabBar tabs magins ?
  
  
  Hello,
  I've got a TabBar that is filled with 14 tabs, and now that bar is too
  wide, but I can see on each tab about 40 pixels of inner margins... Is
  there a way I can control those left and right margins inside my tabs
  ? Or a way I can individually set each tab's size ?
  
  Thanks a lot, r0main
  
  
  
  
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  
  
  
  
  YAHOO! GROUPS LINKS 
  
  

  *  Visit your group flexcoders
  http://groups.yahoo.com/group/flexcoders  on the web.
  
  *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] 
  
  *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
  Service http://docs.yahoo.com/info/terms/ . 
  
  
  
  
  
  
  --
  **STATEMENT OF CONFIDENTIALITY** 
  
  This e-mail and any attached files are confidential and intended
 solely for the use of the individual to whom it is addressed. If you
 have received this email in error please send it back to the person
 that sent it to you. Any views or opinions presented are solely those
 of author and do not necessarily represent those the Emakina Company.
 Unauthorized publication, use, dissemination, forwarding, printing or
 copying of this email and its associated attachments is strictly
 prohibited.
  
  We also inform you that we have checked that this message does not
 contain any virus but we decline any responsability in case of any
 damage caused by an a non detected virus.
  --
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 
 YAHOO! GROUPS LINKS 
 
 
   
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
 
 




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

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

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

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




RE: [flexcoders] Re: application flow, logic question . . .

2005-07-12 Thread Alistair McLeod
Hi Jesse,

I notice you've started adding the time to your posts - I think Steven has
spoken to you about the peculiarity that you're posts always come through as
new poster so we have to always accept your posts - it wouldn't matter if
you weren't so prolific a poster ;)

And, unconnected, we're also looking for more moderators for flexcoders,
people that review the first post of all new posters and accept/reject (to
get rid of the spam). There's just me, Steven and Jimmy (from Optimal
Payments) just now, and we're trying to spread the load a bit more, and to
get more cover in all the time zones.

So, how about we combine the two - you become a moderator, and until Yahoo
fixes their problem, you can accept your posts immediately and accept other
posts as and when they come in?

Thoughts?

Cheers,

Ali


--
Alistair McLeod
Development Director
iteration::two
 
[EMAIL PROTECTED]
Office: +44 (0)131 338 6108
 
This e-mail and any associated attachments transmitted with it may contain
confidential information and must not be copied, or disclosed, or used by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: 11 July 2005 19:08
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: application flow, logic question . . .

Sent 2:07pm

I use Tomcat.

thanks again everyone, im really looking forward to a future with Flex!

Aren't we all!

- Original Message - 
From: chris.alvarado [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, July 11, 2005 12:01 PM
Subject: Re: [flexcoders] Re: application flow, logic question . . .


thanks everyone for the fantastic advice.

i must admit im absolutely in love with Flex already.

i think based on a gimped version of just one of the interfaces from
this app, the client is already pretty much sold on it.

im a bit confused about 1 point though. . .

server setup.

i understand that Flex sits on top of pretty much any J2EE server. I
know that JRun is the one mention Macromedia because Macromedia owns
it. however, i read this interesting post the other day from MXNA
talking about the fact that JRun hasnt had an update since like 2003
and that got me thinking we might be better off choosing a different
J2EE server. in that event which one do you all recommend?

in addition i know we will need CF installed on either that server or
another server for the remoting calls.

and then of course the DB server.

am i missing anything?

thanks again everyone, im really looking forward to a future with Flex!

On 7/9/05, Steven Webster [EMAIL PROTECTED] wrote:
  Chris,

  I'd also recommend that you do a search in the docs for creationPolicy
 and
  read about deferred instantiation.  Try and forget everything you know
 about
  splitting a flash movie up into separate movies and loading them on 
 demand,
  and relinquish that responsibility to Flex.  With clever use of
  creationPolicy, you can allow Flex to defer the loading of your 
 application
  with an appropriate policy.

  Don't get me wrong, you may find there's a need ultimately to start using
  Loader controls to create and destroy your own views; but I'd always
  recommend that you try and avoid this strategy until evident performance
  demands it.

  Welcome to Flex ... there's no going back,

  Steven

  --
  Steven Webster
  Technical Director
  iteration::two

  This e-mail and any associated attachments transmitted with it may 
 contain
  confidential information and must not be copied, or disclosed, or used by
  anyone other than the intended recipient(s). If you are not the intended
  recipient(s) please destroy this e-mail, and any copies of it, 
 immediately.

  Please also note that while software systems have been used to try to
 ensure
  that this e-mail has been swept for viruses, iteration::two do not accept
  responsibility for any damage or loss caused in respect of any viruses
  transmitted by the e-mail. Please ensure your own checks are carried out
  before any attachments are opened.

  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
  Behalf Of alex_harui
  Sent: 08 July 2005 19:57
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: application flow, logic question . . .

  Welcome to the world of Flex.  In Flex the loadMovie functionality is
  basically encapsulated within the mx:Loader component.

  You should be able to have a base MXML file with an mx:Loader in it and
 pass
  in other MXML files 

RE: [flexcoders] Re: application flow, logic question . . .

2005-07-12 Thread Alistair McLeod
Ok, slap me down and call me Gordon :)

blush /

Cheers,

Ali

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alistair McLeod
Sent: 12 July 2005 13:42
To: flexcoders@yahoogroups.com
Cc: Steven Webster
Subject: RE: [flexcoders] Re: application flow, logic question . . .

Hi Jesse,

I notice you've started adding the time to your posts - I think Steven has
spoken to you about the peculiarity that you're posts always come through as
new poster so we have to always accept your posts - it wouldn't matter if
you weren't so prolific a poster ;)

And, unconnected, we're also looking for more moderators for flexcoders,
people that review the first post of all new posters and accept/reject (to
get rid of the spam). There's just me, Steven and Jimmy (from Optimal
Payments) just now, and we're trying to spread the load a bit more, and to
get more cover in all the time zones.

So, how about we combine the two - you become a moderator, and until Yahoo
fixes their problem, you can accept your posts immediately and accept other
posts as and when they come in?

Thoughts?

Cheers,

Ali


--
Alistair McLeod
Development Director
iteration::two
 
[EMAIL PROTECTED]
Office: +44 (0)131 338 6108
 
This e-mail and any associated attachments transmitted with it may contain
confidential information and must not be copied, or disclosed, or used by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: 11 July 2005 19:08
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: application flow, logic question . . .

Sent 2:07pm

I use Tomcat.

thanks again everyone, im really looking forward to a future with Flex!

Aren't we all!

- Original Message - 
From: chris.alvarado [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, July 11, 2005 12:01 PM
Subject: Re: [flexcoders] Re: application flow, logic question . . .


thanks everyone for the fantastic advice.

i must admit im absolutely in love with Flex already.

i think based on a gimped version of just one of the interfaces from
this app, the client is already pretty much sold on it.

im a bit confused about 1 point though. . .

server setup.

i understand that Flex sits on top of pretty much any J2EE server. I
know that JRun is the one mention Macromedia because Macromedia owns
it. however, i read this interesting post the other day from MXNA
talking about the fact that JRun hasnt had an update since like 2003
and that got me thinking we might be better off choosing a different
J2EE server. in that event which one do you all recommend?

in addition i know we will need CF installed on either that server or
another server for the remoting calls.

and then of course the DB server.

am i missing anything?

thanks again everyone, im really looking forward to a future with Flex!

On 7/9/05, Steven Webster [EMAIL PROTECTED] wrote:
  Chris,

  I'd also recommend that you do a search in the docs for creationPolicy
 and
  read about deferred instantiation.  Try and forget everything you know
 about
  splitting a flash movie up into separate movies and loading them on 
 demand,
  and relinquish that responsibility to Flex.  With clever use of
  creationPolicy, you can allow Flex to defer the loading of your 
 application
  with an appropriate policy.

  Don't get me wrong, you may find there's a need ultimately to start using
  Loader controls to create and destroy your own views; but I'd always
  recommend that you try and avoid this strategy until evident performance
  demands it.

  Welcome to Flex ... there's no going back,

  Steven

  --
  Steven Webster
  Technical Director
  iteration::two

  This e-mail and any associated attachments transmitted with it may 
 contain
  confidential information and must not be copied, or disclosed, or used by
  anyone other than the intended recipient(s). If you are not the intended
  recipient(s) please destroy this e-mail, and any copies of it, 
 immediately.

  Please also note that while software systems have been used to try to
 ensure
  that this e-mail has been swept for viruses, iteration::two do not accept
  responsibility for any damage or loss caused in respect of any viruses
  transmitted by the e-mail. Please ensure your own checks are carried out
  before any attachments are opened.

  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
  Behalf Of alex_harui
  Sent: 08 July 2005 19:57
  To: 

[flexcoders] Saru mo ki kara ochiru

2005-07-12 Thread Steven Webster
 
Even Monkeys Fall out of Trees

| Alistair McLeod accidentally posted to the whole list:
|
| I notice you've started adding the time to your posts - I think Steven has
spoken to you about the | peculiarity that you're posts always come through
as new poster so we have to always accept your | posts - it wouldn't
matter if you weren't so prolific a poster ;)

To try and save Ali from the embarassment of sending private emails to a
mailing list, I'll hijaack the thread so that no-one notices.  Apart from my
subject line.  And this email.

We've configured Yahoo! so that moderators have to approve (in theory) only
the first post that people make to the list; a first-line of defence against
spam.  Since doing that, we've been spared the random recruitment agency
spams we were suffering from time to time.

However, for some bizarre reason, a handful of you (Jesse included) seem to
require that every one of your posts is moderated - it's as if Yahoo!
doesn't recognise that you've posted before, and have been approved by us
already.

If you are one of that small handful, our apologies while we try to sort
this out with Yahoo! and we're arranging as best we can to ensure that your
posts are approved as quickly as possible.  It may just mean that you
experience a short delay between sending your post and it hitting the list,
but typically one of the moderators is online, and it'll be aproved
immediately.

If you have any suggestions as to what might be causing the problem, please
drop Ali or I a note off list (but carefully check the to: line and don't
email the whole of flexcoders).

Best,

Steven



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

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

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

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




[flexcoders] Dataprovider API documentation bug !

2005-07-12 Thread r0main
Is it me or the Flex ActionScript and MXML API Reference
Dataprovider API doc is not correct:

addItem( label, data) :  Void
[...]
Returns
 The added item. 


r0main




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

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

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

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




Re: [flexcoders] Flash Player 8 Public Beta

2005-07-12 Thread JesterXL
If you other Flexerz could test your apps, this would really help 
Macromedia, thanks!

- Original Message - 
From: Dirk Eismann [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, July 12, 2005 5:34 AM
Subject: [flexcoders] Flash Player 8 Public Beta


In case you haven't heard the news, the Flash Player 8 Public Beta is
available:

http://www.macromedia.com/software/flashplayer/public_beta/

I tested it with several Flex applications and already noticed about 30%
less memory consumption and less CPU cooking compared to Flash Player
7. Kudos to the Flash Player Team!

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








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

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

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

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




Re: [flexcoders] Dataprovider API documentation bug !

2005-07-12 Thread Scott Barnes
heh,

probably (live docs help in this regard) 



On 7/12/05, r0main [EMAIL PROTECTED] wrote:
 Is it me or the Flex ActionScript and MXML API Reference
 Dataprovider API doc is not correct:
 
 addItem( label, data) :  Void
 [...]
 Returns
  The added item.
 
 
 r0main
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 
 
 
 
 


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


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

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

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

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




Re: [flexcoders] Flash Player 8 Public Beta

2005-07-12 Thread Sjors Pals
I was wondering or there is some kind of test page where we can actually 
see the new features of the flashplayer (especially stuff like upload).

Greets

Sjors

JesterXL wrote:

 If you other Flexerz could test your apps, this would really help
 Macromedia, thanks!

 - Original Message -
 From: Dirk Eismann [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, July 12, 2005 5:34 AM
 Subject: [flexcoders] Flash Player 8 Public Beta


 In case you haven't heard the news, the Flash Player 8 Public Beta is
 available:

 http://www.macromedia.com/software/flashplayer/public_beta/

 I tested it with several Flex applications and already noticed about 30%
 less memory consumption and less CPU cooking compared to Flash Player
 7. Kudos to the Flash Player Team!

 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








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


 
 YAHOO! GROUPS LINKS

 *  Visit your group flexcoders
   http://groups.yahoo.com/group/flexcoders on the web.

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

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


 




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

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

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

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




[flexcoders] remote obejct and dynamic model source

2005-07-12 Thread Nithya R



i have an application that uses a remote object to fetch data from xml... 

i have 2 links each for a language... on click of say 'FR' ( for french) it should fetch the corrresponding xml which has the french data

pls help me with this...

thanks,
nithyaSend 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
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   






  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] DataGrid auto Sort

2005-07-12 Thread Devis
Sorry for my stupid question

i have a simple dataGrid i wish when my application  start, that the 
DataGrid are sorted with column number 3?
It's possibile please
Devis








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

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

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

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




Re: [flexcoders] Flash Player 8 Public Beta

2005-07-12 Thread Darron J. Schall
Sjors Pals wrote:

I was wondering or there is some kind of test page where we can actually 
see the new features of the flashplayer (especially stuff like upload).
  

The public (developer) betas have always been to ensure backwards 
compatibility.  The biggest help you can give MM right now is make sure 
that all of your existing content still works in the newest player. 

If you're interested in helping to test new features, you can try 
signing up for the beta program... Rest assured that if MM announced 
that the new player is going to do X, then X will be available once the 
official release happens.  For now, patience is key, though I share the 
same enthusiasm as you do.  :-)

-d




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

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

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

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




RE: [flexcoders] DataGrid auto Sort

2005-07-12 Thread Nick Watson
Title: RE: [flexcoders] DataGrid auto Sort








Here you go, this also includes the direction arrow as well

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

 mx:Script

 ![CDATA[

  function showArrow(){

   myGrid.sortItemsBy(value,asc);

 myGrid.sortIndex = 1;

 myGrid.sortDirection = ASC;

 myGrid.placeSortArrow();

 }

 ]]

 /mx:Script

 mx:Panel title=DataGrid Panel marginTop=10

 mx:VBox initialize=showArrow()

 mx:DataGrid id=myGrid showDataTips=true width=350 height=150

 mx:dataProvider

 mx:Array id=arr

 mx:Object name= a Value=Test_1 /

 mx:Object name= b Value=Test_2 /

  mx:Object name= a Value=Test_3 /

  mx:Object name= a Value=Test_4 /

  mx:Object name= b Value=Test_5 /

 /mx:Array

 /mx:dataProvider

 /mx:DataGrid

 /mx:VBox

 /mx:Panel

/mx:Application


Regards

Nick



From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Devis
Sent: 12 July 2005 14:51
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid auto Sort

Sorry for my stupid question

i have a simple dataGrid i wish when my application start, that the
DataGrid are sorted with column number 3?
It's possibile please
Devis








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



SPONSORED LINKS 

Computer software testing  Macromedia flex  Development 
Software developer   


YAHOO! GROUPS LINKS 

 Visit your group flexcoders on the web.
 

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

 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 






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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] DataGrid auto Sort

2005-07-12 Thread Devis
Very good, your code work fine.
Regards

Devis

Nick Watson ha scritto:

 Here you go, this also includes the direction arrow as well

 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; 
 backgroundColor=#FF

 mx:Script

 ![CDATA[

 function showArrow(){

 myGrid.sortItemsBy(value,asc);

 myGrid.sortIndex = 1;

 myGrid.sortDirection = ASC;

 myGrid.placeSortArrow();

  }

 ]]

 /mx:Script

 mx:Panel title=DataGrid Panel marginTop=10

 mx:VBox initialize=showArrow()

 mx:DataGrid id=myGrid showDataTips=true width=350 
 height=150

 mx:dataProvider

 mx:Array id=arr

 mx:Object name= a Value=Test_1 /

 mx:Object name= b Value=Test_2 /

 mx:Object name= a 
 Value=Test_3 /

 mx:Object name= a 
 Value=Test_4 /

 mx:Object name= b 
 Value=Test_5 /

 /mx:Array

 /mx:dataProvider

 /mx:DataGrid

 /mx:VBox

 /mx:Panel

 /mx:Application


 Regards

 Nick

 *From:* flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of* Devis
 *Sent:* 12 July 2005 14:51
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] DataGrid auto Sort

 Sorry for my stupid question

 i have a simple dataGrid i wish when my application  start, that the
 DataGrid are sorted with column number 3?
 It's possibile please
 Devis








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

 SPONSORED LINKS

 _Computer software testing_ 
 http://groups.yahoo.com/gads?t=msk=Computer+software+testingw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=kh2CguJwmatU5oBXjFo9Rg
  
   _Macromedia flex_ 
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=dAUcEV7do91-wrRtVS641g
  
 _Development_ 
 http://groups.yahoo.com/gads?t=msk=Developmentw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=AlxNUQBOI7Io7S7nhmxV0Q
  

 _Software developer_ 
 http://groups.yahoo.com/gads?t=msk=Software+developerw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=QWIit8JayomoIHLVkV3FDg
  
 

 YAHOO! GROUPS LINKS

 §Visit your group _flexcoders_ 
 http://groups.yahoo.com/group/flexcoders on the web.
  
 §To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED]
  
 §Your use of Yahoo! Groups is subject to the _Yahoo! Terms of 
 Service_ http://docs.yahoo.com/info/terms/.




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


 
 YAHOO! GROUPS LINKS

 *  Visit your group flexcoders
   http://groups.yahoo.com/group/flexcoders on the web.

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

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


 




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

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

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

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





[flexcoders] display nested xml in a datagrid

2005-07-12 Thread flexcoder1
Hi. Can someone help with this question?  It is driving me crazy!
(the entire example is at the bottom of this post)

There is more to this problem but I have tried to simplify it to the 
basic question below:

Say I have the following xml:

?xml version=1.0 encoding=UTF-8?
Items
Item Id=1 Title=Title1
Status Id=1 Name=Active /
/Item
Item Id=2 Title=Title2
Status Id=2 Name=Inactive /
/Item
/Items


How can I display the current status name of each item in a data 
grid?
I have tried:

mx:DataGrid id=gridStory dataProvider={mx.utils.ArrayUtil.toArray
( GetItems.result.Items.Item)} width=100% height=100% 

mx:columns
mx:Array
mx:DataGridColumn columnName=Id /
mx:DataGridColumn columnName=Title /
mx:DataGridColumn columnName=Status / shows object 
Object - I want the item's Status.Name to appear
mx:DataGridColumn columnName=Status.Name /  THIS 
DOES NOT WORK 
/mx:Array
/mx:columns
/mx:DataGrid

How can I show the status?  If I just use 
mx:DataGridColumn columnName=Status /

the grid displays (as expected) object Object.  Also, for this 
particular xml file it is not an option to just collapse the Status 
subtags into the Item tag and have something like:

Item Id=2 Title=Title2 StatusId=2 StatusName=Inactive /  
*** For reasons outside scope of question I cannot do this ***
I know the above works correctly.


Thanks for any help with this. Below is the entire example:

test.mxml
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:Model id=modItems source=simple.xml
/mx:Model
mx:DataGrid id=gridStory dataProvider={modItems.Item} 
width=100% height=100% 
mx:columns
mx:Array
mx:DataGridColumn columnName=Id /
mx:DataGridColumn columnName=Title /
mx:DataGridColumn columnName=Status /
mx:DataGridColumn columnName=Status.Name /
/mx:Array
/mx:columns
/mx:DataGrid
/mx:Application

simple.xml
?xml version=1.0 encoding=utf-8?
Items
Item Id=1 Title=Title1
Status Id=1 Name=Active /
/Item
Item Id=2 Title=Title2
Status Id=2 Name=Inactive /
/Item
/Items


Thanks for any help.





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

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

* 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] Filesize generated swf's

2005-07-12 Thread Joost Nuijten
Hi,
 
We are working on a Flex-based website. We've discovered that the generated
SWF's are at least 400Kb. This is too large. According to usability rules a
webpage should exceed 150Kb per page.
 
We created an empty mxml-template (containing only a mx:application-tag) and
the filesize was still 263Kb. Does anybody have an idea how to reduce the
filesize?
 
One thing that will help is to remove all the @embed-codes and load images
at runtime. But that's not enough to get the filesize down to 150Kb.

Regards,
Joost Nuijten





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

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

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

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




RE: [flexcoders] Dataprovider API documentation bug !

2005-07-12 Thread Stephen Gilson
Are you looking at this link for the DataProvider class:

http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/listclasses
/DataProvider.html

 
it shows the description of addItem() as:

addItem
addItem( value) :  Void

Adds an item to the end of the array. Dispatches a modelChanged event
with eventName set to addItems.

Parameters
value - Item to add. This is a relaxed type for strings and objects.



What you have included is the ScrollSelectList.addItem() method found
at:

http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/listclasses
/ScrollSelectList.html


Stephen 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of r0main
Sent: Tuesday, July 12, 2005 9:03 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Dataprovider API documentation bug !

Is it me or the Flex ActionScript and MXML API Reference
Dataprovider API doc is not correct:

addItem( label, data) :  Void
[...]
Returns
 The added item. 


r0main




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

* 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] Filesize generated swf's

2005-07-12 Thread Sjors Pals
Keep in mind that a lot of usability tests where written in a time that 
everybody used a 56k modem.
Nowadays people take 500k in less then 4 seconds from the web. Maybe its 
time to reconsider this 150kb limit.

Greets

Sjors


Joost Nuijten wrote:

 Hi,

 We are working on a Flex-based website. We've discovered that the 
 generated
 SWF's are at least 400Kb. This is too large. According to usability 
 rules a
 webpage should exceed 150Kb per page.

 We created an empty mxml-template (containing only a 
 mx:application-tag) and
 the filesize was still 263Kb. Does anybody have an idea how to reduce the
 filesize?

 One thing that will help is to remove all the @embed-codes and load images
 at runtime. But that's not enough to get the filesize down to 150Kb.

 Regards,
 Joost Nuijten





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


 
 YAHOO! GROUPS LINKS

 *  Visit your group flexcoders
   http://groups.yahoo.com/group/flexcoders on the web.

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

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


 




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

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

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

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




Re: [flexcoders] Filesize generated swf's

2005-07-12 Thread Darron J. Schall
Joost Nuijten wrote:

 We created an empty mxml-template (containing only a mx:application-tag) and
the filesize was still 263Kb. Does anybody have an idea how to reduce the
filesize?

If you're site is comprised of multiple .swf files, consider using 
Shared Libraries.  There's an article explaining the usage and 
implications here: http://www.macromedia.com/devnet/flex/articles/rsl.html

Essentially, a Shared Library allows you to factor out common 
code/assets (images) in multiple .swf files.  The download size of the 
RSL will be large (usually 100K+ if you include any of the framework), 
but the positive is that the download will only need to occur one time. 

I have a Flex application that loads pieces of the application as needed 
on demand.  Right now the separate pieces are a 15-50K download each, 
which makes loading a piece of the app pretty fast.  The core of the app 
is split into multiple shared libraries that get loaded initially - so 
there's a big initial download hit to get the SL loaded and cached, but 
as the app runs the loading times are much faster as a result.

It's all about perceived performance  :-)  Also, I'm not sure how much 
the website usability rules apply to RIAs.  You'll find that 
application download size and website download size are two different 
things...  in my experience people will wait longer for an App that they 
want to use than for a website they're just browsing.

-d




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

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

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

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




RE: [flexcoders] DataGrid auto Sort

2005-07-12 Thread Philippe Maegerman





You could sort on multiple columns as well with 
DataGrid.sortItems():
http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/listclasses/DataProvider.html#sortItems

There's an exemple herefor flash RecordSets but the 
logic is the same:
http://livedocs.macromedia.com/flashremoting/mx/Using_Flash_Remoting_MX/asDict43.htm


Philippe Maegerman


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of DevisSent: 
mardi 12 juillet 2005 16:27To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] DataGrid auto 
Sort
Very good, your code work 
fine.RegardsDevisNick Watson ha scritto: Here 
you go, this also includes the direction arrow as well 
mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" 
 backgroundColor="#FF" 
mx:Script 
![CDATA[ 
function 
showArrow(){ 
myGrid.sortItemsBy("value","asc"); 
myGrid.sortIndex = 
1; 
myGrid.sortDirection = 
"ASC"; 
myGrid.placeSortArrow(); 
} 
]] 
/mx:Script mx:Panel 
title="DataGrid Panel" 
marginTop="10" 
mx:VBox 
initialize="showArrow()" 
mx:DataGrid id="myGrid" showDataTips="true" width="350"  
height="150" 
mx:dataProvider 
mx:Array 
id="arr" 
mx:Object name=" a" Value="Test_1" 
/ 
mx:Object name=" b" Value="Test_2" 
/ 
mx:Object name=" a"  Value="Test_3" 
/ 
mx:Object name=" a"  Value="Test_4" 
/ 
mx:Object name=" b"  Value="Test_5" 
/ 
/mx:Array 
/mx:dataProvider 
/mx:DataGrid 
/mx:VBox 
/mx:Panel 
/mx:Application Regards 
Nick *From:* flexcoders@yahoogroups.com  
[mailto:[EMAIL PROTECTED] On Behalf Of* Devis *Sent:* 12 July 
2005 14:51 *To:* flexcoders@yahoogroups.com *Subject:* 
[flexcoders] DataGrid auto Sort Sorry for my stupid 
question i have a simple dataGrid i wish when my 
application start, that the DataGrid are sorted with column number 
3? It's possibile please 
Devis 
-- Flexcoders Mailing List FAQ: _http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt_ 
Search Archives:  _http://www.mail-archive.com/flexcoders%40yahoogroups.com_ 
SPONSORED LINKS _Computer software testing_  http://groups.yahoo.com/gads?t=msk=Computer+software+testingw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=kh2CguJwmatU5oBXjFo9Rg 
 _Macromedia flex_  http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=dAUcEV7do91-wrRtVS641g 
 _Development_  
http://groups.yahoo.com/gads?t=msk=Developmentw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=AlxNUQBOI7Io7S7nhmxV0Q 
  _Software developer_  http://groups.yahoo.com/gads?t=msk=Software+developerw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=QWIit8JayomoIHLVkV3FDg 
 
 YAHOO! GROUPS LINKS 
§ Visit your group "_flexcoders_ 
 http://groups.yahoo.com/group/flexcoders" 
on the web.  § 
To unsubscribe from this group, send an email to: 
[EMAIL PROTECTED]  
mailto:[EMAIL PROTECTED] 
 § Your use of Yahoo! Groups 
is subject to the _Yahoo! Terms of  Service_ http://docs.yahoo.com/info/terms/. 
-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
YAHOO! GROUPS LINKS * Visit your 
group "flexcoders http://groups.yahoo.com/group/flexcoders" 
on the web. 
 * To unsubscribe from this group, send an 
email to: 
[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] 
 * Your use of Yahoo! Groups is subject to 
the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. 
--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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



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



  






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

Re: [flexcoders] Re: application flow, logic question . . .

2005-07-12 Thread chris.alvarado
im game for that . . . i read the lists all day while im working and i
would love to help out however i can.



On 7/12/05, Alistair McLeod [EMAIL PROTECTED] wrote:
  Hi Jesse,
  
  I notice you've started adding the time to your posts - I think Steven has
  spoken to you about the peculiarity that you're posts always come through
 as
  new poster so we have to always accept your posts - it wouldn't matter if
  you weren't so prolific a poster ;)
  
  And, unconnected, we're also looking for more moderators for flexcoders,
  people that review the first post of all new posters and accept/reject (to
  get rid of the spam). There's just me, Steven and Jimmy (from Optimal
  Payments) just now, and we're trying to spread the load a bit more, and to
  get more cover in all the time zones.
  
  So, how about we combine the two - you become a moderator, and until Yahoo
  fixes their problem, you can accept your posts immediately and accept other
  posts as and when they come in?
  
  Thoughts?
  
  Cheers,
  
  Ali
  
  
  --
  Alistair McLeod
  Development Director
  iteration::two
  
  [EMAIL PROTECTED]
  Office: +44 (0)131 338 6108
  
  This e-mail and any associated attachments transmitted with it may contain
  confidential information and must not be copied, or disclosed, or used by
  anyone other than the intended recipient(s). If you are not the intended
  recipient(s) please destroy this e-mail, and any copies of it, immediately.
  
  Please also note that while software systems have been used to try to
 ensure
  that this e-mail has been swept for viruses, iteration::two do not accept
  responsibility for any damage or loss caused in respect of any viruses
  transmitted by the e-mail. Please ensure your own checks are carried out
  before any attachments are opened.
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
  Behalf Of JesterXL
  Sent: 11 July 2005 19:08
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Re: application flow, logic question . . .
  
  Sent 2:07pm
  
  I use Tomcat.
  
  thanks again everyone, im really looking forward to a future with Flex!
  
  Aren't we all!
  
  - Original Message - 
  From: chris.alvarado [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Monday, July 11, 2005 12:01 PM
  Subject: Re: [flexcoders] Re: application flow, logic question . . .
  
  
  thanks everyone for the fantastic advice.
  
  i must admit im absolutely in love with Flex already.
  
  i think based on a gimped version of just one of the interfaces from
  this app, the client is already pretty much sold on it.
  
  im a bit confused about 1 point though. . .
  
  server setup.
  
  i understand that Flex sits on top of pretty much any J2EE server. I
  know that JRun is the one mention Macromedia because Macromedia owns
  it. however, i read this interesting post the other day from MXNA
  talking about the fact that JRun hasnt had an update since like 2003
  and that got me thinking we might be better off choosing a different
  J2EE server. in that event which one do you all recommend?
  
  in addition i know we will need CF installed on either that server or
  another server for the remoting calls.
  
  and then of course the DB server.
  
  am i missing anything?
  
  thanks again everyone, im really looking forward to a future with Flex!
  
  On 7/9/05, Steven Webster [EMAIL PROTECTED] wrote:
Chris,
  
I'd also recommend that you do a search in the docs for creationPolicy
   and
read about deferred instantiation.  Try and forget everything you know
   about
splitting a flash movie up into separate movies and loading them on 
   demand,
and relinquish that responsibility to Flex.  With clever use of
creationPolicy, you can allow Flex to defer the loading of your 
   application
with an appropriate policy.
  
Don't get me wrong, you may find there's a need ultimately to start
 using
Loader controls to create and destroy your own views; but I'd always
recommend that you try and avoid this strategy until evident performance
demands it.
  
Welcome to Flex ... there's no going back,
  
Steven
  
--
Steven Webster
Technical Director
iteration::two
  
This e-mail and any associated attachments transmitted with it may 
   contain
confidential information and must not be copied, or disclosed, or used
 by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it, 
   immediately.
  
Please also note that while software systems have been used to try to
   ensure
that this e-mail has been swept for viruses, iteration::two do not
 accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.
  
-Original Message-
From: 

RE: [flexcoders] display nested xml in a datagrid

2005-07-12 Thread Robert Brueckmann
I use the XMLObjectOutput class (which you can find in the C:\Program
Files\Macromedia\Flex\extras\XMLObjectOutput directory (I just put it in
my user_classes directory in my own package) and I convert the XML from
the server into an object...by using this utility you can then use
dot-synatx to reference elements in your XML...

So, you can then do something like:

var xmlObjOut:XMLObjectOutput = new XMLObjectOutput(false);
var xml2Obj:Object = xmlObjOut.XMLToObject(yourXMLFromServer);

var items:Array = xml2Obj.Items;

// you now have an array of all items, so loop through all your Items
elements to get the child Item elements and add their status to the
datagrid

for (var i = 0; i  items.length; i++) {
var row:Object = new Object();
row[id] = items[i].attributes.Id;
row[Title] = items[i].attributes.Title;
row[Status] = items[i].Status.attributes.Name;

gridStory.addItem(row);
}

And if you have your dataGrid described below with all the columns you
have set up below (minus the last one), this should work for you.  Maybe
call the code above in a method upon creationComplete of datagrid or
most likely, on result of the service that returns the XML you're trying
to use to populate your datagrid.

Hope that helps.

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flexcoder1
Sent: Tuesday, July 12, 2005 10:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] display nested xml in a datagrid

Hi. Can someone help with this question?  It is driving me crazy!
(the entire example is at the bottom of this post)

There is more to this problem but I have tried to simplify it to the 
basic question below:

Say I have the following xml:

?xml version=1.0 encoding=UTF-8?
Items
Item Id=1 Title=Title1
Status Id=1 Name=Active /
/Item
Item Id=2 Title=Title2
Status Id=2 Name=Inactive /
/Item
/Items


How can I display the current status name of each item in a data 
grid?
I have tried:

mx:DataGrid id=gridStory dataProvider={mx.utils.ArrayUtil.toArray
( GetItems.result.Items.Item)} width=100% height=100% 

mx:columns
mx:Array
mx:DataGridColumn columnName=Id /
mx:DataGridColumn columnName=Title /
mx:DataGridColumn columnName=Status / shows object 
Object - I want the item's Status.Name to appear
mx:DataGridColumn columnName=Status.Name /  THIS 
DOES NOT WORK 
/mx:Array
/mx:columns
/mx:DataGrid

How can I show the status?  If I just use 
mx:DataGridColumn columnName=Status /

the grid displays (as expected) object Object.  Also, for this 
particular xml file it is not an option to just collapse the Status 
subtags into the Item tag and have something like:

Item Id=2 Title=Title2 StatusId=2 StatusName=Inactive /  
*** For reasons outside scope of question I cannot do this ***
I know the above works correctly.


Thanks for any help with this. Below is the entire example:

test.mxml
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:Model id=modItems source=simple.xml
/mx:Model
mx:DataGrid id=gridStory dataProvider={modItems.Item} 
width=100% height=100% 
mx:columns
mx:Array
mx:DataGridColumn columnName=Id /
mx:DataGridColumn columnName=Title /
mx:DataGridColumn columnName=Status /
mx:DataGridColumn columnName=Status.Name /
/mx:Array
/mx:columns
/mx:DataGrid
/mx:Application

simple.xml
?xml version=1.0 encoding=utf-8?
Items
Item Id=1 Title=Title1
Status Id=1 Name=Active /
/Item
Item Id=2 Title=Title2
Status Id=2 Name=Inactive /
/Item
/Items


Thanks for any help.





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



 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


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

Re: [flexcoders] Re: application flow, logic question . . .

2005-07-12 Thread chris.alvarado
oops, i misread who the reply was to Alistair lol.

at any rate thanks for all of the great info everyone.

cant wait to get this app underway on a full blown dev server.

On 7/12/05, chris.alvarado [EMAIL PROTECTED] wrote:
 im game for that . . . i read the lists all day while im working and i
 would love to help out however i can.
 
 
 
 On 7/12/05, Alistair McLeod [EMAIL PROTECTED] wrote:
   Hi Jesse,
 
   I notice you've started adding the time to your posts - I think Steven has
   spoken to you about the peculiarity that you're posts always come through
  as
   new poster so we have to always accept your posts - it wouldn't matter if
   you weren't so prolific a poster ;)
 
   And, unconnected, we're also looking for more moderators for flexcoders,
   people that review the first post of all new posters and accept/reject (to
   get rid of the spam). There's just me, Steven and Jimmy (from Optimal
   Payments) just now, and we're trying to spread the load a bit more, and to
   get more cover in all the time zones.
 
   So, how about we combine the two - you become a moderator, and until Yahoo
   fixes their problem, you can accept your posts immediately and accept other
   posts as and when they come in?
 
   Thoughts?
 
   Cheers,
 
   Ali
 
 
   --
   Alistair McLeod
   Development Director
   iteration::two
 
   [EMAIL PROTECTED]
   Office: +44 (0)131 338 6108
 
   This e-mail and any associated attachments transmitted with it may contain
   confidential information and must not be copied, or disclosed, or used by
   anyone other than the intended recipient(s). If you are not the intended
   recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
   Please also note that while software systems have been used to try to
  ensure
   that this e-mail has been swept for viruses, iteration::two do not accept
   responsibility for any damage or loss caused in respect of any viruses
   transmitted by the e-mail. Please ensure your own checks are carried out
   before any attachments are opened.
   -Original Message-
   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
   Behalf Of JesterXL
   Sent: 11 July 2005 19:08
   To: flexcoders@yahoogroups.com
   Subject: Re: [flexcoders] Re: application flow, logic question . . .
 
   Sent 2:07pm
 
   I use Tomcat.
 
   thanks again everyone, im really looking forward to a future with Flex!
 
   Aren't we all!
 
   - Original Message -
   From: chris.alvarado [EMAIL PROTECTED]
   To: flexcoders@yahoogroups.com
   Sent: Monday, July 11, 2005 12:01 PM
   Subject: Re: [flexcoders] Re: application flow, logic question . . .
 
 
   thanks everyone for the fantastic advice.
 
   i must admit im absolutely in love with Flex already.
 
   i think based on a gimped version of just one of the interfaces from
   this app, the client is already pretty much sold on it.
 
   im a bit confused about 1 point though. . .
 
   server setup.
 
   i understand that Flex sits on top of pretty much any J2EE server. I
   know that JRun is the one mention Macromedia because Macromedia owns
   it. however, i read this interesting post the other day from MXNA
   talking about the fact that JRun hasnt had an update since like 2003
   and that got me thinking we might be better off choosing a different
   J2EE server. in that event which one do you all recommend?
 
   in addition i know we will need CF installed on either that server or
   another server for the remoting calls.
 
   and then of course the DB server.
 
   am i missing anything?
 
   thanks again everyone, im really looking forward to a future with Flex!
 
   On 7/9/05, Steven Webster [EMAIL PROTECTED] wrote:
 Chris,
   
 I'd also recommend that you do a search in the docs for creationPolicy
and
 read about deferred instantiation.  Try and forget everything you know
about
 splitting a flash movie up into separate movies and loading them on
demand,
 and relinquish that responsibility to Flex.  With clever use of
 creationPolicy, you can allow Flex to defer the loading of your
application
 with an appropriate policy.
   
 Don't get me wrong, you may find there's a need ultimately to start
  using
 Loader controls to create and destroy your own views; but I'd always
 recommend that you try and avoid this strategy until evident performance
 demands it.
   
 Welcome to Flex ... there's no going back,
   
 Steven
   
 --
 Steven Webster
 Technical Director
 iteration::two
   
 This e-mail and any associated attachments transmitted with it may
contain
 confidential information and must not be copied, or disclosed, or used
  by
 anyone other than the intended recipient(s). If you are not the intended
 recipient(s) please destroy this e-mail, and any copies of it,
immediately.
   
 Please also note that while software systems have been used to try to
ensure
 that this 

[flexcoders] line width in line chart

2005-07-12 Thread Robert Brueckmann
Is there a simple way to specify how thick I want the line to be in a
line chart without having to implement SimpleLineRenderer to something
so trivial?

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


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

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

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

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




RE: [flexcoders] Mixing BubbleSeries LineSeries

2005-07-12 Thread Ely Greenfield




It is possible to do this, but you actually should just use a
BubbleChart and include some LineSeries.


Here's the short version of what's going on:  Bubble series have three
axes of data -- x, y, and size.  Accordingly, any chart they get placed
in must have three axis objects to map the data against.  The
BubbleChart class, on initialization, adds a third axis for mapping the
bubble size against. The CartesianChart, by default, only has two.

So while the 'pure' way to do it would be to create a cartesian chart
and add a third axis, that involves a teeny bit of messy code, that uses
some internal APIs that are subject to change.  So I'd recommend just
using a BubbleChart for now, and I'll look into making sure this
oversight is corrected in the next version of Flex.

Ely.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of delaquae
Sent: Friday, July 08, 2005 7:49 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Mixing BubbleSeries  LineSeries
Importance: High

The documentation states that it is possible to do this, but you must
use a cartesianChart.  When I change the chart type from bubble to
cartestian (for a bubble chart that is already working) the bubbles fail
to render.  I was told that this had something to do with the bubble
chart's implementation of LinearAxis but I am not sure how to make it
work with a cartesian chart.  Any help would be 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



 




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

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

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

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




RE: [flexcoders] line width in line chart

2005-07-12 Thread Ely Greenfield



Set the stroke:

LineSeries ...
  stroke
 Stroke weight=5 color=#FF /
  /stroke
/LineSeries

Ely.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Brueckmann
Sent: Tuesday, July 12, 2005 8:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] line width in line chart
Importance: High

Is there a simple way to specify how thick I want the line to be in a
line chart without having to implement SimpleLineRenderer to something
so trivial?

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from
one of its affiliates, that may be confidential and privileged. If you
are not an intended recipient, please refrain from any disclosure,
copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error,
please notify the sender immediately by telephone or by replying to this
transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered
through Merlin Securities, LLC are not insured by the FDIC or any other
Federal Government Agency, are not deposits of or guaranteed by Merlin
Securities, LLC and may lose value. Nothing in this communication shall
constitute a solicitation or recommendation to buy or sell a particular
security.


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

* 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] line width in line chart

2005-07-12 Thread Robert Brueckmann
Awesome, thanks!

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ely Greenfield
Sent: Tuesday, July 12, 2005 11:56 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] line width in line chart




Set the stroke:

LineSeries ...
  stroke
 Stroke weight=5 color=#FF /
  /stroke
/LineSeries

Ely.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Brueckmann
Sent: Tuesday, July 12, 2005 8:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] line width in line chart
Importance: High

Is there a simple way to specify how thick I want the line to be in a
line chart without having to implement SimpleLineRenderer to something
so trivial?

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from
one of its affiliates, that may be confidential and privileged. If you
are not an intended recipient, please refrain from any disclosure,
copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error,
please notify the sender immediately by telephone or by replying to this
transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered
through Merlin Securities, LLC are not insured by the FDIC or any other
Federal Government Agency, are not deposits of or guaranteed by Merlin
Securities, LLC and may lose value. Nothing in this communication shall
constitute a solicitation or recommendation to buy or sell a particular
security.


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



 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


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

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

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

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




[flexcoders] chart background

2005-07-12 Thread Robert Brueckmann
Ely,

Is there a way do something like this?

I have a chart whose values are consistently around the 0 on the y-axis
(like so):

3 |
  | +
2 |  +
  |
1 |  +   
  | +
0 |-
  | +
-1|+
  |
-2| +
  |
-3|

I want the background to have a sort of gradient where from the 0 axis
to the top of the chart I want it to go from white to blue and from the
0 axis on down to the bottom of the chart, I want it to from white to
red...is this possible?  I don't expect you to write the whole thing,
but pointing me in the right direction would be most helpful!

Thanks in advance!


robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ely Greenfield
Sent: Tuesday, July 12, 2005 11:56 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] line width in line chart




Set the stroke:

LineSeries ...
  stroke
 Stroke weight=5 color=#FF /
  /stroke
/LineSeries

Ely.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Brueckmann
Sent: Tuesday, July 12, 2005 8:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] line width in line chart
Importance: High

Is there a simple way to specify how thick I want the line to be in a
line chart without having to implement SimpleLineRenderer to something
so trivial?

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from
one of its affiliates, that may be confidential and privileged. If you
are not an intended recipient, please refrain from any disclosure,
copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error,
please notify the sender immediately by telephone or by replying to this
transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered
through Merlin Securities, LLC are not insured by the FDIC or any other
Federal Government Agency, are not deposits of or guaranteed by Merlin
Securities, LLC and may lose value. Nothing in this communication shall
constitute a solicitation or recommendation to buy or sell a particular
security.


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



 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


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

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

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

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




Re: [flexcoders] RemoteObject : Convert Java Exception to ActionScript Fault

2005-07-12 Thread Jaime Bermudez
Hey Peter,

Do you have an example of how/where to create a thin layer on the UI
side to capture a Java Exception and re-throw a GatewayException?

Thanks,

Jaime

On 3/23/05, Peter Farland [EMAIL PROTECTED] wrote:
 
 The documentation for Java based services is largely in the Using Data
 Services section:
 
 http://livedocs.macromedia.com/flex/15/flex_docs_en/0742.htm
 
 The Flash Remoting gateway did not include a way for users to customize
 this error information, so this is not exposed in Flex 1.5 as its AMF
 gateway uses the same serialization rules for the Throwable type.
 
 The type for an AMF gateway fault represents the class name of the
 exception. However, fault type information is not sent if the
 show-stackstraces setting is false in the
 /WEB-INF/flex/gateway-config.xml file. The purpose of this setting is to
 hide the details of your system while in production (for obvious
 security reasons).
 
 Your usage, however, sounds like a good use case and I'll add it as an
 enhancement request for the next version.
 
 
 
 
 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/

* 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] line width in line chart

2005-07-12 Thread Peter Baird
Title: Re: [flexcoders] line width in line chart





FYI,

Christophes Flex Chart Explorer found at http://flexapps.macromedia.com/flex15/chartexplorer/explorer.mxml includes examples of code for all types of styling with Charts (strokes, fills, colors, alpha-values, etc)

-p


On 7/12/05 12:02 PM, Robert Brueckmann [EMAIL PROTECTED] wrote:

Awesome, thanks!

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ely Greenfield
Sent: Tuesday, July 12, 2005 11:56 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] line width in line chart




Set the stroke:

LineSeries ...
stroke
Stroke weight=5 color=#FF /
/stroke
/LineSeries

Ely.


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Brueckmann
Sent: Tuesday, July 12, 2005 8:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] line width in line chart
Importance: High

Is there a simple way to specify how thick I want the line to be in a
line chart without having to implement SimpleLineRenderer to something
so trivial?

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820



This message contains information from Merlin Securities, LLC, or from
one of its affiliates, that may be confidential and privileged. If you
are not an intended recipient, please refrain from any disclosure,
copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error,
please notify the sender immediately by telephone or by replying to this
transmission.

Merlin Securities, LLC is a registered broker-dealer. Services offered
through Merlin Securities, LLC are not insured by the FDIC or any other
Federal Government Agency, are not deposits of or guaranteed by Merlin
Securities, LLC and may lose value. Nothing in this communication shall
constitute a solicitation or recommendation to buy or sell a particular
security.


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






This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.

Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


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




 YAHOO! GROUPS LINKS 

 Visit your group flexcoders http://groups.yahoo.com/group/flexcoders  on the web.
  
 To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
  
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . 








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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] mouse over text for a datagrid column

2005-07-12 Thread nick
Hey everyone, new to the group :-)

Just gotta question regarding mouse over text for a datagrid column
header...how is it done?  I dont see any properties attribute to set
it with.  Is it possible?

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/

* 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] ToolTips on Tree Nodes?

2005-07-12 Thread Stacy Young










Scouring thru API docs, unless Im
blind, is this possible/documented?



Thx!

Stace






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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Extending Datagrid Column

2005-07-12 Thread Allen Manning










Hello Flex Coders,



I am trying to extend the Datagrid column so that I
can set a custom property iconName which will refer to an icon that
I would like to appear in each row. Here is how I would like to use it,
and below that is my error message  it appears I cant extend
DataGridColumn. Any help would be greatly appreciated. I would like
to make the iconName available to my cell renderer without polluting my
DataProvider.



Thanks for any help,

Allen




mx:DataGrid width=100% height=100%
id=dgMessages dataProvider={messageList}


mx:columns


mx:Array


components:IconDataGridColumn iconName=s_icon_mail
headerText= width=30 cellRenderer=IconCellRenderer
sortable=false/


/mx:Array


/mx:columns


/mx:DataGrid







IconDataGridColumn.as



IconDataGridColumn 

 extends
mx.controls.gridclasses.DataGridColumn

{



 public var iconName:String;



}









Error - ActionScript
2.0 class scripts may only define class or interface constructs.










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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  











--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.269 / Virus Database: 267.8.13 - Release Date: 12/07/2005
 


RE: [flexcoders] Extending Datagrid Column

2005-07-12 Thread Sauro, Nick





Correct me if im wrong, but shouldnt it 
be:

class IconDataGridColumn extends 
mx.controls.gridclasses.DataGridColumn
{
bla bla

}

?? the big difference being the use of the keyword 'class' 


Nick 
Sauro+R 
O U N D 
A R C H + 
bus 
212.909.2335+ mob 914.882.3687



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Allen 
ManningSent: Tuesday, July 12, 2005 1:30 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Extending Datagrid 
Column


Hello Flex 
Coders,

I am trying to extend the Datagrid 
column so that I can set a custom property iconName which will refer to an 
icon that I would like to appear in each row. Here is how I would like to 
use it, and below that is my error message  it appears I cant extend 
DataGridColumn. Any help would be greatly appreciated. I would like 
to make the iconName available to my cell renderer without polluting my 
DataProvider.

Thanks for any 
help,
Allen

 
mx:DataGrid width="100%" height="100%" id="dgMessages" 
dataProvider="{messageList}"
 
mx:columns
 
mx:Array
 
components:IconDataGridColumn iconName="s_icon_mail" headerText="" 
width="30" cellRenderer="IconCellRenderer" 
sortable="false"/
 
/mx:Array
 
/mx:columns
 
/mx:DataGrid


IconDataGridColumn.as

IconDataGridColumn 

 
extends 
mx.controls.gridclasses.DataGridColumn
{

 
public 
var 
iconName:String;

}



Error - ActionScript 2.0 class scripts may only define class or interface 
constructs.

--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 

--Outgoing mail is certified Virus Free.Checked by AVG 
Anti-Virus (http://www.grisoft.com).Version: 7.0.269 / Virus Database: 
267.8.13 - Release Date: 12/07/2005


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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] RemoteObject : Convert Java Exception to ActionScript Fault

2005-07-12 Thread Peter Farland

By UI side, do you mean the client, i.e. the Flash Player? If so, then
do you mean how do you intercept faults and rethrow custom errors?

Or... do you mean, how can you capture Java exceptions from RemoteObject
based services and re-throw a GatewayException to provide extra info
(like fault code, details, etc)?

 

-Original Message-
From: Jaime Bermudez [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 12, 2005 12:34 PM
To: flexcoders@yahoogroups.com
Cc: Peter Farland
Subject: Re: [flexcoders] RemoteObject : Convert Java Exception to
ActionScript Fault

Hey Peter,

Do you have an example of how/where to create a thin layer on the UI
side to capture a Java Exception and re-throw a GatewayException?

Thanks,

Jaime

On 3/23/05, Peter Farland [EMAIL PROTECTED] wrote:
 
 The documentation for Java based services is largely in the Using
Data
 Services section:
 
 http://livedocs.macromedia.com/flex/15/flex_docs_en/0742.htm
 
 The Flash Remoting gateway did not include a way for users to
customize
 this error information, so this is not exposed in Flex 1.5 as its AMF
 gateway uses the same serialization rules for the Throwable type.
 
 The type for an AMF gateway fault represents the class name of the
 exception. However, fault type information is not sent if the
 show-stackstraces setting is false in the
 /WEB-INF/flex/gateway-config.xml file. The purpose of this setting is
to
 hide the details of your system while in production (for obvious
 security reasons).
 
 Your usage, however, sounds like a good use case and I'll add it as an
 enhancement request for the next version.
 
 
 
 
 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/

* 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] ToolTips on Tree Nodes?

2005-07-12 Thread Matt Chotin










Check out dataTips











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stacy Young
Sent: Tuesday, July 12, 2005 10:19
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ToolTips on
Tree Nodes?





Scouring thru API docs, unless Im
blind, is this possible/documented?



Thx!

Stace



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









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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Extending Datagrid Column

2005-07-12 Thread Allen Manning










Thanks Nick! *smacks head*











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sauro, Nick
Sent: 12 July 2005 13:34
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Extending Datagrid Column





Correct me if im wrong, but shouldnt it
be:



class IconDataGridColumn extends
mx.controls.gridclasses.DataGridColumn

{

bla bla



}



?? the big difference being the use of the
keyword 'class' 







Nick Sauro+R O U N D A R C H + bus 212.909.2335+ mob 914.882.3687















From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Allen Manning
Sent: Tuesday, July 12, 2005 1:30
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Extending
Datagrid Column

Hello Flex Coders,



I am trying to extend the Datagrid column so that I
can set a custom property iconName which will refer to an icon that I would
like to appear in each row. Here is how I would like to use it, and below
that is my error message  it appears I cant extend DataGridColumn. Any
help would be greatly appreciated. I would like to make the iconName
available to my cell renderer without polluting my DataProvider.



Thanks for any help,

Allen




mx:DataGrid width=100% height=100%
id=dgMessages dataProvider={messageList}


mx:columns


mx:Array


components:IconDataGridColumn iconName=s_icon_mail
headerText= width=30
cellRenderer=IconCellRenderer sortable=false/


/mx:Array


/mx:columns


/mx:DataGrid







IconDataGridColumn.as



IconDataGridColumn



extends mx.controls.gridclasses.DataGridColumn

{




public var iconName:String;



}









Error - ActionScript
2.0 class scripts may only define class or interface constructs.







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







--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.269 / Virus Database: 267.8.13 - Release Date: 12/07/2005



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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



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



  











--
Incoming mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.269 / Virus Database: 267.8.13 - Release Date: 12/07/2005
 

--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.269 / Virus Database: 267.8.13 - Release Date: 12/07/2005
 


RE: [flexcoders] display nested xml in a datagrid

2005-07-12 Thread Tracy Spratt
Below is a sample app that uses labelFunction to access nested xml node
values.

Also note the dataProvider specification:
dataProvider={gXMLDoc.firstChild.childNodes}.  DataGrids want an array
as a dataProvider, childNodes provides one.

http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectI
D=258

Tracy


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flexcoder1
Sent: Tuesday, July 12, 2005 10:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] display nested xml in a datagrid

Hi. Can someone help with this question?  It is driving me crazy!
(the entire example is at the bottom of this post)

There is more to this problem but I have tried to simplify it to the 
basic question below:

Say I have the following xml:

?xml version=1.0 encoding=UTF-8?
Items
Item Id=1 Title=Title1
Status Id=1 Name=Active /
/Item
Item Id=2 Title=Title2
Status Id=2 Name=Inactive /
/Item
/Items


How can I display the current status name of each item in a data 
grid?
I have tried:

mx:DataGrid id=gridStory dataProvider={mx.utils.ArrayUtil.toArray
( GetItems.result.Items.Item)} width=100% height=100% 

mx:columns
mx:Array
mx:DataGridColumn columnName=Id /
mx:DataGridColumn columnName=Title /
mx:DataGridColumn columnName=Status / shows object 
Object - I want the item's Status.Name to appear
mx:DataGridColumn columnName=Status.Name /  THIS 
DOES NOT WORK 
/mx:Array
/mx:columns
/mx:DataGrid

How can I show the status?  If I just use 
mx:DataGridColumn columnName=Status /

the grid displays (as expected) object Object.  Also, for this 
particular xml file it is not an option to just collapse the Status 
subtags into the Item tag and have something like:

Item Id=2 Title=Title2 StatusId=2 StatusName=Inactive /  
*** For reasons outside scope of question I cannot do this ***
I know the above works correctly.


Thanks for any help with this. Below is the entire example:

test.mxml
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:Model id=modItems source=simple.xml
/mx:Model
mx:DataGrid id=gridStory dataProvider={modItems.Item} 
width=100% height=100% 
mx:columns
mx:Array
mx:DataGridColumn columnName=Id /
mx:DataGridColumn columnName=Title /
mx:DataGridColumn columnName=Status /
mx:DataGridColumn columnName=Status.Name /
/mx:Array
/mx:columns
/mx:DataGrid
/mx:Application

simple.xml
?xml version=1.0 encoding=utf-8?
Items
Item Id=1 Title=Title1
Status Id=1 Name=Active /
/Item
Item Id=2 Title=Title2
Status Id=2 Name=Inactive /
/Item
/Items


Thanks for any help.





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



 






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

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

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

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





[flexcoders] You must set https-url to a non-relative https value for RemoteObject...

2005-07-12 Thread rb_dickey
Hi, I'm receiving the following error during compiles from within FB  
when I change my RO protocols to https:

You must set https-url to a non-relative https value for RemoteObject 
in flex-config.xml or set gatewayHttpsUrl to a non-relative https 
value when using mxmlc

I've read Chapter 37 + many times regarding the configuration in flex-
config, crossdomain.xml, etc. to support ssl but I am obviously 
missing something or there is an undocumented design feature at work 
(aka bug).

Thanks for any info/help.

Regards,
Rob





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

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

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

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




[flexcoders] Ongoing Gateway Translation Problems

2005-07-12 Thread Stacy Young










Bad week to stop hitting the crack pipe.
;-)



It seems any custom typed object I attempt
to send back to the server fails to cast to the remote class mapping. The
following is a much simpler example than what I posted last timeany
ideas on what could be causing this would be much appreciated.



The item mentioned in the exception is
defined as static final member of a
class



Receiving the Object



Info: Processing batch of 1 request(s)

Info: Requesting target 'serviceResource.getSection'

Info: Service 'com.optimal.raven.client.ResourceClient' sent
to adapter 'JavaBeanAdapter'

Info: Completed 'serviceResource.getSection' with reply
method 'onResult' in 150ms

Info: Serializing response

 (Message #0 targetURI=/2/onResult, responseURI=null)

 (Typed Object #0
'com.optimal.raven.application.resource.data.FormSection')

 code = BUSIN

 active = true

 activeString = Y

 _remoteClass =
com.optimal.raven.application.resource.data.FormSection

 description = Business
Information

 SECTION_OBJTYPE =
SECT

 objType = SECT

 languageDetails = (Array #1)

 [0] = (Typed
Object #2 'com.optimal.raven.common.data.LanguageDetail')


beginText = 


values = null


_remoteClass = com.optimal.raven.common.data.LanguageDetail


fieldText = 


XML_TAGNAME = LanguageDetail


langCode = en

 id =
1.0


DEFAULT = DEF

 label
= Business Information


projectCode = WRK


PROFILE = "">


objType = SECT


profileId = 0.0


langValueType = DEF


objCode = BUSIN


endText = 



Sending the Object



Info: Request sent to
http://localhost:7001/raven/amfgateway/serviceResource from 127.0.0.1 received
at 16:26:30.627 2005-07-12

Info: Deserializing request

 (Message #0 targetURI=serviceResource.saveSection,
responseURI=/3)

 (Array #0)

 [0] = (Object #1)

 _flag =
Envelope

 headers = (Array
#2)

 [0] =
(Array #3)


[0] = ServiceType


[1] = false


[2] = stateful-class

 data = "" #4)

 [0] =
(Typed Object #5 'com.optimal.raven.application.resource.data.FormSection')


code = BUSIN


active = true


activeString = Y


_remoteClass =
com.optimal.raven.application.resource.data.FormSection


SECTION_OBJTYPE = SECT


objType = SECT


languageDetails = (Array #6)


[0] = (Typed Object #7 'com.optimal.raven.common.data.LanguageDetail')


beginText = 


values = null


_remoteClass = com.optimal.raven.common.data.LanguageDetail


fieldText = 


XML_TAGNAME = LanguageDetail


langCode = en


id = 1.0


DEFAULT = DEF


label = Business Information


projectCode = WRK


PROFILE = "">


objType = SECT


profileId = 0.0


langValueType = DEF


objCode = BUSIN


endText = 


description = Business Information



Heres the exception:



Info: Processing batch of 1 request(s)

Info: Requesting target 'serviceResource.saveSection'

Info: Service 'com.optimal.raven.client.ResourceClient' sent
to adapter 'JavaBeanAdapter'

Error: Cannot invoke method 'saveSection'.

flashgateway.GatewayException: Cannot invoke method
'saveSection'.

 at flashgateway.adapter.java.JavaAdapter.getMethod(JavaAdapter.java:301)

 at
flashgateway.adapter.java.JavaBeanAdapter.invokeFunction(JavaBeanAdapter.java:64)

 at
flashgateway.filter.AdapterFilter.invoke(AdapterFilter.java:117)

 at flashgateway.filter.MessageSecurityFilter.invoke(MessageSecurityFilter.java:144)

 at
flashgateway.filter.ServiceNameFilter.invoke(ServiceNameFilter.java:101)

 at
flashgateway.filter.EnvelopeFilter.invoke(EnvelopeFilter.java:102)

 at flashgateway.filter.SessionFilter.invoke(SessionFilter.java:28)

 at
flashgateway.filter.LicenseFilter.invoke(LicenseFilter.java:57)

 at
flashgateway.filter.ErrorFilter.invoke(ErrorFilter.java:39)

 at
flashgateway.filter.LogFilter.invoke(LogFilter.java:46)

 at
flashgateway.filter.BatchProcessFilter.invoke(BatchProcessFilter.java:63)

 at
flashgateway.filter.PacketSecurityFilter.invoke(PacketSecurityFilter.java:68)

 at
flashgateway.filter.DebugFilter.invoke(DebugFilter.java:38)

 at
flashgateway.filter.SerializationFilter.invoke(SerializationFilter.java:89)

 at
flashgateway.Gateway.invoke(Gateway.java:217)

 at
flashgateway.controller.GatewayServlet.service(GatewayServlet.java:69)

 at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

 at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)

 at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)

 at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)

 at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6456)

 at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

 at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)

 at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)

 at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)

 at

[flexcoders] Re: mouse over text for a datagrid column

2005-07-12 Thread alex_harui
You can write a custom header renderer with a tooltip property

--- In flexcoders@yahoogroups.com, nick [EMAIL PROTECTED] wrote:
 Hey everyone, new to the group :-)
 
 Just gotta question regarding mouse over text for a datagrid column
 header...how is it done?  I dont see any properties attribute to set
 it with.  Is it possible?
 
 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/

* 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: Filesize generated swf's

2005-07-12 Thread alex_harui
An empty Application tag should come in at about 128Kb.  Not sure why 
you got 263Kb.  You sure you didn't have any custom theme attributes 
on the application tag?

At any rate, starting from 128K, you'll hit your 150K limit really 
quick.  However, I encourage you to consider the following:

1) Broadband is here.  The main reason for a 150K limit is download 
time.  More and more people are accessing your site over fast 
connections where 150K only represents 1/2 second or less

2) Flex/Flash is streaming media.  The user will see the download 
progress bar, which you can customize, very quickly, long before the 
app has been fully downloaded over slow links, so you can present 
something to the user faster than you could trying to get one 150K 
HTML page parsed and rendered

3) Flex is not page-oriented.  Thus once you get the SWF downloaded 
you don't have to go back to the server for the next screen full, it 
is already there.  This is often much better than having to make the 
user wait as you go get the next 150Kb HTML page, and the one after 
that.

Flex is a new paradigm.  It will require you to think a little 
differently and design your apps differently, but you will probably 
find that there's a payback in terms of usability and productivity on 
the part of your users that is not achievable in the HTML paradigm.

-Alex


--- In flexcoders@yahoogroups.com, Joost Nuijten [EMAIL PROTECTED] 
wrote:
 Hi,
  
 We are working on a Flex-based website. We've discovered that the 
generated
 SWF's are at least 400Kb. This is too large. According to usability 
rules a
 webpage should exceed 150Kb per page.
  
 We created an empty mxml-template (containing only a mx:application-
tag) and
 the filesize was still 263Kb. Does anybody have an idea how to 
reduce the
 filesize?
  
 One thing that will help is to remove all the @embed-codes and load 
images
 at runtime. But that's not enough to get the filesize down to 150Kb.
 
 Regards,
 Joost Nuijten




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

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

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

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




[flexcoders] Re: drag and drop

2005-07-12 Thread alex_harui
Most computer interactions use mouseUp instead of mouseDown.  For 
example, you can mouseDown on the reply button as you read this message 
and it won't set up a reply until you mouseUp.

In Flex we use mouseOut instead of mouseDown/mouseMove to trigger drag 
operations.  In most other frameworks there is some mouse move 
tolerance before the drag starts.

-Alex

--- In flexcoders@yahoogroups.com, Nithya R [EMAIL PROTECTED] wrote:
 hai,
 I have a cnvas with many controls inside... i want a drag 
event on the canvas i use a mouseMove evnet for beginDrag and i 
also have a mousedown event tht takes u to a next view in the 
viewstack... now what happens is when i start dragging the controls 
goes to the next view even before the drag is completed how to 
overcome this?
  
 thanks,
 nithya
 
 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 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Re: mouse over text for a datagrid column

2005-07-12 Thread Sauro, Nick





yea,I saw that on the site, and it worked 
:-)

Thanks. But, of course, one question opens the door 
for more, and I've seen renderers done like:

DataGridColumn 
headerRenderer="{HeaderRenderer}"/

Now forgive me for being hasty on this one, bc the end of 
the day is drawing, but in those examples I saw online, they always use a 
default constructor.

Is there anyway to pass a value to that renderer, and use a 
non default constructor(constructor w/ arguments)?

Example which is failing on me:

DataGridColumn 
headerRenderer="{HeaderRenderer(val1,val2)}"...

I've also tried

DataGridColumn headerRenderer={"new 
HeaderRenderer(val1,val2)"}...

They don't work, and i've been stuck on it now. 
:-(

Nick 
Sauro+R 
O U N D 
A R C H + 
bus 
212.909.2335+ mob 914.882.3687



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
alex_haruiSent: Tuesday, July 12, 2005 4:49 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: mouse over text 
for a datagrid column
You can write a custom header renderer with a tooltip 
property--- In flexcoders@yahoogroups.com, "nick" [EMAIL PROTECTED] 
wrote: Hey everyone, new to the group :-)  Just gotta 
question regarding mouse over text for a datagrid column header...how is 
it done? I dont see any properties attribute to set it with. 
Is it possible?  
Thanks--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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



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



  









[flexcoders] Re: TileList withh CellRendere.

2005-07-12 Thread alex_harui
I didn't see the code for modelLocator.  It looks like it might be a 
class, in which case it must specify a changeEvent for the activities 
property otherwise when it changes, binding won't know it changed and 
won't update the TileList.

--- In flexcoders@yahoogroups.com, Shahnavaz Alware [EMAIL PROTECTED] 
wrote:
 Hi All,
 
  
 
 I am implementing the TileList with CellRenderer
 
 mx:Application  xmlns:mx=http://www.macromedia.com/2003/mxml
 
 initialize= loadComplete()/
 
  
 
 mx:Script
 
 ![CDATA[
 
 
 
 import com.test.model.ModelLocator;
 
 import com.test.dto.ActivityDTO;
 
 import 
org.nevis.cairngorm.control.EventBroadcaster;
 
 import com.test.control.SfmController;
 
 
 
 
 public var activities : Array;
 
  
 
 
 public var activity : ActivityDTO;
 
 
 
 
 private function loadComplete() : Void {
 
 
 
  
 EventBroadcaster.getInstance().broadcastEvent
 
 (
 SfmController.EVENT_GET_ACTIVITIES_WORK_QUEUE );
 
 
 }   
 
  
 
 
 ]]
 
 /mx:Script
 
  
 
 mx:TileList id=tileListComp width=100% height=100% 
 
 dataProvider={ ModelLocator.activities } 
 
 itemWidth=300 itemHeight=100 
 
  
 cellRenderer=com.test.view.activityview.ActivityDetailThumbnail 
 
  
 change=activityWorkQueueListViewHelper.updateSelectedActivity( 
event )/
 
  
 
  
 
  
 
 CellRenderer
 
  
 
 import com.hmssoftware.sfm.dto.ActivityDTO;
 
 import 
com.hmssoftware.sfm.dto.DeliverableDTO;
 
 import 
com.hmssoftware.sfm.model.ModelLocator;
 
 
 public var activity : ActivityDTO;
 
 public var deliverable : DeliverableDTO;
 
  
 
 public function setValue( str : String, 
item :
 Object ) 
 
 {
 
 
 
 activity = ActivityDTO( 
item ); // This
 is undefined
 
 mx.core.Application.alert(
 activity.activityId:   + activity.activityId );// Resulting in
 activity.activityId: Undefined ??
 
 
 
 }
 
  
 
 I am unsing Cairngorm 0.99. In my onResult() of command when I 
check for
 data ModelLocator.activities its valid.
 
 But the TileList dataprovider when initialized is undefined. I 
guess I need
 some sequence which will help me to initialize CellRenderer 
 
 After the  onResult() where I am assigning event.result to
 ModelLocator.activities. Thanks in advance for any suggestion or 
help.
 
  
 
 Thanks,
 
  
 
 Shahn




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

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

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

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




[flexcoders] Re: Login security best practices for Flex and ColdFusion users

2005-07-12 Thread a1111111111111

Scott, thanks for the detailed answer to my question. I think I am 
following your setup pretty well, I really like the idea of the facade 
gateway used with cflogin.

You mention using a timer to check to see if their session has ended 
and that you would prefer to use onSessionEnd to accomplish this. I'm 
guessing this would only work with flashcomm (not just that you dont 
have mx7). I ask, because that would be a much more elegant solution 
(but using flashcom would be too much). I've never used XMLSocket, but 
could that potentially do something like this? (perhaps with a CF 
event gateway?)

Thanks for the input.




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

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

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

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




[flexcoders] How to look over days, output a panel for each day

2005-07-12 Thread offshorexpert
I'm trying ot build a calendar...how do you loop over the days in a 
month and output a mx:Panel for each (7 columns, x rows). Don't think 
i want to use a datagrid.




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

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

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

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




RE: [flexcoders] ToolTips on Tree Nodes?

2005-07-12 Thread Sauro, Nick





yea, im trying to figure out the same thing for 
DataGridColumn headers. I'm looking thru DataTips right now, and it seems 
like the way to go.

I've tried

showDataTips ="true"
and then dataTipField = "someField in my 
model"

and still no luck :-/ if i make any progress i 
will post the code. Could u do the same :-)

Nick 
Sauro+R 
O U N D 
A R C H + 
bus 
212.909.2335+ mob 914.882.3687



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Matt 
ChotinSent: Tuesday, July 12, 2005 1:48 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] ToolTips on Tree 
Nodes?


Check out 
dataTips





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Stacy 
YoungSent: Tuesday, July 12, 
2005 10:19 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] ToolTips on Tree 
Nodes?

Scouring thru API docs, 
unless Im blind, is this possible/documented?

Thx!
Stace
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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



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



  









[flexcoders] Validators

2005-07-12 Thread chris.alvarado
good afternoon everyone,

i have what seems like a simple problem with the validators class but
cannot seem to figure out what is wrong.

i have a set of inputs (text, combobos, etc) that dumps data into a
datagrid. these fields are part of a model that i then validate using
the isStructureValid() method which works just fine. however when im
done adding the items to datagrid i want to reset the input fields, so
i do this as you would expect (manually) by simply setting the
coresponding properties (somefield.text =) etc.

however this seems to keep the validators instantiated on the fields
as it will then show the little red outline as if it is expecting data
when im not even wanting to validate the model at that time.

does the validator need to be reset somehow?

any suggestions would be greatly appreciated.

-- 
-chris.alvarado
[application developer]


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

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

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

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




RE: [flexcoders] ToolTips on Tree Nodes?

2005-07-12 Thread Stacy Young










Try using a label in a custom head
renderer and set the tooltip on the label



HTH,

Stace











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro, Nick
Sent: Tuesday, July 12, 2005 1:49
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] ToolTips
on Tree Nodes?





yea, im trying to figure out the same
thing for DataGridColumn headers. I'm looking thru DataTips right now,
and it seems like the way to go.



I've tried



showDataTips =true

and then dataTipField = someField in
my model



and still no luck :-/ if i
make any progress i will post the code. Could u do the same :-)







Nick
Sauro+R O U N D A R C H + bus 212.909.2335+ mob 914.882.3687















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Tuesday, July 12, 2005 1:48
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] ToolTips
on Tree Nodes?

Check out dataTips











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stacy Young
Sent: Tuesday, July 12, 2005 10:19
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ToolTips on
Tree Nodes?





Scouring thru API docs, unless Im
blind, is this possible/documented?



Thx!

Stace



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






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









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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



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



  











[flexcoders] Repeater with HTTPService

2005-07-12 Thread Rajesh Jayabalan
Hi,

 I have a repeater which for each category will try to get Items for
the categores.. 


mx:Repeater id=rp
dataProvider={getMRC.result.mrcategories.mrcategory} 
mx:VBox label={rp.currentItem.mrcName} width=100% height=100%
initialize=getItems(event.target.getRepeaterItem().mrcid)
ThumbnailView id=thumbView label=Product Catalog
dataObject={getCatItems.result.catalog.product}
change=selectedItem=event.target.selectedItem /
/mx:VBox
/mx:Repeater

but I get to see only the last list of items i.e., if there are 5
categories then I can see only items which belong to the 5th category.

my getItems method
function getItems(catid:Object)
 {
param=String(catid);
//Alert.show(param);
getCatItems.send();
 }

my httpservice

mx:HTTPService id=getCatItems url=getCategoriesItem.jsp
showBusyCursor=true
mx:request
  catId{param}/catId
/mx:request
/mx:HTTPService

How do I make it so that the dataObject for the ThnumbNailView will
contain only the products that belong to that specific category.

Regards
Rajesh J




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

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

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

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




Re: [flexcoders] How to look over days, output a panel for each day

2005-07-12 Thread Tarik Ahmed
You could use a Repeater.

But check out the source to this to give you a boost:

http://weblogs.macromedia.com/khoyt/archives/2005/03/custom_calendar.cfm


offshorexpert wrote:

I'm trying ot build a calendar...how do you loop over the days in a 
month and output a mx:Panel for each (7 columns, x rows). Don't think 
i want to use a datagrid.




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

* 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 a tree to a web service call and formatting the result

2005-07-12 Thread cfjedimaster
I'm probably missing the obvious - I can bind a tree to a web service
call, but since thw WS call is returning a query, the result isn't
what I want. Assuming I'm calling method Foo, and Foo has N columns
and I want to use one for the label, one for the id, how would I
handle that?




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

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

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

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




[flexcoders] Re: Repeater with HTTPService-- found problem no solution

2005-07-12 Thread Rajesh Jayabalan
Hi,

 I think the problem is data binding.

 The dataobject of thumbnailview tag is binded to the result of the
httpservice, so whenever the result changes the thumbnails change too.. 

 How can I unbind it.. or what is the workaround to this problem.

Regards
Rajesh J

--- In flexcoders@yahoogroups.com, Rajesh Jayabalan [EMAIL PROTECTED] wrote:
 Hi,
 
  I have a repeater which for each category will try to get Items for
 the categores.. 
 
 
 mx:Repeater id=rp
 dataProvider={getMRC.result.mrcategories.mrcategory} 
 mx:VBox label={rp.currentItem.mrcName} width=100% height=100%
 initialize=getItems(event.target.getRepeaterItem().mrcid)
   ThumbnailView id=thumbView label=Product Catalog
 dataObject={getCatItems.result.catalog.product}
   change=selectedItem=event.target.selectedItem /
 /mx:VBox
 /mx:Repeater
 
 but I get to see only the last list of items i.e., if there are 5
 categories then I can see only items which belong to the 5th category.
 
 my getItems method
 function getItems(catid:Object)
  {
   param=String(catid);
   //Alert.show(param);
   getCatItems.send();
  }
 
 my httpservice
 
 mx:HTTPService id=getCatItems url=getCategoriesItem.jsp
 showBusyCursor=true
   mx:request
 catId{param}/catId
   /mx:request
 /mx:HTTPService
 
 How do I make it so that the dataObject for the ThnumbNailView will
 contain only the products that belong to that specific category.
 
 Regards
 Rajesh J




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

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

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

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




RE: [flexcoders] Binding a tree to a web service call and formatting the result

2005-07-12 Thread Tracy Spratt
Typically web services return xml and the tree can consume xml directly.

Have you examined the contents of the result object in a debugger?
Perhaps you CAN simply use the result.

Now trees are inherently hierarchical, so if you really have tabular
data, why would you want to use a tree?

If you do need to, the TreeDataProvider class provides an API for
constructing a tree that the Tree control can use.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of cfjedimaster
Sent: Tuesday, July 12, 2005 5:56 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Binding a tree to a web service call and
formatting the result

I'm probably missing the obvious - I can bind a tree to a web service
call, but since thw WS call is returning a query, the result isn't
what I want. Assuming I'm calling method Foo, and Foo has N columns
and I want to use one for the label, one for the id, how would I
handle that?




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

* 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: Repeater with HTTPService-- found problem no solution

2005-07-12 Thread Tracy Spratt
Could you combine the data so that a single dataProvider has the data
for both categories and Items?  Then you could use a nested repeater to
show the items for each category.

If you can't combine them on the server side, can you get an items
dataProvider that has all the items with keys to the categories data?
Then you could combine them on the client.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rajesh Jayabalan
Sent: Tuesday, July 12, 2005 6:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Repeater with HTTPService-- found problem no
solution

Hi,

 I think the problem is data binding.

 The dataobject of thumbnailview tag is binded to the result of the
httpservice, so whenever the result changes the thumbnails change too.. 

 How can I unbind it.. or what is the workaround to this problem.

Regards
Rajesh J

--- In flexcoders@yahoogroups.com, Rajesh Jayabalan [EMAIL PROTECTED]
wrote:
 Hi,
 
  I have a repeater which for each category will try to get Items for
 the categores.. 
 
 
 mx:Repeater id=rp
 dataProvider={getMRC.result.mrcategories.mrcategory} 
 mx:VBox label={rp.currentItem.mrcName} width=100% height=100%
 initialize=getItems(event.target.getRepeaterItem().mrcid)
   ThumbnailView id=thumbView label=Product Catalog
 dataObject={getCatItems.result.catalog.product}
   change=selectedItem=event.target.selectedItem /
 /mx:VBox
 /mx:Repeater
 
 but I get to see only the last list of items i.e., if there are 5
 categories then I can see only items which belong to the 5th category.
 
 my getItems method
 function getItems(catid:Object)
  {
   param=String(catid);
   //Alert.show(param);
   getCatItems.send();
  }
 
 my httpservice
 
 mx:HTTPService id=getCatItems url=getCategoriesItem.jsp
 showBusyCursor=true
   mx:request
 catId{param}/catId
   /mx:request
 /mx:HTTPService
 
 How do I make it so that the dataObject for the ThnumbNailView will
 contain only the products that belong to that specific category.
 
 Regards
 Rajesh J




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

* 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: Filesize generated swf's

2005-07-12 Thread Matt Horn






Make sure that you are not generating profiling or 
debugging code in your SWF by setting the following to false in 
Flex-config.xml:

 
generate-debug-swfsfalse/generate-debug-swfs 
generate-profile-swfsfalse/generate-profile-swfs

When I turn those 
on,a tiny app (~128K)gets about 20K 
larger.

matt 
horn
flex 
docs

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  alex_haruiSent: Tuesday, July 12, 2005 5:11 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Re: Filesize 
  generated swf's
  An empty Application tag should come in at about 128Kb. 
  Not sure why you got 263Kb. You sure you didn't have any custom 
  theme attributes on the application tag?At any rate, starting from 
  128K, you'll hit your 150K limit really quick. However, I encourage 
  you to consider the following:1) Broadband is here. The main 
  reason for a 150K limit is download time. More and more people are 
  accessing your site over fast connections where 150K only represents 1/2 
  second or less2) Flex/Flash is streaming media. The user will 
  see the download progress bar, which you can customize, very quickly, long 
  before the app has been fully downloaded over slow links, so you can 
  present something to the user faster than you could trying to get one 150K 
  HTML page parsed and rendered3) Flex is not page-oriented. 
  Thus once you get the SWF downloaded you don't have to go back to the 
  server for the next screen full, it is already there. This is often 
  much better than having to make the user wait as you go get the next 150Kb 
  HTML page, and the one after that.Flex is a new paradigm. It 
  will require you to think a little differently and design your apps 
  differently, but you will probably find that there's a payback in terms of 
  usability and productivity on the part of your users that is not 
  achievable in the HTML paradigm.-Alex--- In 
  flexcoders@yahoogroups.com, "Joost Nuijten" [EMAIL PROTECTED] 
  wrote: Hi,  We are working on a Flex-based 
  website. We've discovered that the generated SWF's are at least 
  400Kb. This is too large. According to usability rules a webpage 
  should exceed 150Kb per page.  We created an empty 
  mxml-template (containing only a mx:application-tag) and the 
  filesize was still 263Kb. Does anybody have an idea how to reduce 
  the filesize?  One thing that will help is to 
  remove all the @embed-codes and load images at runtime. But that's 
  not enough to get the filesize down to 150Kb.  
  Regards, Joost Nuijten--Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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



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



  









[flexcoders] AutoComplete Combobox

2005-07-12 Thread charlespaz1
The ComboBox, when not set editable=true, will jump to the list item
that starts with the typed character.  However, when editable is set
to true, it no longer works.  Is there an easy way to get an editable
ComboBox to autocomplete, or does it have to programmed from scratch?

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/

* 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 someone please explain to me why I can not get my combo boxes to sort in my

2005-07-12 Thread Joe
Can someone please explain to me why I can not get my combo boxes to 
sort in my data grid.  I have provided the code I am using. I have 
around and around with this and I am getting no where. I can not seem 
to get the action scripting syntax correct.  Thank you!

--- Data grid 

mx:Script
private function initCellRenderer() : Void
![CDATA[
 {
  reasonlist.dataProvider = [ , Incorrect, Resolved, Other ];
  }
]]
/mx:Script

mx:DataGrid  rowHeight=75 width=800  height=302 
alternatingRowColors=[#fafafa,#ff] 
useRollOver=false selectable=FALSE 
mx:Model id=DXList source=dxlist.xml/
mx:dataProvider{DXList.dxinfo}/mx:dataProvider
mx:columns
mx:Array
 mx:DataGridColumn headerText=Dx Code 
columnName=dxcode textAlign=center width=75/
mx:DataGridColumn headerText=Dx 
columnName=dxdesc textAlign=center width=455 /
mx:DataGridColumn headerText=Dx Source 
columnName=dxsource  textAlign=center width=85/
mx:DataGridColumn headerText=Reason 
columnName=reasonchoice textAlign=center 
cellRenderer=reasonlist/
/mx:Array
/mx:columns

/mx:DataGrid
/mx:Application


--- XML data for data grid --

DxList
dxinfo
dxcode129622/dxcode
dxdescAMAJOR DEPRESSIVE AFFECTIVE DISORDER SINGLE 
EPISODE MODERATE DEGREE/dxdesc
dxsourceECS/dxsource
/dxinfo
dxinfo
dxcode229622/dxcode
dxdescBMAJOR DEPRESSIVE AFFECTIVE DISORDER SINGLE 
EPISODE MODERATE DEGREE/dxdesc
dxsourceECS/dxsource
/dxinfo
dxinfo
dxcode329622/dxcode
dxdescCMAJOR DEPRESSIVE AFFECTIVE DISORDER SINGLE 
EPISODE MODERATE DEGREE/dxdesc
dxsourceECS/dxsource
/dxinfo
dxinfo
dxcode429622/dxcode
dxdescDMAJOR DEPRESSIVE AFFECTIVE DISORDER SINGLE 
EPISODE MODERATE DEGREE/dxdesc
dxsourceECS/dxsource
/dxinfo
dxinfo

DxList


--- CellRendering File ---

mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml; 
marginLeft=0 marginBottom=0 marginRight=0 marginTop=0 
height=25 backgroundAlpha=0  width=100 verticalAlign=middle 
horizontalAlign=center 


mx:Script
public static var dataProvider:Array;
private var listOwner:Object;
var getCellIndex : Function;
var getDataLabel : Function;

   function setValue(str:String, item:Object, sel:Boolean) : Void 
{ 
_cb.visible =(item!=undefined); 

_cb.dataProvider = reasonlist.dataProvider;

_cb.selectedIndex = 
reasonlist.dataProvider.selectedIndex;

}

function getValue() : Object
{
var rd = listOwner.getItemAt(getCellIndex
().itemIndex);
return rd.reasonlist.dataProvider;
}

function handleEvent(evt:Object):Void
{
if (evt.type == change)
{ 

var rd = listOwner.getItemAt(getCellIndex
().itemIndex);

rd.reasonlist.dataProvider.selectedIndex = 
_cb.selectedIndex;

listOwner.editField(getCellIndex
().itemIndex,reasonlist.dataProvider,rd.reasonlist.dataProvider);
} 
}

  
/mx:Script
mx:ComboBox id=_cb dataProvider={reasonlist.dataProvider}  /


/mx:VBox








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

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

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

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




[flexcoders] Naming Conventions..

2005-07-12 Thread Scott Barnes
Hi one and all,

I've been thinking as of late with regards to my FLEX development,
mainly concerned with sepration of various tiers into some at-a-glance
naming conventions.

Basicall, for a while i've lived with the following Concept:

/views/security/AttachUserDialog.mxml
/views/security/SecuritySwitchBoard.mxml
/views/security/LoginForm.mxml

etc.

Thats fine, but i've decided as of late to fine tune some of the
conventions used, mainly as i'm putting together the dreaded Flex
Coding Guidelines for internal user.

I've been reading Apples User Experience documentation (which is
probably the most impressive, freely available doco online) and i've
been taking a page out of their book in terms of UI classications
(that and Macromedia partially).

URL:
http://developer.apple.com/documentation/LegacyTechnologies/Conceptual/AquaHIGuidelines/index.html


To ellobrate, i've adopted naming prefixes like the following:

/views/security/Dialogs/dlAttachUser.mxml
/views/security/Dialogs/dlLogin.mxml
/views/security/swSecurity.mxml

and so on..

Q. What's everyones thoughts on putting together a Flex Conventions
doco? and anyone care to contribute their ideas for such an idea? Or
is it a waste of time and really not a widely requested aspect of
developing in flex?

-- 
Regards,
Scott Barnes
http://www.mossyblog.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/

* 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] Naming Conventions..

2005-07-12 Thread Shahnavaz Alware










Hi Scott,



Thats a great idea and very good
move as far as big projects are concerned. The project I am working on has CORE
and REFERENCE implementation as two different teams, where Flex UI development holds
a key for Implementers not on Core Team. I will be able to start sharing my
ideas in a week or so. I am sure everybody is following some sort of directory
structure for Flex Development and mostly Cairngorm. 



Thanks



Shahnavaz











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Scott Barnes
Sent: Tuesday, July 12, 2005 5:54
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Naming
Conventions..





Hi one and all,

I've been thinking as of late with regards to my
FLEX development,
mainly concerned with sepration of various tiers
into some at-a-glance
naming conventions.

Basicall, for a while i've lived with the
following Concept:

/views/security/AttachUserDialog.mxml
/views/security/SecuritySwitchBoard.mxml
/views/security/LoginForm.mxml

etc.

Thats fine, but i've decided as of late to fine
tune some of the
conventions used, mainly as i'm putting together
the dreaded Flex
Coding Guidelines for internal user.

I've been reading Apples User
Experience documentation (which is
probably the most impressive, freely available
doco online) and i've
been taking a page out of their book in terms of
UI classications
(that and Macromedia partially).

URL:
http://developer.apple.com/documentation/LegacyTechnologies/Conceptual/AquaHIGuidelines/index.html


To ellobrate, i've adopted naming prefixes like
the following:

/views/security/Dialogs/dlAttachUser.mxml
/views/security/Dialogs/dlLogin.mxml
/views/security/swSecurity.mxml

and so on..

Q. What's everyones thoughts on putting together a
Flex Conventions
doco? and anyone care to contribute their ideas
for such an idea? Or
is it a waste of time and really not a widely
requested aspect of
developing in flex?

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


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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



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



  











Re: [flexcoders] Binding a tree to a web service call and formatting the result

2005-07-12 Thread Raymond Camden
I actually ended up using a labelFunction - didn't even realize that
was possible.

On 7/12/05, Tracy Spratt [EMAIL PROTECTED] wrote:
 Typically web services return xml and the tree can consume xml directly.
 
 Have you examined the contents of the result object in a debugger?
 Perhaps you CAN simply use the result.
 
-- 
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda





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

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

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

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




Re: [flexcoders] Naming Conventions..

2005-07-12 Thread Tarik Ahmed
Hey Scott, I think it's a good idea. Our naming conventions in the CF 
world have evolved over time and become pretty solid; but for Flex we 
tend to redo our approach with each new app as we learn from the last. 
I'd love to know from someone much more experienced how they're doing 
their stuff.

Eg right now we do:

project
  ./components
  ./models
  ./functions

My suggestion would be to put together a one pager, and go from there.


Scott Barnes wrote:

Hi one and all,

I've been thinking as of late with regards to my FLEX development,
mainly concerned with sepration of various tiers into some at-a-glance
naming conventions.

Basicall, for a while i've lived with the following Concept:

/views/security/AttachUserDialog.mxml
/views/security/SecuritySwitchBoard.mxml
/views/security/LoginForm.mxml

etc.

Thats fine, but i've decided as of late to fine tune some of the
conventions used, mainly as i'm putting together the dreaded Flex
Coding Guidelines for internal user.

I've been reading Apples User Experience documentation (which is
probably the most impressive, freely available doco online) and i've
been taking a page out of their book in terms of UI classications
(that and Macromedia partially).

URL:
http://developer.apple.com/documentation/LegacyTechnologies/Conceptual/AquaHIGuidelines/index.html


To ellobrate, i've adopted naming prefixes like the following:

/views/security/Dialogs/dlAttachUser.mxml
/views/security/Dialogs/dlLogin.mxml
/views/security/swSecurity.mxml

and so on..

Q. What's everyones thoughts on putting together a Flex Conventions
doco? and anyone care to contribute their ideas for such an idea? Or
is it a waste of time and really not a widely requested aspect of
developing in flex?

  






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

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

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

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




RE: [flexcoders] Flex client not passing client certificate to server

2005-07-12 Thread Matt Chotin










Have you checked out this technote? http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19298
It might be similar.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of colinblackmore
Sent: Monday, July 11, 2005 2:30
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex client
not passing client certificate to server





I am attempting to use client certificates as the authentication
mechanism over an SSL connection. 

The server (Tomcat 5.5) is configured to require
all connections be
accompanied with a valid client certificate.
As far as the browser
and server are concerned, this works fine.
The mxml file is requested
by the browser, the server challenges the browser
for a client
certificate, which it receives, and the mxml file
is retrieved and
displayed correctly. So far, so good.

The problem is that any subsequent HTTPS requests
from the flex client
(NOTE: the flex client, NOT the browser) do not
contain the client
certificate. 

The 'http-service-proxy-debug' log states:

07/11 17:09:04 ERROR %%500%%Software caused
connection abort: recv
failed
07/11 17:09:04 ERROR -- GET status: 500, target:
https://localhost:8443/mtx-dx-test/GetUserRoles.do
?includeRoles=managerexcludeRoles=

Setting the JVM option
'-Djavax.net.debug=ssl:handshake', std out
states:

*** CertificateRequest
Cert Types: RSA, DSS, 
Cert Authorities:
CN=XYZ, O=ABC, C=US
*** ServerHelloDone
*** Certificate chain
***
*** ClientKeyExchange, RSA PreMasterSecret, TLSv1
Random Secret: { 3, 1, 98, 222, 236, 8, 188,
11, 125, 15, 19, 82,
146, 121, 7, 125, 112, 90, 106, 20, 52, 112, 243,
205, 233, 196, 212,
228, 50, 46, 93, 138, 215, 219, 156, 75, 41, 133,
252, 66, 27, 255,
165, 240, 240, 115, 141, 50 }
http-8443-Processor24, WRITE: TLSv1 Handshake,
length = 141
http-8443-Processor23, READ: TLSv1 Handshake,
length = 141
*** Certificate chain
***
http-8443-Processor23, SEND TLSv1 ALERT:
fatal, description =
bad_certificate
http-8443-Processor23, WRITE: TLSv1 Alert, length
= 2
http-8443-Processor23, called closeSocket()
http-8443-Processor23, handling exception:
javax.net.ssl.SSLHandshakeException: null cert
chain
http-8443-Processor23, called close()
http-8443-Processor23, called closeInternal(true)

Relaxing the server configuration to not require
client certificates
fixes the problem, so it appears fairly clear that
the client
certificate is not being managed correctly by
flex.

Is there an flex-config.xml option I am
missing? Is this a supported
configuration?

Thanks in advance.

...Col




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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



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



  











Re: [flexcoders] Naming Conventions..

2005-07-12 Thread Scott Barnes
Ok, I'll finish up this doco and place it on MossyBlog.com once its
finished and see how it will evolve from there?

On 7/13/05, Tarik Ahmed [EMAIL PROTECTED] wrote:
 Hey Scott, I think it's a good idea. Our naming conventions in the CF
 world have evolved over time and become pretty solid; but for Flex we
 tend to redo our approach with each new app as we learn from the last.
 I'd love to know from someone much more experienced how they're doing
 their stuff.
 
 Eg right now we do:
 
 project
   ./components
   ./models
   ./functions
 
 My suggestion would be to put together a one pager, and go from there.
 
 
 Scott Barnes wrote:
 
 Hi one and all,
 
 I've been thinking as of late with regards to my FLEX development,
 mainly concerned with sepration of various tiers into some at-a-glance
 naming conventions.
 
 Basicall, for a while i've lived with the following Concept:
 
 /views/security/AttachUserDialog.mxml
 /views/security/SecuritySwitchBoard.mxml
 /views/security/LoginForm.mxml
 
 etc.
 
 Thats fine, but i've decided as of late to fine tune some of the
 conventions used, mainly as i'm putting together the dreaded Flex
 Coding Guidelines for internal user.
 
 I've been reading Apples User Experience documentation (which is
 probably the most impressive, freely available doco online) and i've
 been taking a page out of their book in terms of UI classications
 (that and Macromedia partially).
 
 URL:
 http://developer.apple.com/documentation/LegacyTechnologies/Conceptual/AquaHIGuidelines/index.html
 
 
 To ellobrate, i've adopted naming prefixes like the following:
 
 /views/security/Dialogs/dlAttachUser.mxml
 /views/security/Dialogs/dlLogin.mxml
 /views/security/swSecurity.mxml
 
 and so on..
 
 Q. What's everyones thoughts on putting together a Flex Conventions
 doco? and anyone care to contribute their ideas for such an idea? Or
 is it a waste of time and really not a widely requested aspect of
 developing in flex?
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 
 
 
 
 


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


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

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

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

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




RE: [flexcoders] Disappearing server call parameter

2005-07-12 Thread Matt Chotin
Title: Message










Are you using binding from that property? 
If so try taking the binding off of it (or even make sure not to bind out of
the ObservationVO).



When you changed to an explicit
getter/setter did you notice it getting called any time that wasnt
expected?



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Markus Ansamaa
Sent: Monday, July 11, 2005 10:00
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Disappearing server call parameter







The code property is public var
code:String;. And yes, Java class has that property.











The server call is used when an object is
added or edited. It has worked fine and actually the feature which uses the
call has already been deployed to a customer as a part of our software.
Yesterday we got an error report from the customer and the cause of the error
turned out to be disappearing code property. It only happens if another
property is changed. I know there are plenty of places in the UI that could
mess up with the value, but the debugger revealed that the value should be OK
when it is send to the server.











I tried to use implicit getter/setter but
the setter was never called with null value. I noticed that if I change the
value of code property, it does not disappear. I also tried adding an
additional property as you suggested andthere was no problem passing it
to server side.











I hope that you (or someone else) have
some kind of suggestion since I'm stucked with this.











Markus











-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: 11. heinäkuuta 2005 23:36
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Disappearing server call parameter





Is the code property a
getter/setter? What if you add an additional property named something
else? Does your Java class have that property declared?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Markus Ansamaa
Sent: Monday, July 11, 2005 4:11
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Disappearing
server call parameter






I'm totally confused with one of my server calls.
It seems to be that in
certain circumstances one of the parameter
object's properties disappear. I
have debugged the application to the point where
the server call is made and
debugger says the property exists. But when the
server side code is called
there is no value for the property. I know the
problem sounds weird, but I
simply can't find the cause of the problem. Has
anyone any suggestions?

In below, there are some details from the Network
Monitor.


Markus


13:43:12.691
RemoteObject RPC
13.43:12.942
HTTPHeader POST
13.43.12.942
AMF
  AMF/Post Message


Here are details for the RPC:

Method:
observationFacade.saveObservationDefinition

Parameter 1: 
 name : param1
 type : object
 value[object] : 

 _flag[String] : Envelope

 data[array] : 

  length[Number] :
1

  [0][object] : 

 
 definition[null] : null

 
 id[object] : 

 
 
extension[undefined] : undefined

 
  root[undefined] :
undefined

 
 oid[Number] : 1.19582E+006

 
 repeatHigh[Number] : 1

 
 repeatLow[Number] : 0

 
 statusCode[String] : normal

 
 statusOid[null] : null

 
 title[String] : Ohjainkatetri(t), 2.suoni

 
 valueDefinition[object] : 
code OK -
 
 code[String] : as 

 
  ...


And for the AMF Post Message:

Message Target :
observationFacade.saveObservationDefinition

data[array] : 
 length[Number] : 1
 [0][object] : 

 _flag[String] : Envelope

 data[array] : 

  length[Number] :
1
 
[0][com.intensium.iwiser.business.observation.ObservationVO]
: 

 
 definition[undefined] : undefined

 
 id[com.intensium.iwiser.business.IdVO] : 

 
 
extension[undefined] : undefined
 
 
 root[undefined] : undefined

 
 oid[Number] : 1.19582E+006

 
 repeatHigh[Number] : 1

 
 repeatLow[Number] : 0

 
 statusCode[String] : normal
 
  statusOid[null] :
null

 
 title[String] : Ohjainkatetri(t), 2.suoni
 
valueDefinition[com.intensium.iwiser.business.observation.ValueDefinitionVO]
: 
code missing -
  code[undefined] :
undefined

 
  ...



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






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











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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



  Visit your group "flexcoders" on the web.
  To 

RE: [flexcoders] Re: HistoryManger state is undefined on loading

2005-07-12 Thread Matt Chotin










In looking at the code it looks like
anything that isnt an object will be returned as a string. All strings
turn themselves to true when examined as a Boolean so you may need to do string
comparison instead. Sorry, not much more help than that since I dont
know that code very well.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of rockmoyosa
Sent: Tuesday, July 12, 2005 12:17
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
HistoryManger state is undefined on loading





I'm beginning to get the idee that this part of Flex is pushed in 1.5
(Or what version it was introduced). No
documentation is minimal so
are the supported functionality. 

I hope somebody can prove me wrong.

be continued??


--- In flexcoders@yahoogroups.com,
rockmoyosa [EMAIL PROTECTED] wrote:
 --- In flexcoders@yahoogroups.com,
rockmoyosa [EMAIL PROTECTED] wrote:
  This thing is really weird:
  
  first save state:
  
  DEBUG: - saveState 
  
   DUMP START  
  this:Object
 
| view = false (boolean)
 
| detailId =
7bd21a76-b716-4501-a196-1acf4265d847 (string)
  
  
  And if I click on Back:
  
  DEBUG: - loadState 
  
   DUMP START  
  this:Object
 
| detailId =
7bd21a76-b716-4501-a196-1acf4265d847 (string)
 
| view = true (string)
  
  What the @[EMAIL PROTECTED] view = true??? ...
More documentation on the
  HistoryManager would be appreciated. Are
perhaps more samples. 
  
  I found one but it to damn
simple it doesn't say anything on how
  it's working only how to use it for
simple things.
  
 

http://www.richinternet.de/blog/index.cfm?mode=entryentry=3CF01C8E-CFBB-A5CA-36BCC797581D2CFB
  
  
  
  --- In flexcoders@yahoogroups.com,
jacksodj [EMAIL PROTECTED] wrote:
   I personnaly have seen really
flakey behavior from that history 
   controller. I have posted before,
but have not been able to see a 
   good resolution
   --- In flexcoders@yahoogroups.com,
rockmoyosa [EMAIL PROTECTED] 
   wrote:
My case:

- saveState is executed 
- On Back
loadState is executed.

But.
Than my state is
undefined


private var changed:Boolean;



public function initHistory():Void {

 mx.managers.HistoryManager.register(this);

 storeInternalState();

}



public function saveState():Object {

 // called by HistoryManager, tells the component

 // to create a state object and to
return it\

 var state = new Object();

 state.model = Model.getInstance();

 state.view = this._scope.m_detailview;

 

 mx.controls.Alert.show
  
(+this._scope.m_detailview.visible);

 Log.debug(hello+state);

 return state;

}



public function loadState(state:Object):Void {

 // called by HistoryManager, passes in a state

 // object so the component can rebuild it's
state

 mx.controls.Alert.show(state:
+state.view);

 restoreInternalState(state);

}



public function savePresent():Void {

 storeInternalState( );

}


public function storeInternalState():Void {

 mx.managers.HistoryManager.save();

}



public function restoreInternalState(state:Object):Void {

 Log.dump(state);

 Log.debug
   (state.view.visible:
+state.view.visible);

 

 if(state.view.visible == true  
   this._scope.m_detailview.visible ==
false ||

  
 
state.view.visible == false 
   
this._scope.m_detailview.visible
== true){

  toggleView();

 }


Model.getInstance().restoreInstance(state.model);

}




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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



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



  











RE: [flexcoders] Re: Column chart using webservice result

2005-07-12 Thread Matt Chotin










Hard to know what youre running
into without seeing your problems. But before you post them Id just
take a look at the existing chart samples like the char explorer to see if you
can match up on anything that might already exist. There are plenty of
flexcoders posts about charts as well, the archives might have code that youre
looking for.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of tony_lic
Sent: Tuesday, July 12, 2005 1:07
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Column
chart using webservice result





Matt Chotin:
 Ha. i tried with that  it works. I
have one more problem. now 
i'm able to set the horizontal axis from the web
service result. but
how can i set other details like Column series
 values of each 
series. it would be a great help for me if you
could help me.
with regards,
tony

--- In flexcoders@yahoogroups.com,
Matt Chotin [EMAIL PROTECTED] 
wrote:
 Shouldn't you be able to replace the last two
lines with
 colchartKPI.horizontalAxis = series?
 
 
 
 I haven't played with this much...
 
 
 
 
 
 From: flexcoders@yahoogroups.com

[mailto:flexcoders@yahoogroups.com]
On
 Behalf Of tony_lic
 Sent: Monday, July 11, 2005 4:24 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Column chart using
webservice result
 
 
 
 hi,
 I have to build a column chart, where all the
properties like 
 columnseries, categoryaxis  the
y-axis values all should come 
from 
 a web service.
 I dont know where to provide the data
provider property. 
 
 I tried some coding but it does not appear to
work. let me provide 
 with you the code snippet.
 please help me.
 
 for(var i=0;i 
oRequest.AxisData.item[0].Set.item.length; i++)

{

tempValues.push

(oRequest.AxisData.item[0].Set.item[i].Caption.toString());

//Alert.show(oRequest.AxisData.item
 [0].Set.item[i].Caption.toString());

}

colchartKPI.dataProvider = 
 oRequest.AxisData.item[0].Set;

var series:CategoryAxis = new CategoryAxis();

series.dataProvider = tempValues;



colchartKPI.horizontalAxis.CategoryAxis.dataProvider = 
 tempValues;

colchartKPI.horizontalAxis.addItem(series);
 
 with regards,
 tony
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com

 
 
 
 
 
 
 YAHOO! GROUPS LINKS 
 
 
 
 * Visit your
group flexcoders
 http://groups.yahoo.com/group/flexcoders
 on the web.
   
 * To
unsubscribe from this group, send an email to:
 
[EMAIL PROTECTED]

mailto:[EMAIL PROTECTED]
subject=Unsubscribe 
   
 * Your use of
Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/
. 
 
 
 
 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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



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



  











RE: [flexcoders] remote obejct and dynamic model source

2005-07-12 Thread Matt Chotin










Have your remote object take the language
that you want as a parameter to the method that returns the XML. Have the
button call the RemoteObject method and pass in the right language parameter.
Assign the XML result into a variable (note that it will still be XML, if you
want it converted into an object youll need to look at something like
our XMLObjectOutput extra).



If there is a specific problem youre
having let us know, but in theory this is a pretty simple thing to do.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Nithya R
Sent: Tuesday, July 12, 2005 6:37
AM
To: flexcoders
Subject: [flexcoders] remote
obejct and dynamic model source







i have an application that uses a remote object to fetch data from
xml... 











i have 2 links each for a language... on click of say 'FR' ( for
french) it should fetch the corrresponding xml which has the french data











pls help me with this...











thanks,





nithya



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 




 
  
  Computer
  software testing 
  
  
  Macromedia
  flex 
  
  
  Development
  
  
 
 
  
  Software
  developer 
  
  
  
  
  
  
  
 








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



  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   






  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] You must set https-url to a non-relative https value for RemoteObject...

2005-07-12 Thread Matt Chotin










Im assuming that you are serving
your SWF over http (and not https). This means that the RemoteObject does not know
how to reach the gateway over https. In flex-config.xml youll see the
amf-https-gateway which by default is {context.root}/amfgateway. You will need
to change that to the full url of your gateway (e.g., https://myserver:9100/amfgateway) since
we cannot automatically resolve what the https port should be (since its
a different port than where the SWF was served and we dont want to
assume 443 by default).



HTH,

Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of rb_dickey
Sent: Tuesday, July 12, 2005 12:48
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] You must set
https-url to a non-relative https value for RemoteObject...





Hi, I'm receiving the
following error during compiles from within FB 
when I change my RO protocols to https:

You must set https-url to a non-relative
https value for RemoteObject 
in flex-config.xml or set gatewayHttpsUrl to a
non-relative https 
value when using mxmlc

I've read Chapter 37 + many times regarding the
configuration in flex-
config, crossdomain.xml, etc. to support ssl but I
am obviously 
missing something or there is an undocumented
design feature at work 
(aka bug).

Thanks for any info/help.

Regards,
Rob





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









SPONSORED
LINKS 




 
  
  Computer
  software testing 
  
  
  Macromedia
  flex 
  
  
  Development
  
  
 
 
  
  Software
  developer 
  
  
  
  
  
  
  
 








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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Validators

2005-07-12 Thread Matt Chotin










Check out the Validator.disable and
Validator.enable functions. These are meant to turn off a validator while youre
resetting the source fields, when you re-enable theyll be ready to go.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of chris.alvarado
Sent: Tuesday, July 12, 2005 2:29
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Validators





good afternoon everyone,

i have what seems like a simple problem with the
validators class but
cannot seem to figure out what is wrong.

i have a set of inputs (text, combobos, etc) that
dumps data into a
datagrid. these fields are part of a model that i
then validate using
the isStructureValid() method which works just
fine. however when im
done adding the items to datagrid i want to reset
the input fields, so
i do this as you would expect (manually) by simply
setting the
coresponding properties (somefield.text
=) etc.

however this seems to keep the validators
instantiated on the fields
as it will then show the little red outline as if
it is expecting data
when im not even wanting to validate the model at
that time.

does the validator need to be reset somehow?

any suggestions would be greatly appreciated.

-- 
-chris.alvarado
[application developer]


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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



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



  











[flexcoders] MM Flex Product FAQ

2005-07-12 Thread Tarik Ahmed
I was reading the Flex product FAQ: 
http://www.macromedia.com/software/flex/productinfo/faq/

Regarding the Flex Hosting, it mentions MM is working on a hosting 
program. Was just curious if Macromedia cares to comment as to what is 
the status of that; are we years away from that or months (considering 
that FAQ was written awhile ago)?

Thx.







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

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

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

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




RE: [flexcoders] AutoComplete Combobox

2005-07-12 Thread Matt Chotin










Unfortunately this is something youll
have to build yourself. If I were inclined to look for some undocumented
support I might remember that the ComboBox dropdown is a List which is a
subclass of ScrollSelectList. I then might consider using one of those
undocumented techniques to view the source of ScrollSelectList and looking for
a function that might help me out, something with a name starting with find
for example. Then I might curse Matt for being so oblique but still be glad
that I got pointed on a way to start J



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of charlespaz1
Sent: Tuesday, July 12, 2005 4:03
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] AutoComplete
Combobox





The ComboBox, when not set editable=true, will jump to the
list item
that starts with the typed character.
However, when editable is set
to true, it no longer works. Is there an
easy way to get an editable
ComboBox to autocomplete, or does it have to
programmed from scratch?

Thanks




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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



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



  











Re: [flexcoders] MM Flex Product FAQ

2005-07-12 Thread Scott Barnes
Oh yeah, what gives :)

*Imagines Macromedia as a hosting providerimagine the cash
they'd get?*




On 7/13/05, Tarik Ahmed [EMAIL PROTECTED] wrote:
 I was reading the Flex product FAQ:
 http://www.macromedia.com/software/flex/productinfo/faq/
 
 Regarding the Flex Hosting, it mentions MM is working on a hosting
 program. Was just curious if Macromedia cares to comment as to what is
 the status of that; are we years away from that or months (considering
 that FAQ was written awhile ago)?
 
 Thx.
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 
 
 
 
 


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


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

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

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

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




RE: [flexcoders] Can someone please explain to me why I can not get my combo boxes to sort in my

2005-07-12 Thread Matt Chotin










Based on the example I dont think
sort was the problem but more that the data wasnt saved right? Heres
a cell renderer that I think does what you want:



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

marginLeft=0
marginBottom=0 marginRight=0 marginTop=0 

height=25
backgroundAlpha=0 width=100
verticalAlign=middle 

horizontalAlign=center 





 mx:Script

 public static var
dataProvider:Array;

 private var listOwner:Object;

 var getCellIndex : Function;

 var getDataLabel : Function;

 var item:Object;

 

 

 function setValue(str:String,
item:Object, sel:Boolean) : Void 

 {

  this.item = item;

 

 _cb.visible
=(item!=undefined); 



 if (item[getDataLabel()] ==
null)

 {

  _cb.selectedIndex
= 0;

 }

 else

 {

  _cb.selectedItem =
item[getDataLabel()];

 }  



 }

 

 

 

 function cbChangeHandler(evt:Object):Void

 {


listOwner.editField(getCellIndex

().itemIndex,getDataLabel(),_cb.selectedItem);

 }

 

 

 /mx:Script

 mx:ComboBox id=_cb
dataProvider={reasonlist.dataProvider}
change=cbChangeHandler(event) /





/mx:VBox



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Joe
Sent: Tuesday, July 12, 2005 5:20
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Can someone
please explain to me why I can not get my combo boxes to sort in my





Can someone please explain to me why I can not get my combo boxes to 
sort in my data grid. I have provided the
code I am using. I have 
around and around with this and I am getting no
where. I can not seem 
to get the action scripting syntax correct.
Thank you!

--- Data grid 

mx:Script
private function initCellRenderer() :
Void 
![CDATA[
{
 reasonlist.dataProvider = [ ,
Incorrect, Resolved, Other ];
 }
]]
/mx:Script

mx:DataGrid rowHeight=75
width=800 height=302 


alternatingRowColors=[#fafafa,#ff] 
useRollOver=false
selectable=FALSE 

 mx:Model id=DXList
source=dxlist.xml/


mx:dataProvider{DXList.dxinfo}/mx:dataProvider

 mx:columns

 mx:Array

 mx:DataGridColumn headerText=Dx
Code 
columnName=dxcode
textAlign=center width=75/

 mx:DataGridColumn headerText=Dx 
columnName=dxdesc
textAlign=center width=455 /

 mx:DataGridColumn headerText=Dx
Source 
columnName=dxsource
textAlign=center width=85/

 mx:DataGridColumn
headerText=Reason 
columnName=reasonchoice
textAlign=center 
cellRenderer=reasonlist/

 /mx:Array

 /mx:columns

 

/mx:DataGrid
/mx:Application


--- XML data for data grid --

DxList
 dxinfo

 dxcode129622/dxcode

 dxdescAMAJOR DEPRESSIVE AFFECTIVE
DISORDER SINGLE 
EPISODE MODERATE DEGREE/dxdesc
 

 dxsourceECS/dxsource
 /dxinfo
 dxinfo

 dxcode229622/dxcode

 dxdescBMAJOR DEPRESSIVE AFFECTIVE
DISORDER SINGLE 
EPISODE MODERATE
DEGREE/dxdesc
 

 dxsourceECS/dxsource

 /dxinfo
 dxinfo

 dxcode329622/dxcode

 dxdescCMAJOR DEPRESSIVE AFFECTIVE
DISORDER SINGLE 
EPISODE MODERATE
DEGREE/dxdesc 

 dxsourceECS/dxsource
 /dxinfo
 dxinfo

 dxcode429622/dxcode

 dxdescDMAJOR DEPRESSIVE AFFECTIVE
DISORDER SINGLE 
EPISODE MODERATE
DEGREE/dxdesc 


dxsourceECS/dxsource 

 /dxinfo
 dxinfo

DxList


--- CellRendering File ---

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

marginLeft=0
marginBottom=0 marginRight=0 marginTop=0 
height=25
backgroundAlpha=0 width=100
verticalAlign=middle 
horizontalAlign=center 


 mx:Script
 public
static var dataProvider:Array;
 private
var listOwner:Object;
 var
getCellIndex : Function;

 var getDataLabel : Function;
 
 function
setValue(str:String, item:Object, sel:Boolean) : Void 
 { 

 _cb.visible =(item!=undefined); 

 

 _cb.dataProvider = reasonlist.dataProvider;


 _cb.selectedIndex = 
reasonlist.dataProvider.selectedIndex;


 }
 
 function getValue()
: Object
 {

 var rd = listOwner.getItemAt(getCellIndex
().itemIndex);

 return rd.reasonlist.dataProvider;
 }
 
 function
handleEvent(evt:Object):Void
 {

 if (evt.type == change)

 { 


  var rd =
listOwner.getItemAt(getCellIndex
().itemIndex);


 
rd.reasonlist.dataProvider.selectedIndex = 
_cb.selectedIndex;


 
listOwner.editField(getCellIndex
().itemIndex,reasonlist.dataProvider,rd.reasonlist.dataProvider);

 } 
 }
 
  
 /mx:Script
 mx:ComboBox
id=_cb dataProvider={reasonlist.dataProvider}
/


/mx:VBox








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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



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