[flexcoders] Flash Player 8 and the trace() function

2005-10-21 Thread Laurent Cornelis
Hi,

I've installed Flash Player 8 to use the file upload feature in Flex 1.5 
but there is a problem : The Flash Player 8 don't have the debugging 
enabled and then the trace() function don't work anymore.

Do you know how I can workaround it ?

Regards,

Laurent Cornélis



 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] J2EE/JRun Flex 2.0 Web Service Examples

2005-10-21 Thread Robert Thompson
Matt,

As to the example, I will look for it, but just some
feedback for the future, I think this is one of those
things that's important to fix (unless I'm
mis-understanding).  You guys are extremely busy I'm
sure, but this is just feedback.

When somebody is referring to an example, in most
cases they are a intermediate or beginner, looking to
adopt use of the technology after being convinced it
is the right way to go.

They are usually interested in doing two things: (a)
getting that darn project to open/compile/run, (b)
looking at the code to see program flow.

It's hard to do (a) when code is in multiple locations
and in different builds; and it can be frustrating for
some.

I greatly appreciate Sho and others willingness to
want to put more of the Showcase examples online, and
it would be nice, if possible and if you have time,
to, in addition to fixing the below issue in the next
release, to have an index from the Showcase url, to
other examples included in the release; i.e. both a
link to a running example and the source code
download.

Here's that url to the showcase examples just in case,

http://labs.macromedia.com/wiki/index.php/Showcase

Note, the Flickr example (the last one) has download
to source code while the others do not (although I do
know this is different from Sho's examples; btw,
absolutely love the videos).

Thanks much for your consideration of this.

Btw, If you feel like it, perhaps you can flag my Beta
request if you feel i'm the type who is qualified.  I
can assure you, as a freelancer, I have plenty of time
to spend loads of time working with the beta, and
being able to type 80 words a minute, I'm able and
wiling to provide a lot of quality feedback on
important issues.

-r

--- Matt Chotin [EMAIL PROTECTED] wrote:

 I think the restaurant finder sample went out with
 the alpha, it uses a
 WebService except that the code for that webservice
 is sitting on a
 server somewhere and wasn't shipped.  But if you
 look at the Flex 1.5
 samples in FlexStore you can see how to set up a
 Java webservice (look
 at the wsdd files etc).
 
 The standard Java webservice library is Axis:
 http://ws.apache.org/axis/.  There should be some
 getting started guides
 there and I'd bet that they've got suggestions on
 how to do some
 development in Eclipse.
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Robert Thompson
 Sent: Thursday, October 20, 2005 3:51 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] J2EE/JRun Flex 2.0 Web Service
 Examples
 
  
 
 Does anyone know, or have, any resources, tutorials,
 sample code, or otherwise getting started
 information on this simple model:
 
 1. Flex 2.0 calling a custom Web Service
 2. The custom Web Service example code in Eclipse
 J2EE
 IDE (recommendations on J2EE IDE?)
 
 I'm trying to gain momentum in the areas I want to
 endeavor towards.  It would be great if there was a
 File Area for this group for such example code.
 
 -r
 
 
 --- Manuel Saint-Victor [EMAIL PROTECTED]
 wrote:
 
  I'm doing some Flex 2.0 doodling right now to
 learn
  my way around. Is there
  any way to develop quick applications independent
 of
  a project or a way to
  automatically set the most recently created app as
  the default fro running.
  Not a major prob but just curious if there's
 another
  more efficient approach
  for quick doodle times like this.
  
  Mani
  
 
 
 
   
 
 __ 
 Yahoo! Mail - PC Magazine Editors' Choice 2005 
 http://mail.yahoo.com
 
 
 --
 Flexcoders Mailing List
 FAQ:

http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:

http://www.mail-archive.com/flexcoders%40yahoogroups.com
 
 
 
 
 
 SPONSORED LINKS 
 
 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


Re: [flexcoders] Flash Player 8 and the trace() function

2005-10-21 Thread Clint Modien



Could use this... it's relatively easy to use...

http://www.macromedia.com/devnet/flex/articles/fast_userguide.html

On 10/21/05, Laurent Cornelis [EMAIL PROTECTED] wrote:
Hi,I've installed Flash Player 8 to use the file upload feature in Flex 1.5but there is a problem : The Flash Player 8 don't have the debugging
enabled and then the trace() function don't work anymore.Do you know how I can workaround it ?Regards,Laurent Cornélis Yahoo! Groups Sponsor ~--
Most low income households are not online. Help bridge the digital divide today!http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM~-
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/






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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] FileIO.browse() fails when called with filters

2005-10-21 Thread Laurent Cornelis
I have a problem with the FileIO.browse(filters) method.

If I just try fileIO.browse() without argument, the file chooser is 
displayed and it works fine.

If I try

fileIO.browse([{description: Images, extension: *.jpg;*.gif;*.png}, 
{description: Flash Movies, extension: *.swf}, {description: 
Documents, extension: *.doc;*.pdf}]);

or

var filters:Array = new Array();
filters.push({description:Image files ( .jpg, .gif, .png), 
extension:*.jpg;*.gif;*.png, macType:JPEG;jp2_;GIFF});
filters.push({description:Flash Movies, extension:*.swf, 
macType:SWFL});   

fileIO.browse(filters);

the file chooser is not opened and browse returns false ...

Anyone have the same issue ? Do you know what can cause it ?



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

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

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

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

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




Re: [flexcoders] Adding Icons with Actionscript

2005-10-21 Thread Clint Modien



How do you delete the icon after adding it?

myButton = myComp.createChild(mx.controls.Button, cancelButton,{label: Cancel, icon: testIcon});

myButton.icon = undefined; //doesn't work
On 10/13/05, Dirk Eismann [EMAIL PROTECTED] wrote:
Hi,not directly, you need to embed the resource and assign a name to it:// somewhere in you code
[Embed(test.gif)]public var testIcon:String;this makes the resource available through the testIcon identifier. Lateron you can assign the icon by doingmyButton = myComp.createChild(
mx.controls.Button, cancelButton,{label: Cancel, icon: testIcon});Cheers,Dirk.-Original Message-From: flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com] OnBehalf Of r_woessSent: Thursday, October 13, 2005 10:35 AMTo: flexcoders@yahoogroups.com
Subject: [flexcoders] Adding Icons with ActionscriptHi,I want to add an icon to a button at runtime.I watched the generated as-File and the button mx:Buttonicon=@Embed('test.gif
')/ was generated to this code:new mx.core.UIObjectDescriptor({ type: mx.controls.Button, id: Button7,_properties: function() { return { icon:__Resources.0967270563.Palfinger_Rhino_2_jpg }; }}),
Is there a possibility to add icons like this?:myButton=myComp.createChild(mx.controls.Button, cancelButton,{label: Cancel, icon:@Embed('test.gif')});best regards
reini Yahoo! Groups Sponsor ~--Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links Yahoo! Groups Sponsor ~--Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/







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








  
  
SPONSORED LINKS
  
  
  

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] ComboBoxCellRenderer question

2005-10-21 Thread Dan Plesse










I don’t think I can do event handler
functions for other components inside ComboBoxCellRender itself. 



Can I have a show of hands of people who
made their Dataproviders dynamic for comboboxes inside a cellrender? 



Can’t I just setDataprovider? 















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Thursday, October 20, 2005
10:47 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
ComboBoxCellRenderer question





You should adjust the data of the item
itself and then have the cell renderer read out of that item (or maybe you’ll
need some form of indirection if you don’t want to edit the item).
Basically you need to do this work in the ComboBoxCellRenderer itself, you
cannot do it from the outside and point in.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dan Plesse
Sent: Tuesday, October 18, 2005
11:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ComboBoxCellRenderer
question





I want to change the data in
the cell’s comboBox to other database
datatypes. 

So I tried this 

var dp = new mx.central.data.DataProviderClass();

dp.addItem({dataType:tinyInt, dataType:Double});
 ComboBoxCellRenderer.setDataProvider(dp);

Error message:
There is no method with the name 'setDataProvider'

And this 

var dp = new mx.central.data.DataProviderClass();

dp.addItem({dataType:tinyInt, dataType:Double});

ComboBoxCellRenderer.dataProvider = dp;

No error

And This: 

var dp = new mx.central.data.DataProviderClass();

dp.addItem({dataType:tinyInt, dataType:Double});

ComboBoxCellRenderer.dataProvider.setDataProvider(dp);

No error: 

Also where do I get the this control? 
import com.iterationtwo.cairngorm.control.*;














--
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] Regarding Remote object

2005-10-21 Thread jagabcdeff
Hi All,

I have userobject in login.mxml page which is returned from Remote 
object.Now i want this object should be available (without session)
to reamin ing pages.
Please let me know about this

Thanks,
Jagadeesh





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

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

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

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

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




RE: [flexcoders] How to refresh a tree component explicitly...??

2005-10-21 Thread Arunkumar S



Thanks Tracy,you provided me with useful info... I didn't get the expected result, yet i found a work around using this method.

Regards,
ArunTracy Spratt [EMAIL PROTECTED] wrote:









Are you sure you are using the TreeDataProvider API calls to do your update and not the low level node functions?

You can also just re-assign the dataProvider to the tree When you are done updating it. That is sure to force a complete refresh.

Tracy





From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Arunkumar SSent: Wednesday, October 19, 2005 9:16 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] How to refresh a tree component explicitly...??


Thanks for your response, but i can't find any method to refresh the tree... 



I noticed that the 'Change' event of the tree component is trigged when i'm trying to add item to dataProvider, but the new added item is not displayed in the tree... So i thought of calling the refresh method if there is any, but i can't find any...



Is there any other way to solve this problem..??



Regards,

Arun.[EMAIL PROTECTED] wrote:

I don't know if there's a way to "bind" the array to the tree, but I've used the TreeDataProvider API for most of that:

http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/treeclasses/TreeDataProvider.html

Tree, TreeDataProvider,  TreeNode will get you what you want...




From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Arunkumar SSent: Wednesday, October 19, 2005 5:08 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] How to refresh a tree component explicitly...??

Hi all,I have some problem with the tree component. I'm providing datadynamical (array) to the dataprovider of thetree.If i change the values of the array, the tree is not refreshed and it is showing the same values without any change. Is there any method to reload or refresh the tree component explicitly...??



Can any one could help me in solving this issue...??



