Re: [flexcoders] Print datagrid with picture in Flex2 alhpha

2005-11-16 Thread Zhu Feng



Thank you, Patil. 
But I can not access the url. would you attach the source code?On 11/15/05, Sandip Patil [EMAIL PROTECTED]
 wrote:


Here is the link regarding data grid examples.  Which also contains printing of datagrid.  Just see demo examples  then go through source code.
http://philflash.inway.fr/example.htmlZhu Feng 
[EMAIL PROTECTED] wrote:  Hi, All,
does the Flexprintdatagrid support printing pictures?when I use the browser's print, it works correctly, while when i use my own funciton of printing, something seems wrong.and My codes are like this:PicForm.mxml
:?xml version=1.0?mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml
 xmlns:local=*  mx:Script
 ![CDATA[ // Data includes URL to album cover. import mx.print.FlexPrintJob;   import mx.collections.ArrayCollection; [Bindable] public var initDG:Array = [

{ Artist:'Pavement', Album:'Slanted and Enchanted', Price:11.99,
Cover:'robot.jpg'},
{ Artist:'Pavement', Album:'Brighten the Corners', Price:11.99,
Cover:'rover.jpg'} ];   public function dgprint():Void{  var pj:FlexPrintJob = new FlexPrintJob();  if(pj.start())  {


var numRows:uint = myGrid.dataProvider ? myGrid.dataProvider.length : 0;

trace(!!!ZF, numRows =  + numRows );

// var view:FormView = new FormView();

var ptl:PrintTL = new PrintTL();

ptl.width=pj.pageWidth;

ptl.height=pj.pageHeight;  addChild(ptl);  var length:int =
 myGrid.columnCount; var array:Array = new Array(); var i:int; for(i = 0; i  length; i ++){
 array.push(myGrid.getColumnAt(i).columnName); }  ptl.columns = array;
 ptl.ini(); 

ptl.pdg.dataProvider = this.myGrid.dataProvider;

var headerShift:int = ptl.pdg.showHeaders ? 1 : 0;

trace(!!! ptl.pdg.showHeaders ? + ptl.pdg.showHeaders);

trace( ptl.pdg.columnCount: +
ptl.pdg.columnCount);

if((ptl.pdg.vPosition + (ptl.pdg.rowCount - headerShift)) = numRows)  {

pj.addObject(ptl);  }  else

{ 

pj.addObject(ptl);



while(true)

{

ptl.pdg.nextPage(); 

if((ptl.pdg.vPosition + (ptl.pdg.rowCount - headerShift)) = numRows)

{

if(ptl.pdg.vPosition = numRows)

{

ptl.pdg.height = 0;

ptl.pdg.visible = false;

} 

pj.addObject(ptl);

break;

}

else

{
  
  
 pj.addObject(ptl);

}

}  }  pj.send(); 
 removeChild(ptl);  }  delete pj; } ]] /mx:Script mx:DataGrid id=myGrid dataProvider={initDG} variableRowHeight=true 
 mx:columns
mx:DataGridColumn columnName=Artist/ mx:DataGridColumn
 columnName=Album/
mx:DataGridColumn columnName=Cover
cellRenderer=RendererDGImage/
mx:DataGridColumn columnName=Price/ /mx:columns  /mx:DataGrid  mx:Button id=btn label=print form click=dgprint()/ 
/mx:Applicationand the PrintTL.mxml:?xml version=1.0 encoding=utf-8?mx:VBox xmlns:mx=
http://www.macromedia.com/2005/mxml xmlns=*
 creationComplete=ini()mx:Script ![CDATA[  public var columns:Array = new Array();  public function ini():Void{   var name:String = ;
   var i:int;   for(i = 0; i  columns.length; i ++){name = columns[i].toString();pdg.addColumn(name);   }  } ]]/mx:Script 
mx:PrintDataGrid id=pdg/mx:PrintDataGrid/mx:VBox-- Best
 Regards!Zhu FengMSN: [EMAIL PROTECTED]   
		 
Yahoo! FareChase - Search multiple travel sites in one click.

 

 





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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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




  








-- Best Regards!Zhu FengMSN: [EMAIL PROTECTED]






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] create XML from file

2005-11-16 Thread guse
Hi List,

I use Cairngorm 0.99 in my app and I have a problem with the ModelLocator. If I
got the idea of the ModelLocator right, all value models shall be stored in the
ModelLocator.
In my app I use XML instead of Value Objects and I don't know how to instantiate
XML objects in the ModelLocator from a file. In MXML the construct mx:Model
id=some_id source=some_file.xml / can be used. In AS I know the method new
XML() like
 var my_xml = new XML(?xml version=./);
but I don't know how to create a XML object from a file.

Can you help me with that issue?

Christoph



 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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] ZORN and Flex server

2005-11-16 Thread Alberto Albericio Salvador
Hi all,

Is Zorn able to compile flex projects that use mx:WebService, 
mx:RemoteObject, etc or that type of services will only be available 
in the server version? For me, it is not clear enough the limitations of 
Zorn.

thanks in advance

-- 
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




Re: [flexcoders] Flex2 :: mx.controls.HorizontalList-like control

2005-11-16 Thread Michael Hansen



Hi Matt,

Sure I have, but the interesting chapter is missing:

http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/js/html/wwhelp.htm?href="">


The current docs is mostly simple stuff. What I am looking for is a
description of the component model, i.e. a component life cycle
description including required implemented
interfaces/extensions/abstract methods (and why), layout model, and
hooks etc. Perhaps also couple of UML diagrams...?

In other words a description detailed enough so that i don't have to
pester busy guys like yourself with more or less trivial questions :o)
I know this is an alpha release, so it is perhaps to early for this
kind of stuff?

Thank you for your time Matt.

Cheers

-michael



On 11/16/05, Matt Chotin [EMAIL PROTECTED] wrote:

















Have you read the various documentation
chapters available off of labs? http://labs.macromedia.com/wiki/index.php/Flex_Framework#Documentation




One to look at would be Creating
and Extending Flex Components



Matt









From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Michael Hansen
Sent: Tuesday, November 15, 2005
2:00 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex2 ::
mx.controls.HorizontalList-like control





Matt,

Thank you very much for your reply. 

I've been looking for a in-depth description of how to create a custom
components in flex2 for doing such a component, i.e. 

1. What events are fired, and when
2. Which methods must be implemented
3. How to access child tags
4. How to do measures...
5. etc.

Do such a doc. exist at present? 

Any help would be much appreciated.

Cheers

 -michael








On 11/15/05, Matt
Chotin [EMAIL PROTECTED]
wrote:



Unfortunately it's still a Repeater that's going to be your
best bet or a custom control that you right. We won't support
variableWidth in the HorizontalList.



Matt











From: 
flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of flexhansen
Sent: Monday, November 14, 2005
1:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2 ::
mx.controls.HorizontalList-like control







Hi list,

What would be the recommended approach for doing a
mx.controls.HorizontalList-like control for
elements of unequal width
using flex2?

Cheers

 -michael







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

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








SPONSORED
LINKS 





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










YAHOO!
GROUPS LINKS





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

























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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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




  

















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Print datagrid with picture in Flex2 alhpha

2005-11-16 Thread Zhu Feng



HI,all,
I find my mistakes.
I miss adding the cellrender property in the PrintDataGrid.
And another questions:
When i dynamiclly load a image, the image disappears in the printed papaer. Am i missing something again?On 11/16/05, Zhu Feng 
[EMAIL PROTECTED] wrote:Thank you, Patil. 
But I can not access the url. would you attach the source code?On 11/15/05, Sandip Patil 
[EMAIL PROTECTED]
 wrote:


Here is the link regarding data grid examples.  Which also contains printing of datagrid.  Just see demo examples  then go through source code.

http://philflash.inway.fr/example.htmlZhu Feng 
[EMAIL PROTECTED] wrote:  Hi, All,
does the Flexprintdatagrid support printing pictures?when I use the browser's print, it works correctly, while when i use my own funciton of printing, something seems wrong.and My codes are like this:PicForm.mxml

:?xml version=1.0?mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml
 xmlns:local=*  mx:Script
 ![CDATA[ // Data includes URL to album cover. import mx.print.FlexPrintJob;   import mx.collections.ArrayCollection; [Bindable] public var initDG:Array = [

{ Artist:'Pavement', Album:'Slanted and Enchanted', Price:11.99,
Cover:'robot.jpg'},
{ Artist:'Pavement', Album:'Brighten the Corners', Price:11.99,
Cover:'rover.jpg'} ];   public function dgprint():Void{  var pj:FlexPrintJob = new FlexPrintJob();  if(pj.start())  {


var numRows:uint = myGrid.dataProvider ? myGrid.dataProvider.length : 0;

trace(!!!ZF, numRows =  + numRows );

// var view:FormView = new FormView();

var ptl:PrintTL = new PrintTL();

ptl.width=pj.pageWidth;

ptl.height=pj.pageHeight;  addChild(ptl);  var length:int =
 myGrid.columnCount; var array:Array = new Array(); var i:int; for(i = 0; i  length; i ++){
 array.push(myGrid.getColumnAt(i).columnName); }  ptl.columns = array;
 ptl.ini(); 

ptl.pdg.dataProvider = this.myGrid.dataProvider;

var headerShift:int = ptl.pdg.showHeaders ? 1 : 0;

trace(!!! ptl.pdg.showHeaders ? + ptl.pdg.showHeaders);

trace( ptl.pdg.columnCount: +
ptl.pdg.columnCount);

if((ptl.pdg.vPosition + (ptl.pdg.rowCount - headerShift)) = numRows)  {

pj.addObject(ptl);  }  else

{ 

pj.addObject(ptl);



while(true)

{

ptl.pdg.nextPage(); 

if((ptl.pdg.vPosition + (ptl.pdg.rowCount - headerShift)) = numRows)

{

if(ptl.pdg.vPosition = numRows)

{

ptl.pdg.height = 0;

ptl.pdg.visible = false;

} 

pj.addObject(ptl);

break;

}

else

{
  
  
 pj.addObject(ptl);

}

}  }  pj.send(); 
 removeChild(ptl);  }  delete pj; } ]] /mx:Script mx:DataGrid id=myGrid dataProvider={initDG} variableRowHeight=true 
 mx:columns
mx:DataGridColumn columnName=Artist/ mx:DataGridColumn
 columnName=Album/
mx:DataGridColumn columnName=Cover
cellRenderer=RendererDGImage/
mx:DataGridColumn columnName=Price/ /mx:columns  /mx:DataGrid  mx:Button id=btn label=print form click=dgprint()/ 
/mx:Applicationand the PrintTL.mxml:?xml version=1.0 encoding=utf-8?mx:VBox xmlns:mx=

http://www.macromedia.com/2005/mxml xmlns=*
 creationComplete=ini()mx:Script ![CDATA[  public var columns:Array = new Array();  public function ini():Void{   var name:String = ;

   var i:int;   for(i = 0; i  columns.length; i ++){name = columns[i].toString();pdg.addColumn(name);   }  } ]]/mx:Script 
mx:PrintDataGrid id=pdg/mx:PrintDataGrid/mx:VBox-- Best
 Regards!Zhu FengMSN: [EMAIL PROTECTED]   
		 

Yahoo! FareChase - Search multiple travel sites in one click.

 

 





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


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










  
  
SPONSORED LINKS
  
  
  



Web site design development
  
  


Computer software development
  
  


Software design and development
  
  




Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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

[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.





  








-- Best Regards!Zhu FengMSN: [EMAIL PROTECTED]


-- Best Regards!Zhu FengMSN: [EMAIL PROTECTED]






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





  




  
  
  YAHOO! GROUPS LINKS



  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: ZORN and Flex server

2005-11-16 Thread Dave Wolf


Alberto,

The serverless version of Zorn is able to use mx:HttpService/ and
mx:WebService since neither of these data services connections
requires a server-side proxy.  Using mx:RemoteObject however does
require a proxy, as would using data services which connect to another
server other then the one the swf was downloaded from, unless you are
able to deploy a crossdomain.xml file.  The Enterprise Data Services
version of Zorn isnt released yet, but would include the proxy.

-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY 


--- In flexcoders@yahoogroups.com, Alberto Albericio Salvador
[EMAIL PROTECTED] wrote:

 Hi all,
 
 Is Zorn able to compile flex projects that use mx:WebService, 
 mx:RemoteObject, etc or that type of services will only be available 
 in the server version? For me, it is not clear enough the
limitations of 
 Zorn.
 
 thanks in advance
 
 -- 
 Alberto Albericio Salvador
 Aura S.A. Seguros
 Departamento Informática







 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




RE: [flexcoders] Re: Question about Enable / Disable Validator

2005-11-16 Thread Michael Herron










From a cairngorm View Helper you should usually use syntax
like:



mx.validators.Validator.disable(view,
modelName.elementName);



There isnt really a current
document in flex, the first argument you need to provide is just a
reference to the document that the mx:Model you are validating against
was declared on. So from a view helper, the view property does
this.



-Mike









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Libby
Sent: Tuesday, November 15, 2005
6:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Question
about Enable / Disable Validator





Ok, further testing makes me
think that my pointer to the current
document is not always good. I am getting it by
using
mx.application.application.objectName.objectName...
Is this the
wrong way to do this, is there a better way to get
to the current
document? I apologize if this is a dumb question
as I am pretty new to
Flex development.

Thanks,
Libby

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

 I am disabling the right one, but that's all
I am doing. It seems to
 me I need to do something to tell flex to
repaint the screen, which
 would then remove the red border since the
validator is not being
 invoked. Is this wrong?
 
 --- In flexcoders@yahoogroups.com,
Matt Chotin [EMAIL PROTECTED] wrote:
 
  Hmm, disabling the validator usually
does clear any borders, you sure
  you disabled the right one? 
  
  
  
  
  
  From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
  Behalf Of Libby
  Sent: Monday, November 14, 2005 5:52 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Question about Enable
/ Disable Validator
  
  
  
  If you have a validator enabled and an
error has been thrown (the
  field is red border), then you disable
the validator, the border stays
  red. How can you force the red border to
go away after you disable the
  validator? Somehow you need to repaint
the screen...?
  
  Thanks,
  Libby
  
  
  
  
  
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.com

  
  
  
  
  SPONSORED LINKS 
  
  Web site design development
 
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+
 
site+design+developmentw2=Computer+software+developmentw3=Software+des
 
ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac
 
ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ 
  
  Computer software development
 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
 
b+site+design+developmentw2=Computer+software+developmentw3=Software+d
 
esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr
  acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw

  
  Software design and development
 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
 
Web+site+design+developmentw2=Computer+software+developmentw3=Software
 
+design+and+developmentw4=Macromedia+flexw5=Software+development+best+
 
practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ 
  
  Macromedia flex
 
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
 
developmentw2=Computer+software+developmentw3=Software+design+and+deve
 
lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
 
66.sig=OO6nPIrz7_EpZI36cYzBjw 
  
  Software development best practice
 
http://groups.yahoo.com/gads?t=msk=Software+development+best+practice
 
w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw
 
are+design+and+developmentw4=Macromedia+flexw5=Software+development+be
 
st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 
  
  
  
  
  
  
  
  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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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

[flexcoders] DataGrid and paging

2005-11-16 Thread Mykola Paliyenko



Hello Flexcoders
I have a very simple question. As I found from 
http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/DataGrid.html
 The DataGrid control provides the following features: 

Columns of different widths or identical fixed widthsColumns that the user can resize at runtime Optional customizable column and row headersAbility to use a custom cell renderer for any column to display data other than text
Multiple modes of selection (row, column, cell, and edit), and selection events Support for paging through dataSupport for drag-and-drop operations. 

How does paging supported. I havent found any attributes in the tag, is it hidden functionality or just someone's dream?

-- Best Regards,Mykola






--
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: How to give dynamic title to panel

2005-11-16 Thread keishichi2001
As Matt mentioned, Panel only has text prop, but htmlText.

I assume creating custom component is reasonable way.
Following is the code of customized Panel...
** not well-formed, plz modify styles more

=
?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=*
width=400 height=300 verticalGap=0  marginBottom=0
marginLeft=0 marginRight=0 marginTop=0

mx:Panel height=10% width=100% headerHeight=0
backgroundColor=#C0C0C0 cornerRadius=10
mx:Label htmlText=Step: lt;font
color=quot;#FFquot;gt;1lt;/fontgt; 2 3 4 5 6/
/mx:Panel
mx:Panel height=90% width=100% headerHeight=0 cornerRadius=0
mx:Label text=any text here.../
/mx:Panel
/mx:VBox
=

Note that you should specify color as hexadecimal style in htmlText.
** mxml file you've sent me is not the case, so that code doesn't work
as you expected.


Best, 
Keishichi





 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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] Sandbox violations Flex2

