[flexcoders] Re: [flex1.5] precompile an ubiquious MXML application ?

2005-10-28 Thread r0main
So if I understand you correctly, there is strictly no way to
precompile a Flex MXML application that can connect to its current
flex server ?
Like if I deploy a precompiled SWF to
http://www.myTestServer.com/my-application/index.swf it connects to
http://www.myTestServer.com/my-application/amfgateway and if deployed
to http://www.myProductionServer.com/my-application/index.swf it
connects to
http://www.myProductionServer.com/my-application/amfgateway ??

At least is there a parameter I can pass AT RUNTIME, via the JSP and
TagLib to be able to specify the current gateway path ???

Romain

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

 You either need to fully qualify the url for your gateway in
 flex-config.xml or you need to specify -contextRoot (I think that's the
 option name, check the docs) from mxmlc.
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of r0main
 Sent: Wednesday, October 26, 2005 7:37 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] [flex1.5] precompile an ubiquious MXML application
 ?
 
  
 
 Hello,
 I'd like to precompile an application into a SWF that I can deploy in 
 my Dev, Test and Production environment...
 
 Yet I've got the following message when my SWF gets called via 
 http://pc007810d:9001/firm-web-admin/main.swf URL:
 
 *** Security Sandbox Violation *** Connection to http//pc007810d:9001
 {context.root}/amfgateway halted - not permitted from 
 http://pc007810d:9001/firm-web-admin/main.swf
 
 Why isn't the {context.root}/amfgateway replaced my current context 
 root ???
 
 Thanks a lot !
 
 Romain
 
 
 
 
 
 --
 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/ . 
 
  
 
 







 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

--
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] [flex1.5] precompile an ubiquious MXML application ?

2005-10-26 Thread r0main
Hello,
I'd like to precompile an application into a SWF that I can deploy in 
my Dev, Test and Production environment...

Yet I've got the following message when my SWF gets called via 
http://pc007810d:9001/firm-web-admin/main.swf URL:

*** Security Sandbox Violation *** Connection to http//pc007810d:9001
{context.root}/amfgateway halted - not permitted from 
http://pc007810d:9001/firm-web-admin/main.swf

Why isn't the {context.root}/amfgateway replaced my current context 
root ???

Thanks a lot !

Romain





 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

--
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] Multiples ComboBox Cell Renderers ?

2005-08-10 Thread r0main
Hi flexcoders,
in a single DataGrid I need to use in 3 columns 3 instances of
ComboBox-based CellRenderers, that is 100% same functionnalities,
except from the ComboBox's data provider [different lists]. Yet I was
using a static dataProvider in my cellRenderer class, but I can't with
3 ComboBox having different content being in the same screen.

Option 1: I do 3 different ComboBoxCellRenderer classes
[ComboBoxCellRenderer1, ComboBoxCellRenderer2, ComboBoxCellRenderer3],
which is what I try to avoid

Option 2: I find a suitable way to define at DataGridColumn-level the
dataProvider to us for ComboBoxcellRenderers of this column, so each
column can have its own dataProvider to fill ComboBoxes. And a
suitable way to get those dataProvider from inside the CellRenderer...

Anyone having some Option 2 code sample ? Thanks a lot !!!

r0main




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hc57p3q/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123668296/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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: Multiples ComboBox Cell Renderers ?

2005-08-10 Thread r0main
Thanks a lot again :-)
In fact I managed to have my solution working as well:

Defined a custom DataGridColumn:

class com.r0main.ComboBoxDataGridColumn extends
mx.controls.gridclasses.DataGridColumn {
[ChangeEvent(dataProviderChanged)]
private var _dataProvider:Array;
public function get dataProvider():Array {
return _dataProvider;
}

public function set dataProvider(newDp:Array) {
_dataProvider = newDp;
dispatchEvent( { type: dataProviderChanged } );
}
}

Then in my ComboBoxCellRenderer:
columnOwner =
ComboBoxDataGridColumn(DataGrid(listOwner).columns[getCellIndex().columnIndex]);
// get values immediately
dataProvider = olumnOwner.dataProvider;
// if any later change to DataProvider
columnOwner.addEventListener(dataProviderChanged, this);

This does perfectly what I needed, I can now set many dataProviders to
many ComboBox cell-renderers [in fact my ComboBox cell-renderer is
more complex, because 90% of time it displays a simple Label, but on
click it popups a ComboBox]

r0main

--- In flexcoders@yahoogroups.com, Alistair McLeod [EMAIL PROTECTED] wrote:
 Hi r0main,
 
 I've just realised that you don't need to set the columnName to
0,1,2 etc on
 the individual columns. Instead of getDataLabel(), use
 getCellIndex().columnIndex - it'll do the same thing.
 
 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 r0main
 Sent: 10 August 2005 12:26
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Multiples ComboBox Cell Renderers ?
 
 Thanks Ali,
 that's a good idea, simple... I'll still investigate my second
option for
 few minutes then I'll use your solution :-).
 
 Ciao, r0main
 
 --- In flexcoders@yahoogroups.com, Alistair McLeod [EMAIL PROTECTED]
wrote:
  Hi r0main,
  
   
  
  There's a 3rd way, and it's what I've done in the past...
  
   
  
  What you do is have a single data provider, but each element in the 
  data provider is itself an array of whatever you want. Lets keep
it as 
  simple strings for now, but you can use objects.
  
   
  
  So, your data provider could be something like the following array:
  
   
  
  [ [ Row0Column0, Row0Column1, Row0Column2 ]
  
[ Row1Column0, Row1Column1, Row1Column2 ]
  
[ Row2Column0, Row2Column1, Row2Column2 ] ]
  
   
  
   
  
  Then, on each datagrid column, you set the columnName to a column
 index, ie.
  0, 1, and 2. This is what is returned by getDataLabel() in your
 custom cell
  renderer, as you'll see below.
  
   
  
  In your custom cell renderer setValue, do something like this:
  
   
  
  public function setValue( str : String, item : Object, selection :
 String )
  {
  
 ...
  
 var text : String = String( item[ getDataLabel() ] );
  
 ...
  
  }
  
   
  
  text will thereafter hold Row0Column0 etc.
  
   
  
  This is typed from memory, so may not be exact, but it should get
 you there.
  
   
  
  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 r0main
  Sent: 10 August 2005 09:05
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Multiples ComboBox Cell Renderers ?
  
   
  
  Hi flexcoders,
  
  in a single DataGrid I need to use in 3 columns 3 instances of
  
  ComboBox-based CellRenderers, that is 100% same

[flexcoders] Object.registerClass different name ?

2005-07-13 Thread r0main
Hello, I was wondering :
Has anyone already mapped a different classname/package path between
Flex and Java DTO ?
Got plenty of them, but always one-to-one mapping !

Ciao, 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] Re: Object.registerClass different name ?