Regards,

Arun.



Yahoo! Music Unlimited - Access over 1 million songs. Try it free. 



Yahoo! Music Unlimited - Access over 1 million songs. Try it free. 
		 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.



  









Re: [flexcoders] Regarding Remote object

2005-10-21 Thread Douglas Knudsen
if using cairingorm, look at the ModelLocator class.  If you are not
using a  framework I suppose you can keep it in the main file where
your application tag is as an instance var there.

DK

On 10/21/05, jagabcdeff [EMAIL PROTECTED] wrote:
 Hi All,

 I have userobject in login.mxml page which is returned from Remote
 object.Now i want this object should be available (without session)
 to reamin ing pages.
 Please let me know about this

 Thanks,
 Jagadeesh






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









--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


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

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

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

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

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




RE: [flexcoders] Regarding Remote object

2005-10-21 Thread Tracy Spratt
Why are you using multiple pages?
Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jagabcdeff
Sent: Friday, October 21, 2005 10:48 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Regarding Remote object

Hi All,

I have userobject in login.mxml page which is returned from Remote 
object.Now i want this object should be available (without session)
to reamin ing pages.
Please let me know about this

Thanks,
Jagadeesh






--
Flexcoders Mailing 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 Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] ComboBoxCellRenderer question

2005-10-21 Thread Tracy Spratt










Dan,

I don’t recall all the posts to this page
but here is my bit.



In the main dataProvider, include the default
options for the combo box in an array property on each item object.  In the
cell renderer, where you have access to each item object, grab the combo box
array and assign it to the dataProvider of the ComboBox.  I believe there is a
full example of this on cflex.net.  Hmm, not exactly what I remembered but here
is a possible link:

http://www.cflex.net/showfiledetails.cfm?ObjectID=255



If, at run-time, you need to modify the
options of a combobox in a particular cell, use the dataProvider API to update
the combobox array in the item object in the dataProvider.  This should
automatically cause the cellRenderer to update the cell with the new combobox
options.



If I have lost track of this thread
completely, ignore this post.



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dan Plesse
Sent: Friday, October 21, 2005
11:22 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
ComboBoxCellRenderer question





I don’t think I can do event handler
functions for other components inside ComboBoxCellRender itself. 



Can I have a show of hands of people who
made their Dataproviders dynamic for comboboxes inside a cellrender? 



Can’t I just setDataprovider? 















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Thursday, October 20, 2005
10:47 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
ComboBoxCellRenderer question





You should adjust the data of the item
itself and then have the cell renderer read out of that item (or maybe you’ll
need some form of indirection if you don’t want to edit the item).
Basically you need to do this work in the ComboBoxCellRenderer itself, you
cannot do it from the outside and point in.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dan Plesse
Sent: Tuesday, October 18, 2005
11:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
ComboBoxCellRenderer question





I want to change the data in
the cell’s comboBox to other database
datatypes. 

So I tried this 

var dp = new mx.central.data.DataProviderClass();

dp.addItem({dataType:tinyInt, dataType:Double});

ComboBoxCellRenderer.setDataProvider(dp);

Error message:
There is no method with the name 'setDataProvider'

And this 

var dp = new mx.central.data.DataProviderClass();

dp.addItem({dataType:tinyInt, dataType:Double});

ComboBoxCellRenderer.dataProvider = dp;

No error

And This: 

var dp = new mx.central.data.DataProviderClass();

dp.addItem({dataType:tinyInt, dataType:Double});

ComboBoxCellRenderer.dataProvider.setDataProvider(dp);

No error: 

Also where do I get the this control? 
import com.iterationtwo.cairngorm.control.*;















--
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] Open source AMF solutions that work with flex

2005-10-21 Thread Clint Modien



Anyone get any open source amf solutions to work with flex?

Looking into this due for the most part to the lack of amf support in the flex alpha release. I'm also guessing that this is what MM will release as the non enterprise version of flex. So I'm looking for alternatives to webservices and httpservices.







--
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] Re: Open source AMF solutions that work with flex

2005-10-21 Thread Clint Modien



I guess I should specify that they don't need to be open source at all they could be 3rd party as well. (More than willing to pay for a solution)

On 10/21/05, Clint Modien [EMAIL PROTECTED] wrote:

Anyone get any open source amf solutions to work with flex?

Looking into this due for the most part to the lack of amf support in the flex alpha release. I'm also guessing that this is what MM will release as the non enterprise version of flex. So I'm looking for alternatives to webservices and httpservices. 







--
Flexcoders Mailing 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] Implementing ModelLocator pattern in AS3/Flex2

2005-10-21 Thread Benoit Hediard





Since it is not 
possible to create bindings to static properties, how do you implement the 
ModelLocator pattern in AS3?

Benoit 
Hediard

PS: by the way, any 
information on an alpha release of Cairngorm for 
Flex2.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



  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] Highlight plot chart datapoints

2005-10-21 Thread Tom Fitzpatrick
I have a simple plot chart that is pulling data from an xml file. It is 
graphing the relationship between two kinds of values for a half-dozen 
people, so the xml setup is like this:

data
person name=John Smith
value11234/value1
value212345/value2
/person
...
/data

I've created a List of people's names pulled from the same xml file.

Now, when I click on a person's name, I'd like the appropriate datapoint on 
the chart to show its dataTip or highlight in some way. Is this possible?

- Tom






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

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

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

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

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




RE: [flexcoders] Right click and popup window

2005-10-21 Thread Parekh, Shweta - BLS CTR
Title: Message





Hi, 

I tried using the Delegate class for the popup but it still does 
not work. It gives me an error saying the property 
being referenced does not have the static attribute. (error on the lines where I 
use createDelegate method) 
I'm working on Flex 
1.5

Any 
ideas??