2005-11-16 Thread teotigraphix
Hello,

Ah this is probably one of those easy answers but,

Security.allowDomain(http://localhost/apidoc;);

Using a php server on my localhost that DOES work, 

Error #2044: Unhandled securityError: text=Error #2048: Security
sandbox violation: 'file:///c:/Documents and Settings/TeotiGraphix/My
Documents/Flex/APIDoc/bin/APIDoc-debug.swf' may not load data from
'http://localhost/apidoc/echo.php'.
at APIDocUI/APIDocUI$7$private::testLoadPHP()[C:\Documents and
Settings\TeotiGraphix\My Documents\Flex\APIDoc\APIDocUI.as:37]

why am I getting a sandbox violation?

Can anyuone help me here, I have had no luck with allowDomain in Flex
Builder 2. What has changed?

Peace, Mike





 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




Re: [flexcoders] eBay Free's Their API

2005-11-16 Thread Keith Salisbury
A smart move by ebay i'd say, in light of recent google base rumours!!!


On 11/16/05, JesterXL [EMAIL PROTECTED] wrote:
 BTW, here's the WSDL if you want to see all the cool methods:
 http://developer.ebay.com/webservices/latest/eBaySvc.wsdl

 - Original Message -
 From: JesterXL [EMAIL PROTECTED]
 To: Flexcoders flexcoders@yahoogroups.com
 Sent: Tuesday, November 15, 2005 10:35 PM
 Subject: [flexcoders] eBay Free's Their API


 Pimp, now connecting Flex to this is free!

 http://www.sixapart.com/pronet/weblog/2005/11/ebay_frees_the.html



 --
 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 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.
  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]

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



--
[EMAIL PROTECTED]


 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 





RE: FW: [flexcoders] Flex / Jrun Instability?

2005-11-16 Thread Steve Cox











Thanks, will try that.



Is there any reason why it would only
error sometimes. I would have expected if this needed
setting in IIS then it would either work all the time, or not work any of the
time? 



Will give it a shot and post back anyway.


Thanks for your suggestion,



Steve





-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Tariq Ahmed
Sent: 15 November 2005 23:01
To: flexcoders@yahoogroups.com
Subject: Re: FW: [flexcoders] Flex
/ Jrun Instability?



Oh for the lc_id stuff, I
believe that's a result of an IIS setting where you set the execute permission
to Scripts only. Change it to Scripts  Executables.


Rawdyn wrote: 

































From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Steve Cox
Sent: Tuesday, 15 November 2005
11:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex / Jrun
Instability?

Guys
 Girls,

Seem
to be having an odd problem with getting and keeping a Jrun server stable.

The Jrun server is installed, flex installed on it and IIS is connected. Now this works fine (took a while to get it working, but its now working right). However when uploading changes to the app, sometimes the page will hang. Whats strange is we also get a _javascript_ error when this happens. The html source is published to the page but no swf is then viewable. The _javascript_ error says the following variable is underfined: lc_id .Looking at the source code the following line is obviously pulling in some _javascript_:script language='_javascript_' charset='utf-8' src='/Symph/flex-internal?action="">/scriptNow the _javascript_ error Im getting suggests this file is not loaded.Has anyone come across the situation where jrun stops serving pages? Restarting it twice seems to wake it back up.TaSteve














--
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: Question about Enable / Disable Validator

2005-11-16 Thread Libby
What if you have several documents of the same name open? Would you
have instantiated a viewHelper for each one? Otherwise when referring
to the document by name from the viewHelper, how would you know which
open document you are actually addressing?


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

 From a cairngorm View Helper you should usually use syntax like:
 
  
 
 mx.validators.Validator.disable(view, modelName.elementName);
 
  
 
 There isn't really a current document in flex, the first argument you
 need to provide is just a reference to the document that the mx:Model
 you are validating against was declared on. So from a view helper, the
 'view' property does this.
 
  
 
 -Mike
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Libby
 Sent: Tuesday, November 15, 2005 6:25 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Question about Enable / Disable Validator
 
  
 
 Ok, further testing makes me think that my pointer to the current
 document is not always good. I am getting it by using
 mx.application.application.objectName.objectName...   Is this the
 wrong way to do this, is there a better way to get to the current
 document? I apologize if this is a dumb question as I am pretty new to
 Flex development.
 
 Thanks,
 Libby
 
 --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote:
 
  I am disabling the right one, but that's all I am doing. It seems to
  me I need to do something to tell flex to repaint the screen, which
  would then remove the red border since the validator is not being
  invoked. Is this wrong?
  
  --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
  
   Hmm, disabling the validator usually does clear any borders, you
 sure
   you disabled the right one? 
   

   
   
   
   From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
   Behalf Of Libby
   Sent: Monday, November 14, 2005 5:52 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Question about Enable / Disable Validator
   

   
   If you have a validator enabled and an error has been thrown (the
   field is red border), then you disable the validator, the border
 stays
   red. How can you force the red border to go away after you disable
 the
   validator? Somehow you need to repaint the screen...?
   
   Thanks,
   Libby
   
   
   
   
   
   --
   Flexcoders Mailing List
   FAQ:
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives:
   http://www.mail-archive.com/flexcoders%40yahoogroups.com 
   
   
   
   
   SPONSORED LINKS 
   
   Web site design development
  
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+
  
 site+design+developmentw2=Computer+software+developmentw3=Software+des
  
 ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac
   ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ  
   
   Computer software development
  
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
  
 b+site+design+developmentw2=Computer+software+developmentw3=Software+d
  
 esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr
   acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw  
   
   Software design and development
  
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
  
 Web+site+design+developmentw2=Computer+software+developmentw3=Software
  
 +design+and+developmentw4=Macromedia+flexw5=Software+development+best+
   practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ  
   
   Macromedia flex
  
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
  
 developmentw2=Computer+software+developmentw3=Software+design+and+deve
  
 lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
   66.sig=OO6nPIrz7_EpZI36cYzBjw  
   
   Software development best practice
  
 http://groups.yahoo.com/gads?t=msk=Software+development+best+practice;
  
 w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw
  
 are+design+and+developmentw4=Macromedia+flexw5=Software+development+be
   st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw  
   

   

   
   
   
   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 
 
 
 
 
 SPONSORED LINKS 
 
 Web site design development
 

[flexcoders] Regarding Pie-Chart problem

2005-11-16 Thread jagabcdeff
Hi,

Now i am working on designing  mxml pages.I designed pie-chart code 
in my mxml page.

But it(pie-chart) is showing in browser while running application.

my code is looks like following,

mx:Application  ..
mx:PieChart width=63% height=68%  showDataTips=true 
mx:series
   mx:Array
mx:PieSeries labelPosition=callout ield=apples/
   /mx:Array
/mx:series
   /mx:PieChart

/mx:Application

any help is apprietiate,



--Jagan







 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




RE: [flexcoders] AddTreeNode sometimes does not add but instead replaces the top node.

2005-11-16 Thread Oscar . Cortes
I actually found out what was happening. I assigned the selectedNode to two
different local variables, then delete the child nodes from one of them
thinking that it would be independent from the other one. This was actually
not true since although I assigned the node to two different variables both
of them point to the same object in memory. I figured out how to use the
same variable without deleting the child nodes and it is working now.

Example:

   var nodeA = myNode.getTreeNodeAt( location);
   var nodeB=  myNode.getTreeNodeAt( location);

  for ( nodeA lenght)
   delete child Nodes   -   This also changes nodeB, which is the one
I was using for my AddTreeNode










   

   
 Matt Chotin To: flexcoders@yahoogroups.com   
   
 [EMAIL PROTECTED]  cc:   
  
 Sent by:  Subject:  RE: [flexcoders] 
AddTreeNode sometimes does not add but instead replaces the  
 flexcoders@yahoogroups.com  top node.  
   
 11/16/2005 02:01 AM
   
 Please respond to  
   
 flexcoders 
   

   

   




Not that I can see from your description so you might need to give us more
code…


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, November 15, 2005 11:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] AddTreeNode sometimes does not add but instead
replaces the top node.


  I created a Tree using something like treeDP= new TreeNode(), and adding
branches and items. I have some functionality that inserts new nodes to an
existent branch. Sometimes, the AddTreeNode works fine and sometimes it
doesn't add a node but instead replaces the top one.   I am using this
syntax.

 node.AddTreeNode(object)

   Is there anything that I am missing?

---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---





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





---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---

 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: 

[flexcoders] advanced datagrid filtering

2005-11-16 Thread davidjebo
I found an example online that allows you to filter a datagrid by 
typing values into a text field.  The problem i can only get it to 
work with xml not with a remote object.


XML

var name = employeeModel.employee[i].name;

 

 

REMOTE OBJECT

how could I write something like this so I could get the data of one 
column  of the remote object data for the column name?

 

mx:RemoteObject id=employeeModel fault=mx.controls.Alert.show
(event.fault.faultstring, 'Error') 

source=getData  endpoint=@ContextRoot()/flashservices/gateway 
showBusyCursor=true

mx:method name=getEmployees/

/mx:RemoteObject

 

for(var i = 0; i  employeeModel.getEmployees.result.length; i++ ){

var name = employeeRO.getEmployees.result[i].name;

 

mx.controls.Alert.show(name);

}






 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




Re: [flexcoders] extends mx.core.Application with AS2 class in AS3

2005-11-16 Thread Thierry V.
Hi !!

Thanks for your answer.

It's the only solution ? I do link each control from my mxml to my AS3 
class ??

for info : to link twice, I have used following code :

myComponent = this['myComponent1'];




Thierry



Manish Jethani a écrit :

 On 11/15/05, rastaresidencia [EMAIL PROTECTED] wrote:

  ?xml version=1.0 encoding=utf-8?
  test:Application
  xmlns:test=test.*
  xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=*
  width=550 height=400
  creationComplete=initApp();
 ...

  mx:Text id=t x=104 y=48 text=Text/

 In your base class, you can set the variable to a different name, say
 t1.  In the initApp, you asssign t1 to t.  That should do it.

 Manish


 --
 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 ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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] fill ComboBox with XML received by RemoteObject

2005-11-16 Thread guse
Hi List,

I tried to fill a ComboBox with XML received by a RemoteObject - with no
success.
The result of the RemoteObject is a String in which is XML Content. If I create
a Model by mx:Model id=my_id source=my_xml_file / and bind the ComboBox
to my_id everything works fine.

I searched the web and found a AS class XMLHelper
http://www.cflex.net/showfiledetails.cfm?ObjectID=243 , but the results of this
classe are not suitable for a ComboBox.

I further searched the web and found how to load dynamically XML using
HTTPService http://www.cflex.net/showfiledetails.cfm?ObjectID=103
This seems to be interesting, but I think this only can be used with XML files.

Of course it is possible to parse the String received by the RemoteObject and
build a model ( well - I wasn't successful here, too ), but isn't there any
cheap trick to do something in Actionscript with a XML String which has
exactly the same result as mx:Model with a XML file?

Any help is appreciated.
Christoph



 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




Re: [flexcoders] Flash player 8.5 auto install?

2005-11-16 Thread JesterXL





After the release of the player? Heck yeah, 
they always do. Although, I believe it's either an .exe, .msi, or ActiveX 
control, not a .cab, but you can still just link the user to it to install on 
your corporate intranet.

- Original Message - 
From: Tolulope Olonade 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, November 16, 2005 2:35 AM
Subject: RE: [flexcoders] Flash player 8.5 auto install?


But hopefully after the 
final release of the player.
Will macromedia make 
available the installable .cab file that can auto install for people like me 
that want to deploy it on the company intranet?
That will be even make 
the flex platform more attractive for deployment.

Thanks Jester Manish n 
everybody…





From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf 
Of JesterXLSent: 15 
November 2005 06:09To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flash player 8.5 
auto install?


You can't because of licensing, even 
with Flash Player 8 and below.



If you want, you can deploy the 
Flash Player installation exe to a company Intranet, or on a CD-ROM, but on the 
internet, you'll either have to point your user to Macromedia.com, have faith in 
the CAB file updating in IE, or utilize Express Install which is a combo of the 
above + Flash Player 6.0.64.0's install 
ability.



Because 8.5 is alpha, you can't even 
do that because Macromedia, thankfully, hasn't made it installable from the 
internet; you have to download it from 
labs.macromedia.com.



- Original Message - 


From: Tolulope Olonade 


To: flexcoders@yahoogroups.com 


Sent: Tuesday, 
November 15, 2005 11:36 AM

Subject: RE: 
[flexcoders] Flash player 8.5 auto 
install?


Ok Lemme 
rephrase.
Here is what I 
mean.
Lets say I develop a 
flex 2 application.
Flex 2 requires flash 
player 8.5
I have the solution 
deployed on http://helloworldserver/quickstart.swf
User A clicks the link 
but he doesn’t have flash player 8.5 installed
I have the installable 
of flashplayer 8.5 placed on the server cause I don’t want the user to have to 
connect to the internet for flashplayer 8.5 
download.

So, how do I make the 
flashplayer 8.5 available on http://helloworldserver auto deployed unto 
the connecting machine ?

Many 
Thanks..





From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish JethaniSent: 15 November 2005 04:26To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flash player 8.5 
auto install?

On 11/15/05, Tolulope Olonade 
[EMAIL PROTECTED] wrote: Can anybody show me how to make Flash 8.5 player 
auto download for installation to a clients machine in case he doesn't have 
flash player installed or he is running an earlier version of the 
player?Dunno about auto 
download. It's available here:http://labs.macromedia.com/downloads/






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] how to addChild from as3 class into mxml component

2005-11-16 Thread Thierry V.
Hi list !

I'm from Flash, and like to develop in Form based mode.
I try Flex Builder since 2 days, and try to have the same behaviour with 
Flex application, but have some problems to implement basic interface.

I (want to) use AS3 class to make my code, and MXML to display.
In my Application mxml file, there is a stackView :

mx:ViewStack id=viewStack1 borderStyle=solid
mx:layoutConstraints
mx:EdgeAnchor top=25 left=0 right=0 
bottom=30/
/mx:layoutConstraints
   
test:Welcome id=welcome label=Welcome
/test:Welcome
/mx:ViewStack

the test:Welcome component extends my own class (extends 
mx.containers.Form) : Welcome.as, and is contained into Welcome.mxml file.

// Welcome.mxml
// -
?xml version=1.0 encoding=utf-8?
test:Welcome
xmlns:test=ch.titouille.test.views.*
xmlns:mx=http://www.macromedia.com/2005/mxml;
xmlns=*
creationComplete=initForm( event );
width=100%
   
/test:Welcome

// Welcome.as
// -
package ch.titouille.geneastro.views
{
import mx.containers.Form;
import flash.events.Event;
import flash.util.trace;
import flash.display.Sprite;

public class Welcome extends Form
{
   
public function Welcome()
{
   
}
   
public function initForm( evt:Event ):Void
{
trace( 'Welcome initForm called !!' );
   
onInitForm();
}
   
   
public function onInitForm():Void
{
var t:Array;
const SIZE:uint = 100;
   
t = [
{ data:1, label:test1, position:{x:20, y:20} },
{ data:2, label:test2, position:{x:120, y:20} },
{ data:3, label:test3, position:{x:220, y:20} },
{ data:4, label:test4, position:{x:320, y:20} },
{ data:5, label:test5, position:{x:60, y:120} },
{ data:6, label:test6, position:{x:280, y:120} },
{ data:7, label:test7, position:{x:160, y:220} },
];
   
for( var i:Number = 0; i  t.length; i++ )
{
var item:Object = t[i];
var s:MovieClip = new MovieClip();
s.graphics.beginFill(0xff);
s.graphics.drawRect(0, 0, SIZE, SIZE);
s.graphics.endFill();
   
s.x = item.position.x;
s.y = item.position.y;
   
addChild( s );
}
}
}
}