2005-07-13 Thread r0main
I know you CAN, but does anyone DO that ?
That is have a java class aaa.bbb.Cccc mapped to AS2
vvv.www.xxx.yyy.Zzzz ???

That is the question !

Ciao, r0main

--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote:
 Yep, you can use different packages/classnames with
 Object.registerClass()
  
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of r0main
 Sent: Wednesday, July 13, 2005 4:36 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Object.registerClass different name ?
 
 Hello, I was wondering :
 Has anyone already mapped a different classname/package path between
 Flex and Java DTO ?
 Got plenty of them, but always one-to-one mapping !
 
 Ciao, 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/
 





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




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




[flexcoders] Ctrl + A in a datagrid ?

2005-06-29 Thread r0main
Hello,
is there a way to make a DataGrid Keyboard-aware of the event Ctrl+A
to select all rows ?

Thanks, 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] Re: Ctrl + A in a datagrid ?

2005-06-29 Thread r0main
As usual, too fast to ask... I was testing my app in Eclipse (Internal
Web Browser).. Seems it doesn't forward some Key to the flex
application... Works perfectly in FireFox or IE...

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:Panel
mx:DataGrid keyDown=getCtrlA('d1')/mx:DataGrid
mx:DataGrid keyDown=getCtrlA('d2')/mx:DataGrid
/mx:Panel
mx:Script
![CDATA[
private function getCtrlA(name:String) {
if (Key.isDown(Key.CONTROL)  Key.getCode() == 65) {
  mx.core.Application.alert(Ctrl + a +name);
   }
}
]]
/mx:Script
/mx:Application

Ciao, r0main

--- In flexcoders@yahoogroups.com, r0main [EMAIL PROTECTED] wrote:
 Hello,
 is there a way to make a DataGrid Keyboard-aware of the event Ctrl+A
 to select all rows ?
 
 Thanks, 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] Re: ComboBox 'Please Select' first Item

2005-06-29 Thread r0main
One idea is to use a filter:
mx:ComboBox
dataProvider={viewHelper.addPleaseSelectMessage(myModel.arrayOfData)}
 labelField=myLabel/

in viewHelper:
function addPleaseSelectMessage(inData:Array):Array {
 var toReturn:Array = inData.concat(); //don't modify original
 toReturn.unshift({myLabel:blabla, myCode:0});
}

Hope this helps, ciao, r0main

--- In flexcoders@yahoogroups.com, digital_eyezed [EMAIL PROTECTED]
wrote:
 Hi,
 
 How do I have the first item in the combobox read 'please select' 
 with a corrosponding data value of 0(zero). The rest of the combobox 
 should be filled with a return from a remote object call and the 
 resulting VO objects (with label / Data pairs).
 
 I can fill the comboBox with the VO's no problem, but How do I add 
 the 'Please Select'?
 
 I have tried this function on the creationComplete event of the 
 Combobox:
 
 function addSelect(event){
   var theTargetId = event.target.id;
   theTargetId.addItemAt(0,Please Select,0);
 }
 
 any help most appreciated.
 
 Regards,
 
 Iain




--
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] Flex Dat Bug ?

2005-06-23 Thread r0main
hello,
I currently have a big problem : So far I still was using FlexBuilder
as my main Flex debugger... now my project is 600+ classes, I can't
debug anymore using the Flexbuilder debugger !
Everything looks fine, slow as usual, but when I try to open any
'compiled' file to set breakpoints into it, Flexbuilder opens another
file !

Any idea on how I can fix that, like doing a Dreamweaver Javascript
extensions ?

I really can't find a good way to deal with that command-line-only FDB
tool !
(or anyone with a simple graphical GUI ontop of FDB ???)

Ciao, 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] Re: Flash + Cairngorm Example With Source Code

2005-06-16 Thread r0main
Hi Robin,
so sad your website isn't viewable from Switzerland... :-(
(Still can't understand why)

r0main

--- In flexcoders@yahoogroups.com, Robin Hilliard [EMAIL PROTECTED] wrote:
 FYI I have posted a Flash version of the Cairngorm sample application  
 with source code on our blog:
 
 http://www.rocketboots.com.au/blog/index.cfm? 
 mode=entryentry=83219052-E081-51EF-A73B5F4EF642C3F5
 
 Cheers,
 Robin
 
 On 31/01/2005, at 11:10 AM, Robin Hilliard wrote:
 
  FYI the sample application code, README, presentation slides and  
  meeting recording URL are available here:
 
  http://www.rocketboots.com.au/blog/index.cfm? 
  mode=entryentry=C6173106-E081-51EF-A73336809276EB7C
 
  Robin
 
  On 27/01/2005, at 1:50 PM, Robin Hilliard wrote:
 
 
  Hi All,
 
   Just letting you know that I'm doing a little presentation on  
  Flex and
   Cairngorm tomorrow as part of the Macromedia Australia - New Zealand
   Community seminar series.  The meeting is at 3pm Australian Eastern
   Standard Time and will be recorded.  The URL is
 
  http://www.macromedia.com/go/anzcommunity
 
   Cheers,
   Robin




 
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: Application flow best practices?

2005-06-07 Thread r0main
I do agree with Andrew on the view helpers states in a ModelLocator
and using bindings.
Just remember you can have many ModelLocators in an application, so
one may be dedicated at holding application-states, and another one
may be the classic one, which holds your data.

Cheers, r0main



--- In flexcoders@yahoogroups.com, Andrew Spaulding [EMAIL PROTECTED] wrote:
 Hi Kent,
 
 If you are using Cairngorm 0.99 there is no need to set the view like
 this:
 
 view:IndexViewHelper name=indexView view={this} /
 
 The above syntax is no longer necessary, and has been replaced by a
 much simpler use of the id attribute, making it simpler to call a
 function on the viewHelper within that view.
 
 view:IndexViewHelper id=indexView /
 
 Regarding the view data member, it is a part of the ViewHelper which
 extends MXMLObject. It has an initialized method which is called by
 the Flex component framework after a component has been initialized.
 This method takes 2 parameters, first being the parent document (the
 view object) and the second is the id of the view helper. In here the
 view attribute is set.
 
 To provide an idea of how I manage multiple screen views is that I
 have multiple workFlowState attributes in the ModelLocator, which my
 view stacks are bound to. For instance I have an
 applicationWorkflowState which switches views between the login screen
 and the main application (being another view stack). And then for each
 sub application (or section) I maintain a separate workflow state.
 
 Hope this makes sense. But I'd be interested to hear how others
 approach this issue.
 
 Best,
 
 Andrew Spaulding
 www.flexdaddy.com
 
 
 
 
 
 --- In flexcoders@yahoogroups.com, Seth Voltz [EMAIL PROTECTED] wrote:
  Kent,
  
  The view member variable is passed in from the calling MXML file
as a
  parameter of the tag. In the case of IndexViewHelper you might call
 it as
  
  as:IndexViewHelper name=indexView view={ this } /
  
  assuming your name space for that tag is 'as'.
  
  
  Seth /
  
  
  Kent Henneuse wrote:
  
  I am using Flex for new development and starting to get a grasp on
 Cairngorm
  as well.  I am now trying to get a workflow between static screens
 laid out
  so that I can slowly wire up the server-side calls.
  
  What I would like to find out is what is the best way to set up the
 flow?
  Currently I have a View Stack that has each of the main screens. 
 This seems
  ok if I don't have a lot of screens but I can see that if I have
 more then
  say ten items in the View Stack it will rapidly become hard to
 manage.  I
  was thinking of having layers of View Stacks (View Stack inside of
 another
  View Stack) but haven't figured out how to do this in Cairngorm
 yet.  I am
  hoping to avoid having a class that manages the screens shown as if
 it were
  
  What are the approaches that others have used to solve this sort of
 flow
  problem?  Maybe it is simply just needing a better description of
 how the
  flow of the components are done in Cairngorm for the switching of
 the views.
  
  BTW where does the data member 'view' come from in
 IndexViewHelper.as and
  some of the other View Helper as I don't see it being a member of the
  ViewHelper base class?
  
 Thanks,
  
 -Kent
  
  Perfection is achieved, not when there is nothing more to add, but
 when
  there is nothing left to take away.
  - Antoine de Saint Exupery
   
  

  




 
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: log4as/log4flex?

2005-06-07 Thread r0main
log4f on sourceforge:

http://sourceforge.net/projects/log4f/

cheers, r0main

--- In flexcoders@yahoogroups.com, andrea_wyss [EMAIL PROTECTED] wrote:
 Did someone already port log4j to ActionScript?
 This would be a nice utility.
 
 I thought reading something about a log4as in the Flex book but I am 
 not sure now.
 I did a google search and could not find anything like that.
 Andrea




 Yahoo! Groups Sponsor ~-- 
!-- SpaceID=1705007207 loc=TM noad --

~- 

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

2005-06-06 Thread r0main
Wasn't SVG once introduced as the Flash killer because based on
standards so anyone would adopt it ? ;-)