?xml version="1.0" 
encoding="utf-8"?mx:Application initialize="myContextMenu()" 
backgroundColor="#FF" xmlns:mx="http://www.macromedia.com/2003/mxml"  
mx:Script import 
mx.controls.Alert;import mx.containers.TitleWindow;import 
mx.managers.PopUpManager;  public var 
mnuContext:ContextMenu = null; 
public function contextItemPressed( obj, item ):Void 
{ 
 if( item.caption == "Yahoo" )  
{ 
 obj.txtReport.text = obj.txtReport.text + "\nYahoo 
fired."; trace("i am here");//var 
popupWindow:TitleWindow = TitleWindow(PopUpManager.createPopUp(this, 
FormulaPopup, 
true));//popupWindow.centerPopUp(this);showFormWin(); 
 }  else if( item.caption == "Google" )  
{ 
obj.txtReport.text = obj.txtReport.text + "\nGoogle 
fired.";  } 
 else if( item.caption == "CNet News" )  
{ 
obj.txtReport.text = obj.txtReport.text + "\nCNet News 
fired."; 
 } 
} 
 public function setupContext( Void ):Void 
{  
mnuContext = new 
ContextMenu(); 
 mnuContext.hideBuiltInItems();   var 
contextDelegate = mx.utils.Delegate.createDelegate(this, 
contextItemPressed); 
 mnuContext.customItems.push( new ContextMenuItem( "Yahoo", 
contextDelegate ) 
);  
mnuContext.customItems.push( new ContextMenuItem( "Google", contextDelegate ) 
);  
mnuContext.customItems.push( new ContextMenuItem( "CNet News", contextDelegate ) 
); 
  this["menu"] = 
mnuContext; 
 txtReport.text = "Setup."; 
} 

public function 
myContextMenu(){parent.addEventListener("initialize",mx.utils.Delegate.createDelegate(this, 
setupContext));}

function 
showFormWin(){mx.controls.Alert.show("showFormWin fired."); 
var popupWindow:TitleWindow = 
TitleWindow(PopUpManager.createPopUp(this, FormulaPopup, 
true));popupWindow.centerPopUp(this);}/mx:Script 
  mx:TextArea id="txtReport" 
preferredWidth="175" 
height="200"//mx:Application
Thanks,
Shweta

  
  -Original Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
  Tracy SprattSent: Thursday, October 20, 2005 1:00 
  PMTo: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Right click and popup window
  
  Beware of scope 
  issues.
  
  Not sure exactly how 
  in your specific case, but you should probably use a Delegate. I suspect 
  that handleContext is running in a scope that is unaware of 
  showFormWin.
  
  Tracy
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Parekh, Shweta - 
  BLS CTRSent: Wednesday, 
  October 19, 2005 5:33 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Right click and 
  popup window
  
  Thanks Jester. I 
  understand the getEditingData() method better. I got that to 
  work. 
  I have a question 
  regarding bringing up a popup window when you right click, and click on a 
  particular menu option. I got the right click and creating custom menu by 
  pushing new items working but when I click on a menu option, I want it to 
  popup a window whereas the app just hangs. 
  Here is the 
  code: mx:Script 
  import 
  mx.controls.Alert; import 
  mx.containers.TitleWindow; import 
  mx.managers.PopUpManager;  
  public var 
  mnuContext:ContextMenu = null; 
   
  public function 
  handleContext( obj, item ):Void { 
   if( 
  item.caption == "Yahoo" )  
  { 
   
   obj.txtReport.text = obj.txtReport.text + 
  "\nYahoo fired."; 
   trace("i am 
  here");  //var 
  popupWindow:TitleWindow = TitleWindow(PopUpManager.createPopUp(this, 
  FormulaPopup, true)); 
   
   
   
  //popupWindow.centerPopUp(this); 
   showFormWin(); 
  -- 
  This method is not called at all, I don't see any trace 
   } 
   else if( 
  item.caption == "Google" )  
  { 
   
  obj.txtReport.text = obj.txtReport.text + "\nGoogle 
  fired."; 
   } 
   else if( 
  item.caption == "CNet News" )  
  { 
   
  obj.txtReport.text = obj.txtReport.text + "\nCNet News 
  fired."; 
   
  } } 
   
  public function 
  setupContext( Void ):Void { 
   mnuContext = 
  new 
  ContextMenu(); 
   
  mnuContext.hideBuiltInItems();  
   
  mnuContext.customItems.push( new ContextMenuItem( "Yahoo", handleContext ) 
  ); 
   
  mnuContext.customItems.push( new ContextMenuItem( "Google", handleContext ) 
  ); 
   
  mnuContext.customItems.push( new ContextMenuItem( "CNet News", handleContext ) 
  ); 
   
   this["menu"] 
  = 
  mnuContext; 
   
  txtReport.text = "Setup."; 
  } 
  
  function 
  showFormWin() { 
   trace("showFormWin 
  fired.");  var 
  popupWindow:TitleWindow = TitleWindow(PopUpManager.createPopUp(this, 
  FormulaPopup, true));  
   
   
  popupWindow.centerPopUp(this); 
  } 
  /mx:Script 
   
   
  mx:TextArea id="txtReport" preferredWidth="175" 
  height="200"/ /mx:Application 
  
  Any help / ideas on 
  this will be appreciated. 

RE: [flexcoders] Re: Open source AMF solutions that work with flex

2005-10-21 Thread Kevin Langdon





Assuming you have a java backend, openAMF is your best 
bet. It will require some tweeking to work with Flex RemoteObject tags but 
should work out of the box with standard mx.remoting.* 
classes.




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Clint 
ModienSent: Friday, October 21, 2005 1:54 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Open source AMF 
solutions that work with flex

I guess I should specify that they don't need to be open source at all they 
could be 3rd party as well. (More than willing to pay for a 
solution)

On 10/21/05, Clint 
Modien [EMAIL PROTECTED] 
wrote: 

  Anyone get any open source amf solutions to work with flex?
  
  Looking into this due for the most part to the lack of amf support in the 
  flex alpha release. I'm also guessing that this is what MM will release 
  as the non enterprise version of flex. So I'm looking for alternatives 
  to webservices and httpservices. 





--
Flexcoders Mailing 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] Right click and popup window

2005-10-21 Thread Abdul Qabiz
Title: Message





There is no createDelegate method, it is 
Delegate.create(...)

-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Parekh, Shweta - BLS 
CTRSent: Friday, October 21, 2005 11:01 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Right click and 
popup window

Hi, 

I tried using the Delegate class for the popup but it still does 
not work. It gives me an error saying the property 
being referenced does not have the static attribute. (error on the lines where I 
use createDelegate method) 
I'm working on Flex 
1.5

Any 
ideas??

?xml version="1.0" 
encoding="utf-8"?mx:Application initialize="myContextMenu()" 
backgroundColor="#FF" xmlns:mx="http://www.macromedia.com/2003/mxml"  
mx:Script import 
mx.controls.Alert;import mx.containers.TitleWindow;import 
mx.managers.PopUpManager;  public var 
mnuContext:ContextMenu = null; 
public function contextItemPressed( obj, item ):Void 
{ 
 if( item.caption == "Yahoo" )  
{ 
 obj.txtReport.text = obj.txtReport.text + "\nYahoo 
fired."; trace("i am here");//var 
popupWindow:TitleWindow = TitleWindow(PopUpManager.createPopUp(this, 
FormulaPopup, 
true));//popupWindow.centerPopUp(this);showFormWin(); 
 }  else if( item.caption == "Google" )  
{ 
obj.txtReport.text = obj.txtReport.text + "\nGoogle 
fired.";  } 
 else if( item.caption == "CNet News" )  
{ 
obj.txtReport.text = obj.txtReport.text + "\nCNet News 
fired."; 
 } 
} 
 public function setupContext( Void ):Void 
{  
mnuContext = new 
ContextMenu(); 
 mnuContext.hideBuiltInItems();   var 
contextDelegate = mx.utils.Delegate.createDelegate(this, 
contextItemPressed); 
 mnuContext.customItems.push( new ContextMenuItem( "Yahoo", 
contextDelegate ) 
);  
mnuContext.customItems.push( new ContextMenuItem( "Google", contextDelegate ) 
);  
mnuContext.customItems.push( new ContextMenuItem( "CNet News", contextDelegate ) 
); 
  this["menu"] = 
mnuContext; 
 txtReport.text = "Setup."; 
} 

public function 
myContextMenu(){parent.addEventListener("initialize",mx.utils.Delegate.createDelegate(this, 
setupContext));}

function 
showFormWin(){mx.controls.Alert.show("showFormWin fired."); 
var popupWindow:TitleWindow = 
TitleWindow(PopUpManager.createPopUp(this, FormulaPopup, 
true));popupWindow.centerPopUp(this);}/mx:Script 
  mx:TextArea id="txtReport" 
preferredWidth="175" 
height="200"//mx:Application
Thanks,
Shweta

  
  -Original Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
  Tracy SprattSent: Thursday, October 20, 2005 1:00 
  PMTo: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Right click and popup window
  
  Beware of scope 
  issues.
  
  Not sure exactly how 
  in your specific case, but you should probably use a Delegate. I suspect 
  that handleContext is running in a scope that is unaware of 
  showFormWin.
  
  Tracy
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Parekh, Shweta - 
  BLS CTRSent: Wednesday, 
  October 19, 2005 5:33 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Right click and 
  popup window
  
  Thanks Jester. I 
  understand the getEditingData() method better. I got that to 
  work. 
  I have a question 
  regarding bringing up a popup window when you right click, and click on a 
  particular menu option. I got the right click and creating custom menu by 
  pushing new items working but when I click on a menu option, I want it to 
  popup a window whereas the app just hangs. 
  Here is the 
  code: mx:Script 
  import 
  mx.controls.Alert; import 
  mx.containers.TitleWindow; import 
  mx.managers.PopUpManager;  
  public var 
  mnuContext:ContextMenu = null; 
   
  public function 
  handleContext( obj, item ):Void { 
   if( 
  item.caption == "Yahoo" )  
  { 
   
   obj.txtReport.text = obj.txtReport.text + 
  "\nYahoo fired."; 
   trace("i am 
  here");  //var 
  popupWindow:TitleWindow = TitleWindow(PopUpManager.createPopUp(this, 
  FormulaPopup, true)); 
   
   
   
  //popupWindow.centerPopUp(this); 
   showFormWin(); 
  -- 
  This method is not called at all, I don't see any trace 
   } 
   else if( 
  item.caption == "Google" )  
  { 
   
  obj.txtReport.text = obj.txtReport.text + "\nGoogle 
  fired."; 
   } 
   else if( 
  item.caption == "CNet News" )  
  { 
   
  obj.txtReport.text = obj.txtReport.text + "\nCNet News 
  fired."; 
   
  } } 
   
  public function 
  setupContext( Void ):Void { 
   mnuContext = 
  new 
  ContextMenu(); 
   
  mnuContext.hideBuiltInItems();  
   
  mnuContext.customItems.push( new ContextMenuItem( "Yahoo", handleContext ) 
  ); 
   
  mnuContext.customItems.push( new ContextMenuItem( "Google", handleContext ) 
  ); 
   
  mnuContext.customItems.push( new ContextMenuItem( "CNet News", handleContext ) 
  ); 
   
   this["menu"] 
  = 
  mnuContext; 
   
  txtReport.text = "Setup."; 
  } 
  
  function 
  showFormWin() { 
   trace("showFormWin 
  fired.");  var 
  

Re: [flexcoders] Re: Open source AMF solutions that work with flex

2005-10-21 Thread Clint Modien



Got an example anywhere?
On 10/21/05, Kevin Langdon [EMAIL PROTECTED] wrote:

Assuming you have a java backend, openAMF is your best bet. It will require some tweeking to work with Flex RemoteObject tags but should work out of the box with standard 
mx.remoting.* classes.




From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Clint ModienSent: Friday, October 21, 2005 1:54 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Open source AMF solutions that work with flex


I guess I should specify that they don't need to be open source at all they could be 3rd party as well. (More than willing to pay for a solution)

On 10/21/05, Clint Modien [EMAIL PROTECTED]
 wrote: 

Anyone get any open source amf solutions to work with flex?

Looking into this due for the most part to the lack of amf support in the flex alpha release. I'm also guessing that this is what MM will release as the non enterprise version of flex. So I'm looking for alternatives to webservices and httpservices. 
--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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] Implementing ModelLocator pattern in AS3/Flex2

2005-10-21 Thread Clint Modien



Make the objects in the Model Locator typed by importing the classes you need to ref.
On 10/21/05, Benoit Hediard [EMAIL PROTECTED] wrote:

Since it is not possible to create bindings to static properties, how do you implement the ModelLocator pattern in AS3?

Benoit Hediard

PS: by the way, any information on an alpha release of Cairngorm for Flex2.0?--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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.



  









[flexcoders] WebService question - path ?

2005-10-21 Thread Athaullah Athul



Hi there,

I am new to the Webservice developement. Can you please let me know where this file resides in my local path

wsdl="@ContextRoot()/services/EmployeeWS?wsdl" 

Awaiting for your reply soon

Athaullah





--
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] Right click and popup window

2005-10-21 Thread Parekh, Shweta - BLS CTR
Title: Message





I 
tried this out from sample code given in Flex book - Developing rich clients 
with Macromedia Flex. It does havethe 
createDelegate method.

-Shweta



  
  -Original Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
  Abdul QabizSent: Friday, October 21, 2005 3:12 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Right click and 
  popup window
  There is no createDelegate method, it is 
  Delegate.create(...)
  
  -abdul
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Parekh, Shweta - BLS 
  CTRSent: Friday, October 21, 2005 11:01 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Right click and 
  popup window
  
  Hi, 
  
  I tried using the Delegate class for the popup but 
  it still does not work. It gives me an error saying 
  the property being referenced does not have the static attribute. (error on 
  the lines where I use createDelegate 
  method) I'm working on Flex 
  1.5
  
  Any 
  ideas??
  
  ?xml version="1.0" 
  encoding="utf-8"?mx:Application initialize="myContextMenu()" 
  backgroundColor="#FF" xmlns:mx="http://www.macromedia.com/2003/mxml"  
  mx:Script import 
  mx.controls.Alert;import mx.containers.TitleWindow;import 
  mx.managers.PopUpManager;  public var 
  mnuContext:ContextMenu = null; 
  public function contextItemPressed( obj, item ):Void 
  { 
   if( item.caption == "Yahoo" )  
  { 
   obj.txtReport.text = obj.txtReport.text + "\nYahoo 
  fired."; trace("i am here");//var 
  popupWindow:TitleWindow = TitleWindow(PopUpManager.createPopUp(this, 
  FormulaPopup, 
  true));//popupWindow.centerPopUp(this);showFormWin(); 
   }  else if( item.caption == "Google" )  
  { 
  obj.txtReport.text = obj.txtReport.text + "\nGoogle 
  fired.";  } 
   else if( item.caption == "CNet News" )  
  { 
  obj.txtReport.text = obj.txtReport.text + "\nCNet News 
  fired."; 
   } 
  } 
   public function setupContext( Void ):Void 
  {  
  mnuContext = new 
  ContextMenu(); 
   mnuContext.hideBuiltInItems();   var 
  contextDelegate = mx.utils.Delegate.createDelegate(this, 
  contextItemPressed); 
   mnuContext.customItems.push( new ContextMenuItem( "Yahoo", 
  contextDelegate ) 
  ); 
   mnuContext.customItems.push( new ContextMenuItem( "Google", 
  contextDelegate ) 
  ); 
   mnuContext.customItems.push( new ContextMenuItem( "CNet News", 
  contextDelegate ) 
  ); 
this["menu"] = 
  mnuContext; 
   txtReport.text = 
  "Setup."; } 
  
  
  public function 
  myContextMenu(){parent.addEventListener("initialize",mx.utils.Delegate.createDelegate(this, 
  setupContext));}
  
  function 
  showFormWin(){mx.controls.Alert.show("showFormWin 
  fired."); var popupWindow:TitleWindow = 
  TitleWindow(PopUpManager.createPopUp(this, FormulaPopup, 
  true));popupWindow.centerPopUp(this);}/mx:Script 
mx:TextArea id="txtReport" 
  preferredWidth="175" 
  height="200"//mx:Application
  Thanks,
  Shweta
  

-Original Message-From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf 
Of Tracy SprattSent: Thursday, October 20, 2005 1:00 
PMTo: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Right click and popup window

Beware of scope 
issues.

Not sure exactly 
how in your specific case, but you should probably use a Delegate. I 
suspect that handleContext is running in a scope that is unaware of 
showFormWin.

Tracy





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Parekh, Shweta - BLS 
CTRSent: Wednesday, 
October 19, 2005 5:33 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Right click and 
popup window

Thanks Jester. I 
understand the getEditingData() method better. I got that to 
work. 
I have a question 
regarding bringing up a popup window when you right click, and click on a 
particular menu option. I got the right click and creating custom menu by 
pushing new items working but when I click on a menu option, I want it to 
popup a window whereas the app just hangs. 
Here is the 
code: mx:Script 
import 
mx.controls.Alert; import 
mx.containers.TitleWindow; import 
mx.managers.PopUpManager;  
public var 
mnuContext:ContextMenu = null; 
 
public function 
handleContext( obj, item ):Void { 
 if( 
item.caption == "Yahoo" )  
{ 
 
 obj.txtReport.text = obj.txtReport.text + 
"\nYahoo fired."; 
 trace("i am 
here");  //var 
popupWindow:TitleWindow = TitleWindow(PopUpManager.createPopUp(this, 
FormulaPopup, true)); 
 
 
 
//popupWindow.centerPopUp(this); 
 showFormWin(); 
-- 
This method is not called at all, I don't see any trace 
 } 
 else if( 
item.caption == "Google" )  
{ 
 
obj.txtReport.text = obj.txtReport.text + "\nGoogle 

[flexcoders] Layout problems in Flex 2

2005-10-21 Thread Merrill, Jason
Title: Layout problems in Flex 2








Getting to know Flexbuilder 2. Having problems getting my panels to lay out right in a tiled area.

See: http://cmt.icfconsulting.com/temp/AFDW/AFDWTOC.swf

I would like the panels to be left-justified and below the application bar. 

My script follows. The problem begins in line 36 where the panel repeater starts. Any help is much appreciated.

?xml version=1.0 encoding=utf-8?

mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml xmlns=* 

 backgroundColor=0xF4F4F4 creationComplete=init();

 mx:Script

 ![CDATA[

 private function init():Void{

  dataService.send();

 }

   [Bindable]

  public var selectedItem:Object

  ]]

 /mx:Script

 mx:HTTPService

  id=dataService

  resultFormat=object

  url="">data/dashboard.xml /

 mx:Canvas width=812 height=100% fillColors=[0xFCF395, 0xFCF395] themeColor=haloSilver

 mx:Image id=logo source=assets/afdwLogo.jpg alpha=1 x=0 y=0 width=810/

 mx:Tile id=myFlow 

  marginTop=65 marginBottom=0 marginRight=0 marginLeft=0 

  verticalGap=10 horizontalGap=10 width=100% tileWidth=200

  mx:ApplicationControlBar width=810 height=49 cornerRadius=5 

 fillColors=[0xF0DF31, 0xFCF395] alpha=1 x=0 y=100

  mx:Repeater id=r dataProvider={dataService.result.dashboard.menu.menuItem} 

  startingIndex=0

   mx:Spacer width=10/

   mx:Label id=nameLabel text={r.currentItem.label}/

   mx:Spacer width=10/

   mx:VRule height=10/

  /mx:Repeater

  mx:Spacer width=10/

  mx:Text width=130 text={[EMAIL PROTECTED]}/

  mx:ComboBox dataProvider={dataService.result.dashboard.locations.site} 

  width=150 change=selectedItem=ComboBox(event.target).selectedItem/

 /mx:ApplicationControlBar

 mx:Repeater y=150 id=panels_r dataProvider={dataService.result.dashboard.categories.category} 

  startingIndex=0

  mx:Panel width=200 height=200 

  fillColors=[0xF0DF31, 0xFCF395] title={panels_r.currentItem.label}

mx:Text text=Hello /

  /mx:Panel

 /mx:Repeater

 /mx:Tile

 /mx:Canvas

/mx:Application


Jason Merrill | E-Learning Solutions | icfconsulting.com












NOTICE:
This message is for the designated recipient only and may 
contain privileged or confidential information. If you have received it in 
error, please notify the sender immediately and delete the original.Any 
other use of this e-mail by you is prohibited.






--
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] Re: WebService question - path ?

2005-10-21 Thread Dave Wolf
That WSDL URL looks like Apache Axis.  Axis runs as a web application
under your J2EE container.  The path is virtual and is mapped by the
web.xml in AXIS.  The implementation of that service would be a class
under WEB-INF/classes or in a JAR in WEB-INF/lib.  The implementation
is then mapped into a service with a wsdd file and is merged into the
main axis wsdd.

There is no path which matches the URL.  Its a virtual path.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY x85 



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

 Hi there,
  
 I am new to the Webservice developement. Can you please let me know
where this file resides in my local path
  
 wsdl=@ContextRoot()/services/EmployeeWS?wsdl 
  
 Awaiting for your reply soon
  
 Athaullah







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

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

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

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

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




RE: [flexcoders] Right click and popup window

2005-10-21 Thread Abdul Qabiz
Title: Message





That isa mistake, I think.

-abdul




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Parekh, Shweta - BLS 
CTRSent: Friday, October 21, 2005 12:19 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Right click and 
popup window

I 
tried this out from sample code given in Flex book - Developing rich clients 
with Macromedia Flex. It does havethe 
createDelegate method.

-Shweta



  
  -Original Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
  Abdul QabizSent: Friday, October 21, 2005 3:12 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Right click and 
  popup window
  There is no createDelegate method, it is 
  Delegate.create(...)
  
  -abdul
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Parekh, Shweta - BLS 
  CTRSent: Friday, October 21, 2005 11:01 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Right click and 
  popup window
  
  Hi, 
  
  I tried using the Delegate class for the popup but 
  it still does not work. It gives me an error saying 
  the property being referenced does not have the static attribute. (error on 
  the lines where I use createDelegate 
  method) I'm working on Flex 
  1.5
  
  Any 
  ideas??
  
  ?xml version="1.0" 
  encoding="utf-8"?mx:Application initialize="myContextMenu()" 
  backgroundColor="#FF" xmlns:mx="http://www.macromedia.com/2003/mxml"  
  mx:Script import 
  mx.controls.Alert;import mx.containers.TitleWindow;import 
  mx.managers.PopUpManager;  public var 
  mnuContext:ContextMenu = null; 
  public function contextItemPressed( obj, item ):Void 
  { 
   if( item.caption == "Yahoo" )  
  { 
   obj.txtReport.text = obj.txtReport.text + "\nYahoo 
  fired."; trace("i am here");//var 
  popupWindow:TitleWindow = TitleWindow(PopUpManager.createPopUp(this, 
  FormulaPopup, 
  true));//popupWindow.centerPopUp(this);showFormWin(); 
   }  else if( item.caption == "Google" )  
  { 
  obj.txtReport.text = obj.txtReport.text + "\nGoogle 
  fired.";  } 
   else if( item.caption == "CNet News" )  
  { 
  obj.txtReport.text = obj.txtReport.text + "\nCNet News 
  fired."; 
   } 
  } 
   public function setupContext( Void ):Void 
  {  
  mnuContext = new 
  ContextMenu(); 
   mnuContext.hideBuiltInItems();   var 
  contextDelegate = mx.utils.Delegate.createDelegate(this, 
  contextItemPressed); 
   mnuContext.customItems.push( new ContextMenuItem( "Yahoo", 
  contextDelegate ) 
  ); 
   mnuContext.customItems.push( new ContextMenuItem( "Google", 
  contextDelegate ) 
  ); 
   mnuContext.customItems.push( new ContextMenuItem( "CNet News", 
  contextDelegate ) 
  ); 
this["menu"] = 
  mnuContext; 
   txtReport.text = 
  "Setup."; } 
  
  
  public function 
  myContextMenu(){parent.addEventListener("initialize",mx.utils.Delegate.createDelegate(this, 
  setupContext));}
  
  function 
  showFormWin(){mx.controls.Alert.show("showFormWin 
  fired."); var popupWindow:TitleWindow = 
  TitleWindow(PopUpManager.createPopUp(this, FormulaPopup, 
  true));popupWindow.centerPopUp(this);}/mx:Script 
mx:TextArea id="txtReport" 
  preferredWidth="175" 
  height="200"//mx:Application
  Thanks,
  Shweta
  

-Original Message-From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf 
Of Tracy SprattSent: Thursday, October 20, 2005 1:00 
PMTo: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Right click and popup window

Beware of scope 
issues.

Not sure exactly 
how in your specific case, but you should probably use a Delegate. I 
suspect that handleContext is running in a scope that is unaware of 
showFormWin.

Tracy





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Parekh, Shweta - BLS 
CTRSent: Wednesday, 
October 19, 2005 5:33 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Right click and 
popup window

Thanks Jester. I 
understand the getEditingData() method better. I got that to 
work. 
I have a question 
regarding bringing up a popup window when you right click, and click on a 
particular menu option. I got the right click and creating custom menu by 
pushing new items working but when I click on a menu option, I want it to 
popup a window whereas the app just hangs. 
Here is the 
code: mx:Script 
import 
mx.controls.Alert; import 
mx.containers.TitleWindow; import 
mx.managers.PopUpManager;  
public var 
mnuContext:ContextMenu = null; 
 
public function 
handleContext( obj, item ):Void { 
 if( 
item.caption == "Yahoo" )  
{ 
 
 obj.txtReport.text = obj.txtReport.text + 
"\nYahoo fired."; 
 trace("i am 
here");  //var 
popupWindow:TitleWindow = TitleWindow(PopUpManager.createPopUp(this, 
FormulaPopup, true)); 
 
 
   

[flexcoders] Re: Regarding Remote object

2005-10-21 Thread Dave Wolf
Why roll your own?  Why not use standard J2EE security and not need
any of this.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY x85 

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

 Hi All,
 
 I have userobject in login.mxml page which is returned from Remote 
 object.Now i want this object should be available (without session)
 to reamin ing pages.
 Please let me know about this
 
 Thanks,
 Jagadeesh







 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Open source AMF solutions that work with flex

2005-10-21 Thread Dave Wolf
I do want to know why you're prefering AMF over HTTP or WebService.

Just curious on the motivation there.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY x85 

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

 I guess I should specify that they don't need to be open source at
all they
 could be 3rd party as well. (More than willing to pay for a solution)
 
 
  On 10/21/05, Clint Modien [EMAIL PROTECTED] wrote:
 
  Anyone get any open source amf solutions to work with flex?
   Looking into this due for the most part to the lack of amf
support in the
  flex alpha release. I'm also guessing that this is what MM will
release as
  the non enterprise version of flex. So I'm looking for alternatives to
  webservices and httpservices.
 







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

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

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

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

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




[flexcoders] Flex 2

2005-10-21 Thread Howard, Dave





I am super 
confused. How do youdeploy a flex 2 app to a web 
server?

Dave 
Howard





--
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] Flex 2

2005-10-21 Thread Abdul Qabiz





If you are using FlexBuilder 2 to create flex apps. 
FlexBuilder creates SWF, you can copy the SWF on server.


-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Howard, 
DaveSent: Friday, October 21, 2005 12:33 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex 
2

I am super 
confused. How do youdeploy a flex 2 app to a web 
server?

Dave 
Howard





--
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: Open source AMF solutions that work with flex

2005-10-21 Thread Abdul Qabiz
Hi,

AMF has lots good things, I know some of these:

* Binary transport
* 50% percent faster then SOAP or Webservice
* Automatic object serialization/deserialization 


-abdul



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Wolf
Sent: Friday, October 21, 2005 12:29 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Open source AMF solutions that work with flex

I do want to know why you're prefering AMF over HTTP or WebService.

Just curious on the motivation there.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY x85 

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

 I guess I should specify that they don't need to be open source at
all they
 could be 3rd party as well. (More than willing to pay for a solution)
 
 
  On 10/21/05, Clint Modien [EMAIL PROTECTED] wrote:
 
  Anyone get any open source amf solutions to work with flex?
   Looking into this due for the most part to the lack of amf
support in the
  flex alpha release. I'm also guessing that this is what MM will
release as
  the non enterprise version of flex. So I'm looking for alternatives
to
  webservices and httpservices.
 








--
Flexcoders Mailing 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 Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Open source AMF solutions that work with flex

2005-10-21 Thread Dave Wolf
A few comments.

 * Binary transport

So is SOAP when you turn on GZIP compression in your container.  And I
would argue that binary transmission can be a bad thing too.  What if
a firewall used on a corporate environment has packet filtering turned
on.  Does that firewall have an AMF filter and did the firewall admin
know what it was?  I spent oodles of time working in CORBA.  IIOP is a
binary protocol and I cant tell you how often we bumped intot his
issue in a true distributed application.  We actually used to tunnel
the IIOP through HTTP a lot to avoid this.

 * 50% percent faster then SOAP or Webservice

Not true with GZIP turned on.

 * Automatic object serialization/deserialization 

So does XML web services in Flex.


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY x85 
 
 
 -abdul
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Dave Wolf
 Sent: Friday, October 21, 2005 12:29 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Open source AMF solutions that work with flex
 
 I do want to know why you're prefering AMF over HTTP or WebService.
 
 Just curious on the motivation there.
 
 -- 
 Dave Wolf
 Cynergy Systems, Inc.
 Macromedia Flex Alliance Partner
 http://www.cynergysystems.com
 
 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY x85 
 
 --- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] wrote:
 
  I guess I should specify that they don't need to be open source at
 all they
  could be 3rd party as well. (More than willing to pay for a solution)
  
  
   On 10/21/05, Clint Modien [EMAIL PROTECTED] wrote:
  
   Anyone get any open source amf solutions to work with flex?
Looking into this due for the most part to the lack of amf
 support in the
   flex alpha release. I'm also guessing that this is what MM will
 release as
   the non enterprise version of flex. So I'm looking for alternatives
 to
   webservices and httpservices.
  
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing 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 ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] WebService question - path ?

2005-10-21 Thread Abdul Qabiz





Hi,

@ContextRoot() returns the context root of your flex 
application. For example, Flex 1.5 comes with samples, so http://localhost:8700/samples/ 
would be returned from @ContextRoot(), if any of the applications under this 
context root requests that. This is compiler function to provide an easy way to 
get the context root from very nested applications.

If it is a webservice, you can check out WEB-INF/classes 
folder for files..

-abdul




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Athaullah 
AthulSent: Friday, October 21, 2005 12:18 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] WebService question - 
path ?

Hi there,

I am new to the Webservice developement. Can you please let me know where 
this file resides in my local path

wsdl="@ContextRoot()/services/EmployeeWS?wsdl" 

Awaiting for your reply soon

Athaullah





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





  




  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Re: Open source AMF solutions that work with flex

2005-10-21 Thread Robert Thompson
Seems to me serialization is a huge benefit, and in
re: to performance, certainly important (XML has this
problem to in large datasets and/or requires
consideration in design).

This is interesting to me (btw, do you have any URLs
to information on it)but one concern as always is
adoptation of it.  If you standardize on AMF and
create a library of web services and then it fades
away; not good.

-r

--- Abdul Qabiz [EMAIL PROTECTED] wrote:

 Hi,
 
 AMF has lots good things, I know some of these:
 
 * Binary transport
 * 50% percent faster then SOAP or Webservice
 * Automatic object serialization/deserialization 
 
 
 -abdul
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Dave Wolf
 Sent: Friday, October 21, 2005 12:29 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Open source AMF solutions
 that work with flex
 
 I do want to know why you're prefering AMF over HTTP
 or WebService.
 
 Just curious on the motivation there.
 
 -- 
 Dave Wolf
 Cynergy Systems, Inc.
 Macromedia Flex Alliance Partner
 http://www.cynergysystems.com
 
 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY x85 
 
 --- In flexcoders@yahoogroups.com, Clint Modien
 [EMAIL PROTECTED] wrote:
 
  I guess I should specify that they don't need to
 be open source at
 all they
  could be 3rd party as well. (More than willing to
 pay for a solution)
  
  
   On 10/21/05, Clint Modien [EMAIL PROTECTED] wrote:
  
   Anyone get any open source amf solutions to work
 with flex?
Looking into this due for the most part to the
 lack of amf
 support in the
   flex alpha release. I'm also guessing that this
 is what MM will
 release as
   the non enterprise version of flex. So I'm
 looking for alternatives
 to
   webservices and httpservices.
  
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing 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! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


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

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

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

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

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




[flexcoders] Re: Flex 2

2005-10-21 Thread jmerrill_2001
--- In flexcoders@yahoogroups.com, Howard, Dave [EMAIL PROTECTED]
wrote:

 I am super confused.  How do you deploy a flex 2 app to a web server?
  
 Dave Howard


Flexbuilder 2 can make the entire disk image (.swfs, .xml, .mxml,
everything) which you can have uploaded to a server.  Or you could use
the Flex 2 server to generate it for you if you upload the mxml files
and assets there from what I understand. 







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

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

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

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

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




RE: [flexcoders] Re: Open source AMF solutions that work with flex

2005-10-21 Thread Matt Chotin










The presentation that I gave at MAX (and
now linked from my blog http://weblogs.macromedia.com/mchotin)
has a discussion of choices for accessing data. 



I also have a discussion in there
(sometime much earlier) about the GZIP compression experiments that some of our
QA did.



The serialization that Abdul is talking
about is for strongly typed classes, our XML deserializer does not currently
map AS-classes to schema types, there is no wsdl2as-like functionality.



Matt











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Wolf
Sent: Friday, October 21, 2005
12:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Open
source AMF solutions that work with flex





A few comments.

 * Binary transport

So is SOAP when you turn on GZIP compression in
your container. And I
would argue that binary transmission can be a bad
thing too. What if
a firewall used on a corporate environment has
packet filtering turned
on. Does that firewall have an AMF filter
and did the firewall admin
know what it was? I spent oodles of time
working in CORBA. IIOP is a
binary protocol and I cant tell you how often we
bumped intot his
issue in a true distributed application. We
actually used to tunnel
the IIOP through HTTP a lot to avoid this.

 * 50% percent faster then SOAP or Webservice

Not true with GZIP turned on.

 * Automatic object
serialization/deserialization 

So does XML web services in Flex.


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

Email: [EMAIL PROTECTED]
Office: 866-CYNERGY x85 
 
 
 -abdul
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
 Behalf Of Dave Wolf
 Sent: Friday, October 21, 2005 12:29 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Open source AMF
solutions that work with flex
 
 I do want to know why you're prefering AMF
over HTTP or WebService.
 
 Just curious on the motivation there.
 
 -- 
 Dave Wolf
 Cynergy Systems, Inc.
 Macromedia Flex Alliance Partner
 http://www.cynergysystems.com
 
 Email: [EMAIL PROTECTED]
 Office: 866-CYNERGY x85 
 
 --- In flexcoders@yahoogroups.com, Clint
Modien [EMAIL PROTECTED] wrote:
 
  I guess I should specify that they don't
need to be open source at
 all they
  could be 3rd party as well. (More than
willing to pay for a solution)
  
  
  On 10/21/05, Clint Modien
[EMAIL PROTECTED] wrote:
  
   Anyone get any open source amf
solutions to work with flex?
   Looking into this due for the
most part to the lack of amf
 support in the
   flex alpha release. I'm also
guessing that this is what MM will
 release as
   the non enterprise version of flex.
So I'm looking for alternatives
 to
   webservices and httpservices.
  
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com

 Yahoo! Groups Links













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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] Re: Regarding Remote object

2005-10-21 Thread Douglas Knudsen
he may be using j2ee security, eh?  I am and have a userobject type
thingy and a loginview file.  After my JAAS kicks in I fetch a
populated userboject with user data.  As its a intranet  project, this
data usually includes businessunit, employee number, employee
position, manager info, etc.  Stuff I will use to populate various
other UI elements.


dK

On 10/21/05, Dave Wolf [EMAIL PROTECTED] wrote:
 Why roll your own?  Why not use standard J2EE security and not need
 any of this.

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

 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY x85

 --- In flexcoders@yahoogroups.com, jagabcdeff [EMAIL PROTECTED] wrote:
 
  Hi All,
 
  I have userobject in login.mxml page which is returned from Remote
  object.Now i want this object should be available (without session)
  to reamin ing pages.
  Please let me know about this
 
  Thanks,
  Jagadeesh
 







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









--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


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

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

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

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

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




Re: [flexcoders] Re: Open source AMF solutions that work with flex

2005-10-21 Thread Clint Modien



performance
On 10/21/05, Dave Wolf [EMAIL PROTECTED] wrote:
I do want to know why you're prefering AMF over HTTP or WebService.Just curious on the motivation there.
--Dave WolfCynergy Systems, Inc.Macromedia Flex Alliance Partnerhttp://www.cynergysystems.comEmail:
[EMAIL PROTECTED]Office: 866-CYNERGY x85--- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] wrote: I guess I should specify that they don't need to be open source at
all they could be 3rd party as well. (More than willing to pay for a solution)On 10/21/05, Clint Modien [EMAIL PROTECTED] wrote:   Anyone get any open source amf solutions to work with flex?
 Looking into this due for the most part to the lack of amfsupport in the  flex alpha release. I'm also guessing that this is what MM willrelease as  the non enterprise version of flex. So I'm looking for alternatives to
  webservices and httpservices.  Yahoo! Groups Sponsor ~--Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM~---
Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/






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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: Creating an array of images (Using @embed in acrionscript?)

2005-10-21 Thread Eric Raymond
Zen smack! It works for me.

Thanks!

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

 Couldn't you just do this in an Assets object?
 
  
 
 class Assets
 
 {
 
   [Embed(...)]
 
   public var blank:String;
 

 
   ...
 
 }
 






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

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

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

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

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




RE: [flexcoders] Re: Open source AMF solutions that work with flex

2005-10-21 Thread Abdul Qabiz
Hi,


 We actually used to tunnel the IIOP through HTTP a lot to avoid this.

AMF packets also go as HTP POST. Packets are in binary format.

http://livedocs.macromedia.com/flashremoting/mx/Using_Flash_Remoting_MX/
intro2.htm#1174485

 * 50% percent faster then SOAP or Webservice
 Not true with GZIP turned on.

Most of the developers find AMF faster than SOAP/Webservices. That's
what I have seen.

 * Automatic object serialization/deserialization 
 So does XML web services in Flex.

I think, AMF serialization/deserialization happen at Flash Player(might
be native) level where as XML parsing in Flex is done by ActionScript.

-abdul




-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Wolf
Sent: Friday, October 21, 2005 12:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Open source AMF solutions that work with flex

A few comments.

 * Binary transport

So is SOAP when you turn on GZIP compression in your container.  And I
would argue that binary transmission can be a bad thing too.  What if
a firewall used on a corporate environment has packet filtering turned
on.  Does that firewall have an AMF filter and did the firewall admin
know what it was?  I spent oodles of time working in CORBA.  IIOP is a
binary protocol and I cant tell you how often we bumped intot his
issue in a true distributed application.  We actually used to tunnel
the IIOP through HTTP a lot to avoid this.

 * 50% percent faster then SOAP or Webservice

Not true with GZIP turned on.

 * Automatic object serialization/deserialization 

So does XML web services in Flex.


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY x85 
 
 
 -abdul
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of Dave Wolf
 Sent: Friday, October 21, 2005 12:29 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Open source AMF solutions that work with
flex
 
 I do want to know why you're prefering AMF over HTTP or WebService.
 
 Just curious on the motivation there.
 
 -- 
 Dave Wolf
 Cynergy Systems, Inc.
 Macromedia Flex Alliance Partner
 http://www.cynergysystems.com
 
 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY x85 
 
 --- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] wrote:
 
  I guess I should specify that they don't need to be open source at
 all they
  could be 3rd party as well. (More than willing to pay for a
solution)
  
  
   On 10/21/05, Clint Modien [EMAIL PROTECTED] wrote:
  
   Anyone get any open source amf solutions to work with flex?
Looking into this due for the most part to the lack of amf
 support in the
   flex alpha release. I'm also guessing that this is what MM will
 release as
   the non enterprise version of flex. So I'm looking for
alternatives
 to
   webservices and httpservices.
  
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing 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 Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] FLEX2: Date Cell Renderer

2005-10-21 Thread Greg Johnson
Ok, for flex 1.5 I had downloaded a nice AS file that would render 
dates in cells for me.  However dispite me updateing it to work in 
Flex 2 it doesn't.  Any ideas what I missed?


/*
 * DateFormatCellRenderer is a simple Label-based cell renderer that 
displays
 * its item content in a known date format.
 */
package {
import mx.formatters.DateFormatter;
import mx.controls.Label;
class DateFormatCellRenderer extends Label
{   
var getDataLabel:Function;
static var dateFmt:DateFormatter;

private function init() : Void
{
// instantiate the 1 and only date formatter (more 
efficient than
// have a date formatter for every instance of the 
cell renderer).
if( dateFmt == null ) {
dateFmt = new DateFormatter();
dateFmt.formatString = MM/DD/;
}
super.initialize();
}

private function setValue(str:String, item:Object, 
sel:Boolean):Void
{
if( item != null ) {
// format the date value in the cell
this.text = dateFmt.format(item[getDataLabel
()]);
}
else {
this.text = ;
}
}

private function size() : Void
{
this.setActualSize(explicitWidth,explicitHeight);
}
}
}

btw the size function change is a complete guess on my part.





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

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

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

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

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




Re: [flexcoders] Flex 2

2005-10-21 Thread Spike



Pretty much the same way you would deploy the static HTML portion of a regular app.

Create the HTML and .swf files in Flex Builder, then copy to the server webroot using FTP, ANT, file copy, rcp etc.

Spike
On 10/21/05, Howard, Dave [EMAIL PROTECTED] wrote:







I am super 
confused. How do youdeploy a flex 2 app to a web 
server?

Dave 
Howard





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




  








-- Stephen MilliganDo you do the Badger?http://www.yellowbadger.com
Do you cfeclipse? http://www.cfeclipse.org






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








  
  
SPONSORED LINKS
  
  
  

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] Flex 2

2005-10-21 Thread Douglas Knudsen



depends...:) using FB2 and no enterprise server stuffs?
Unless I missed something somewhere at MAX, just copy the html and swf
file FB2 generates to your webserver doc root...bamm!

DKOn 10/21/05, Howard, Dave [EMAIL PROTECTED] wrote:







I am super 
confused. How do youdeploy a flex 2 app to a web 
server?

Dave 
Howard





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




  








-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?






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








  
  
SPONSORED LINKS
  
  
  

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] XML related

2005-10-21 Thread yourponnusamy
i am in need of saving data(from flex) in xml.can anybody knows plz 
send let me know






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

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

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

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

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




[flexcoders] Re: Implementing ModelLocator pattern in AS3/Flex2

2005-10-21 Thread Tom Sobut
Another significant item is that the ViewHelper pattern is broken in the Flex 
2.0 
architecture.  The viewHelper can't refer to undefined properties in the view 
object.

I, too, am anxious for the Cairngorm 2.0 frameworks.  I imagine that Steven and 
Alistair 
will need a few days to recover from jet lag.

Tom

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

 Make the objects in the Model Locator typed by importing the classes you
 need to ref.
 
 On 10/21/05, Benoit Hediard [EMAIL PROTECTED] wrote:
 
  Since it is not possible to create bindings to static properties, how do
  you implement the ModelLocator pattern in AS3?
   Benoit Hediard
   PS: by the way, any information on an alpha release of Cairngorm for
  Flex2.0?
 






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

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

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

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

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




RE: [flexcoders] Re: Open source AMF solutions that work with flex

2005-10-21 Thread Kevin Langdon
 - AMF is binary data passed over standard HTTP request and responses.  So
you should not have any problem with packet filtering.

 - You can turn on GZIP compression with remoting just as you cand with
SOAP.  That means it be even smaller.  Remoting cuts out all the extra
metadata so its always going to be smaller.

 - GZIP compression doesn't improve the client side processing of the data,
it actually hurts it in a small way.  This is why AMF is so much faster than
SOAP.  Flash uses DOM to parse XML, due to this you will see that the client
side parsing time grows exponentially with the size of your data.  AMF grows
linearly.  Even with small datasets AMF is much faster due to the simplicity
of its serialization.

Its not difficult to setup a simple benchmark test.  Do this and you will
quickly see how much better AMF performs compared to SOAP, especially with
large datasets.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Wolf
Sent: Friday, October 21, 2005 3:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Open source AMF solutions that work with flex

A few comments.

 * Binary transport

So is SOAP when you turn on GZIP compression in your container.  And I would
argue that binary transmission can be a bad thing too.  What if a firewall
used on a corporate environment has packet filtering turned on.  Does that
firewall have an AMF filter and did the firewall admin know what it was?  I
spent oodles of time working in CORBA.  IIOP is a binary protocol and I cant
tell you how often we bumped intot his issue in a true distributed
application.  We actually used to tunnel the IIOP through HTTP a lot to
avoid this.

 * 50% percent faster then SOAP or Webservice

Not true with GZIP turned on.

 * Automatic object serialization/deserialization

So does XML web services in Flex.


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY x85 
 
 
 -abdul
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
 On Behalf Of Dave Wolf
 Sent: Friday, October 21, 2005 12:29 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Open source AMF solutions that work with 
 flex
 
 I do want to know why you're prefering AMF over HTTP or WebService.
 
 Just curious on the motivation there.
 
 --
 Dave Wolf
 Cynergy Systems, Inc.
 Macromedia Flex Alliance Partner
 http://www.cynergysystems.com
 
 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY x85
 
 --- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] wrote:
 
  I guess I should specify that they don't need to be open source at
 all they
  could be 3rd party as well. (More than willing to pay for a 
  solution)
  
  
   On 10/21/05, Clint Modien [EMAIL PROTECTED] wrote:
  
   Anyone get any open source amf solutions to work with flex?
Looking into this due for the most part to the lack of amf
 support in the
   flex alpha release. I'm also guessing that this is what MM will
 release as
   the non enterprise version of flex. So I'm looking for 
   alternatives
 to
   webservices and httpservices.
  
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing 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 ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Open source AMF solutions that work with flex

2005-10-21 Thread Dave Wolf

 ever coded a flex app using web services? I have... the overhead in the
 flash player when grabbing the initial wsdl and parsing it is huge...

Yes we have.  We did it in LifeCoach which is live in production for a
 fortune 50 company and was the MAX award finalist last week at MAX. 
I think we have some pretty significant real-world experience and
feedback.


  as for gzipping it... you might want to read this...
 

I did.  I can tell you our production level benchmarking doesnt line
up with that.  When you turn compression on in the app in production
(server class hardware) the difference in performance is noticeable
with the naked eye.  Forget timing it to mili-seconds.  Literally our
phones rang within an hour asking what happened to the app.  I'm
guessing this was JRUN also which is a different server, and we use a
different compressor rather then a J2EE servlet filter.  So as with
all benchmarks, your mileage may vary.


http://weblogs.macromedia.com/mchotin/archives/2004/11/enabling_gzip_c.cfm
  amf is http tunneled as base 64 encoded data...

Which means when it tunnels you effectively *double* the size of the
stream in bytes marshalled.  Now you have no control over that since
the packet filtering firewall is in control.  As I said, I'm an old
CORBA dork.  We used to do this HTTP tunnel there too.

 
 I'm a huge advocate of web services... but not if i can use amf...
amf is
 easily 2 to 3 times faster. (with INCREDIBLY faster load times)

I'm not anti-AMF.  I'm not anti-binary protocols, and I am *not* an
web services snob.  Heck, its just CORBA with a bloated 7bit protocol.  

I do however want to point out a few things folks havent thought about
when they make a blanket statement like binary protocols are
advantagous.

Its all about education and differing points of view ;)

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY x85 


 On 10/21/05, Dave Wolf [EMAIL PROTECTED] wrote:
 
  A few comments.
 
   * Binary transport
 
  So is SOAP when you turn on GZIP compression in your container. And I
  would argue that binary transmission can be a bad thing too. What if
  a firewall used on a corporate environment has packet filtering turned
  on. Does that firewall have an AMF filter and did the firewall admin
  know what it was? I spent oodles of time working in CORBA. IIOP is a
  binary protocol and I cant tell you how often we bumped intot his
  issue in a true distributed application. We actually used to tunnel
  the IIOP through HTTP a lot to avoid this.
 
   * 50% percent faster then SOAP or Webservice
 
  Not true with GZIP turned on.
 
   * Automatic object serialization/deserialization
 
  So does XML web services in Flex.
 
 
  --
  Dave Wolf
  Cynergy Systems, Inc.
  Macromedia Flex Alliance Partner
  http://www.cynergysystems.com
 
  Email: [EMAIL PROTECTED]
  Office: 866-CYNERGY x85
  
  
   -abdul
  
  
  
   -Original Message-
   From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
   Behalf Of Dave Wolf
   Sent: Friday, October 21, 2005 12:29 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: Open source AMF solutions that work