And the problem is the following : at execution, when player go into the 
for loop, it stop at addChild( s ); line and return an error like that :

TypeError: Error #1034: Type Coersion failed: cannot convert 
flash.display::[EMAIL PROTECTED] to mx.core.UIComponent


I have tried with MovieClip and Sprite classes, and with casting, but no 
changes, I always have this error.



Anyone can explain me my error ?? It's possible to attach controls at 
mx.core.Application.application place... But it's not possible to make 
same thing in another place ?


Thanks for any answer.


Titouille


 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




Re: [flexcoders] how to addChild from as3 class into mxml component

2005-11-16 Thread JesterXL
You cannot add children to an Application that are not of type UIComponent.

So, try something like:

var u:UIComponent = new UIComponent();
addChild(u);
  var s:MovieClip = new MovieClip();
u.addChild(s);



- Original Message - 
From: Thierry V. [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, November 16, 2005 9:59 AM
Subject: [flexcoders] how to addChild from as3 class into mxml component


Hi list !

I'm from Flash, and like to develop in Form based mode.
I try Flex Builder since 2 days, and try to have the same behaviour with 
Flex application, but have some problems to implement basic interface.

I (want to) use AS3 class to make my code, and MXML to display.
In my Application mxml file, there is a stackView :

mx:ViewStack id=viewStack1 borderStyle=solid
mx:layoutConstraints
mx:EdgeAnchor top=25 left=0 right=0 
bottom=30/
/mx:layoutConstraints
   
test:Welcome id=welcome label=Welcome
/test:Welcome
/mx:ViewStack

the test:Welcome component extends my own class (extends 
mx.containers.Form) : Welcome.as, and is contained into Welcome.mxml file.

// Welcome.mxml
// -
?xml version=1.0 encoding=utf-8?
test:Welcome
xmlns:test=ch.titouille.test.views.*
xmlns:mx=http://www.macromedia.com/2005/mxml;
xmlns=*
creationComplete=initForm( event );
width=100%
   
/test:Welcome

// Welcome.as
// -
package ch.titouille.geneastro.views
{
import mx.containers.Form;
import flash.events.Event;
import flash.util.trace;
import flash.display.Sprite;

public class Welcome extends Form
{
   
public function Welcome()
{
   
}
   
public function initForm( evt:Event ):Void
{
trace( 'Welcome initForm called !!' );
   
onInitForm();
}
   
   
public function onInitForm():Void
{
var t:Array;
const SIZE:uint = 100;
   
t = [
{ data:1, label:test1, position:{x:20, y:20} },
{ data:2, label:test2, position:{x:120, y:20} },
{ data:3, label:test3, position:{x:220, y:20} },
{ data:4, label:test4, position:{x:320, y:20} },
{ data:5, label:test5, position:{x:60, y:120} },
{ data:6, label:test6, position:{x:280, y:120} },
{ data:7, label:test7, position:{x:160, y:220} },
];
   
for( var i:Number = 0; i  t.length; i++ )
{
var item:Object = t[i];
var s:MovieClip = new MovieClip();
s.graphics.beginFill(0xff);
s.graphics.drawRect(0, 0, SIZE, SIZE);
s.graphics.endFill();
   
s.x = item.position.x;
s.y = item.position.y;
   
addChild( s );
}
}
}
}



And the problem is the following : at execution, when player go into the 
for loop, it stop at addChild( s ); line and return an error like that :

TypeError: Error #1034: Type Coersion failed: cannot convert 
flash.display::[EMAIL PROTECTED] to mx.core.UIComponent


I have tried with MovieClip and Sprite classes, and with casting, but no 
changes, I always have this error.



Anyone can explain me my error ?? It's possible to attach controls at 
mx.core.Application.application place... But it's not possible to make 
same thing in another place ?


Thanks for any answer.


Titouille



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



 



 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




RE: [flexcoders] Flash player 8.5 auto install?

2005-11-16 Thread Tolulope Olonade










Just one more question.

Is it possible such that the installation
takes place silently without the user having to manually click on an exe file
to launch the installation process???

Can it be done silently, transparently
without the users intervention?













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: 16 November 2005 03:58
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash
player 8.5 auto install?







After the release of the player? Heck yeah, they
always do. Although, I believe it's either an .exe, .msi, or ActiveX control,
not a .cab, but you can still just link the user to it to install on your
corporate intranet.











- Original Message - 



From: Tolulope
Olonade 





To: flexcoders@yahoogroups.com






Sent: Wednesday,
November 16, 2005 2:35 AM





Subject: RE: [flexcoders]
Flash player 8.5 auto install?











But hopefully after the final release of
the player.

Will macromedia make available the
installable .cab file that can auto install for people like me that want to
deploy it on the company intranet?

That will be even make the flex platform
more attractive for deployment.



Thanks Jester Manish n everybody











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: 15 November 2005 06:09
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash
player 8.5 auto install?







You can't because of licensing, even with Flash Player 8 and
below.











If you want, you can deploy the Flash Player installation
exe to a company Intranet, or on a CD-ROM, but on the internet, you'll either
have to point your user to Macromedia.com, have faith in the CAB file updating
in IE, or utilize Express Install which is a combo of the above + Flash Player
6.0.64.0's install ability.











Because 8.5 is alpha, you can't even do that because
Macromedia, thankfully, hasn't made it installable from the internet; you have
to download it from labs.macromedia.com.











- Original Message - 



From: Tolulope
Olonade 





To: flexcoders@yahoogroups.com






Sent: Tuesday, November
15, 2005 11:36 AM





Subject: RE: [flexcoders]
Flash player 8.5 auto install?











Ok Lemme rephrase.

Here is what I mean.

Lets say I develop a flex 2 application.

Flex 2 requires flash player 8.5

I have the solution deployed on http://helloworldserver/quickstart.swf

User A clicks the link but he
doesnt have flash player 8.5 installed

I have the installable of flashplayer 8.5
placed on the server cause I dont want the user to have to connect to
the internet for flashplayer 8.5 download.



So, how do I make the flashplayer 8.5
available on http://helloworldserver auto deployed unto the connecting
machine ?



Many Thanks..











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Manish Jethani
Sent: 15 November 2005 04:26
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash
player 8.5 auto install?





On 11/15/05, Tolulope Olonade
[EMAIL PROTECTED] wrote:

 Can anybody show me how to make Flash
8.5 player auto download for installation to a clients machine in case he
doesn't have flash player installed or he is running an earlier version of the
player?

Dunno about auto download. It's available
here:
http://labs.macromedia.com/downloads/











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] Flash player 8.5 auto install?

2005-11-16 Thread JesterXL





Nope.

- Original Message - 
From: Tolulope Olonade 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, November 16, 2005 10:36 AM
Subject: RE: [flexcoders] Flash player 8.5 auto install?


Just one more 
question.
Is it possible such 
that the installation takes place silently without the user having to manually 
click on an exe file to launch the installation 
process???
Can it be done 
silently, transparently without the users 
intervention?






From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of JesterXLSent: 16 November 2005 03:58To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flash player 8.5 
auto install?


After the release of the 
player? Heck yeah, they always do. Although, I believe it's either 
an .exe, .msi, or ActiveX control, not a .cab, but you can still just link the 
user to it to install on your corporate 
intranet.



- Original Message - 


From: Tolulope Olonade 


To: flexcoders@yahoogroups.com 


Sent: Wednesday, 
November 16, 2005 2:35 AM

Subject: RE: 
[flexcoders] Flash player 8.5 auto 
install?


But hopefully after the 
final release of the player.
Will macromedia make 
available the installable .cab file that can auto install for people like me 
that want to deploy it on the company intranet?
That will be even make 
the flex platform more attractive for deployment.

Thanks Jester Manish n 
everybody…





From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of JesterXLSent: 15 November 2005 06:09To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flash player 8.5 
auto install?


You can't because of licensing, even 
with Flash Player 8 and below.



If you want, you can deploy the 
Flash Player installation exe to a company Intranet, or on a CD-ROM, but on the 
internet, you'll either have to point your user to Macromedia.com, have faith in 
the CAB file updating in IE, or utilize Express Install which is a combo of the 
above + Flash Player 6.0.64.0's install 
ability.



Because 8.5 is alpha, you can't even 
do that because Macromedia, thankfully, hasn't made it installable from the 
internet; you have to download it from 
labs.macromedia.com.



- Original Message - 


From: Tolulope Olonade 


To: flexcoders@yahoogroups.com 


Sent: Tuesday, 
November 15, 2005 11:36 AM

Subject: RE: 
[flexcoders] Flash player 8.5 auto 
install?


Ok Lemme 
rephrase.
Here is what I 
mean.
Lets say I develop a 
flex 2 application.
Flex 2 requires flash 
player 8.5
I have the solution 
deployed on http://helloworldserver/quickstart.swf
User A clicks the link 
but he doesn’t have flash player 8.5 installed
I have the installable 
of flashplayer 8.5 placed on the server cause I don’t want the user to have to 
connect to the internet for flashplayer 8.5 
download.

So, how do I make the 
flashplayer 8.5 available on http://helloworldserver auto deployed unto 
the connecting machine ?

Many 
Thanks..





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Manish 
JethaniSent: 15 November 2005 
04:26To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flash player 8.5 
auto install?

On 11/15/05, Tolulope Olonade 
[EMAIL PROTECTED] wrote: Can anybody show me how to make Flash 8.5 player 
auto download for installation to a clients machine in case he doesn't have 
flash player installed or he is running an earlier version of the 
player?Dunno about auto 
download. It's available here:http://labs.macromedia.com/downloads/







--
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: ioError # 2038 - Any help?

2005-11-16 Thread Nikmd23
Hummm, perhaps someone else can run my code and tell me if they get 
the same problem. (Or identify an issue with my code.)

DOWN.MXML
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; 
xmlns=* creationComplete=init();
mx:Script source=down.as/

mx:Panel
mx:Button id=mainButton label=Download Report/

mx:TextArea id=testArea width=600 height=600/
/mx:Panel
/mx:Application


DOWN.AS
//import all events needed
import mx.events.ItemClickEvent;
import flash.net.FileReference;
import flash.errors.IOError;
import flash.events.Event;
import flash.events.EventType;
import flash.events.ProgressEventType;

//create FileReference
public var myFile:FileReference = new FileReference();

//MXML calls this on creationComplete
public function init():Void {
mainButton.addEventListener(click,mainButtonClick);

myFile.addEventListener(ioError,fileEvent);
myFile.addEventListener(open,fileEvent);
myFile.addEventListener(progress,fileEvent);
myFile.addEventListener(complete,fileEvent);
}

//handles button click
public function mainButtonClick(evt:Event):Void {
myFile.download
(http://localhost:8500/360/images/layout.jpg;);
}

//handles all events from download
public function fileEvent(evt:Event):Void {
testArea.text += \n\n + evt.toString();
}

Hopefully I am just doing something wrong and one of you guys out 
there will be able to identify the problem.

Thank You,
Nik





 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




RE: [flexcoders] Flash player 8.5 auto install?

2005-11-16 Thread João Fernandes





With the MSI package it's possible. 

We deploy all our software with MicrosoftSMS silently 
to our domain. We did it with flash player 7 and trying to deploy also fb8 but 
thereare some issues related to some software installed in our machines 
but you sould be able do deploy them.



João Fernandes
Secção de Desenvolvimento
Departamento de Informática



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tolulope 
OlonadeSent: quarta-feira, 16 de Novembro de 2005 15:36To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flash player 8.5 
auto install?


Just one more 
question.
Is it possible such 
that the installation takes place silently without the user having to manually 
click on an exe file to launch the installation 
process???
Can it be done 
silently, transparently without the users 
intervention?






From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of JesterXLSent: 16 November 2005 03:58To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flash player 8.5 
auto install?


After the release of the 
player? Heck yeah, they always do. Although, I believe it's either 
an .exe, .msi, or ActiveX control, not a .cab, but you can still just link the 
user to it to install on your corporate 
intranet.



- Original Message - 


From: Tolulope Olonade 


To: flexcoders@yahoogroups.com 


Sent: Wednesday, 
November 16, 2005 2:35 AM

Subject: RE: 
[flexcoders] Flash player 8.5 auto 
install?


But hopefully after the 
final release of the player.
Will macromedia make 
available the installable .cab file that can auto install for people like me 
that want to deploy it on the company intranet?
That will be even make 
the flex platform more attractive for deployment.

Thanks Jester Manish n 
everybody…





From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of JesterXLSent: 15 November 2005 06:09To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flash player 8.5 
auto install?


You can't because of licensing, even 
with Flash Player 8 and below.



If you want, you can deploy the 
Flash Player installation exe to a company Intranet, or on a CD-ROM, but on the 
internet, you'll either have to point your user to Macromedia.com, have faith in 
the CAB file updating in IE, or utilize Express Install which is a combo of the 
above + Flash Player 6.0.64.0's install 
ability.



Because 8.5 is alpha, you can't even 
do that because Macromedia, thankfully, hasn't made it installable from the 
internet; you have to download it from 
labs.macromedia.com.



- Original Message - 


From: Tolulope Olonade 


To: flexcoders@yahoogroups.com 


Sent: Tuesday, 
November 15, 2005 11:36 AM

Subject: RE: 
[flexcoders] Flash player 8.5 auto 
install?


Ok Lemme 
rephrase.
Here is what I 
mean.
Lets say I develop a 
flex 2 application.
Flex 2 requires flash 
player 8.5
I have the solution 
deployed on http://helloworldserver/quickstart.swf
User A clicks the link 
but he doesn’t have flash player 8.5 installed
I have the installable 
of flashplayer 8.5 placed on the server cause I don’t want the user to have to 
connect to the internet for flashplayer 8.5 
download.

So, how do I make the 
flashplayer 8.5 available on http://helloworldserver auto deployed unto 
the connecting machine ?

Many 
Thanks..





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Manish 
JethaniSent: 15 November 2005 
04:26To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flash player 8.5 
auto install?

On 11/15/05, Tolulope Olonade 
[EMAIL PROTECTED] wrote: Can anybody show me how to make Flash 8.5 player 
auto download for installation to a clients machine in case he doesn't have 
flash player installed or he is running an earlier version of the 
player?Dunno about auto 
download. It's available here:http://labs.macromedia.com/downloads/







--
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] Flash player 8.5 auto install?

2005-11-16 Thread JesterXL





Can you elaborate how you did that? I'm not 
familiar with Miscrosoft SMS.

- Original Message - 
From: João 
Fernandes 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, November 16, 2005 10:43 AM
Subject: RE: [flexcoders] Flash player 8.5 auto install?

With the MSI package it's possible. 

We deploy all our software with MicrosoftSMS silently 
to our domain. We did it with flash player 7 and trying to deploy also fb8 but 
thereare some issues related to some software installed in our machines 
but you sould be able do deploy them.



João Fernandes
Secção de Desenvolvimento
Departamento de Informática



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tolulope 
OlonadeSent: quarta-feira, 16 de Novembro de 2005 15:36To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flash player 8.5 
auto install?


Just one more 
question.
Is it possible such 
that the installation takes place silently without the user having to manually 
click on an exe file to launch the installation 
process???
Can it be done 
silently, transparently without the users 
intervention?






From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of JesterXLSent: 16 November 2005 03:58To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flash player 8.5 
auto install?


After the release of the 
player? Heck yeah, they always do. Although, I believe it's either 
an .exe, .msi, or ActiveX control, not a .cab, but you can still just link the 
user to it to install on your corporate 
intranet.



- Original Message - 


From: Tolulope Olonade 


To: flexcoders@yahoogroups.com 


Sent: Wednesday, 
November 16, 2005 2:35 AM

Subject: RE: 
[flexcoders] Flash player 8.5 auto 
install?


But hopefully after the 
final release of the player.
Will macromedia make 
available the installable .cab file that can auto install for people like me 
that want to deploy it on the company intranet?
That will be even make 
the flex platform more attractive for deployment.