r0main


--- In flexcoders@yahoogroups.com, Rick Bullotta
[EMAIL PROTECTED] wrote:
 David:
  
 One convergence question for you (or product marketing):
  
 Ironically, Flash Player Lite has support for SVG-T, but
Flash/Flex do not (only embedding of static SVG on the server-side for
Flex).  Any plans to add the SVG-T capabilities to the mainstream
Flash Player?  I would certainly encourage it, and I know your new
friends at Adobe can help g.
  
 Best regards,
  
 - Rick Bullotta
   CTO
   Lighthammer Software
  
 
 
 
 From: flexcoders@yahoogroups.com on behalf of David Mendels
 Sent: Mon 6/6/2005 5:50 AM
 To: flexcoders@yahoogroups.com
 Subject: Flex futures...(was RE: [flexcoders] Re: file handling)
 
 
 Hi,
 
 Good catch Ian.  While today was not a product announcement, we are
 talking more about the long term roadmap for both the Flash Player and
 Flex.  The whitepaper his some high-level information on both.  
 http://www.macromedia.com/platform/whitepapers/platform_overview.pdf
 
 Regards,
 David




 
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: About deploying flex app in Weblogic

2005-05-26 Thread r0main
Hello, got the same problem, and a MM Gold Support...:
Yet no news on that point, seems at least it will be corrected in Flex
2.0 (= a more classic deployment and jar folder), but maybe MM will
publish  a hot fix before that date...

Cheers, r0main

--- In flexcoders@yahoogroups.com, Jesus Salvador Ramos Cardona
[EMAIL PROTECTED] wrote:
 Hi all,
 
  
 
 I have my flex app running in weblogic 8.1, and I am using ant to
automate everything (including deploy and undeploy). When running the
undeploy WL tool it tries to delete the dir my app was copied into,
but I get an error thrown by ant in which it is impossible to delete
the file 'WEB-INF/flex/jars/ahdump.jar'. Is there a way to have this
file unlocked? Perhaps a switch in some flex servlet?
 
  
 
 No big deal here, just trying to remove nasty red-colored messages
in my ant console.
 
  
 
 Regards.
 
  
 
 J.
 
  
 
 
 Jesús Ramos Cardona
 Desarrollo de Sistemas de Casa de Bolsa
 
 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 
 +52 (55) 51 74 22 22 ext. 1250
 
 Ixe Grupo Financiero
 
 Este correo electrónico y sus anexos pueden contener información
CONFIDENCIAL para uso exclusivo de su destinatario. Si ha recibido
este correo por error, por favor, notifíquelo al remitente y bórrelo
de su sistema. Muchas gracias. Las opiniones expresadas en este correo
son las de su autor y no son necesariamente compartidas o apoyadas por
la compañía. Ixe Grupo Financiero no asume aquí obligaciones ni se
responsabiliza del contenido de este correo, a menos que dicha
información sea confirmada por escrito por un representante
autorizado. No se garantiza que la transmisión de este correo sea
segura o libre de errores, podría haber sido viciada, perdida,
destruida, haber llegado tarde, de forma incompleta o contener VIRUS.




 
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: Eclipse as a main flex dev

2005-05-24 Thread r0main
Well,
basically I'd just want to validate that the MXML files can be compiled...
With MTASC I compile .as files just to get error messages, nothing
more ! (then I can see flex mx.core classes have duplicates getter
definitions ;-) )
And I'd like as well to have an eclipse-based MXML error validation...

r0main

--- In flexcoders@yahoogroups.com, Manish Jethani
[EMAIL PROTECTED] wrote:
 On 5/23/05, r0main [EMAIL PROTECTED] wrote:
 
  What would be very hot is that when we are editing MXML files in a
  FAME + Eclipse environment and saving it, we can :
  -Launch mxmlc to compile the file (parameters ?)
  -Then Run MTASC onto the compiled file
 
 Even though I haven't tried, I'm pretty sure you can't compile a
 xxx-generated.as file with MTASC, because that file does not contain
 all the source, just enough for you to understand what's going on
 under the hood.
 
 Instead, you could use mxmlc to compile directly to SWF, no?




 
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] Eclipse as a main flex dev

2005-05-23 Thread r0main
Just saw this
http://manish.revise.org/2005/05/code-generated-by-mxml-compiler.html
and it inspires me... Manish, any help ?

What would be very hot is that when we are editing MXML files in a
FAME + Eclipse environment and saving it, we can :
-Launch mxmlc to compile the file (parameters ?)
-Then Run MTASC onto the compiled file

If so, we get closer and closer to the best dev environment for Flex.

r0main




 
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: How to configure MXML schema in Eclipse + OxygenXML 6?

2005-05-19 Thread r0main
Hello Dimitrios,
I'm looking forward to find a valid MXML editor into eclipse... I've
downloaded erverything... I can see the XML editor is here, I've
associated MXML file to it... It opens it as an XML file, but says
the document is empty, while the source tab shows the mxml file...
Any idea ?