with flex
  
   I do want to know why you're prefering AMF over HTTP or WebService.
  
   Just curious on the motivation there.
  
   --
   Dave Wolf
   Cynergy Systems, Inc.
   Macromedia Flex Alliance Partner
   http://www.cynergysystems.com
  
   Email: [EMAIL PROTECTED]
   Office: 866-CYNERGY x85
  
   --- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED]
wrote:
   
I guess I should specify that they don't need to be open source at
   all they
could be 3rd party as well. (More than willing to pay for a
solution)
   
   
On 10/21/05, Clint Modien [EMAIL PROTECTED] wrote:

 Anyone get any open source amf solutions to work with flex?
 Looking into this due for the most part to the lack of amf
   support in the
 flex alpha release. I'm also guessing that this is what MM will
   release as
 the non enterprise version of flex. So I'm looking for
alternatives
   to
 webservices and httpservices.

   
  
  
  
  
  
  
  
   --
   Flexcoders Mailing 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 ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: 

[flexcoders] Re: Open source AMF solutions that work with flex

2005-10-21 Thread Dave Wolf
--- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote:

 Hi,
 
 
  We actually used to tunnel the IIOP through HTTP a lot to avoid this.
 
 AMF packets also go as HTP POST. Packets are in binary format.
 
 http://livedocs.macromedia.com/flashremoting/mx/Using_Flash_Remoting_MX/
 intro2.htm#1174485
 