Thanks Jester Manish n 
everybody…





From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of JesterXLSent: 15 November 2005 06:09To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flash player 8.5 
auto install?


You can't because of licensing, even 
with Flash Player 8 and below.



If you want, you can deploy the 
Flash Player installation exe to a company Intranet, or on a CD-ROM, but on the 
internet, you'll either have to point your user to Macromedia.com, have faith in 
the CAB file updating in IE, or utilize Express Install which is a combo of the 
above + Flash Player 6.0.64.0's install 
ability.



Because 8.5 is alpha, you can't even 
do that because Macromedia, thankfully, hasn't made it installable from the 
internet; you have to download it from 
labs.macromedia.com.



- Original Message - 


From: Tolulope Olonade 


To: flexcoders@yahoogroups.com 


Sent: Tuesday, 
November 15, 2005 11:36 AM

Subject: RE: 
[flexcoders] Flash player 8.5 auto 
install?


Ok Lemme 
rephrase.
Here is what I 
mean.
Lets say I develop a 
flex 2 application.
Flex 2 requires flash 
player 8.5
I have the solution 
deployed on http://helloworldserver/quickstart.swf
User A clicks the link 
but he doesn’t have flash player 8.5 installed
I have the installable 
of flashplayer 8.5 placed on the server cause I don’t want the user to have to 
connect to the internet for flashplayer 8.5 
download.

So, how do I make the 
flashplayer 8.5 available on http://helloworldserver auto deployed unto 
the connecting machine ?

Many 
Thanks..





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Manish 
JethaniSent: 15 November 2005 
04:26To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flash player 8.5 
auto install?

On 11/15/05, Tolulope Olonade 
[EMAIL PROTECTED] wrote: Can anybody show me how to make Flash 8.5 player 
auto download for installation to a clients machine in case he doesn't have 
flash player installed or he is running an earlier version of the 
player?Dunno about auto 
download. It's available here:http://labs.macromedia.com/downloads/







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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

Re: [flexcoders] DataGrid and paging

2005-11-16 Thread Omar Ramos



Hi Mykola,You can set up a custom paging class that supports paging. Remember that datagrid will ask for the data of each cell when it invokes getItem. Take a look at this article. 
http://weblogs.macromedia.com/mtadmin/mt-search.cgi?IncludeBlogs=27search=pagingOn 11/16/05, Mykola Paliyenko 
[EMAIL PROTECTED] wrote:


Hello Flexcoders
I have a very simple question. As I found from 
http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/DataGrid.html

 The DataGrid control provides the following features: 

Columns of different widths or identical fixed widthsColumns that the user can resize at runtime Optional customizable column and row headersAbility to use a custom cell renderer for any column to display data other than text
Multiple modes of selection (row, column, cell, and edit), and selection events Support for paging through dataSupport for drag-and-drop operations. 

How does paging supported. I havent found any attributes in the tag, is it hidden functionality or just someone's dream?

-- Best Regards,Mykola






--
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 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] sessions and maintenance questions

2005-11-16 Thread Jaime Bermudez



Dimitrios,

Sounds like your solution may solve a similar issue for a project I'm working on. Can you explainhow thecustom authentication relates to a timeout? Is it the only way to get one of the two fault codes you're checking for? Also, I checked 
web.xml and I don't see any timeout setting.

Thanks,

Jaime
On 11/14/05, Dimitrios Gianninas [EMAIL PROTECTED] wrote:

Hi Robert,

To answer the first part, with our Flex applications we no longer store any data in the server session. We load any required data by the UI at start-upand cache it in a global model (ModelLocator if you are using Cairngorm). As for the session 
timeout, we config out RemoteObject to use custom authentication, as follows:

use-custom-authenticationtrueuse-custom-authentication


Then we config the session timeout in the web.xml to say 60 minutes. So if some user sayleaves for a lng lunch and returns after 2 hours, the next remote called made will be rejected. We catch this in the 
Services.mxml and return the user to the login view. Sample:

/**
* Handles failed authentication faults and re-routes regular application faults.
*/
function handleRemoteFault( event ):Void {
 if( event.fault.faultcode
 == Client.Authentication || event.fault.faultcode == 401 ) {
 EventBroadcaster.getInstance().broadcastEvent( EventList.LOGOFF );
 }
 else {
 event.call.faultHandler( event );
 }
}
/mx:Script

!-- SystemServices remote reference --
mx:RemoteObject id=systemServices named=systemService concurrency=single

result=event.call.resultHandler(event.result)

fault=handleRemoteFault( event )

showBusyCursor=true /


This handles the server restart scenario as well.

As for the second portion, I don't believe there is anyway to tell the user that hey, we are doing a maintenance right now. Since the server is not available, the remote call will simply hang.


Dimitrios Jimmy Gianninas
RIADeveloper
Optimal Payments Inc.



From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Robert BrueckmannSent: Monday, November 14, 2005 9:47 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] sessions and maintenance questions




I have a question for you guys about how you're currently designing your Flex applications.


Since a Flex application is not session-based in the sense of an application server session, how are you guys handling, say, you want a user to have to log back in if they remain inactive after 5 hours in the case of using remote objects? You're not making actual HTTP requests in that case…are you still storing variables in the application server session upon start of a client's session and checking the status of those variables every time a remote method call is made? Do you have some sort of filter that filters every remote method call to check every time? What about if the application server needs to be restarted in the middle of the day…granted the client doesn't have any knowledge of this, do you just allow them to keep going without having to log back in or do you force them to log back in and if this is the case, how does the client application become away of such a change and the need for the user to have to log back in? What are you using to flag that status change in the case of remote objects?


Also…we want to have weekly and possibly, daily database maintenance periods…say from 2 am to 3 am. If, for some reason, one of our clients is logged into the site at that ungodly hour, right before they start performing maintenance, and has successfully logged in and started using out site, then the user tries to execute some action during the maintenance period, we want to throw them a little message saying the site is currently undergoing maintenance, and to try again later, and then forward the user to a maintenance page, the same maintenance page any other client would see if they came to our URL DURING the actual maintenance going on. What would be the best way to handle this? Change a variable in 
web.xml and restart the application server? I use remote objects for everything I do within the application, if I changed some variable in the web.xml file, that means I'd have to add code to every single method in all of my delegate classes to check the status of this variable every time a call is made before continuing on with the actual method call. Is there a more elegant way of doing this? Much like a servlet filter works?


Any help is greatly appreciated,


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

RE: [flexcoders] Flash player 8.5 auto install?

2005-11-16 Thread Tolulope Olonade










I know its possible with SMS too.

SMS is a Microsoft software that you can
use to deploy software enterprise wide without users intervention.

However there might be some time that you dont
have privilege to such facilities for one reason or another.



But I observed by boss do something really
neat sometimes ago.

You know the meta tags usually at the top
of html pages that usually point to www.macromedia.com/blah/player???

He replaced the www.macromedia.com part of the meta tag
with a local path on the intra server such that it look like http://myserver/components/player6.cab
etc

And when I try to access a page with flash
from that server from a PC that has no flash player plug in, the player will be
autoinstalled without my interference and the flash content become available immediately
on the same page. All done transparently.

Thats the same kind of thing I was
hoping may be possible with FP8 J

Any more ideas???



Many Thanks











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: 16 November 2005 04:52
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash
player 8.5 auto install?







Can you elaborate how you did that? I'm not familiar
with Miscrosoft SMS.











- Original Message - 



From: João
Fernandes 





To: flexcoders@yahoogroups.com






Sent: Wednesday,
November 16, 2005 10:43 AM





Subject: RE: [flexcoders]
Flash player 8.5 auto install?











With the MSI package it's possible. 



We deploy all our software with
MicrosoftSMS silently to our domain. We did it with flash player 7 and
trying to deploy also fb8 but thereare some issues related to some
software installed in our machines but you sould be able do deploy them.









João
Fernandes

Secção
de Desenvolvimento

Departamento
de Informática















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tolulope Olonade
Sent: quarta-feira, 16 de Novembro
de 2005 15:36
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flash
player 8.5 auto install?

Just one more question.

Is it possible such that the installation
takes place silently without the user having to manually click on an exe file
to launch the installation process???

Can it be done silently, transparently
without the users intervention?













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: 16 November 2005 03:58
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash
player 8.5 auto install?







After the release of the player? Heck yeah, they
always do. Although, I believe it's either an .exe, .msi, or ActiveX
control, not a .cab, but you can still just link the user to it to install on
your corporate intranet.











- Original Message - 



From: Tolulope
Olonade 





To: flexcoders@yahoogroups.com






Sent: Wednesday,
November 16, 2005 2:35 AM





Subject: RE: [flexcoders]
Flash player 8.5 auto install?











But hopefully after the final release of
the player.

Will macromedia make available the
installable .cab file that can auto install for people like me that want to
deploy it on the company intranet?

That will be even make the flex platform
more attractive for deployment.



Thanks Jester Manish n everybody











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: 15 November 2005 06:09
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash
player 8.5 auto install?







You can't because of licensing, even with Flash Player 8 and
below.











If you want, you can deploy the Flash Player installation
exe to a company Intranet, or on a CD-ROM, but on the internet, you'll either have
to point your user to Macromedia.com, have faith in the CAB file updating in
IE, or utilize Express Install which is a combo of the above + Flash Player
6.0.64.0's install ability.











Because 8.5 is alpha, you can't even do that because
Macromedia, thankfully, hasn't made it installable from the internet; you have
to download it from labs.macromedia.com.











- Original Message - 



From: Tolulope
Olonade 





To: flexcoders@yahoogroups.com






Sent: Tuesday, November
15, 2005 11:36 AM





Subject: RE: [flexcoders]
Flash player 8.5 auto install?











Ok Lemme rephrase.

Here is what I mean.

Lets say I develop a flex 2 application.

Flex 2 requires flash player 8.5

I have the solution deployed on http://helloworldserver/quickstart.swf

User A clicks the link but he
doesnt have flash player 8.5 installed

I have the installable of flashplayer 8.5
placed on the server cause I dont want the user to have to connect to
the internet for flashplayer 8.5 download.



So, how do I make the flashplayer 8.5
available on http://helloworldserver auto deployed unto the connecting
machine ?



Many Thanks..











From: flexcoders@yahoogroups.com 

Re: [flexcoders] sessions and maintenance questions

2005-11-16 Thread Douglas Knudsen



We use the same approach as Dimitrios exmplained.
if not in your web.xml file, just add it inside the web-app tag (from the JRun perspective) 

session-configsession-timeout60/session-timeout/session-configfor a 60 minute timeout.DK
On 11/16/05, Jaime Bermudez [EMAIL PROTECTED] wrote:



Dimitrios,

Sounds like your solution may solve a similar issue for a project
I'm working on. Can you explainhow thecustom
authentication relates to a timeout? Is it the only way to get
one of the two fault codes you're checking for? Also, I checked
web.xml and I don't see any timeout setting.

Thanks,

Jaime
On 11/14/05, Dimitrios Gianninas 
[EMAIL PROTECTED] wrote:

Hi Robert,

To
answer the first part, with our Flex applications we no longer store
any data in the server session. We load any required data by the UI at
start-upand cache it in a global model (ModelLocator if you are
using Cairngorm). As for the session timeout, we config out RemoteObject to use custom authentication, as follows:

use-custom-authenticationtrueuse-custom-authentication


Then we config the session timeout
in the web.xml to say 60 minutes. So if some user sayleaves for a
lng lunch and returns after 2 hours, the next remote called made
will be rejected. We catch this in the Services.mxml and return the
user to the login view. Sample:

/**
* Handles failed authentication faults and re-routes regular application faults.
*/
function handleRemoteFault( event ):Void {
 if( event.fault.faultcode

 == Client.Authentication || event.fault.faultcode == 401 ) {
 EventBroadcaster.getInstance().broadcastEvent( EventList.LOGOFF );
 }
 else {
 event.call.faultHandler( event );
 }
}
/mx:Script

!-- SystemServices remote reference --
mx:RemoteObject id=systemServices named=systemService concurrency=single


result=event.call.resultHandler(event.result)

fault=handleRemoteFault( event )


showBusyCursor=true /


This handles the server restart scenario as well.

As
for the second portion, I don't believe there is anyway to tell the
user that hey, we are doing a maintenance right now. Since the server
is not available, the remote call will simply hang.


Dimitrios Jimmy Gianninas
RIADeveloper
Optimal Payments Inc.



From: flexcoders@yahoogroups.com [mailto:

flexcoders@yahoogroups.com] On Behalf Of Robert BrueckmannSent: Monday, November 14, 2005 9:47 AMTo: 

flexcoders@yahoogroups.comSubject: [flexcoders] sessions and maintenance questions




I have a question for you guys about how you're currently designing your Flex applications.



Since
a Flex application is not session-based in the sense of an application
server session, how are you guys handling, say, you want a user to have
to log back in if they remain inactive after 5 hours in the case of
using remote objects? You're not making actual HTTP requests in
that case…are you still storing variables in the application server
session upon start of a client's session and checking the status of
those variables every time a remote method call is made? Do you
have some sort of filter that filters every remote method call to check
every time? What about if the application server needs to be
restarted in the middle of the day…granted the client doesn't have any
knowledge of this, do you just allow them to keep going without having
to log back in or do you force them to log back in and if this is the
case, how does the client application become away of such a change and
the need for the user to have to log back in? What are you using
to flag that status change in the case of remote objects?


Also…we
want to have weekly and possibly, daily database maintenance
periods…say from 2 am to 3 am. If, for some reason, one of our
clients is logged into the site at that ungodly hour, right before they
start performing maintenance, and has successfully logged in and
started using out site, then the user tries to execute some action
during the maintenance period, we want to throw them a little message
saying the site is currently undergoing maintenance, and to try again
later, and then forward the user to a maintenance page, the same
maintenance page any other client would see if they came to our URL
DURING the actual maintenance going on. What would be the best
way to handle this? Change a variable in web.xml and restart the
application server? I use remote objects for everything I do
within the application, if I changed some variable in the web.xml file,
that means I'd have to add code to every single method in all of my
delegate classes to check the status of this variable every time a call
is made before continuing on with the actual method call. Is
there a more elegant way of doing this? Much like a servlet
filter works?


Any help is greatly appreciated,


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 fromMerlin Securities, LLC, or from
one of its affiliates, that may be 

RE: [flexcoders] Flash player 8.5 auto install?

2005-11-16 Thread Tolulope Olonade










See he did something similar to this:



object
classid=""
id=obj1 codebase="">http://intranet/apps/flash/swflash.cab#version=6,0,40,0 border=0 width=430
height=263
param
name=movie value=images/ccare.swf
param
name=quality value=High
embed
src=""
pluginspage=http://www.macromedia.com/go/getflashplayer type=application/x-shockwave-flash
name=obj1 width=430 height=263
quality=High/object





Not even in the meta heads but the
codebase of the flash object component















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: 16 November 2005 04:52
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash
player 8.5 auto install?







Can you elaborate how you did that? I'm not familiar
with Miscrosoft SMS.











- Original Message - 



From: João
Fernandes 





To: flexcoders@yahoogroups.com






Sent: Wednesday,
November 16, 2005 10:43 AM





Subject: RE: [flexcoders]
Flash player 8.5 auto install?











With the MSI package it's possible. 



We deploy all our software with
MicrosoftSMS silently to our domain. We did it with flash player 7 and
trying to deploy also fb8 but thereare some issues related to some
software installed in our machines but you sould be able do deploy them.









João
Fernandes

Secção
de Desenvolvimento

Departamento
de Informática















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tolulope Olonade
Sent: quarta-feira, 16 de Novembro
de 2005 15:36
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flash
player 8.5 auto install?

Just one more question.

Is it possible such that the installation
takes place silently without the user having to manually click on an exe file
to launch the installation process???

Can it be done silently, transparently
without the users intervention?













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: 16 November 2005 03:58
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash
player 8.5 auto install?







After the release of the player? Heck yeah, they
always do. Although, I believe it's either an .exe, .msi, or ActiveX
control, not a .cab, but you can still just link the user to it to install on
your corporate intranet.











- Original Message - 