Ciao, r0main

--- In flexcoders@yahoogroups.com, Dimitrios Gianninas
[EMAIL PROTECTED] wrote:
 Not sure if anyone uses it, but I started using Eclipse Web Tools for
 MXML editing. You can specify the MXML schema and works it wonderfully
 so far.
  
 http://www.eclipse.org/webtools/index.html
  
 Dimitrios Jimmy Gianninas
 RIA Developer
 Optimal Payments Inc.
  
 
   _  
 
 From: Andrew Muller [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, May 18, 2005 8:55 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] How to configure MXML schema in Eclipse +
 OxygenXML 6?
 
 
 Hans
 
 Apologies if this appears twice.
 
 I buggerised around for a while and found success if I used the
 following settings (totally non scientific/documented settings, might
 be a better way):
 
 In Window/Preferences/oXygen/Editor/Tag Insight/Default I added the
 following:
 
 Namespace: Any
 Root local name: Any
 File name: Any
 Schema type: XML Schema
 Schema URI: file location of XSD file
 
 I then moved this entry to the top of the list, have been using it for
 about a day and it seems to work for me so far without having any
 noticable side effect on other file types.
 
 HTH
 
 Andrew
 
 Andrew Muller
 Partner, RocketBoots
 http://www.rocketboots.com.au
 
 On 5/19/05, Hans Omli [EMAIL PROTECTED] wrote:
   Has anyone successfully set up tag insight with Eclipse and the new
 version
  of OxygenXML.  I had no trouble with OxygenXML 5.1, but can't seem to
 get
  tag insight working with 6.0.  Thanks! 
   
   Yahoo! Groups Links
   
  To visit your group on the web, go to:
  http://groups.yahoo.com/group/flexcoders/

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

  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
 
 
   _  
 
 Yahoo! Groups Links
 
 
 * To visit your group on the web, go to:
   http://groups.yahoo.com/group/flexcoders/
 
 * To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 
 * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
 
 
 
 table width=800 cellpadding=4 cellspacing=10 border=0tr
bgcolor=BDBDBDtd valign=top width=400font face=verdana size=2
color=FFbAVIS IMPORTANT/b/font/tdtd valign=top
width=400font face=verdana size=2
color=FFbWARNING/b/font/td/trtrtd valign=top
width=400p align=justifyfont face=verdana size=1 color=808080 Les
informations contenues dans le present document et ses pieces jointes
sont strictement confidentielles et reservees a l'usage de la (des)
personne(s) a qui il est adresse. Si vous n'etes pas le destinataire,
soyez avise que toute divulgation, distribution, copie, ou autre
utilisation de ces informations est strictement prohibee. Si vous avez
recu ce document par erreur, veuillez s'il vous plait communiquer
immediatement avec l'expediteur et detruire ce document sans en faire
de copie sous quelque forme./tdtd valign=top width=400p
align=justifyfont face=verdana size=1 color=808080 The information
contained in this document and attachments is confidential and
intended only for the person(s) named above. If you are not the
intended recipient you are hereby notified that any disclosure,
copying, distribution, or any other use of the information is strictly
prohibited. If you have received this document by mistake, please
notify the sender immediately and destroy this document and
attachments without making any copy of any kind./td/tr/table




 
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: Is there an easy way to do this

2005-05-19 Thread r0main
From documentation on Array class
(http://livedocs.macromedia.com/flex/15/flex_docs_en/1201.htm):

apples.sortOn(Number, Array.DESCENDING);

Ciao, r0main

--- In flexcoders@yahoogroups.com, Manish Jethani
[EMAIL PROTECTED] wrote:
 On 5/19/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 [...]
  mx:Array id=apples
mx:Object
 labelShopper1/label
 Number5/Number
/mx:Object
mx:Object
 labelShopper2/label
 Number7/Number
/mx:Object
  mx:Object
 labelShopper3/label
 Number0/Number
/mx:Object
 [...]
 
 You want to sort by the number of apples.
 
apples.sortOn(Number);
apples.sort().reverse(); // that was ascending
 
 I'm pretty sure there's a way to directly sort descending, ...




 
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: How to configure MXML schema in Eclipse + OxygenXML 6?

2005-05-19 Thread r0main
Dimitrios,
Which editor did you associate to *.mxml files ?
I've got a file main.mxml, and tried XML Editor, XML Source Page
Editor, Standalone Structured Source Editor, on it: Nothing good
happens... But if I rename it main.xml that works perfectly...

r0main

--- In flexcoders@yahoogroups.com, r0main [EMAIL PROTECTED] wrote:
 Hello Dimitrios,
 I'm looking forward to find a valid MXML editor into eclipse... I've
 downloaded erverything... I can see the XML editor is here, I've
 associated MXML file to it... It opens it as an XML file, but says
 the document is empty, while the source tab shows the mxml file...
 Any idea ?
 
 Ciao, r0main
 
 --- In flexcoders@yahoogroups.com, Dimitrios Gianninas
 [EMAIL PROTECTED] wrote:
  Not sure if anyone uses it, but I started using Eclipse Web Tools for
  MXML editing. You can specify the MXML schema and works it wonderfully
  so far.
   
  http://www.eclipse.org/webtools/index.html
   
  Dimitrios Jimmy Gianninas
  RIA Developer
  Optimal Payments Inc.
   
  
_  
  
  From: Andrew Muller [mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, May 18, 2005 8:55 PM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] How to configure MXML schema in Eclipse +
  OxygenXML 6?
  
  
  Hans
  
  Apologies if this appears twice.
  
  I buggerised around for a while and found success if I used the
  following settings (totally non scientific/documented settings, might
  be a better way):
  
  In Window/Preferences/oXygen/Editor/Tag Insight/Default I added the
  following:
  
  Namespace: Any
  Root local name: Any
  File name: Any
  Schema type: XML Schema
  Schema URI: file location of XSD file
  
  I then moved this entry to the top of the list, have been using it for
  about a day and it seems to work for me so far without having any
  noticable side effect on other file types.
  
  HTH
  
  Andrew
  
  Andrew Muller
  Partner, RocketBoots
  http://www.rocketboots.com.au
  
  On 5/19/05, Hans Omli [EMAIL PROTECTED] wrote:
Has anyone successfully set up tag insight with Eclipse and the new
  version
   of OxygenXML.  I had no trouble with OxygenXML 5.1, but can't
seem to
  get
   tag insight working with 6.0.  Thanks! 

Yahoo! Groups Links

   To visit your group on the web, go to:
   http://groups.yahoo.com/group/flexcoders/
 
   To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]
 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
  
  