I'm curious exactlty what the stream looks like.  We used to try this
(well some folk like Iona did) by using an HTTP OPEN, streaming the
binary, then closing the  stream.  All over HTTP right?  Nope.  The
firewalls would peek into the stream and notice the binary and slam
the door.  The work around was the HEX encode the stream.  Now the
firewall saw only 7bit ASCII stream.  Effectivly a funny looking URI.
 The negative was that you doubled the size of the packets by HEX
encoding them.

I'm curious to see what AMF looks like on the line.  Looks like fun
for a quiet Friday night wink

In any case.  This is a great thread.  

your favorite curmudgeon ex-CORBA hack

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY x85 


  * 50% percent faster then SOAP or Webservice
  Not true with GZIP turned on.
 
 Most of the developers find AMF faster than SOAP/Webservices. That's
 what I have seen.
 
  * Automatic object serialization/deserialization 
  So does XML web services in Flex.
 
 I think, AMF serialization/deserialization happen at Flash Player(might
 be native) level where as XML parsing in Flex is done by ActionScript.
 
 -abdul
 
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Dave Wolf
 Sent: Friday, October 21, 2005 12:42 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Open source AMF solutions that work with flex
 
 A few comments.
 
  * Binary transport
 
 So is SOAP when you turn on GZIP compression in your container.  And I
 would argue that binary transmission can be a bad thing too.  What if
 a firewall used on a corporate environment has packet filtering turned
 on.  Does that firewall have an AMF filter and did the firewall admin
 know what it was?  I spent oodles of time working in CORBA.  IIOP is a
 binary protocol and I cant tell you how often we bumped intot his
 issue in a true distributed application.  We actually used to tunnel
 the IIOP through HTTP a lot to avoid this.
 
  * 50% percent faster then SOAP or Webservice
 
 Not true with GZIP turned on.
 
  * Automatic object serialization/deserialization 
 
 So does XML web services in Flex.
 
 
 -- 
 Dave Wolf
 Cynergy Systems, Inc.
 Macromedia Flex Alliance Partner
 http://www.cynergysystems.com
 
 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY x85 
  
  
  -abdul
  
  
  
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 On
  Behalf Of Dave Wolf
  Sent: Friday, October 21, 2005 12:29 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Open source AMF solutions that work with
 flex
  
  I do want to know why you're prefering AMF over HTTP or WebService.
  
  Just curious on the motivation there.
  
  -- 
  Dave Wolf
  Cynergy Systems, Inc.
  Macromedia Flex Alliance Partner
  http://www.cynergysystems.com
  
  Email:  [EMAIL PROTECTED]
  Office: 866-CYNERGY x85 
  
  --- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] wrote:
  
   I guess I should specify that they don't need to be open source at
  all they
   could be 3rd party as well. (More than willing to pay for a
 solution)
   
   
