Re: [flexcoders] Re: Error: Cannot invoke method when using a VO

2005-04-12 Thread Christoph Guse
Hi Dan, hi cazzaran, yes, I have such a line in every of my ValueObjects. But I had errors in the POJO and in the Object.registerClass line. I didn't use the fully qualified name of the Java class as first and the fully qualified name of the ActionScript class as second argument. Without these

[flexcoders] Pojo to xml local client

2005-04-12 Thread [EMAIL PROTECTED]
Hi, it's possibile to write into client side a xml file ? or if it's not possibile , it's possibile call a prg into client machine? Any suggestion it's appreciate. Devis. My scenario i wish to develop a demo with Flex for a fashion shop, but the problem it's communication with the client com.

RE: [flexcoders] Using FlexUnit with Cairngorm

2005-04-12 Thread Allen Manning
Michael and Dan, thanks for the responses.  Let's say I had a custom component Login.mxml which is a simple login box.   How would I set that up for testing in my testing application with FlexUnit?  Would this be the way you would suggest?   I guess that if I were to move my Login.mxml in

[flexcoders] redraw DataGrid

2005-04-12 Thread Christoph Guse
Hi List, in my application there is a DataGrid in a Panel (panel1) with several items in it. Under the DataGrid there is another panel (panel2) with a box in it which becomes bigger, when an item in the DataGrid is clicked. I resize the DataGrid and the box underneath. My problem is, that if

Re: [flexcoders] Pojo to xml local client

2005-04-12 Thread Scott Barnes
You could do this with thirdparty exe apps like Zinc provided that the swf be loaded from a FLEX server (EULA requirment).. i think anyway. see multidmedia.com for more details. On Apr 12, 2005 6:56 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > it's possibile to write into clie

[flexcoders] Parsing date time returned from a webservice call

2005-04-12 Thread teddybearneo
Hello, I have a remote Coldfusion CFC returning a query of sales orders. In this query there is a field containing the date/time of the order (encoded in a DATETIME field in a mySQL table). When called, this CFC returns a wddx (xml) packet with the data (query). In this packet the date/time

[flexcoders] Re: how to solve this problem about using HashMap in actionscript

2005-04-12 Thread loveewind
--- In flexcoders@yahoogroups.com, "loveewind" <[EMAIL PROTECTED]> wrote: > I fail to store the Array in actionscript object to the HashMap in Java object UserVO and can be success to store the other data in the same actionscript object to store in Java object UserVO the actionscript code b

Re: [flexcoders] Pojo to xml local client

2005-04-12 Thread [EMAIL PROTECTED]
Scott Barnes ha scritto: >You could do this with thirdparty exe apps like Zinc provided that the >swf be loaded from a FLEX server (EULA requirment).. i think anyway. > >see multidmedia.com for more details. > > >On Apr 12, 2005 6:56 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > >>Hi, >

Re: [flexcoders] Re: help with setInterval...