_  
  
  Yahoo! Groups Links
  
  
  *   To visit your group on the web, go to:
  http://groups.yahoo.com/group/flexcoders/

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

  *   Your use of Yahoo! Groups is subject to the Yahoo! Terms of
  Service http://docs.yahoo.com/info/terms/ . 
  
  
  
  
  table width=800 cellpadding=4 cellspacing=10 border=0tr
 bgcolor=BDBDBDtd valign=top width=400font face=verdana size=2
 color=FFbAVIS IMPORTANT/b/font/tdtd valign=top
 width=400font face=verdana size=2
 color=FFbWARNING/b/font/td/trtrtd valign=top
 width=400p align=justifyfont face=verdana size=1 color=808080 Les
 informations contenues dans le present document et ses pieces jointes
 sont strictement confidentielles et reservees a l'usage de la (des)
 personne(s) a qui il est adresse. Si vous n'etes pas le destinataire,
 soyez avise que toute divulgation, distribution, copie, ou autre
 utilisation de ces informations est strictement prohibee. Si vous avez
 recu ce document par erreur, veuillez s'il vous plait communiquer
 immediatement avec l'expediteur et detruire ce document sans en faire
 de copie sous quelque forme./tdtd valign=top width=400p
 align=justifyfont face=verdana size=1 color=808080 The information
 contained in this document and attachments is confidential and
 intended only for the person(s) named above. If you are not the
 intended recipient you are hereby notified that any disclosure,
 copying, distribution, or any other use of the information is strictly
 prohibited. If you have received this document by mistake, please
 notify the sender immediately and destroy this document and
 attachments without making any copy of any kind./td/tr/table




 
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: How to configure MXML schema in Eclipse + OxygenXML 6?

2005-05-19 Thread r0main
Thanks a lot... It works that way...
Now, for 100% free, I can edit MXML files and also can edit flex .as
files with MTASC::: ByeBye flexBuilder :-)

Ciao, r0main

--- In flexcoders@yahoogroups.com, Dimitrios Gianninas
[EMAIL PROTECTED] wrote:
 Hi r0main,
  
 Here is what I did in Eclipse 3.1M7:
  
 Schema setup:
 Goto Preferences  Web  XML  XML Catalog. From there I created a User
 Specified Entry pointing to the MXML schema file with Flex 1.5.
  
 Association:
 Goto Preferences  Editors  Content Types. Under XML add *.mxml.
  
 Apply and Save... next time you open a MXML file... voila!
 I tried exactly what you did and it didn't work, so after fiddling
 around, I discovered the above.
  
 Dimitrios Jimmy Gianninas
 RIA Developer
 Optimal Payments Inc.
  
 
   _  
 
 From: r0main [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, May 19, 2005 5:15 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: How to configure MXML schema in Eclipse +
 OxygenXML 6?
 
 
 Dimitrios,
 Which editor did you associate to *.mxml files ?
 I've got a file main.mxml, and tried XML Editor, XML Source Page
 Editor, Standalone Structured Source Editor, on it: Nothing good
 happens... But if I rename it main.xml that works perfectly...
 
 r0main
 
 --- In flexcoders@yahoogroups.com, r0main [EMAIL PROTECTED] wrote:
  Hello Dimitrios,
  I'm looking forward to find a valid MXML editor into eclipse... I've
  downloaded erverything... I can see the XML editor is here, I've
  associated MXML file to it... It opens it as an XML file, but says
  the document is empty, while the source tab shows the mxml file...
  Any idea ?
  
  Ciao, r0main
  
  --- In flexcoders@yahoogroups.com, Dimitrios Gianninas
  [EMAIL PROTECTED] wrote:
   Not sure if anyone uses it, but I started using Eclipse Web Tools
 for
   MXML editing. You can specify the MXML schema and works it
 wonderfully
   so far.

   http://www.eclipse.org/webtools/index.html

   Dimitrios Jimmy Gianninas
   RIA Developer
   Optimal Payments Inc.

   
 _  
   
   From: Andrew Muller [mailto:[EMAIL PROTECTED] 
   Sent: Wednesday, May 18, 2005 8:55 PM
   To: flexcoders@yahoogroups.com
   Subject: Re: [flexcoders] How to configure MXML schema in Eclipse +
   OxygenXML 6?
   
   
   Hans
   
   Apologies if this appears twice.
   
   I buggerised around for a while and found success if I used the
   following settings (totally non scientific/documented settings,
 might
   be a better way):
   
   In Window/Preferences/oXygen/Editor/Tag Insight/Default I added the
   following:
   
   Namespace: Any
   Root local name: Any
   File name: Any
   Schema type: XML Schema
   Schema URI: file location of XSD file
   
   I then moved this entry to the top of the list, have been using it
 for
   about a day and it seems to work for me so far without having any
   noticable side effect on other file types.
   
   HTH
   
   Andrew
   
   Andrew Muller
   Partner, RocketBoots
   http://www.rocketboots.com.au
   
   On 5/19/05, Hans Omli [EMAIL PROTECTED] wrote:
 Has anyone successfully set up tag insight with Eclipse and the
 new
   version
of OxygenXML.  I had no trouble with OxygenXML 5.1, but can't
 seem to
   get
tag insight working with 6.0.  Thanks! 
 
 Yahoo! Groups Links
 
To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
  
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service.
   
   
 _  
   
   Yahoo! Groups Links
   
   
   *  To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
   
   *  To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED] 
   
   *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
   Service http://docs.yahoo.com/info/terms/ . 
   
   
   
   
   table width=800 cellpadding=4 cellspacing=10 border=0tr
  bgcolor=BDBDBDtd valign=top width=400font face=verdana size=2
  color=FFbAVIS IMPORTANT/b/font/tdtd valign=top
  width=400font face=verdana size=2
  color=FFbWARNING/b/font/td/trtrtd valign=top
  width=400p align=justifyfont face=verdana size=1 color=808080 Les
  informations contenues dans le present document et ses pieces jointes
  sont strictement confidentielles et reservees a l'usage de la (des)
  personne(s) a qui il est adresse. Si vous n'etes pas le destinataire,
  soyez avise que toute divulgation, distribution, copie, ou autre
  utilisation de ces informations est strictement prohibee. Si vous avez
  recu ce document par erreur, veuillez s'il vous plait communiquer
  immediatement avec l'expediteur et detruire ce document sans en faire
  de copie sous quelque forme./tdtd valign=top width=400p
  align=justifyfont face=verdana size=1 color=808080 The information
  contained in this document

[flexcoders] Re: What is Cairngorm? Flexstore vs cairngormStore

2005-05-18 Thread r0main
Hello Alberto,
Cairngorm is an open-source framework to help you build robust flex
applications.
CairgormStore is a re-writting of the original FlexStore using
Cairngorm instead of raw flex coding, so you can see how much more
readable the application becomes.

Ciao, r0main

--- In flexcoders@yahoogroups.com, Alberto Albericio Salvador
[EMAIL PROTECTED] wrote:
 Hi all,
 
 I've been out of the flex world for 3 months and now Im reading about 
 something called Cairngorm?
 So what is Cairgorm exactly? What are the advantages of using cairngorm 
 vs not using it?
 
 I have installed the cairgormStore sample and seems quite the same
thing 
 as the flexstore one.
 
 Thank all!
 
 -- 
 Alberto Albericio Salvador
 Aura S.A. Seguros
 Departamento Informática




 
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] FAME with Flex ?