On 10/21/05, Clint Modien [EMAIL PROTECTED] wrote:
   
Anyone get any open source amf solutions to work with flex?
 Looking into this due for the most part to the lack of amf
  support in the
flex alpha release. I'm also guessing that this is what MM will
  release as
the non enterprise version of flex. So I'm looking for
 alternatives
  to
webservices and httpservices.
   
  
  
  
  
  
  
  
  
  --
  Flexcoders Mailing 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 ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

* To unsubscribe 

Re: [flexcoders] disabling a component, but leaving a portion on

2005-10-21 Thread Raymond Camden
Never mind - I found out how to set the map below the checkbox. Thanks!

On 10/21/05, Raymond Camden [EMAIL PROTECTED] wrote:
 This is working a bit - although for some reason the checkbox now
 doesn't show up.

 What I had originally was a component wrapped with a vbox. My stuff,
 including the checkbox, was all inside.

 I changed it to a canvas on the outside - with a vbox wrapping
 everything I want to disable, using x=0 and y=0. I moved my checkbox
 before the vbox and used x=50, y=50, just as a random place to put it.
 However, the checkbox just doesn't show up.



 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] disabling a component, but leaving a portion on

2005-10-21 Thread Raymond Camden
This is working a bit - although for some reason the checkbox now
doesn't show up.