2005-04-12 Thread michael keirnan
it would be good to go through the Flex UG sections on scoping and event listeners. in the long run understanding scope is invaluable. in your test case the following might work: setInterval(mx.utils.Delegate.create(this, upCount, 1000); terry_hrtn wrote: >Matt...now I'm getting the m

Re: [flexcoders] question about the import statement and action s cript files

2005-04-12 Thread nostra72
In a message dated 4/12/2005 12:53:39 AM Eastern Standard Time, [EMAIL PROTECTED] writes: Looks about like it would help but one question is component one meant to be the mxml file Sure, itâd be something like this:   class component1 {   public var numberone : Number; }   class component2 {

RE: [flexcoders] Editing Text

2005-04-12 Thread Matt Horn
I don't think you can make TextField controls editable. In your example, the import is not necessary, btw, since createTextField is a method of the root movieclip object (in this case, the application). This is for all intents and purposes a Flash object and not something you'd normally us

RE: [flexcoders] Re: Error: Cannot invoke method when using a VO

2005-04-12 Thread Peter Farland
The NetConnection Debugger is an old FP6 movie that's provided as an extra to Flex as old Flash Remoting customers are used to it, but it was not built by or for Flex. I suggest you rely on the RemoteObject AMF Gateway's own trace/debug level logging as it will show you the AMF traffic passing

RE: [flexcoders] Editing Text

2005-04-12 Thread Matt Horn
I take all that back. :)   If you set the TextField to selectable, then you can edit the TextField (as long as you also set the type to input):        mytext.type = "input";     mytext.selectable = true;matt horn From: Matt Horn [mailto:[EMAIL PROTECTED] Sent: Tuesday,

[flexcoders] printing & font size

2005-04-12 Thread Robert Brueckmann
Hey guys and gals…I’m trying to print my datagrid…it’s not a large datagrid…definitely fits on one page…just experimenting and I notice that when I print…the font size is huge.  It looks much larger than the size of the text in the grid on my screen but it could be because I have a 19 inch

[flexcoders] Using Zinc with Flex

2005-04-12 Thread Simon Fifield
Hi all,   Has anyone tried using Zinc to create an EXE from an SWF? How did it turn out? I've tried it and the exe ran, but when the swf attempted to get data from the server, it failed. I couldn't find any information about either Flex or whether it allows AMF communication which my Fle

Re: [flexcoders] Using Zinc with Flex

2005-04-12 Thread JesterXL
Yes, it works well.   Bad... it's against Macromedia's Flex EULA, even if you use Zinc's URL vs. local file option to build the projector.   Not sure about your server problem; I wasn't using it to get dynamic data.   - Original Message - From: Simon Fifield To: [EMAIL PROTECTED]

RE: [flexcoders] Using Zinc with Flex

2005-04-12 Thread Alistair McLeod
Hi Simon,   I've not tried it, but it sounds like the gateway url (or equivalent if you're using web services rather than remote object) has not been specified, or is specified incorrectly. Did you precompile the swf? If not, how does Zinc request the MXML file - is it over http?   Cheers,

RE: [flexcoders] Using Zinc with Flex

2005-04-12 Thread Simon Fifield
Hi Ali,   I specified to be TRUE and just copied this.   Regards, Simon -Original Message-From: Alistair McLeod [mailto:[EMAIL PROTECTED]Sent: 12 April 2005 17:38To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Using Zinc with Flex Hi Simon,   I've not tri

RE: [flexcoders] Using Zinc with Flex

2005-04-12 Thread Simon Fifield
Hi Jesse,   Why would it be violating the License? I would be generating the SWF using a fully licensed version of Flex and the user would be communicating (if it worked) with the same Flex server that generated it and would be used by the same people that would be using it online.   Mayb

Re: [flexcoders] Re: Error: Cannot invoke method when using a VO

2005-04-12 Thread Christoph Guse
Hi Peter, thanks for your answer. I'm using Flex on Linux, how is the approach to get a console output? Christoph Peter Farland wrote: > The NetConnection Debugger is an old FP6 movie that's provided as an > extra to Flex as old Flash Remoting customers are used to it, but it > was not buil

RE: [flexcoders] Using Zinc with Flex

2005-04-12 Thread Alistair McLeod
So, that effectively compiled the gateway url to the url you typed into your browser window.   In what way does it fail, just silently, or do you get an error?  Did anything appear in the flashlog.txt (need to be running with debug player and have mm.cfg set up) - I'm thinking the players

RE: [flexcoders] Using Zinc with Flex

2005-04-12 Thread Simon Fifield
Hi Alistair,   I use the Cairngorm framework and have a login to start, I type my login details and click login and the clock face just keeps going round and round. I don't really know how to try and debug it, the Zinc debugger shows nothing.   I'm just assuming that it is an issue with

RE: [flexcoders] Re: Error: Cannot invoke method when using a VO

2005-04-12 Thread Peter Farland
1. Stop web application server (which one are you using?) 2. In /WEB-INF/flex/flex-config.xml, set: logging level to "debug" enable console logging 3. In /WEB-INF/flex/gateway-config.xml, set: logging level to "debug" 4. Start web application server on the command line/in a shell The consol

RE: [flexcoders] Using Zinc with Flex

2005-04-12 Thread Simon Fifield
Hi Alistair,   Setup Flashlog.txt (thanks for the tip) and here's some output:   Warning: 'mx' has no property 'NONMODAL' at ()Warning: 'mx' has no property 'YES' at ()Warning: 'mx' has no property 'NO' at ()Warning: 'mx' has no property 'OK' at ()Warning: 'mx' has no property 'CANCEL' at

RE: [flexcoders] Using Zinc with Flex

2005-04-12 Thread Alistair McLeod
Hi Simon,   Are you seeing anything reaching your server? Turn on remote object debugging in flex-config.xml and gateway-config.xml   Ali   -- Alistair McLeodDevelopment Director iteration::two[EMAIL PROTECTED]   Office:  +44 (0)131 338 6108   This e-mail and any associated attachments

RE: [flexcoders] Using Zinc with Flex

2005-04-12 Thread Simon Fifield
When I run the Flex app as usual in the browser, it continues correctly:   4/12 18:37:41 [INFO] RemoteObject_AMF: Invoking login on com.mango.aviator.business.PilotDelegate - Zinc app stops here4/12 18:37:41 [INFO] RemoteObject_AMF: Invoking getPilot on com.mango.aviator.business.PilotLo

Re: [flexcoders] Re: Error: Cannot invoke method when using a VO

2005-04-12 Thread Christoph Guse
Hi Peter, my web application server is Tomcat 5.5.7, Java Version 1.5.0_02. My Linux is SuSE 9.2. I did everything you described. Here the snippet of my flex-config.xml: debug tr

RE: [flexcoders] Re: Error: Cannot invoke method when using a VO

2005-04-12 Thread Peter Farland
Unfortunately it seems Tomcat decided it would be best to redirect System.out to catalina.out http://jakarta.apache.org/tomcat/faq/logging.html#catalina.out I suggest you tail -f the Flex log, which should be in /WEB-INF/flex/logs/flex.log by default (and turn off console logging as there's

[flexcoders] accessing registerClass() class bindings.

2005-04-12 Thread Alex Cruikshank
Hi all, I'm working on a AS2 deserializer for Burlap XML.  I'd like to use the class data provided in the XML with the class registrations we've made using the Object.registerClass() method for remoting to instantiate the correct AS2 classes.  I can't find any way to access these registrations. 

RE: [flexcoders] accessing registerClass() class bindings.

2005-04-12 Thread Peter Farland
Google turned up this blog entry: http://dynamicflash.com/2005/03/class-finder/   The main thing to remember when using a hack like this is to ensure that you have the classes linked in at compile time and thus present in the SWF.   From: Alex Cruikshank [mailto:[EMAIL PROTECTED] Sent: Tu

[flexcoders] Question about background color

2005-04-12 Thread nostra72
Is there a way to set it up to where the user who is using the application can set the background color, a special control perhaps? 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

RE: [flexcoders] Question about background color

2005-04-12 Thread Deepa Subramaniam
Well you can always dynamically change the background color of the application by calling application.setStyle('backgroundColor', 0xFF) anywhere in your code. So the user's selection could possible trigger that call.   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMA

[flexcoders] Flex Cairngrom question

2005-04-12 Thread flexcoding
Hello Guys, I just started Flex development two months back and we are trying to develop an enterprise level application. So we decided to use open source Cairngorm Framework v 0.9 by Iteration Two. Though it lacks ample documentation, we straightway found its benefits as it neatly separate

[flexcoders] nodeName

2005-04-12 Thread jwaknitz
Hello, I was wondering if there is anyway to grab the name of a node to test against it not using an XML object. I'm using data right from an HTTP service and don't want it to be in XML format either. Any ideas? I know it can be done quickly with XML but that would mean remaking my entire

[flexcoders] Re: nodeName

2005-04-12 Thread speedmetalrulez
You're trying to reference a node name? I am not sure how to print out node names without loading the data into an xml object. I'm sure it's possible. It's very easy to access node values/attributes declaritivelly without an XML object. Not sure about the name though. --- In flexcoders@y

[flexcoders] Color in textArea

2005-04-12 Thread Tom Fitzpatrick
I'm building strings for display in a textArea. Is there a way to programmatically add color to selected portions of text? - Tom 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 emai

RE: [flexcoders] Question about background color

2005-04-12 Thread Ted Casey
You could also set up a Local Shared Object (flash version of a cookie) to let you know which users has logged on.   Here’s some sample code:                           From: Deepa Subramaniam [mailto:[EMAIL PROTECTED] Sent:

[flexcoders] Coldfusion 7 and Flex

2005-04-12 Thread Wahlen, John
Which is better in Flex? XML or FlashRemoting?   Thanks Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]  Your use of Yahoo! Groups is subject to the Yahoo! Terms of

Re: [flexcoders] Coldfusion 7 and Flex

2005-04-12 Thread jeff tapper
For communicating with a backend server like CF? Remoting without a doubt. At 05:34 PM 4/12/2005, you wrote: >Which is better in Flex? XML or FlashRemoting? > >Thanks > > >-- >Yahoo! Groups Links >* To visit your group on the web, go to: >* >

RE: [flexcoders] Coldfusion 7 and Flex

2005-04-12 Thread Ben Elmore
Title: Message As a preference I prefer using Flash Remoting over XML/Web Services. I do notice better performance using Remoting which might be the basis for saying it is 'better'.   Ben -Original Message-From: Wahlen, John [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 12

Re: [flexcoders] Coldfusion 7 and Flex

2005-04-12 Thread Clint Tredway
that depends on what you need... If its just interactive pieces, Flash Remoting. If its a full application, Flex. On Apr 12, 2005 4:34 PM, Wahlen, John <[EMAIL PROTECTED]> wrote: > > Which is better in Flex? XML or FlashRemoting? > > Thanks > > Yahoo! G

Re: [flexcoders] Coldfusion 7 and Flex

2005-04-12 Thread Clint Tredway
dang it.. I misread your post, Remoting is the best way to communicate with the server On Apr 12, 2005 4:39 PM, Clint Tredway <[EMAIL PROTECTED]> wrote: > that depends on what you need... > > If its just interactive pieces, Flash Remoting. > > If its a full application, Flex. > > On Apr 12, 20

[flexcoders] Hibernate

2005-04-12 Thread Ryan Scott Jones
Apologies if this has been covered already ... Does anyone know of an in depth tutorial on integrating Hibernate and Flex? Have people been using Hibernate successfully with Flex? I'm about a week into creating an application and it's doing my head in. Flat objects work just fine for me, but an

Re: [flexcoders] Hibernate

2005-04-12 Thread Steven Shaw
You will want to watch your server log closely as you probably are getting errors in there about lazy instantiation. Putting lazy="true" in your mapping file does not guarantee that the association will be instantiated. It depends in max-fetch-depth and perhaps other things. You could try using

Re: [flexcoders] Using Zinc with Flex

2005-04-12 Thread Scott Barnes
On 4/13/05, JesterXL <[EMAIL PROTECTED]> wrote: > > Yes, it works well. > > Bad... it's against Macromedia's Flex EULA, even if you use Zinc's URL vs. > local file option to build the projector. hmmm.. Ok, Say you build a SWF thats got a few API classes in there that interface to ZInc's F

Re: [flexcoders] problem with Effects

2005-04-12 Thread Manish Jethani
On 4/11/05, Alessio Prosperi <[EMAIL PROTECTED]> wrote: > The scenario is: > I have many panel in my application. Each of them has some buttons that > couse an action. > I click one button lo load or to create a new object in a panel. When the > load stop, the panel resize itself (using a resiz

Re: [flexcoders] Dragging a TextInput from one canvas to another

2005-04-12 Thread Manish Jethani
On 4/11/05, Kim Reddington <[EMAIL PROTECTED]> wrote: > I am trying to drag the text of a TextInput control from one canvas to > another. I found some code and modified it to let me drag the text of the > TextInput from one canvas to a dataProvider of a List, but I am having > trouble modifying

Re: [flexcoders] ComboBox Label

2005-04-12 Thread Manish Jethani
On 4/12/05, jwaknitz <[EMAIL PROTECTED]> wrote: > > > > Less than $200 > > [snip] > The problem is, how do I set the label to the that is two > elements down? Actually creating a new function and making labelFunction point to that would be more efficient (though I like

Re: [flexcoders] Extracting Data from a DataGrid

2005-04-12 Thread Manish Jethani
On 4/12/05, digital_eyezed <[EMAIL PROTECTED]> wrote: > I assume it was that typo ('(' instead of '{'). > Well, it doesn't work when I select the row, and your job is to tell > me how thick I am and say, don't be daft, this is how you do it! [Small Wonder] How thick you are, don't be daft, an

[flexcoders] DataGrid column resizing

2005-04-12 Thread Paul Frantz
Hi all, I've been trying to make my DataGrid's resize appropriately when their parent containers are resized but there is no joy to be had. When you run the following demo code http://www.macromedia.com/2003/mxml"; load="myLoad()" > import mx.core.Application

Re: [flexcoders] MXML Components and using mx:Effect

2005-04-12 Thread Manish Jethani
On 4/12/05, Scott Barnes <[EMAIL PROTECTED]> wrote: > Also, probably outside the scope of this thread but whats the > difference between a MovieClip and an Object (ie technically, i know > MovieClip adds "timeline" to the equation etc.. but how is a MovieClip > Constructed vs a plain object) An

Re: [flexcoders] Using Zinc with Flex

2005-04-12 Thread peter blazejewicz
Hi Scott, it sounds similar to Flex/Central integration: Flex application is hosted within Central shell and as source file during installation: [quote] Ok, Say you build a SWF thats got a few API classes in there that >interface to ZInc's FSCOMMAND level ones. > >Then using a loadMovie() approa

Re: [flexcoders] redraw DataGrid

2005-04-12 Thread Manish Jethani
On 4/12/05, Christoph Guse <[EMAIL PROTECTED]> wrote: > in my application there is a DataGrid in a Panel (panel1) with several > items in it. Under the DataGrid there is another panel (panel2) with a > box in it which becomes bigger, when an item in the DataGrid is clicked. > I resize the DataGri

Re: [flexcoders] Color in textArea

2005-04-12 Thread Manish Jethani
On 4/13/05, Tom Fitzpatrick <[EMAIL PROTECTED]> wrote: > I'm building strings for display in a textArea. Is there a way to > programmatically add color to selected portions of text? Yup. http://www.macromedia.com/2003/mxml"; xmlns="*" creationComplete=""> function doColor():Void

Re: [flexcoders] DataGrid column resizing

2005-04-12 Thread Manish Jethani
On 4/13/05, Paul Frantz <[EMAIL PROTECTED]> wrote: > > > > width="{app.width * .25}"/> > width="{app.width * .50}"/> > width="{app.width * .25}"/> >

Re: [flexcoders] MXML Components and using mx:Effect

2005-04-12 Thread Scott Barnes
Yup, sorry I knew all that anyway (I'm a vetran Flash MX 2004 monkey hehe) i was more looking for info on MovieClip vs Object under the hood. Haven't you all wondered or pondered as to what the significant difference between the two are? A MovieClip extends Object but what changes or difference d

Re: [flexcoders] Using Zinc with Flex

2005-04-12 Thread Scott Barnes
aye thought it was something along those lines (heh never really bothered to try out the FLEX + CENTRAL - yet. So that being said, surely ZInc is now allowable? i mean the two share if not very close to one another in terms of delivering FLEX swf...so if thats against EULA ...i'd like to see that

RE: [flexcoders] DataGrid column resizing

2005-04-12 Thread Paul Frantz
Thanks Manish.  I had to change the resize attribute to resize="doLater(app, 'setColumnSizes')" for it to work and it you can see it wrestling with flex for control of the widths when its drawing but its better than what I had :) Any other ideas? Cheers, Paul -Original Message-Fr

[flexcoders] Christophe Coenraets-Using Flex with iBatis

2005-04-12 Thread barclay_layman
Has anyone been able to get CC's Flex/iBatis example loaded correctly? I keep getting the same error after several different configs: Error /ibatis/restaurant.mxml:23 Don't know how to parse element "flex.samples.ibatis.*:RestaurantVO". It is not a known type or a property of mx.core.Application

[flexcoders] Debugging Flex Proxy

2005-04-12 Thread Ronald Kinion
Title: Debugging Flex Proxy Every now and then on our production boxes we have a problem where the application starts taking longer and longer to respond and all the threads get used up on our servers (using jboss 3.2.3).  If I do a thread dump I see a very large number of stack traces simil

Re: [flexcoders] Menu Label

2005-04-12 Thread nithya karthik
  Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now 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! G

Re: [flexcoders] MenuBar Label

2005-04-12 Thread nithya karthik
I use tab navigator container to display the category names and the menubar to display the subcategories under each tab.. the menu bar should appear if and only if there is any subcategory under the selected tab.. but the problm with my coe is that it displays a menubar with label- 'undefined

[flexcoders] Accordion headers and forms

2005-04-12 Thread Andrew Spaulding
Hi, If I have an Validation error in a form, what is the best way to show this in an accordion header? i.e. I would like to show which step is incomplete or contains incorrect information. Thanks, Andrew. http://www.flexdaddy.com Yahoo! Groups Links <*> To visit your group on the web

Re: [flexcoders] Accordion headers and forms

2005-04-12 Thread Scott Barnes
1) make the header blink (requires AS knowledge - which you have so don't lie! hehe). 2) Tooltip fires "theres something wrong inside here" type thing. 3) if its a final action and isn't dependent on one another, you could go to a different pod ie viewstack it if need be and put all the error co

RE: [flexcoders] MXML Components and using mx:Effect

2005-04-12 Thread Gordon Smith
I'd say that the most important differences between a MovieClip and a plain Object are the following: 1. A MovieClip has all kinds of properties (_x, _width, _visible, etc.) and methods (attachMovie(), loadMovie(), etc.) that an Object doesn't. 2. A MovieClip can't be created with the 'new' oper

RE: [flexcoders] DataGrid column resizing

2005-04-12 Thread Paul Frantz
To solve my own issue (at least after testing so far)...        function setColumnSizes():Void { datagrid.getColumnAt(0).__width = datagrid.width * 25 / 100; datagrid.getColumnAt(1

RE: [flexcoders] DataGrid column resizing

2005-04-12 Thread Paul Frantz
Bugger.  This should have been...   function setColumnSizes():Void { datagrid.getColumnAt(0).__width = datagrid.width * 25 / 100; datagrid.getColumnAt(1).__width = datagrid.width * 50 / 100; datagrid.getColumnAt(2).

Re: [flexcoders] MXML Components and using mx:Effect

2005-04-12 Thread Scott Barnes
hmm thanks for that gordon, I wonder if MM will ever allow us to do new MovieClip instead of createEmptyMovieClip etc.. i've seen some MovieClip.prototype workarounds for this but *sigh* ... anyway thanks for the info! :) On 4/13/05, Gordon Smith <[EMAIL PROTECTED]> wrote: > > I'd say that t

[flexcoders] Menubar control Anybody?

2005-04-12 Thread nithya karthik
I use tab navigator container to display the category names and the menubar to display the subcategories under each tab.. the menu bar should appear if and only if there is any subcategory under the selected tab.. but the problm with my coe is that it displays a menubar with label- 'undefined'

[flexcoders] Charts and fields

2005-04-12 Thread Mika Kiljunen
Hi, I ran into problem with charts. I have an object that contains another object and I need to make a chart using them. Let’s say that the object looks like this:   class com.mycom.myObjectX     {     public var myString:String;     public var myOtherObject:

[flexcoders] full screen panel.

2005-04-12 Thread Duccio Del Ministro
Hi flexcoders, i need some help!!! I'm trying to open a panel or a popup full screen. I've seen some flash sites using full screen mode and i'm wondering if we can do that in flex. Thanks Duccio Del Ministro ___ Nuovo Yahoo! Messenger: E' molto