2005-05-13 Thread r0main
Hello,
I'm trying to get rid of the crappy FlexBuilder (Indeed it is a good
Graphical page editor, but obviously not an IDE), by using the FAME
(Flashout + AS2EditorPlugin + MTASC + Eclipse)...
Yet I have to configure MTASC classpath to use Macromedia core classes.
But don't know what that path should be with Flex... Any idea ?

Thanks a lot, r0main




 
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: FAME with Flex ?

2005-05-13 Thread r0main
Found a solution for FAME with Flex, no more FlexBuilder :-)
I had to unzip flex/lib/frameworks/mx.swc, which is a zip file, then
programmatically restructure 452 .asi files into there respective
folders and renamed in a shorter fashion (just class name + .as)...
And it works !! :-)

Now I'll configure X-Men eclipse plugin and I will edit directly .mxml
files from within Eclipse...

AS2 Life's going to be lightweight, versionned, and easy !

romain

--- In flexcoders@yahoogroups.com, r0main [EMAIL PROTECTED] wrote:
 Hello,
 I'm trying to get rid of the crappy FlexBuilder (Indeed it is a good
 Graphical page editor, but obviously not an IDE), by using the FAME
 (Flashout + AS2EditorPlugin + MTASC + Eclipse)...
 Yet I have to configure MTASC classpath to use Macromedia core classes.
 But don't know what that path should be with Flex... Any idea ?
 
 Thanks a lot, r0main






 
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] flex app re-packaged in a war and the flexbootstrap class path

2005-05-10 Thread r0main
Hi,
up to now I was releasing my webapp under Weblogic as a directory...
Now I'd like to deploy it as a war file, generated by maven...
But I've got some :

Could not load user defined filter in web.xml:
flex.bootstrap.BootstrapFilter.
javax.servlet.ServletException: flex.server.j2ee.cache.CacheFilter
at
flex.bootstrap.BootstrapFilter.init(Ljavax.servlet.FilterConfig;)V(BootstrapFilter.java:53)

To me that error is like bea weblogic cannot follow the weird
bootstrap mecanism flex defines :
context-param
   param-nameflex.class.path/param-name
   param-value/WEB-INF/flex/jars/param-value
/context-param

1/Does anyone have a solution to deploy flex webapp as war ?
2/Can MM guys respect a simpler WEB-INF/lib in V2 ?

Thanks, r0main




 
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: Internationalization?

2005-05-10 Thread r0main
Also there's benoit implementation:
http://groups.yahoo.com/group/flexcoders/message/8730

We are currently discussing in the Cairngorm committee to provide the
best i18n implementation in the post-next Cairngorm release (not the
0.99 soon to be released, but the next one)...

Romain


--- In flexcoders@yahoogroups.com, Manish Jethani
[EMAIL PROTECTED] wrote:
 On 5/9/05, Kent Henneuse [EMAIL PROTECTED] wrote:
 
  How are others currently solving the problem of internationalizing
their
  Flex applications?
 
 I'd love to know too.  I had posted my thoughts on my blog.  Feel free
 to comment.  I'm looking for your constructive feedback on this.
 
 http://manish.revise.org/2005/04/resource-bundles-in-flex.html
 
 Thanks.




 
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: who have the experience in useing flex in portal?

2005-04-29 Thread r0main
Hi,
personnally I had to implement the first solution (portal  webapp
servers two different servers)...
The main problem is you'll have to use a different entry point for
your RemoteObject than the portal server, if webapp server isn't
public, you'll have to use a gatewayed URL (I'm using the plumtree
one, as I'm obliged to use plumtree) as flex gateway url...

Romain


--- In flexcoders@yahoogroups.com, loveewind [EMAIL PROTECTED] wrote:
 there are two approaches to useing flex in portal:
 
 1.use the flex as a flash to put in portal jsp
 
 the code of portal jsp:
 %@ page session=false contentType=text/html import=java.util.*, 
 cpportal.*%
 %@ taglib uri=/WEB-INF/tld/portlet.tld prefix=portletAPI %
 portletAPI:init/
 table border=0 cellspacing=0 cellpadding=0 height=100% 
 width=100%
   tr
 tdimg alt= border=0 width=0 height=500 
 src='wps:urlFindInTheme file=transparent.gif/'/td
 td
   object classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354
   
 codebase=https://download.macromedia.com/pub/shockwave/cabs/flash/swf
 lash.cab#version=7,0,14,0
   width=955 height='100%'
   id=ReportCenterInboxApp
 param name=flashVars value=userId
 param name=src 
 value=http://192.168.15.140:8080/crm/CRMUI/CRMApp.mxml.swf;
 embed 
 pluginspage=https://www.macromedia.com/go/getflashplayer;
width=955 height=100%
flashVars=

 src=http://192.168.15.140:8080/crm/CRMUI/CRMApp.mxml.swf;
name=ReportCenterInboxApp/
   /object
 /td
   /tr
 /table
 
 in this case,there two applications:
 
 the flex application run in jboss
 
 the portal application run in IBM portal server
 
 
 2.use flex taglib to put mxml file in portal jsp
 
 the code:
 %@ taglib uri=FlexTagLib prefix=mm % 
 mm:mxml source=/CRMUI/CRMApp.mxml / 
 
 %@ page session=false contentType=text/html import=java.util.*, 
 hello2.*%
 %@ taglib uri=/WEB-INF/tld/portlet.tld prefix=portletAPI %
 portletAPI:init/
 
 
 .
 
 
 in this case,there is only on application
 
 the application run in portal server
 
 
 
 I'd like to know the difference between the two approaches
 
 and the related project development experience
 
 thank you,





 
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 Project Metrics ?

2005-04-25 Thread r0main


Thanks for the reply,
unfortunately I'm not yet in the dynamic metrics (usage of the
application), but rather than in static metrics, code length, lines
per packages, etc... To document my project.
Am I the only guy on earth trying to measure a flex project ?

Thanks, Romain

--- In flexcoders@yahoogroups.com, reubenbrown13 [EMAIL PROTECTED]
wrote:
 
 Macromedia has an article about metrics in Flex: 
 http://www.macromedia.com/devnet/flex/articles/analytic_app.html
 
 I have not tried any of the suggestions yet, but it might help.
 
 
 --- In flexcoders@yahoogroups.com, r0main [EMAIL PROTECTED] wrote:
  
  Hello,
  has anyone an idea on how I can get metrics an MXML and AS2 files on a
  given flex project ?
  Yet all I can do is count my files (43 mxml views, 351 AS files w/o
  FlexUnit tests), but I'd like to have codelines per files, total
  codelines, average by package etc...
  
  Idea ?
  
  Thanks, romain





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