What I had originally was a component wrapped with a vbox. My stuff,
including the checkbox, was all inside.

I changed it to a canvas on the outside - with a vbox wrapping
everything I want to disable, using x=0 and y=0. I moved my checkbox
before the vbox and used x=50, y=50, just as a random place to put it.
However, the checkbox just doesn't show up.


On 10/20/05, Deepa Subramaniam [EMAIL PROTECTED] wrote:
 This is just a though, but is the CheckBox part of the Map component? It
 might be easier to separate them out and put your Map component in a
 Canvas so you can explicitly position a CheckBox atop the Map wherever
 you'd like. The CheckBox and Map can refer to each other just as any
 other set of components would (reference through the id property).

--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

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

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

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


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

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

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

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

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




Re: [flexcoders] Re: Highlight gridline on chart

2005-10-21 Thread Tom Fitzpatrick
Follow-up: I was able to accomplish this the way you describe - a 
LineSeries on top of several ColumnSeries - but only by constructing custom 
chart elements in a Cartesian Chart.

Works fine now, though.

- Tom

At 09:31 AM 10/16/2005, you wrote:
Martin -

Thanks for the suggestion, but that won't work.

My fault, for not being more specific.

The column chart is actually a stacked column chart, and when I introduce
the LineSeries, it tries to become part of the stack. I think I have to
move to a cartesian chart setup - if it's possible at all. What I was
hoping to do was introduce a line just as a highlight of the grid or even
by actually drawing it in behind the stacked columns.