From: Tolulope
Olonade 





To: flexcoders@yahoogroups.com






Sent: Wednesday,
November 16, 2005 2:35 AM





Subject: RE: [flexcoders]
Flash player 8.5 auto install?











But hopefully after the final release of
the player.

Will macromedia make available the
installable .cab file that can auto install for people like me that want to
deploy it on the company intranet?

That will be even make the flex platform
more attractive for deployment.



Thanks Jester Manish n everybody











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: 15 November 2005 06:09
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash
player 8.5 auto install?







You can't because of licensing, even with Flash Player 8 and
below.











If you want, you can deploy the Flash Player installation
exe to a company Intranet, or on a CD-ROM, but on the internet, you'll either
have to point your user to Macromedia.com, have faith in the CAB file updating
in IE, or utilize Express Install which is a combo of the above + Flash Player
6.0.64.0's install ability.











Because 8.5 is alpha, you can't even do that because
Macromedia, thankfully, hasn't made it installable from the internet; you have
to download it from labs.macromedia.com.











- Original Message - 



From: Tolulope
Olonade 





To: flexcoders@yahoogroups.com






Sent: Tuesday, November
15, 2005 11:36 AM





Subject: RE: [flexcoders]
Flash player 8.5 auto install?











Ok Lemme rephrase.

Here is what I mean.

Lets say I develop a flex 2 application.

Flex 2 requires flash player 8.5

I have the solution deployed on http://helloworldserver/quickstart.swf

User A clicks the link but he
doesnt have flash player 8.5 installed

I have the installable of flashplayer 8.5
placed on the server cause I dont want the user to have to connect to
the internet for flashplayer 8.5 download.



So, how do I make the flashplayer 8.5
available on http://helloworldserver auto deployed unto the connecting
machine ?



Many Thanks..











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Manish Jethani
Sent: 15 November 2005 04:26
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash
player 8.5 auto install?





On 11/15/05, Tolulope Olonade
[EMAIL PROTECTED] wrote:

 Can anybody show me how to make Flash
8.5 player auto download for installation to a clients machine in case he
doesn't have flash player installed or he is running an earlier version of the
player?

Dunno about auto download. It's available
here:

RE: [flexcoders] Flash player 8.5 auto install?

2005-11-16 Thread Matt Chotin










In Flex 1.5 this was a built-in capability
of the server if you wanted it configured.  It should be possible too with the
Flex 2 server once that is released (or you can just adjust the tags yourself
in the wrapper as youve seen).



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tolulope Olonade
Sent: Wednesday, November 16, 2005
8:36 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flash
player 8.5 auto install?





See he did something similar to this:



object
classid=""
id=obj1 codebase="">http://intranet/apps/flash/swflash.cab#version=6,0,40,0 border=0 width=430
height=263
param
name=movie value=images/ccare.swf
param
name=quality value=High
embed
src=""
pluginspage=http://www.macromedia.com/go/getflashplayer
type=application/x-shockwave-flash name=obj1 width=430
height=263 quality=High/object





Not even in the meta heads but the
codebase of the flash object component















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: 16 November 2005 04:52
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash
player 8.5 auto install?







Can you elaborate how you did that? I'm not familiar
with Miscrosoft SMS.











- Original Message - 



From: João
Fernandes 





To: flexcoders@yahoogroups.com






Sent: Wednesday,
November 16, 2005 10:43 AM





Subject: RE: [flexcoders]
Flash player 8.5 auto install?











With the MSI package it's possible. 



We deploy all our software with
MicrosoftSMS silently to our domain. We did it with flash player 7 and
trying to deploy also fb8 but thereare some issues related to some
software installed in our machines but you sould be able do deploy them.









João
Fernandes

Secção
de Desenvolvimento

Departamento
de Informática















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tolulope Olonade
Sent: quarta-feira, 16 de Novembro
de 2005 15:36
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flash
player 8.5 auto install?

Just one more question.

Is it possible such that the installation
takes place silently without the user having to manually click on an exe file
to launch the installation process???

Can it be done silently, transparently
without the users intervention?













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: 16 November 2005 03:58
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash
player 8.5 auto install?







After the release of the player? Heck yeah, they
always do. Although, I believe it's either an .exe, .msi, or ActiveX
control, not a .cab, but you can still just link the user to it to install on
your corporate intranet.











- Original Message - 



From: Tolulope
Olonade 





To: flexcoders@yahoogroups.com






Sent: Wednesday, November
16, 2005 2:35 AM





Subject: RE: [flexcoders]
Flash player 8.5 auto install?











But hopefully after the final release of
the player.

Will macromedia make available the
installable .cab file that can auto install for people like me that want to
deploy it on the company intranet?

That will be even make the flex platform
more attractive for deployment.



Thanks Jester Manish n everybody











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: 15 November 2005 06:09
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash
player 8.5 auto install?







You can't because of licensing, even with Flash Player 8 and
below.











If you want, you can deploy the Flash Player installation
exe to a company Intranet, or on a CD-ROM, but on the internet, you'll either
have to point your user to Macromedia.com, have faith in the CAB file updating
in IE, or utilize Express Install which is a combo of the above + Flash Player
6.0.64.0's install ability.











Because 8.5 is alpha, you can't even do that because
Macromedia, thankfully, hasn't made it installable from the internet; you have
to download it from labs.macromedia.com.











- Original Message - 



From: Tolulope
Olonade 





To: flexcoders@yahoogroups.com






Sent: Tuesday, November
15, 2005 11:36 AM





Subject: RE: [flexcoders]
Flash player 8.5 auto install?











Ok Lemme rephrase.

Here is what I mean.

Lets say I develop a flex 2 application.

Flex 2 requires flash player 8.5

I have the solution deployed on http://helloworldserver/quickstart.swf

User A clicks the link but he
doesnt have flash player 8.5 installed

I have the installable of flashplayer 8.5
placed on the server cause I dont want the user to have to connect to
the internet for flashplayer 8.5 download.



So, how do I make the flashplayer 8.5
available on http://helloworldserver auto deployed unto the connecting
machine ?



Many Thanks..











From: flexcoders@yahoogroups.com 

Re: [flexcoders] Flash player 8.5 auto install?

2005-11-16 Thread JesterXL





Ok, I'm obviously out of my league if you all are 
sneaking ActiveX controls on my machine... sorry man, never seen that, but 
apparently it is possible!

- Original Message - 
From: Tolulope Olonade 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, November 16, 2005 11:26 AM
Subject: RE: [flexcoders] Flash player 8.5 auto install?


I know its possible 
with SMS too.
SMS is a Microsoft 
software that you can use to deploy software enterprise wide without users 
intervention.
However there might be 
some time that you don’t have privilege to such facilities for one reason or 
another.

But I observed by boss 
do something really neat sometimes ago.
You know the meta tags 
usually at the top of html pages that usually point to www.macromedia.com/blah/player???
He replaced the www.macromedia.com part of the meta tag 
with a local path on the intra server such that it look like http://myserver/components/player6.cab 
etc
And when I try to 
access a page with flash from that server from a PC that has no flash player 
plug in, the player will be autoinstalled without my interference and the flash 
content become available immediately on the same page. All done 
transparently.
That’s the same kind of 
thing I was hoping may be possible with FP8 J
Any more 
ideas???

Many 
Thanks





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of JesterXLSent: 16 November 2005 04:52To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flash player 8.5 
auto install?


Can you elaborate how you did 
that? I'm not familiar with Miscrosoft 
SMS.



- Original Message - 


From: João 
Fernandes 

To: flexcoders@yahoogroups.com 


Sent: Wednesday, 
November 16, 2005 10:43 AM

Subject: RE: 
[flexcoders] Flash player 8.5 auto 
install?


With the MSI package 
it's possible. 

We deploy all our 
software with MicrosoftSMS silently to our domain. We did it with flash 
player 7 and trying to deploy also fb8 but thereare some issues related to 
some software installed in our machines but you sould be able do deploy 
them.



João 
Fernandes
Secção de 
Desenvolvimento
Departamento de 
Informática






From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Tolulope 
OlonadeSent: quarta-feira, 16 
de Novembro de 2005 15:36To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flash player 8.5 
auto install?
Just one more 
question.
Is it possible such 
that the installation takes place silently without the user having to manually 
click on an exe file to launch the installation 
process???
Can it be done 
silently, transparently without the users 
intervention?






From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of JesterXLSent: 16 November 2005 03:58To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flash player 8.5 
auto install?


After the release of the 
player? Heck yeah, they always do. Although, I believe it's either 
an .exe, .msi, or ActiveX control, not a .cab, but you can still just link the 
user to it to install on your corporate 
intranet.



- Original Message - 


From: Tolulope Olonade 


To: flexcoders@yahoogroups.com 


Sent: Wednesday, 
November 16, 2005 2:35 AM

Subject: RE: 
[flexcoders] Flash player 8.5 auto 
install?


But hopefully after the 
final release of the player.
Will macromedia make 
available the installable .cab file that can auto install for people like me 
that want to deploy it on the company intranet?
That will be even make 
the flex platform more attractive for deployment.

Thanks Jester Manish n 
everybody…





From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of JesterXLSent: 15 November 2005 06:09To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flash player 8.5 
auto install?


You can't because of licensing, even 
with Flash Player 8 and below.



If you want, you can deploy the 
Flash Player installation exe to a company Intranet, or on a CD-ROM, but on the 
internet, you'll either have to point your user to Macromedia.com, have faith in 
the CAB file updating in IE, or utilize Express Install which is a combo of the 
above + Flash Player 6.0.64.0's install 
ability.



Because 8.5 is alpha, you can't even 
do that because Macromedia, thankfully, hasn't made it installable from the 
internet; you have to download it from 
labs.macromedia.com.



- Original Message - 


From: Tolulope Olonade 


To: flexcoders@yahoogroups.com 


Sent: Tuesday, 
November 15, 2005 11:36 AM

Subject: RE: 
[flexcoders] Flash player 8.5 auto 
install?


Ok Lemme 
rephrase.
Here is what I 
mean.
Lets say I develop a 
flex 2 application.
Flex 2 requires flash 
player 8.5
I have the solution 
deployed on http://helloworldserver/quickstart.swf
User A clicks the link 
but he doesn’t have flash player 8.5 installed
I have the installable 
of flashplayer 8.5 placed on the server cause I don’t want the user to have to 
connect to the 

[flexcoders] Custom Tab Navigation Components

2005-11-16 Thread Andora, Greg





Hey 
all,

I was wondering if 
anybody has already made (and has available) any custom Tab Navigation 
components that allow the toggling of the visibility of a tab without having to 
add and remove elements from the viewstack that is its 
dataProvider.

Don't want to 
duplicate any work if it has been done. :o)

Thanks,Greg Andora






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  










To ensure compliance with requirements imposed by the IRS, we inform you that any U.S. federal tax advice contained in this document (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein.

This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com



Re: [flexcoders] Custom Tab Navigation Components

2005-11-16 Thread JesterXL





mx:TabBar / is what TabNavigator uses; you 
can just use an array, and not a viewstack to use him.

Or... you can convert this old skool 
jazz:
http://dev.jessewarden.com/flash/components/jxllizzite/tab.html

- Original Message - 
From: Andora, Greg 

To: 'flexcoders@yahoogroups.com' 

Sent: Wednesday, November 16, 2005 12:10 PM
Subject: [flexcoders] Custom Tab Navigation Components

Hey 
all,

I was wondering if 
anybody has already made (and has available) any custom Tab Navigation 
components that allow the toggling of the visibility of a tab without having to 
add and remove elements from the viewstack that is its 
dataProvider.

Don't want to 
duplicate any work if it has been done. :o)

Thanks,Greg Andora

To ensure compliance with requirements imposed by the IRS, we 
inform you that any U.S. federal tax advice contained in this document 
(including any attachments) is not intended or written to be used, and cannot be 
used, for the purpose of (i) avoiding penalties under the Internal Revenue Code 
or (ii) promoting, marketing or recommending to another party any transaction or 
matter addressed herein.This email may contain confidential and 
privileged material for the sole use of the intended recipient(s). Any review, 
use, distribution or disclosure by others is strictly prohibited. If you are not 
the intended recipient (or authorized to receive for the recipient), please 
contact the sender by reply email and delete all copies of this 
message.To reply to our email administrator directly, send an email 
to[EMAIL PROTECTED]Littler Mendelson, 
P.C.http://www.littler.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] How to hide the line in a Drag and Drop Operation

2005-11-16 Thread Oscar . Cortes

How can I hide the line that shows when doing Drag and Drop ? My drop
target is a Tree, but we don't want to show the line.

Thanks

---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---




 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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] mx:Accordion and vScrollPolicy=on: no scrollbars for mx:Accordition visible

2005-11-16 Thread Andriy Panas
Hello flexcoders,

Does setting of mx:Accordion's property 'vScrollPolicy' to the value
  on has any effect on mx:Accordion appeareance?

 I cannot create any test sample that allows scrollbars to become
visible for the solemn single mx:Accordion component.

 The only workaround I can currently think of is the wrap
mx:Accordion into extra container tag ( like mx:VBox)

 The code follows:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; width=100% 
height=100% creationIndex=0
mx:VBox width=200 height=200 minHeight=0 minWidth=0 vScrollPolicy=on
mx:Accordion width=100% height=300
  mx:Canvas minHeight=0 minWidth=0 vScrollPolicy=on
mx:HBox width=1000 height=2000 
backgroundColor=#FFCC00/mx:HBox
/mx:Canvas
 mx:ControlBar width=100% height=50 
mx:Text text=bottom/mx:Text
 /mx:ControlBar
 /mx:Accordion
/mx:VBox   
/mx:Application
 
  

-- 
Best regards,
 Andriy  mailto:[EMAIL PROTECTED]



 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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] Re: Flex Charting Components 2 distribution

2005-11-16 Thread yaagcur
Could I put in a plea for an all-in-one price or at least making the
combined cost  $1000

It seems to me that charts are fundamental to Flex - many of your
house examples incorporate them - and to treat something so core as an
add-on is a bit like buying a car for $10,000 and then being told the
seats are extra

Remember you got the pricing model wrong once already



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

 I think the plan at the moment is separately, pricing hasn't been
 announced.
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Daniel Cascais
 Sent: Monday, November 14, 2005 11:58 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex Charting Components 2 distribution
 
  
 
 Will Flex Builder 2 include the Flex Charting Components 2 or will
 these be sold separately?
 
 If they are to be sold separately, could anyone point me to any
 [pricing] info regarding this?
 
 Thanks,
 --
 Daniel Cascais
 Tel: +56 (0)2  4589495
 Cel: +56 (0)9  9417355
 
 
 --
 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 ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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] downloading fonts dynamically

2005-11-16 Thread pkleppner
I'm looking for a mechanism to download embedded fonts dynamically, 
i.e. at runtime, as the user selects them through the UI.   I don't 
want to simply embed all the fonts in my SWF, because they're too 
large. And putting them into an RSL doesn't do what I want either, 
because the entire RSL still has to get preloaded.  I would like to be 
able to selectively download just the fonts the user requests at 
runtime.

I can embed fonts into SWF's that I load at runtime as children of my 
main application... but while the fonts are available within the child 
SWF's, I haven't seen any way to access them from the main SWF which 
loads them.   RSL's somehow avoid this problem (a font inside an RSL 
*is* available to the application which loads it), but I haven't been 
able to figure out what the magic is. 

Any ideas?  I'll happily take suggestions for either Flex 1.5 or 2.0.






 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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] Flex 2:Having a major problem with what should be very simple.

2005-11-16 Thread Greg Johnson
I have an oracle database setup on one server.  
I have CF setup on another server with a datasource setup connecting to 
the oracle server.
I am querying oracle and getting back result set.
Included in that result set (from what I can see) is a field called 
Abstract with a type of Long.  It contains a few paragraphs of text.  
When I just dump the variable to the screen outside of flex, it 
displays fine.  When I even try and pass the information back to  Flex 
however from a CFC it blows up.  No helpful error messages ether.

I do not have access to the CF Server admin nor the Oracle Admin.

Ideas?





 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




RE: [flexcoders] Re: Flex Charting Components 2 distribution