2005-04-19 Thread r0main


Hello,
a simpler solution is to have a viewstack with you 15 views (may be
any container (vbox, hbox, vdividedbox, etc.)), that viewstack
standing for example on the right of your tree.
Now when people select a leaf on your tree, simply change the
viewstack index !
(ps: it has nothing to do with Cairngorm, this is a Flex design solution)

Romain


--- In flexcoders@yahoogroups.com, Rafael M. Martinelli
[EMAIL PROTECTED] wrote:
 Hi everybody!!!
  
 I'm facing a little architecture problem. I'm building an app with
15 forms
 and a lot of reports and charts. I decided to use a Tree as a menu
since I
 have a lot of views. When the user clicks at the Tree I load a mxml file
 using a Loader component.
  
 The problem is that the Loader just load mxml file with the
mx:Application
 tag or with the /cairngorm:CairngormApplication tag when using the
 framework. I think that's not the best way. I would prefer to load a
 component instead of an application everytime the user request, for
example,
 a form.
  
 Maybe it's a simple question, but I couldn't solve it.
  
 Thanks.
  
  
 Rafael M. Martinelli
 Gerente de Soluções Web 
 Synex Technologies Co.
 Fone/fax: +(55) 11 3071-3363
 [EMAIL PROTECTED]
 www.synex.com.br http://www.synex.com.br/ 
  
 
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.308 / Virus Database: 266.9.17 - Release Date: 19/4/2005





 
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 Source Files are viewable! hehe...

2005-04-14 Thread r0main


Yep,
I knew that the debugger (flexbuilder one) allows me to view mx.*
source code... Useful to trace unexpected behaviours occuring on the
mx.* side... Did that trick once : Inherit a buggy (my point of
view) mx.* component and overwrite the faulty method by a cleaner
one (at least in my opinion), don't know if it is 100% legal, but it
is 110% useful !

Romain

--- In flexcoders@yahoogroups.com, Scott Barnes [EMAIL PROTECTED] wrote:
 I didn't know this - that or another way - but :
 
 http://www.mossyblog.com/archives/455.cfm
 
 It can be done via Flash MX 2004 Pro Debugger or did everyone know
 that and not share?
 
 -- 
 Regards,
 Scott Barnes
 http://www.mossyblog.com
 http://www.flexcoder.com (Coming Soon)





 
Yahoo! Groups Links

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

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

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





[flexcoders] Re: Tab navigator questions ANYONE ?

2005-04-05 Thread r0main


Thanks alot Manish for the Tab style, that's exactly what I was
looking for...

About the Icon: the following mxml app have three buttons, the first
one changes the icon of the first tab in a binding way, the second in
a direct way, and the third allows me to control the icon's value...

While both binding  direct way of changing value do update icon's
property, there is no visual impact of the update onscreen... Any idea
on what to trigger to force icon's visual-refresh ???

Thanks, Romain

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
width=100% height=100% marginBottom=0 marginLeft=0
marginRight=0 marginTop=0
mx:Style
Tab {
text-align: left;
}
/mx:Style
mx:VDividedBox width=100% height=100%
mx:TabNavigator id=curTabBar width=100% height=50%
tabWidth=200  historyManagement=false
mx:HBox label=Client id=clientTab width=100% 
height=100%
icon={tab1Light} marginBottom=5 marginLeft=5 marginRight=5
/mx:HBox
mx:VBox label=Funds width=100% height=100% 
icon={tab2Light}
/mx:VBox
mx:VBox label=Investment width=100% height=100%
icon={tab3Light}
/mx:VBox
/mx:TabNavigator
mx:HBox width=100%
mx:Button label=indirect click=tab1Light = greenLight/
mx:Button label=direct click=clientTab.icon = greenLight/
mx:Button label=show value click=alert(clientTab.icon)/
/mx:HBox
/mx:VDividedBox
mx:Script
![CDATA[
[Embed(source=WEB-INF/resources/images/greenlight.GIF)]
private static var greenLight:String;
[Embed(source=WEB-INF/resources/images/redlight.GIF)]
private static var redLight:String;
private var tab1Light:String = redLight;
private var tab3Light:String = greenLight;
]]
/mx:Script
/mx:Application





 
Yahoo! Groups Links

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

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

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





[flexcoders] Tab navigator questions ANYONE ?

2005-04-01 Thread r0main


Hello again, my first post was probably hidden in the massive
flex-pricing battle, so I repost it:

Few questions regarding a TabNavigator:
- I'd like to left-align tab label inside of fixed-width tabs, how
can I do this ?
- I'd like to manage the placement of the icons I can display in
tabs, like right aligning that icon when the label itself is
left-aligned 
- Also, how can I change the icon associated with a given tab and
have that tab's icon refresh (ie. changed visually ) ?

Thanks, r0main





 
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: New event manager

2005-04-01 Thread r0main


Hello,
not sure global-multicasting is a better event handling than the
Cairngorm's core-handling.
In the past a good software re-design allowed me to skip a lot of
requirements I was asking Steven to put into Cairngorm, like event
sequencing...

Can't a central model fit your need ?
(updated by one command or action, but with many bindings destination
across the application) ?

Romain


--- In flexcoders@yahoogroups.com, Robert Stuttaford [EMAIL PROTECTED] 
wrote:
 Seth, I think you're looking for a way to notify multiple
views/other
 elements when a command is complete.
 
 Cairngorm maps a single command to a single event. It doesn't
prescribe much
 about what to do when the event is done, but provides ViewLocator to
find
 the views you might need to update. 
 
 I think you're possibly looking to formalize a listener list to
broadcast to
 for the onResult element of your command class. You could expose
logic in
 the front controller to allow views and other classes to listen for
command
 completion by command name, and then create a base command class,
which
 contains the listen/broadcast functionality, to derive your commands
from.
 
 I guess you could also include a broadcast for the execute, to
allow for
 pre-execution logic.
 
 I've not personally run into a situation where I could use this
(done
 nothing big enough, yet :D), but I'm certain this could provide