- Tom

At 12:58 PM 10/15/2005, you wrote:
 I've done this by simply adding a LineSeries to the columnChart.  If
 you add the LineSeries before the ColumnSeries, it will appear
 behind the column and of course the opposite is also possible.







--
Flexcoders Mailing 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 ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Issues using standalone Flash Remoting with Flex 1.5

2005-10-21 Thread Alon J Salant










Hey all,



Im wondering what experience the group has with using
Flex 1.5 with servers running Flash Remoting but not Flex. Id like to
distribute my application processing across a number of servers running Flash
Remoting and have fewer Flex servers. I have experimented with a couple
options:




 OpenAMF
 
 Using OpenAMF with Flex requires abandoning the RemoteObject tag
 and using the ActionScript Remoting libraries. This is because the Flex
 client sends AMF messages in a different structure (they are wrapped in an
 envelope that contains metadata) than Flash Remoting v1 or the standalone Remoting
 client libraries. With this resolved with a couple hacks to OpenAMF, I
 still found that the AMF responses from OpenAMF differed enough from the
 Flash Remoting implementation provided by Flex that I could not use it as
 a drop-in replacement. For simple messages, OpenAMF worked fine but for
 complex messages with cyclical references, the behavior was different. Some
 work there for the OpenAMF team but for now I need to put aside this option.
 
 
 Flash Remoting v1.1
 
 This is what I will call the version of Flash Remoting bundled with Flex
 1.5. I believe that there has not been a standalone release of this
 version. However, there is documentation on using this version on the
 Macromedia site: http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=46f3d4ac.
 
 This document implies that you can use the flashgateway.jar file provided
 with Flex and use it with an existing Flash Remoting serial number. I have
 successfully configured Flash Remoting using this jar and a
 gateway-config.xml file in a webapp without Flex running. However, Flash
 Remoting runs in developer mode. This is true even when I configure the
 gateway with a valid serial number as documented in the above technote.
 That kinda sucks. Has anyone run in to this?




Alon









--
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] XML related

2005-10-21 Thread Tracy Spratt
Need more detail.

Save to a database? A file?

What is your middle tier environment?

What is your preferred data service protocol?

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of yourponnusamy
Sent: Friday, October 21, 2005 1:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] XML related

i am in need of saving data(from flex) in xml.can anybody knows plz 
send let me know







--
Flexcoders Mailing 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 Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] Controlling ViewStacks with menu bar.

2005-10-21 Thread Tracy Spratt
Here is an example.
Tracy

?xml version=1.0 encoding=utf-8?
   mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:Script![CDATA[
function menuHandler(oEvent:Object) {
vs1.selectedIndex = oEvent.menuItem.getProperty(data);
}
]]/mx:Script
mx:MenuBar width=450 change=menuHandler(event)
mx:dataProvider
mx:XML
menuitem label=View
menuitem label=Not used type=check  data=2A/
menuitem type=separator /
menuitem label=Available Views 
menuitem label=View 1 type=radio
groupName=one data=0/
menuitem label=View 2 type=radio
groupName=one data=1/
menuitem label=View 3 type=radio
groupName=one data=2 /
/menuitem
/menuitem
/mx:XML
/mx:dataProvider
/mx:MenuBar
  mx:ViewStack id=vs1 width=100% height=100%
borderStyle=solid
 mx:VBox label=View 1 width=100% height=100%
backgroundColor=#CCFF00 
mx:Label text=This is View 1/
 /mx:VBox
 mx:VBox label=View 2 width=100% height=100% 
mx:Label text=This is View 2/
 /mx:VBox
 mx:VBox label=View 3 width=100% height=100%
backgroundColor=#FF3399
mx:Label text=This is View 3/
 /mx:VBox
  /mx:ViewStack
   /mx:Application

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeremy Rottman
Sent: Friday, October 21, 2005 4:44 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Controlling ViewStacks with menu bar.

I have been working with view stacks, and trying to control them with
a menubar. However I am unable to get it to work together. Does anyone
know how this can ben done.

Any help would be greatly appreciated.






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



 






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

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

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

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

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




RE: [flexcoders] disabling a component, but leaving a portion on

2005-10-21 Thread Tracy Spratt
If you want the checkbox on top, I believe you need to declare it AFTER
the vbox.  Later components are shallower.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Raymond Camden
Sent: Friday, October 21, 2005 5:07 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] disabling a component, but leaving a portion
on

This is working a bit - although for some reason the checkbox now
doesn't show up.

What I had originally was a component wrapped with a vbox. My stuff,
including the checkbox, was all inside.

I changed it to a canvas on the outside - with a vbox wrapping
everything I want to disable, using x=0 and y=0. I moved my checkbox
before the vbox and used x=50, y=50, just as a random place to put it.
However, the checkbox just doesn't show up.


On 10/20/05, Deepa Subramaniam [EMAIL PROTECTED] wrote:
 This is just a though, but is the CheckBox part of the Map component?
It
 might be easier to separate them out and put your Map component in a
 Canvas so you can explicitly position a CheckBox atop the Map wherever
 you'd like. The CheckBox and Map can refer to each other just as any
 other set of components would (reference through the id property).

--
===
Raymond Camden, Director of Development for Mindseye, Inc
(www.mindseye.com)

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

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

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



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



 






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

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

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

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

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




Re: [flexcoders] FLEX2: Date Cell Renderer

2005-10-21 Thread Jim Laing
In Flex 2, the cell render API is totally different. For one thing,
setValue() is no longer used. For another thing, a cell render is
passed a dataObject (or something like that) value, which contains
the data to be rendered. All of the examples I've seen thus far are
straight MXML, and most are rendered inline, so you might want to try
heading in that direction.

Jim

On 10/21/05, Greg Johnson [EMAIL PROTECTED] wrote:
 Ok, for flex 1.5 I had downloaded a nice AS file that would render
 dates in cells for me.  However dispite me updateing it to work in
 Flex 2 it doesn't.  Any ideas what I missed?


 /*
  * DateFormatCellRenderer is a simple Label-based cell renderer that
 displays
  * its item content in a known date format.
  */
 package {
 import mx.formatters.DateFormatter;
 import mx.controls.Label;
 class DateFormatCellRenderer extends Label
 {
 var getDataLabel:Function;
 static var dateFmt:DateFormatter;

 private function init() : Void
 {
 // instantiate the 1 and only date formatter (more
 efficient than
 // have a date formatter for every instance of the
 cell renderer).
 if( dateFmt == null ) {
 dateFmt = new DateFormatter();
 dateFmt.formatString = MM/DD/;
 }
 super.initialize();
 }

 private function setValue(str:String, item:Object,
 sel:Boolean):Void
 {
 if( item != null ) {
 // format the date value in the cell
 this.text = dateFmt.format(item[getDataLabel
 ()]);
 }
 else {
 this.text = ;
 }
 }

 private function size() : Void
 {
 this.setActualSize(explicitWidth,explicitHeight);
 }
 }
 }

 btw the size function change is a complete guess on my part.






 --
 Flexcoders Mailing 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 ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] ComboBoxCellRenderer question

2005-10-21 Thread Dan Plesse










Tracy, 



   Thanks for your reply and others so far.
I have checked off all your requirements but the last one i.e. “use the
dataProvider API to update the combo box array in the item object in the
dataProvider”. Can you provide some code examplse for just this last part or
does the link provide these details? 



Again thanks everyone. Dan  











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt
Sent: Friday, October 21, 2005
1:49 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
ComboBoxCellRenderer question





Dan,

I don’t recall all the posts to this page
but here is my bit.



In the main dataProvider, include the
default options for the combo box in an array property on each item
object. In the cell renderer, where you have access to each item object,
grab the combo box array and assign it to the dataProvider of the
ComboBox. I believe there is a full example of this on cflex.net.
Hmm, not exactly what I remembered but here is a possible link:

http://www.cflex.net/showfiledetails.cfm?ObjectID=255



If, at run-time, you need to modify the
options of a combobox in a particular cell, use the dataProvider API to update
the combobox array in the item object in the dataProvider. This should
automatically cause the cellRenderer to update the cell with the new combobox
options.



If I have lost track of this thread
completely, ignore this post.



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dan Plesse
Sent: Friday, October 21, 2005
11:22 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
ComboBoxCellRenderer question





I don’t think I can do event handler
functions for other components inside ComboBoxCellRender itself. 



Can I have a show of hands of people who
made their Dataproviders dynamic for comboboxes inside a cellrender? 



Can’t I just setDataprovider? 















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Thursday, October 20, 2005
10:47 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
ComboBoxCellRenderer question





You should adjust the data of the item
itself and then have the cell renderer read out of that item (or maybe you’ll
need some form of indirection if you don’t want to edit the item).
Basically you need to do this work in the ComboBoxCellRenderer itself, you
cannot do it from the outside and point in.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dan Plesse
Sent: Tuesday, October 18, 2005
11:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
ComboBoxCellRenderer question





I want to change the data in
the cell’s comboBox to other database
datatypes. 

So I tried this 

var dp = new mx.central.data.DataProviderClass();

dp.addItem({dataType:tinyInt, dataType:Double});

ComboBoxCellRenderer.setDataProvider(dp);

Error message:
There is no method with the name 'setDataProvider'

And this 

var dp = new mx.central.data.DataProviderClass();
 dp.addItem({dataType:tinyInt,
dataType:Double});

ComboBoxCellRenderer.dataProvider = dp;

No error

And This: 

var dp = new mx.central.data.DataProviderClass();

dp.addItem({dataType:tinyInt, dataType:Double});

ComboBoxCellRenderer.dataProvider.setDataProvider(dp);

No error: 

Also where do I get the this control? 
import com.iterationtwo.cairngorm.control.*;
















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