2005-11-16 Thread Roger Gonzalez
Not going to debate the charts issue, but...

 Remember you got the pricing model wrong once already

Arguably, we didn't, since the wild success of our 1.0 agenda is
precisely what allowed us to bootstrap development to let us now enjoy
the luxury of expanding to a more diverse and ambitious product line for
2.0.  We could never have achieved our 2.0 goals as a 1.0 product, IMHO.

Speaking as J. Random Developer with zero bizdev knowledge,

-Roger

Roger Gonzalez
mailto:[EMAIL PROTECTED]
 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of yaagcur
 Sent: Wednesday, November 16, 2005 9:14 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Flex Charting Components 2 distribution
 
 Could I put in a plea for an all-in-one price or at least making the
 combined cost  $1000
 
 It seems to me that charts are fundamental to Flex - many of your
 house examples incorporate them - and to treat something so core as an
 add-on is a bit like buying a car for $10,000 and then being told the
 seats are extra
 
 Remember you got the pricing model wrong once already
 
 
 
 --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
 
  I think the plan at the moment is separately, pricing hasn't been
  announced.
  
   
  
  
  
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of Daniel Cascais
  Sent: Monday, November 14, 2005 11:58 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Flex Charting Components 2 distribution
  
   
  
  Will Flex Builder 2 include the Flex Charting Components 2 or will
  these be sold separately?
  
  If they are to be sold separately, could anyone point me to any
  [pricing] info regarding this?
  
  Thanks,
  --
  Daniel Cascais
  Tel: +56 (0)2  4589495
  Cel: +56 (0)9  9417355
  
  
  --
  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 
 ~-- 
 Get fast access to your favorite Yahoo! Groups. Make Yahoo! 
 your home page
 http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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
 
 
 
  
 
 
 


 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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] Re: ioError # 2038 - Any help?

2005-11-16 Thread Nikmd23
After even more research - I'm pretty much convinced that Flash 8.5 is 
presenting the problem.  I say that because the sample app located at 
http://labs.oinam.com/flash8/fileuploaddownload/ workes fine for me in 
IE and FireFox when I have Flash 8.0 installed - when I update to 8.5 
I get the ioError on the larger files. (Same error in both IE and 
FireFox).  

Unfortunatly, you can only run Flex2 code in 8.5 - thus the reason my 
code won't allow for large downloads.

If this is a bug - does anyone have the URL for reporting Flex2 bugs?

Thank You,
Nik





 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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] Re: Flex Book Sample Code Updates?

2005-11-16 Thread bobk_at
No I am not looking for updates to 2.0 just some samples that run 
under 1.5...We have a quick Flashcom 1.5 Flex 1.5 project that needs 
to be done right away and are new to flex. Being new to flex the next 
question I would have is are most developers already switching over to 
Flex 2.0 for current projects? Would that be the recommendation of 
experienced users? Forget about Flex 1.5 and jump right to 2.0?





 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




RE: [flexcoders] downloading fonts dynamically

2005-11-16 Thread Roger Gonzalez
If you use 2.0, I think this is doable, although you'll need to write
some AS code.

Fonts in RSLs are available to the application because they are loaded
to the same application domain as the app itself.  

Fonts in child application domains are (probably?  I should check
this...) not accessible to the application.  Fonts have a semi-useless
AS3 facade; this will hopefully improve, but for now they're mostly
old-sk00l Flash tech.

Note that the Flex UI controls do some magic about checking the faces
found in the embedded font list hanging off the system manager.  This
list is built because there is no native way to introspect what classes
are embedded at runtime (grr!)  The low-level Flash TextField stuff
doesn't care about this list, of course, so for initially getting the
dynamic aspect working, I'd first try building things using TextFields
and the low-level Flash API, then move to fooling the Flex frameworks
via the embedded font list.  

Here's a snippet from UITextFormat:

var sm:ISystemManager = systemManager;
if (font)
measurementTextField.embedFonts =
isFontFaceEmbedded( sm, this );
else
measurementTextField.embedFonts = false;

where isFontFaceEmbedded is:

public static function isFontFaceEmbedded(sm:ISystemManager,
textFormat:TextFormat):Boolean
{
var fontName:String = textFormat.font;
if (!fontName || !sm || !sm.embeddedFontList ||
!sm.embeddedFontList[fontName])
{
return false;
}
var info:Object = sm.embeddedFontList[fontName];
return !((textFormat.bold  !info.bold) || (textFormat.italic
 !info.italic) || (!textFormat.bold  !textFormat.italic 
!info.plain)); 
}


-Roger

Roger Gonzalez
mailto:[EMAIL PROTECTED]
 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of pkleppner
 Sent: Wednesday, November 16, 2005 9:06 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] downloading fonts dynamically
 
 I'm looking for a mechanism to download embedded fonts dynamically, 
 i.e. at runtime, as the user selects them through the UI.   I don't 
 want to simply embed all the fonts in my SWF, because they're too 
 large. And putting them into an RSL doesn't do what I want either, 
 because the entire RSL still has to get preloaded.  I would 
 like to be 
 able to selectively download just the fonts the user requests at 
 runtime.
 
 I can embed fonts into SWF's that I load at runtime as children of my 
 main application... but while the fonts are available within 
 the child 
 SWF's, I haven't seen any way to access them from the main SWF which 
 loads them.   RSL's somehow avoid this problem (a font inside an RSL 
 *is* available to the application which loads it), but I haven't been 
 able to figure out what the magic is. 
 
 Any ideas?  I'll happily take suggestions for either Flex 1.5 or 2.0.
 
 
 
 
 
 
  Yahoo! Groups Sponsor 
 ~-- 
 Get fast access to your favorite Yahoo! Groups. Make Yahoo! 
 your home page
 http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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
 
 
 
  
 
 
 


 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




Re: [flexcoders] Flex 2:Having a major problem with what should be very simple.

2005-11-16 Thread David Harris
One thing to check is what the CFC is return from the function call by
writing a .cfm to call the function the same way.

Another test is to check what the CFC is recieving in it's arguments.

EG:
After all your VARed variables, do something like this
cfset var foo = 
cfsavecontent variables=foo
cfdump var=#arguments#
/cfsavecontent
cffile action=write file=c:\arguments.html output=#foo#

HTH

On 11/17/05, Greg Johnson [EMAIL PROTECTED] wrote:
  I have an oracle database setup on one server.
  I have CF setup on another server with a datasource setup connecting to
  the oracle server.
  I am querying oracle and getting back result set.
  Included in that result set (from what I can see) is a field called
  Abstract with a type of Long.  It contains a few paragraphs of text.
  When I just dump the variable to the screen outside of flex, it
  displays fine.  When I even try and pass the information back to  Flex
  however from a CFC it blows up.  No helpful error messages ether.

  I do not have access to the CF Server admin nor the Oracle Admin.

  Ideas?





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

  



 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




Re: [flexcoders] Re: Flex Book Sample Code Updates?

2005-11-16 Thread JesterXL
Flex 1.5 owns, so no; while I love Flex 2, it's alpha, and Flex 1.5  2 are 
very similiar and much knowledge transfers over well.  I would, however, be 
careful of Flashcom; I would seriously investigate Flashcom 2.0's new 
pricing structure before you delve further.

- Original Message - 
From: bobk_at [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, November 16, 2005 1:25 PM
Subject: [flexcoders] Re: Flex Book Sample Code Updates?


No I am not looking for updates to 2.0 just some samples that run
under 1.5...We have a quick Flashcom 1.5 Flex 1.5 project that needs
to be done right away and are new to flex. Being new to flex the next
question I would have is are most developers already switching over to
Flex 2.0 for current projects? Would that be the recommendation of
experienced users? Forget about Flex 1.5 and jump right to 2.0?






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







 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




Re: [flexcoders] Re: Scrollbar in canvas

2005-11-16 Thread Manish Jethani
On 11/16/05, superabe superabe [EMAIL PROTECTED] wrote:

 i.e is there any method that will force a container (in this case a Canvas) 
 to recalculate / activate its scrollbars?

I didn't see your original problem, but if I take this question out of
its original context, then the answer is this: call invalidateLayout
on the Canvas.

Manish


 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




Re: [flexcoders] Re: Flex Charting Components 2 distribution

2005-11-16 Thread JesterXL
If you look at it from an angst ridden Flasher would, then suddenly you'll 
understand why these comments continue to appear.

I fought adversity, and fought to a completely alien, non-corroborted, 
un-tested and unproven technology; using Flash to make internet 
applications.  I fought the ignorance, continually ignore the spite from my 
peers, ignore the wining (and dying) Director developers.  I wrote books, 
articles, blog entries, and spoke at conferences to help educate  endorse 
the technology I love and use daily.  In effect, I was a part of, and helped 
make the RIA revolution.  Suddenly, Macromedia creates an improved workflow, 
a much needed paradigm shift in the way Flash apps are made.. and prices it 
out of my market?  WTF!?

Granted, hindsight is always 20/20 and many of us cannot see the roadmap 
plans, nor respect the good fortune that arises from being respected in the 
Enterprise sphere.  Still, if you look at it like that, you'll understand 
why people get angry.

- Original Message - 
From: Roger Gonzalez [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, November 16, 2005 1:09 PM
Subject: RE: [flexcoders] Re: Flex Charting Components 2 distribution


Not going to debate the charts issue, but...

 Remember you got the pricing model wrong once already

Arguably, we didn't, since the wild success of our 1.0 agenda is
precisely what allowed us to bootstrap development to let us now enjoy
the luxury of expanding to a more diverse and ambitious product line for
2.0.  We could never have achieved our 2.0 goals as a 1.0 product, IMHO.

Speaking as J. Random Developer with zero bizdev knowledge,

-Roger

Roger Gonzalez
mailto:[EMAIL PROTECTED]


 -Original Message-
 From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On Behalf Of yaagcur
 Sent: Wednesday, November 16, 2005 9:14 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Flex Charting Components 2 distribution

 Could I put in a plea for an all-in-one price or at least making the
 combined cost  $1000

 It seems to me that charts are fundamental to Flex - many of your
 house examples incorporate them - and to treat something so core as an
 add-on is a bit like buying a car for $10,000 and then being told the
 seats are extra

 Remember you got the pricing model wrong once already



 --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
 
  I think the plan at the moment is separately, pricing hasn't been
  announced.
 
 
 
  
 
  From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
  Behalf Of Daniel Cascais
  Sent: Monday, November 14, 2005 11:58 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Flex Charting Components 2 distribution
 
 
 
  Will Flex Builder 2 include the Flex Charting Components 2 or will
  these be sold separately?
 
  If they are to be sold separately, could anyone point me to any
  [pricing] info regarding this?
 
  Thanks,
  --
  Daniel Cascais
  Tel: +56 (0)2  4589495
  Cel: +56 (0)9  9417355
 
 
  --
  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
 ~--
 Get fast access to your favorite Yahoo! Groups. Make Yahoo!
 your home page
 http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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










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







 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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]

* 

RE: [flexcoders] Flex / Jrun Instability?

2005-11-16 Thread Steve Cox











Thanks for the links Ill have a
look through them.



I found the IIS setup appauling if Im
honest. The fact weve spent such a large amount of money on the app, yet
the IIS connector appears to be unreliable is just
not on. With a mixture of fiddling and luck we got it working for the majority
of the time, just not 100% of the time, especially if a user is using IE and
refreshes. Unless its 100% it just cannot go live.



If anyone else has any similar experiences
or fixes Id appreciate them. Ive emailed macromedia using the
support package we have, but as yet (20 hours later) heard nothing. Will let
you know if I find anything out.



Ta



Steve





-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Rawdyn
Sent: 15 November 2005 21:25
To: flexcoders@yahoogroups.com
Subject: FW: [flexcoders] Flex /
Jrun Instability?



Hi Steve,



I have come across this in my own
setup (using JRun4, ColdFusioin and IIS).



Here is a post from the MACR forum
about the lc_id

http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=346threadid=1056843

If you search the forums
(particularly the CF one) there are more threads.



I can't guarantee the info is 100%
so if anyone has more on the subject lets hear it.



Steve, how did you go with the IIS
setup at large? At the time I was doing mine I had enormous trouble (and indeed
couldn't) get it to what I considered a production level. See thread below.

http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=346threadid=1065342



If anyone has any good articles on
configuring JRun4 and IIS I'd be glad to read them.







Rawdy



































From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Cox
Sent: Tuesday, 15 November 2005 11:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex / Jrun
Instability?

Guys  Girls,

Seem to be having an odd problem with getting and keeping a
Jrun server stable.

The Jrun server is installed, flex installed on it and IIS is connected. Now this works fine (took a while to get it working, but its now working right). However when uploading changes to the app, sometimes the page will hang. Whats strange is we also get a _javascript_ error when this happens. The html source is published to the page but no swf is then viewable. The _javascript_ error says the following variable is underfined: lc_id .Looking at the source code the following line is obviously pulling in some _javascript_:script language='_javascript_' charset='utf-8' src='/Symph/flex-internal?action="">/scriptNow the _javascript_ error Im getting suggests this file is not loaded.Has anyone come across the situation where jrun stops serving pages? Restarting it twice seems to wake it back up.TaSteve












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] fill ComboBox with XML received by RemoteObject

2005-11-16 Thread Tracy Spratt
The resultFormat for RemoteObject defaults to object.  Are you sure
you do not already have an object in your result?

Use a handler function and inspect the result object in a debugger.
Often the issue with dataProviders is determining the exact reference
pointing at the necessary array.  For instance, sometimes you need
event.result[0].  

If you really have a string of xml, you could load it into an XML class
object and use that as the dataProvider. Currently, referencing the
correct nodes/attributes in XML is a bit clumsy, but I prefer it to the
black-box conversion of xml to mx:Object that Flex does automatically.
And unless your data and label properties are top-level attributes of
the item nodes, you might need to use a label function:
http://www.cflex.net/showfiledetails.cfm?ObjectID=258

And in Flex 2, the XML class is significantly enhanced.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, November 16, 2005 9:58 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] fill ComboBox with XML received by RemoteObject

Hi List,

I tried to fill a ComboBox with XML received by a RemoteObject - with no
success.
The result of the RemoteObject is a String in which is XML Content. If I
create
a Model by mx:Model id=my_id source=my_xml_file / and bind the
ComboBox
to my_id everything works fine.

I searched the web and found a AS class XMLHelper
http://www.cflex.net/showfiledetails.cfm?ObjectID=243 , but the results
of this
classe are not suitable for a ComboBox.

I further searched the web and found how to load dynamically XML using
HTTPService http://www.cflex.net/showfiledetails.cfm?ObjectID=103
This seems to be interesting, but I think this only can be used with XML
files.

Of course it is possible to parse the String received by the
RemoteObject and
build a model ( well - I wasn't successful here, too ), but isn't there
any
cheap trick to do something in Actionscript with a XML String which
has
exactly the same result as mx:Model with a XML file?

Any help is appreciated.
Christoph




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



 






 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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] Flex2 :: HorizontalList Bug

2005-11-16 Thread Michael Hansen



Hi list,

I'm experiencing problems with the HorizontalList. Put up a
HorizontalList and bind it to a XMLListCollection. In my case I'm
showing some images.

1. Make it so that the list has horizontal scrollbars (e.g. by scaling the browser window)

2. Drag the scrollbar so that the _first_ tile disappears

3. scroll the _first_ tile into view again

4. click on any one of the tiles and...


Error: Invalid index: -1
 at mx.collections::BaseListCollectionView/http://www.macromedia.com/2005/flex/mx/internal::getBookmark()
 at mx.collections::BaseListCollectionViewCursor/get bookmark()
 at mx.controls.listclasses::ListBase/selectItem()
 at mx.controls.listclasses::ListBase/mouseDownHandler()


Anybody see this issue, and found a fix?? I'm really desperate... 

Thank you for any help!!

-michael


** app.mxml

mx:HTTPService id=srv url=""
resultFormat=e4x useProxy=false result=resultHandler(event) /

mx:HorizontalList dataProvider={mediaAssets}
 height=200
 width=400
 listItemRenderer=Thumbnail
/mx:HorizontalList


** thumbnail.mxml