value.
 
 Give it a go!
 
 Sunny skies,
 Robert
 
 -Original Message-
 From: Seth Voltz [mailto:[EMAIL PROTECTED] 
 Sent: 01 April 2005 10:16 AM
 To: Flex Coders
 Subject: [flexcoders] New event manager
 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hey everyone,
 
 So I'm considering writing an event handler slightly different than
the 
 one in cairngorm and wanted to make sure I can't already do it or
that 
 it doesn't already exist somewhere in a similar form.
 
 So currently the way events work in cairngorm (at least the way I 
 learned them and use them) is I broadcast an event from anywhere,
it 
 gets picked up by an event commander, passed through a delegator
and on 
 to a specific location, usually through the use of view helpers.
 
 Now, this has been real handy for most stuff because all events
passed 
 only had one destination. Unfortunately, now my app is getting a
bit 
 more complicated and it has multiple things that need to know when 
 something happens. The first solution to this was a Login Handler 
 (which I'm going to release at some point... probably when I get
the 
 free time to package it up and document it properly.) which allows
any 
 class to register itself (either with calls to the static class or 
 through a LoginHelper which is simply an MXML wrapper for those 
 calls) and when the login managers triggerLogin function is
called, 
 it executes the loginTriggered function in all registered
classes. 
 The same goes for triggerLogout and logoutTriggered
respectively.
 
 So, to recap. I need a better event handler. I want to register
classes 
 with a master event manager which calls back to all classes when
any 
 class triggers the specified event. Is this already in existence?
Is it 
 already in Cairngorm? If not... I'll write it. :)
 
 Thanks,
   Seth
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.4 (Darwin)
 
 iD8DBQFCTQNHsnBTlzgQQ28RAtn3AJ9SDu4/gAYecJr7W7BxmDr24/3McQCfZ+aP
 c6D9nvE6LBOwPwHMsYX52Lk=
 =+9qa
 -END PGP SIGNATURE-
 
 
 
  
 Yahoo! Groups Links





 
Yahoo! Groups Links

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

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

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





[flexcoders] Tab navigator questions

2005-03-31 Thread r0main


Hello, few questions regarding a TabNavigator:
- I'd like to left-align tab label inside of fixed-width tabs, how
can I do this ?
- I'd like to manage the placement of the icons I can display in
tabs, like right aligning that icon when the label itself is
left-aligned 
- Also, how can I change the icon associated with a given tab and
have that tab's icon refresh (ie. changed visually ) ?

Thanks, r0main





 
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: mx.formatters.DateFormatter parsing !

2005-03-23 Thread r0main


Whaoo, a wish list, that was my biggest wish ! ;-)
(MM engineers: don't be afraid, that huge load of data on
macromedia.com servers will not be spam or any DOS attack, only me
filling my wishes for Flex :-) )

r0main


--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
 http://www.macromedia.com/go/wish http://www.macromedia.com/go/wish 
 
  
 
 The why in this case was that the parsing should have worked
regardless of
 input format.  However I know that it didn't end up that way, it was
mostly
 a matter of time to implement vs. time to ship :-)
 
  
 
   _  
 
 From: r0main [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, March 22, 2005 1:50 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] mx.formatters.DateFormatter parsing !
 
  
 
 
 Hi MM folks,
 why doesn't the DateFormatter object have a non-static parse()
 function that TAKE into consideration the formatString given ?
 Grrr, I have to code that by myself...
 
 Ciao, r0main
 
 
 
 
 
 
 
 
 Yahoo! Groups Sponsor
 
 
 
 ADVERTISEMENT
  

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

oups/S=1705007207:HM/EXP=571431/A=2593423/R=0/SIG=11el9gslf/*http:/www.n
 etflix.com/Default?mqso=60190075 click here
 
 
  

http://us.adserver.yahoo.com/l?M=298184.6191685.7192823.3001176/D=groups/S=
 :HM/A=2593423/rand=534963915 
 
  
 
   _  
 
 Yahoo! Groups Links
 
 * To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
 http://groups.yahoo.com/group/flexcoders/ 
   
 * To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
   
 * Your use of Yahoo! Groups is subject to the Yahoo!
 http://docs.yahoo.com/info/terms/  Terms of Service.





 
Yahoo! Groups Links

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

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

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





[flexcoders] mx.formatters.DateFormatter parsing !

2005-03-22 Thread r0main


Hi MM folks,
why doesn't the DateFormatter object have a non-static parse()
function that TAKE into consideration the formatString given ?
Grrr, I have to code that by myself...

Ciao, r0main





 
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/
 





DateField: DateFormatter noCancel ?

2005-03-10 Thread r0main

Hi folks,
is there a DIRECT way to use a given mx:dateFormatter into a DateField ?
(I know I can do a function that calls the formatter and pass that
function, but a direct link between both controls would be nice isn't
it ?)
For future version: will be nice if we can use it like :
mx:DateFormatter id=versionFormatter formatString=-MM-DD /
mx:DateField id=asOfDate dateFormatter=versionFormatter /

Also a simple question: Is there a way to avoid allowing the user to
set the date to null by re-selecting the date selected ?
(In some apps, some dates can never be null)

Thanks, r0main







Re: List update ?

2005-02-11 Thread r0main

Thanks Dirk... I'll try...
I was just wondering what event was triggered when I pass my mouse
over the list selectedItem line and then quit that line... That's then
the label on the list gets updated... So I could manually raise that
event on the list object...

r0main


--- In flexcoders@yahoogroups.com, Dirk Eismann [EMAIL PROTECTED] 
wrote:
 This is what usually works (not pretty, but does the job)
 
 mx:TextInput text={curObj.value} id=myText
change=myList.dataProvider = myList.dataProvider /
 
 Dirk.
 
  -Original Message-
  From: r0main [mailto:[EMAIL PROTECTED]
  Sent: Friday, February 11, 2005 12:57 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] List update ?
  
  
  
  
  Hi dudes...
  A simple question : The following code is a sample that reproduce my
  problem...
  I have a list, with a selectedItem... The reference to that
  selectedItem object is copied in a variable...(both share the same
  object)... I edit fields of that variable via a text box... And only
  when I pass my mouse over the selected line of my list that name gets
  refreshed...
  Any Idea on how to refresh that label automatically ?
  
  r0main
  
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
  mx:List dataProvider={objects} id=myList change=curObj =
  myList.selectedItem labelField=value/
  mx:TextInput text={curObj.value} id=myText /
  mx:Binding source=myText.text destination=curObj.value /
  mx:Array id=myDP
  mx:StringHello/mx:String
  mx:StringWorld/mx:String
  /mx:Array
  mx:Script
  ![CDATA[
  var curObj:Object;
  var objects:Array = 
  [{value:Hello},{value:World},{value:How are
  you ?}];
  ]]
  /mx:Script
  /mx:Application
  
  
  
  
  
  
  Yahoo! Groups Links
  
  
  
  
  
  
  
 







Re: List update ?

2005-02-11 Thread r0main

Thanks...
I'm on that track... Do you know what properties the itemRollOut
event-object must have ?

(Still looking for someone nice enough to release a cardboard with all
events objects (+properties) / per object / eventHandling function)

r0main

--- In flexcoders@yahoogroups.com, Dirk Eismann [EMAIL PROTECTED] wrote:
 The toplevel events are itemRollOver and itemRollOut, maybe that's
the hook you're looking for.
 
 Dirk.
 
  -Original Message-
  From: r0main [mailto:[EMAIL PROTECTED]
  Sent: Friday, February 11, 2005 1:17 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: List update ?
  
  
  
  
  Thanks Dirk... I'll try...
  I was just wondering what event was triggered when I pass my mouse
  over the list selectedItem line and then quit that line... That's then
  the label on the list gets updated... So I could manually raise that
  event on the list object...
  
  r0main