[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

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

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

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

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

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

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

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

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

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

[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

[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

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

[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

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

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:

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

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:

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

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

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

[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

[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

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

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

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

[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

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:

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:

[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

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

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

[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

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

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.

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:

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

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

[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

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

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

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

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

[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

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

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

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

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

[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

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:

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

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:

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

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