?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.macromedia.com/2005/mxml
   borderStyle=solid
   width=141
   height=180
   verticalAlign=middle 
   verticalGap=0
   vScrollPolicy=off
   hScrollPolicy=off

  mx:Image source=./{dataObject.previewFile}/
  mx:Label text=file: {dataObject.previewFile} /
/mx:VBox




Anybody experiencing problems with the HorizontalList in flex2?

Here's my problem:








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





  




  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] How to show error message instead alert box

2005-11-16 Thread Tracy Spratt
Sure, just create your own message box and use the popup manager to
display it.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sandip_patil01
Sent: Wednesday, November 16, 2005 12:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to show error message instead alert box

Hi All,

I developed application.

say upload functionality.

But if user selects more than 2 MB file size then I am firing alert 
box to select less than or equal to 2 mb. file size

Instead this alert I want to show error message on that titlewindow in 
red color.


-sandip







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



 






 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




Re: [flexcoders] Re: Cairngorm is bad?

2005-11-16 Thread Omar Ramos



Hi guys,

Why not use the apropiate use when the situation merits it. If in your application you have a component that doesn't share it's model with the rest of the application then make it self contained and use the Delegates directly. If in the future you need to use it's model in other view's then just refactor it into a command. Please correct me if am wrong.



Omar Ramos
System Developer
Nobox Marketing Group, Inc.
On 11/15/05, Anatole Tartakovsky [EMAIL PROTECTED] wrote:

Mikola,
 Dumb terminal tend to have some effect on programs written for them. RIA tries to change that by offering richer event-driven paradigm that allow you to show data in more ways and interact with it in more ways. As such, the responses from the server become smaller, more granulated/targeted toward UI, requests need to become faster. etc..


 You indeed can reduce 90% of the SERVER work with more of the usage of standard components or generated code provided that STATE is transparently supported by front-end components. 


 You can use Struts - but without much benefit in terms of code size. Tapestry is great, but needs layer of support to work with controls so it is rapid application developments rather then optimizing 90% of 20%.


 Refactoring of Flex applications is no fun - there are to many areas that can break and go unchecked - your best line of defense (as 10 years ago)is still to amount the least amount of code and use more reliable components. That is were Frameworks come in the play - by advertising that the code in them has been used and tested and does 80% of what you need to do.

 
 I personally do not like frameworks. They usually evolve out of applications. That imposes 2 problems:
1. The problem is thatit have to fit. Let us say you are building motorbikes, cars and trucks. You can share concepts, but not the complex parts - they would either brake or would not fit. At best, you would have smaller thing that are interchangeable - nuts and bolts and signals. Can I reuse the shopping cart? Not likely, not without refactoring that would be bigger effort then writing from scratch. Serving 20 requests /sec and 2,000 require me to build differently - no abstraction survives the load, sorry. There is one thing that is indeed shared by companies making bikes, cars, trucks, planes, etc - tools to make concept into a product and base components.


2. Second problem is that frameworks formalize the process of building software by providing the coding style to adhere to. Some people call it patterns, some experience, but in the end it is just the base language constructs youare thinking with. It offers communication platform for larger group of people by abstraction.Internet revolution was a cultural shock that introduced most ofpatterns as the only way to express yourself as the sizes of development teams went out of control. Lack of tools caused use of manpower instead of tools, canned designs and manufacturing instead of custom design and engineering. It works, do not get me wrong, but it reaps most of the developers from the main benefit of intellectual work - creativity and individualism. 


I think that part of Flex community might want an alternative to frameworksand that alternative isTooling and Components. Here is simple test:
1.Try not to use some framework or library or component for a week. Change remoteObject to WebService or XML/HTTP Request. At the end of the week look at code thathas been done and you would see that you created better performing, more powerful way to do things that fits better your style and applications. 

2. Now try not to use your favorite IDE (Eclipse or such) or code generator (Struts or Tapestry ) and observe amount of code or extra steps you are making. In a week you are worse then before as your productivity is down and no solution is coming.


For the last 15 yearscompany I am working atwould spend at least 50% of my time manufacturing tools and components and the rest doing applications to make money while putting these tools/components to the test. Works both ways - you are getting reusable parts of applications as you manufacture them - and cleanly separate tools from components from application code.


I think time came to put an effort in the creation of Flash/Flex components with high reusability - that would take away most of the framework appeal without giving false promises.


Thank you,
Anatole Tartakovsky
[EMAIL PROTECTED]





- Original Message - 


From: Mykola Paliyenko
 
To: flexcoders@yahoogroups.com
 
Sent: Tuesday, November 15, 2005 11:05 AM
Subject: Re: [flexcoders] Re: Cairngorm is bad?
Good point Renaun, but how often do you need model to be shared across views that are backed by different mxmls? Even if you need it you can access one view from another, you can create some more general ViewHelper in this case that will contain that model. I'm my project 90% cases are just dummy calls to the server and displaying the results. If I'll need 

[flexcoders] Re: Flex Book Sample Code Updates?

2005-11-16 Thread bobk_at
Thanks JesterXL,
This would be a Flashcom 1.5 project, and since we have enough
personal licenses to handle the expected traffic, we would not be
going to FMS 2.0. Notice taken of your comment on the pricing
structure of the FMS 2.0;I have always been puzzled by MMs pricing and
support of this product, its almost as if the don't want you to use
it(for anything other than streaming FLV). 

I guess my next Question would be would you recommend using Flex 2.0
with Flashcom 1.5? The pricing of Flex 2.0 is attractive compared to
1.5 and any data push would come through Flashcom 1.5. So no need for
the Full Flex 2.0 whenever it arrives.






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

 Flex 1.5 owns, so no; while I love Flex 2, it's alpha, and Flex 1.5
 2 are 
 very similiar and much knowledge transfers over well.  I would,
however, be 
 careful of Flashcom; I would seriously investigate Flashcom 2.0's new 
 pricing structure before you delve further.
 
 - Original Message - 
 From: bobk_at [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, November 16, 2005 1:25 PM
 Subject: [flexcoders] Re: Flex Book Sample Code Updates?
 
 
 No I am not looking for updates to 2.0 just some samples that run
 under 1.5...We have a quick Flashcom 1.5 Flex 1.5 project that needs
 to be done right away and are new to flex. Being new to flex the next
 question I would have is are most developers already switching over to
 Flex 2.0 for current projects? Would that be the recommendation of
 experienced users? Forget about Flex 1.5 and jump right to 2.0?
 
 
 
 
 
 
 --
 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







 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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] Two ViewStack Questions - easy for you guys : )

2005-11-16 Thread Libby
Is there a way to identify the object returned by
viewStack.getChildAt()?. I get a complex object back that could be one
of many objects; id is not valid.

Also, when does the view.unload() run? I would have thought it runs
when I do viewStack.destroyChildAt(i), but either it doesn't or it
doesn't like me and my listener.

Thanks,
Libby





 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




Re: [flexcoders] Two ViewStack Questions - easy for you guys : )

2005-11-16 Thread JesterXL
Use typeof or instanceof.

unload runs 1 frame after the object is destroyed (object being something 
that extends UIObject).

I like you and your listener.

- Original Message - 
From: Libby [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, November 16, 2005 4:29 PM
Subject: [flexcoders] Two ViewStack Questions - easy for you guys : )


Is there a way to identify the object returned by
viewStack.getChildAt()?. I get a complex object back that could be one
of many objects; id is not valid.

Also, when does the view.unload() run? I would have thought it runs
when I do viewStack.destroyChildAt(i), but either it doesn't or it
doesn't like me and my listener.

Thanks,
Libby






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







 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




RE: [flexcoders] Re: Flex2 :: HorizontalList Bug

2005-11-16 Thread Matt Chotin










Yeah, sorry, XMLListCollection doesnt
really work in the Alpha.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Hansen
Sent: Wednesday, November 16, 2005
11:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex2 ::
HorizontalList Bug





I found a fix:

Use ArrayCollection instead of XMLListCollection for the result, i.e. don't use
e4x as return type.

Hope this help somebody.

Cheers 

 -michael





On 11/16/05, Michael
Hansen [EMAIL PROTECTED]
wrote:

Hi list,

I'm experiencing problems with the HorizontalList. Put up a HorizontalList and
bind it to a XMLListCollection. In my case I'm showing some images.

1. Make it so that the list has horizontal scrollbars (e.g. by scaling the
browser window)

2. Drag the scrollbar so that the _first_ tile disappears

3. scroll the _first_ tile into view again

4. click on any one of the tiles and...


Error: Invalid index: -1
 at
mx.collections::BaseListCollectionView/http://www.macromedia.com/2005/flex/mx/internal::getBookmark()
 at mx.collections::BaseListCollectionViewCursor/get
bookmark()
 at mx.controls.listclasses::ListBase/selectItem()
 at mx.controls.listclasses::ListBase/mouseDownHandler()


Anybody see this issue, and found a fix?? I'm really desperate... 

Thank you for any help!!

-michael


** app.mxml

mx:HTTPService id=srv
url="" resultFormat=e4x
useProxy=false result=resultHandler(event) /

mx:HorizontalList dataProvider={mediaAssets}
 height=200
 width=400
 listItemRenderer=Thumbnail
/mx:HorizontalList


** thumbnail.mxml

?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.macromedia.com/2005/mxml
  
borderStyle=solid
   width=141
   height=180
  
verticalAlign=middle 
  
verticalGap=0
  
vScrollPolicy=off
  
hScrollPolicy=off

  mx:Image source=./{dataObject.previewFile}/
  mx:Label text=file:
{dataObject.previewFile} /
/mx:VBox




Anybody experiencing problems with the HorizontalList in flex2?

Here's my problem:














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





  




  
  
  YAHOO! GROUPS LINKS



  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] Adding Item to a ComboBox

2005-11-16 Thread yaagcur
I currently successfully webservice in a list of schools which I place
in a Combobox
The key code being

a)mx:operation name=getCities

b)mx:ArrayCollection id=cities
source={mx.utils.ArrayUtil.toArray(ContactService.getCities.result)}  /

c)mx:ComboBox id=cities_cb dataProvider={cities}
labelField=CITY width=150/mx:ComboBox

I want to be able to add extra items e.g All Cities

I have tried to follow the livedocs example
http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/js/html/wwhelp.htm?href=0531.html
updating an array using the IList interface

but am getting multiple errors when I try adding a function to 
do addItemAt

a)mx:operation name=getCities
result=citiesResultHandler(event.result)

b)public function citiesResultHandler(result:Object)  {

 public var myIList:IList = new
ArrayCollection({mx.utils.ArrayUtil.toArray(ContactService.getCities.result)});

// The function to change the collection, and therefore the Array.
myIList.addItemAt(All Cities, 0);

 }

c) mx:ComboBox id=cities_cb dataProvider={myIList}
labelField=CITY width=150/mx:ComboBox

Obviously I am using the wrong terminology in the function 





 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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] Re: Flex Book Sample Code Updates?

2005-11-16 Thread bobk_at
Thanks JesterXL,

Well that is it Flex 2 and Flashcom 1.5. 




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

 Flex 2 rocks.  Flashcom rocks if you already own enough licenses.
 
 Keep in mind, though, Flex 2 has binary sockets and the old school 
 XMLSocket, so there are alternatives to FCS... but I still like
coding in 
 FCS myself.
 
 - Original Message - 
 From: bobk_at [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, November 16, 2005 3:58 PM
 Subject: [flexcoders] Re: Flex Book Sample Code Updates?
 
 
 Thanks JesterXL,
 This would be a Flashcom 1.5 project, and since we have enough
 personal licenses to handle the expected traffic, we would not be
 going to FMS 2.0. Notice taken of your comment on the pricing
 structure of the FMS 2.0;I have always been puzzled by MMs pricing and
 support of this product, its almost as if the don't want you to use
 it(for anything other than streaming FLV).
 
 I guess my next Question would be would you recommend using Flex 2.0
 with Flashcom 1.5? The pricing of Flex 2.0 is attractive compared to
 1.5 and any data push would come through Flashcom 1.5. So no need for
 the Full Flex 2.0 whenever it arrives.
 
 
 
 
 
 
 --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:
 
  Flex 1.5 owns, so no; while I love Flex 2, it's alpha, and Flex 1.5
  2 are
  very similiar and much knowledge transfers over well.  I would,
 however, be
  careful of Flashcom; I would seriously investigate Flashcom 2.0's new
  pricing structure before you delve further.
 
  - Original Message - 
  From: bobk_at [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Wednesday, November 16, 2005 1:25 PM
  Subject: [flexcoders] Re: Flex Book Sample Code Updates?
 
 
  No I am not looking for updates to 2.0 just some samples that run
  under 1.5...We have a quick Flashcom 1.5 Flex 1.5 project that needs
  to be done right away and are new to flex. Being new to flex the next
  question I would have is are most developers already switching over to
  Flex 2.0 for current projects? Would that be the recommendation of
  experienced users? Forget about Flex 1.5 and jump right to 2.0?
 
 
 
 
 
 
  --
  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








 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




Re: [flexcoders] Re: Flex Book Sample Code Updates?

2005-11-16 Thread JesterXL
While I'm glad you share the love of Flex 2, it's alpha, so I wouldn't 
expect things to work all the time.

- Original Message - 
From: bobk_at [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, November 16, 2005 5:23 PM
Subject: [flexcoders] Re: Flex Book Sample Code Updates?


Thanks JesterXL,

Well that is it Flex 2 and Flashcom 1.5.




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

 Flex 2 rocks.  Flashcom rocks if you already own enough licenses.

 Keep in mind, though, Flex 2 has binary sockets and the old school
 XMLSocket, so there are alternatives to FCS... but I still like
coding in
 FCS myself.

 - Original Message - 
 From: bobk_at [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, November 16, 2005 3:58 PM
 Subject: [flexcoders] Re: Flex Book Sample Code Updates?


 Thanks JesterXL,
 This would be a Flashcom 1.5 project, and since we have enough
 personal licenses to handle the expected traffic, we would not be
 going to FMS 2.0. Notice taken of your comment on the pricing
 structure of the FMS 2.0;I have always been puzzled by MMs pricing and
 support of this product, its almost as if the don't want you to use
 it(for anything other than streaming FLV).

 I guess my next Question would be would you recommend using Flex 2.0
 with Flashcom 1.5? The pricing of Flex 2.0 is attractive compared to
 1.5 and any data push would come through Flashcom 1.5. So no need for
 the Full Flex 2.0 whenever it arrives.






 --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:
 
  Flex 1.5 owns, so no; while I love Flex 2, it's alpha, and Flex 1.5
  2 are
  very similiar and much knowledge transfers over well.  I would,
 however, be
  careful of Flashcom; I would seriously investigate Flashcom 2.0's new
  pricing structure before you delve further.
 
  - Original Message - 
  From: bobk_at [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Wednesday, November 16, 2005 1:25 PM
  Subject: [flexcoders] Re: Flex Book Sample Code Updates?
 
 
  No I am not looking for updates to 2.0 just some samples that run
  under 1.5...We have a quick Flashcom 1.5 Flex 1.5 project that needs
  to be done right away and are new to flex. Being new to flex the next
  question I would have is are most developers already switching over to
  Flex 2.0 for current projects? Would that be the recommendation of
  experienced users? Forget about Flex 1.5 and jump right to 2.0?
 
 
 
 
 
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
 







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









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







 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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] Re: downloading fonts dynamically

2005-11-16 Thread pkleppner
Roger, thanks for the suggestions.  Yes, I had found and been playing 
with the embedded font list used by by the Flex UI controls; and I've 
also been using the lower level TextField API's directly. So far, I've 
had no luck at all in getting dynamically loaded fonts to be 
recognized.

You said:
 Fonts in RSLs are available to the application because 
 they are loaded to the same application domain as the app 
 itself. Fonts in child application domains are (probably? 
 I should check this...) not accessible to the application.

This is certainly consistent with everything I've found 
experiementally with Flex 1.5.   And in Flex 2.0 alpha I'm stopped by 
the following error when trying to load a child SWF, if it has an 
embedded font in it:

TypeError: Error #1009: null has no properties.
at mx.managers::SystemManager/set fontList()
at _LoadChild_FlexInit$/init()
at mx.managers::SystemManager/SystemManager$71
$private::handleFrameEnd()

I'm assuming this is a bug that will eventually be fixed, but what 
will the final behavior be?  Will the same issue I'm seeing in Flex 
1.5 -- fonts in child application domains are not accessible to the 
application --remain in Flex 2.0?  And if so, is there any work-around?







 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




RE: [flexcoders] Adding Item to a ComboBox

2005-11-16 Thread Tracy Spratt
Have you looked at the prompt property?
Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of yaagcur
Sent: Wednesday, November 16, 2005 4:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Adding Item to a ComboBox

I currently successfully webservice in a list of schools which I place
in a Combobox
The key code being

a)mx:operation name=getCities

b)mx:ArrayCollection id=cities
source={mx.utils.ArrayUtil.toArray(ContactService.getCities.result)}
/

c)mx:ComboBox id=cities_cb dataProvider={cities}
labelField=CITY width=150/mx:ComboBox

I want to be able to add extra items e.g All Cities

I have tried to follow the livedocs example
http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/js/html/wwhelp
.htm?href=0531.html
updating an array using the IList interface

but am getting multiple errors when I try adding a function to 
do addItemAt

a)mx:operation name=getCities
result=citiesResultHandler(event.result)

b)public function citiesResultHandler(result:Object)  {

 public var myIList:IList = new
ArrayCollection({mx.utils.ArrayUtil.toArray(ContactService.getCities.res
ult)});

// The function to change the collection, and therefore the
Array.
myIList.addItemAt(All Cities, 0);

 }

c) mx:ComboBox id=cities_cb dataProvider={myIList}
labelField=CITY width=150/mx:ComboBox

Obviously I am using the wrong terminology in the function 






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



 






 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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] A problem of dataService

2005-11-16 Thread 王卓群
hello,

 I have a problem with DataService.When I use RemoteObject to get 
the data from the database,it return a ResultSet type object.But I want to get 
one field of the data object,for example,I want to get the name field from 
the database,and use in the Label tag as follow: mx:Label 
text=Welcome!{theUserName}/.How can I do in the mxml file?  
P.S:My english is so poor,so if you can't quiet follow me, forgive me.

  Thanks very much!




Snail from China
[EMAIL PROTECTED]
  2005-11-17





 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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] Re: Image load time-out settings

2005-11-16 Thread superabe superabe



Resending this, in case somebody knows the answer.

Looking for a way to increase the default timeout value for an Image control, before i shows the broken image icon.

TIA
- superabe
On 11/5/05, superabe superabe [EMAIL PROTECTED] wrote:

Is there any setting in Flex that controls how long an Image control tries to load an external 
image file, before displaying the broken image icon?

I am facing a situation where, images load fine on a dev server, but fail to show up on a staging server. Refreshing the page seems to resolve the issue.

Interestingly I have a flash swf loaded at run-time in the Flex app, that also loads some images at run-time and exhibits the same issue. 


TIA

- superabe






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] sessions and maintenance questions

2005-11-16 Thread Dimitrios Gianninas





Hi Jamie,

Once you set the web session time to a 
particular value, like so (in the web.xml):

session-config
 
session-timeout60/session-timeout
/session-config

Then what happens is, after 60 minutes of inactivity, 
the next remote call will fail because the user is not longer authenticated at 
the server level. And yes, the remote call will fail with one of the two 
faultcodes mentioned below. So I essential kick the user back to the login page. 


If you don't set your RemoteObjects to 
use-custom-authentication, then none of this matters. Then will keep working 
forever... not safe in a production environment at all.

Hope that helps!

Dimitrios "Jimmy" Gianninas
RIADeveloper
Optimal Payments Inc.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jaime 
BermudezSent: Wednesday, November 16, 2005 11:01 AMTo: 
[EMAIL PROTECTED]Cc: Dimitrios 
GianninasSubject: Re: [flexcoders] sessions and maintenance 
questions

Dimitrios,

Sounds like your solution may solve a similar issue for a project I'm 
working on. Can you explainhow thecustom authentication 
relates to a timeout? Is it the only way to get one of the two fault codes 
you're checking for? Also, I checked web.xml and I don't see any timeout 
setting.

Thanks,

Jaime
On 11/14/05, Dimitrios 
Gianninas [EMAIL PROTECTED] 
wrote: 

  Hi Robert,
  
  To answer the first part, with our Flex applications we no longer store 
  any data in the server session. We load any required data by the UI at 
  start-upand cache it in a global model (ModelLocator if you are using 
  Cairngorm). As for the session timeout, 
  we config out RemoteObject to use custom authentication, as 
  follows:
  
  use-custom-authenticationtrueuse-custom-authentication 
  
  Then we config the session timeout in the web.xml to say 60 minutes. So if some user 
  sayleaves for a lng lunch and returns after 2 hours, the next remote 
  called made will be rejected. We catch this in the Services.mxml and return 
  the user to the login view. Sample:
  
  /**
  * Handles 
  failed authentication faults and re-routes regular application 
  faults.
  */
  function 
  handleRemoteFault( event ):Void {
   if( 
  event.fault.faultcode == "Client.Authentication" || event.fault.faultcode == 
  "401" ) {
   
  EventBroadcaster.getInstance().broadcastEvent( EventList.LOGOFF 
  );
   }
   else {
   event.call.faultHandler( event 
);
   }
  }
  /mx:Script
  
  !-- 
  SystemServices remote reference --
  mx:RemoteObject id="systemServices" 
  named="systemService" concurrency="single "
  result="event.call.resultHandler(event.result)" 
  fault="handleRemoteFault( event )" 
  showBusyCursor="true" / 
  
  This handles the server restart scenario as 
  well.
  
  As for the second portion, I don't believe there is anyway to 
  tell the user that "hey, we are doing a maintenance right now". Since the 
  server is not available, the remote call will simply hang. 

  
  Dimitrios "Jimmy" Gianninas
  RIADeveloper
  Optimal Payments 
Inc.
  
  
  
  From: flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com] On Behalf Of Robert 
  BrueckmannSent: Monday, November 14, 2005 9:47 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
  sessions and maintenance questions
  
  
  
  
  I have a question 
  for you guys about how you're currently designing your Flex 
  applications.
  
  Since a Flex 
  application is not session-based in the sense of an application server 
  session, how are you guys handling, say, you want a user to have to log back 
  in if they remain inactive after 5 hours in the case of using remote 
  objects? You're not making actual HTTP requests in that caseare you 
  still storing variables in the application server session upon start of a 
  client's session and checking the status of those variables every time a 
  remote method call is made? Do you have some sort of filter that filters 
  every remote method call to check every time? What about if the 
  application server needs to be restarted in the middle of the daygranted the 
  client doesn't have any knowledge of this, do you just allow them to keep 
  going without having to log back in or do you force them to log back in and if 
  this is the case, how does the client application become away of such a change 
  and the need for the user to have to log back in? What are you using to 
  flag that status change in the case of remote objects? 
  
  Alsowe want to 
  have weekly and possibly, daily database maintenance periodssay from 2 am to 
  3 am. If, for some reason, one of our clients is logged into the site at 
  that ungodly hour, right before they start performing maintenance, and has 
  successfully logged in and started using out site, then the user tries to 
  execute some action during the maintenance period, we want to throw them a 
  little message saying the site is currently undergoing maintenance, and to try 
  again later, and then forward the user to a 

[flexcoders] Component Positioning question

2005-11-16 Thread nextadvantage
How come I can't set the x/y positioning of a component inside a vbox
that is inside a view stack? (Flex builder 2)





 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




RE: [flexcoders] A problem of dataService

2005-11-16 Thread Tracy Spratt
Use dot.down notation on the result object.

For example:
var oResult:Object = event.result[0];  //maybe just event.result this depends 
on the actual structure of the result object
var sName:String = oResult.name;

Use a result handler function, call it from the result event in the data 
service tag, and in that function, use a debugger to examine the structure of 
your result object if needed.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ???
Sent: Wednesday, November 16, 2005 7:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] A problem of dataService

hello,

 I have a problem with DataService.When I use RemoteObject to get 
the data from the database,it return a ResultSet type object.But I want to get 
one field of the data object,for example,I want to get the name field from 
the database,and use in the Label tag as follow: mx:Label 
text=Welcome!{theUserName}/.How can I do in the mxml file?  
P.S:My english is so poor,so if you can't quiet follow me, forgive me.

  Thanks very much!




Snail from China
[EMAIL PROTECTED]
  2005-11-17






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



 






 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




RE: [flexcoders] Component Positioning question

2005-11-16 Thread Tracy Spratt
I'm not doing Flex 2 yet, but only the mx:Canvas allows you to
explicitly set x/y position.  The other containers layout the children
using their own logic.  That is their purpose.  A VBox, for example
arranges its children vertically.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of nextadvantage
Sent: Wednesday, November 16, 2005 8:45 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Component Positioning question

How come I can't set the x/y positioning of a component inside a vbox
that is inside a view stack? (Flex builder 2)






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



 






 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




Re: [flexcoders] Re: Image load time-out settings

2005-11-16 Thread JesterXL





This is all handled via the mixin 
ExternalContent.as. Basically, he starts off at 20 milliseconds, and 
continues polling every 20 * 1.5 milliseconds, each time increasing the 
wait. There is logic in there to handle security restrictions as well as 
full initialization.

If you really don't care and just want a really 
really long wait, do:

checkProgressIntervalLength = 10 * 
1000;

It's originally 20 milliseconds but that will set 
it to 10 seconds the first time, 15 the second time, 22 seconds the 3rd, 
etc.

- Original Message - 
From: superabe superabe 

To: flexcoders@yahoogroups.com 
Sent: Wednesday, November 16, 2005 8:18 PM
Subject: [flexcoders] Re: Image load time-out settings

Resending this, in case somebody knows the answer.

Looking for a way to increase the default timeout value for an Image 
control, before i shows the broken image icon.

TIA
- superabe
On 11/5/05, superabe 
superabe [EMAIL PROTECTED] 
wrote: 

  Is there any setting in Flex that controls how long an Image control tries to load an external image 
  file, before displaying the broken image icon?
  
  I am facing a situation where, images load fine on a dev server, but fail to show up on a staging 
  server. Refreshing the page seems to resolve the issue.
  
  Interestingly I have a flash swf loaded at run-time in the Flex app, that 
  also loads some images at run-time and exhibits the same issue. 
  
  
  TIA
  
  - superabe





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Re: Image load time-out settings

2005-11-16 Thread JesterXL





Some genious decided not to distribute the Flex 1.5 
ActionScript source. The salt on open wounds route I take is to debug in 
FlexBuilder, and then when debugging, you'll see a white paper like icon next to 
the continue,stop buttons; this dropdown has all the classes you are debugging, 
in alphabetical order. ExternalContent is one of those.

- Original Message - 
From: superabe superabe 

To: flexcoders@yahoogroups.com 
Sent: Wednesday, November 16, 2005 10:17 PM
Subject: Re: [flexcoders] Re: Image load time-out 
settings


Where is the ExternalContent.as class ?
And is checkProgressIntervalLength aproperty 
of the Image control ?

Thanks,
- superabe

On 11/16/05, JesterXL 
[EMAIL PROTECTED] 
wrote: 

  This is all handled via the mixin 
  ExternalContent.as. Basically, he starts off at 20 milliseconds, and 
  continues polling every 20 * 1.5 milliseconds, each time increasing the 
  wait. There is logic in there to handle security restrictions as well as 
  full initialization. 
  
  If you really don't care and just want a really 
  really long wait, do:
  
  checkProgressIntervalLength = 10 * 
  1000;
  
  It's originally 20 milliseconds but that will set 
  it to 10 seconds the first time, 15 the second time, 22 seconds the 3rd, 
  etc.
  
  
  - Original Message - 
  From: superabe superabe 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, November 16, 2005 8:18 PM
  Subject: [flexcoders] Re: Image load time-out settings
  
  Resending this, in case somebody knows the answer.
  
  Looking for a way to increase the default timeout value for an Image 
  control, before i shows the broken image icon.
  
  TIA
  - superabe
  On 11/5/05, superabe 
  superabe [EMAIL PROTECTED]  
  wrote: 
  
Is there any setting in Flex that controls how long an Image control tries to load an 
external image file, before displaying the broken 
image icon?

I am facing a situation where, images load fine 
on a dev server, but fail to show up on a staging server. Refreshing the 
page seems to resolve the issue.

Interestingly I have a flash swf loaded at run-time in the Flex app, 
that also loads some images at run-time and exhibits the same issue. 


TIA

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


  Web site design development 
  Computer software development 
  Software design and development 

  Macromedia flex 
  Software development best practice 
  
  
  
  YAHOO! GROUPS LINKS 
  
Visit your group "flexcoders" on the web. 
To unsubscribe from this group, send an email 
to: [EMAIL PROTECTED] 

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





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Sandbox violations Flex2

2005-11-16 Thread Matt Chotin










You need a crossdomain.xml file at http://localhost/crossdomain.xml. Security.allowDomain
is to allow SWFs from other domains to communicate with your SWF I believe.



If you access your SWF from http://localhost instead of off your local
filesystem you also wont get the error.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of teotigraphix
Sent: Wednesday, November 16, 2005
5:15 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Sandbox
violations Flex2





Hello,

Ah this is probably one of those easy answers but,

Security.allowDomain(http://localhost/apidoc);

Using a php server on my localhost that DOES work,


Error #2044: Unhandled securityError:
text=Error #2048: Security
sandbox violation: 'file:///c:/Documents and
Settings/TeotiGraphix/My
Documents/Flex/APIDoc/bin/APIDoc-debug.swf' may
not load data from
'http://localhost/apidoc/echo.php'.
 at APIDocUI/APIDocUI$7$private::testLoadPHP()[C:\Documents
and
Settings\TeotiGraphix\My
Documents\Flex\APIDoc\APIDocUI.as:37]

why am I getting a sandbox violation?

Can anyuone help me here, I have had no luck with
allowDomain in Flex
Builder 2. What has changed?

Peace, Mike











--
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] Scrollbar placement

2005-11-16 Thread svktiilikainen
Old question, but did not find working solutions.

I have a structure in a tab navigator (see below) and I would like 
to have the scrollbar (when needed) in a specific place. The tab 
contains a HBox and a Form. HBox is of fixed size and place and 
should always be visible - no scrollbar. The contents of the Form 
are created dynamically and are of various sizes and formats. The 
Form should have a scrollbar when needed. Now the scrollbar is 
always on parent container, VBox, so that the fixed-place HBox 
scrolls as well. 

Setting the sizes does not seem to help, neither does setting 
vScrollPolicy on various components. How can I force the scrollbar 
on the Form scrollableContents?


mx:TabNavigator
  mx:VBox id=myTab width=100% height=100%

mx:HBox id=fixedField width=100% height=40
  !-- label and text inputs here, no scroll needed --
/mx:HBox

mx:Form id=scrollableContents width=100% height=100%
  !-- contents: formitems etc. created dynamically with 
createChild()--
/mx:Form

  /mx:VBox
!-- other tabs here --

/mx:TabNavigator





 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




Re: [flexcoders] Component Positioning question

2005-11-16 Thread Manish Jethani
On 11/17/05, Tracy Spratt [EMAIL PROTECTED] wrote:

 I'm not doing Flex 2 yet, but only the mx:Canvas allows you to
 explicitly set x/y position.  The other containers layout the children
 using their own logic.  That is their purpose.  A VBox, for example
 arranges its children vertically.

If you want to temporarily move children around -- for doing some
animation, for instance -- you could set the VBox's autoLayout to
false temporarily.  I believe that's how it is, but I'd look at the
documentation for autoLayout to confirm.

Manish


 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/
 




Re: [flexcoders] Re: Adding Item to a ComboBox

2005-11-16 Thread Manish Jethani
On 11/17/05, yaagcur [EMAIL PROTECTED] wrote:
 Though I note from a recent thread that it is not it its final version
 (fLex2)

Yes, the prompt property in Flex 2 will not update the data provider. 
It'll just display a prompt when nothing in the combobox is selected.

If you use the Alpha 1 build though it still works like Flex 1.5.

Manish


 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/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/