Re: [flexcoders] MXML authoring with MyEclipse

2005-03-08 Thread Spike
You should be aware that for using schema aware editors that the schema that ships in the extras directory with Flex is actually incorrect in some areas. I know for sure that it is wrong with regard to the mx:operation tag, but there may be other places too. I asked a question about this on the

RE: [flexcoders] Question about multidimensional arrays

2005-03-08 Thread Tracy Spratt
You can also create it in mxml If you wish: Array of Objects:     Array of Arrays: One Two Three   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 11:43 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Questio

Re: Web Service Authentication

2005-03-08 Thread billheit
Yes, I was doing it differently. Before calling the send method, I was trying to set the credentials using the setUsernamePassword method. With the way you are doing it below, you can only set credentials if you get a fault 401 error. This means that the first cedentials that work will always

RE: [flexcoders] language support

2005-03-08 Thread Steve Pruitt
I retrieve the data from the database, serialize to xml, and send back as a webservice response.  I set my response content type to:       text/xml; charset=utf-8   But, I still had the problem.  Starting at the Java ends sounds like a good start.   Thanks.     -S From: Jonathan Bezuidenho

Re: [flexcoders] Hex Issue on a string to number cast?

2005-03-08 Thread Manish Jethani
On Tue, 8 Mar 2005 04:33:03 -0500, Rich Tretola <[EMAIL PROTECTED]> wrote: > I know that I can use a loop, I was just wondering why the default > behavior in actionscript is to automatically assume that testString is > hex and that testNumber evaluates to 64 in the sample below: [snip] It actuall

Re: One more time : Some guidance on debugging C airngorm apps. would be appreci

2005-03-08 Thread dduuggllaa
Ahhh gdb, near and dear to my heart. Ok. So can I run a Cairngorm app through fdb? -Douglass --- In flexcoders@yahoogroups.com, Eric Anderson <[EMAIL PROTECTED]> wrote: > Douglass, > > I'm jumping into this thread a little late, but have you seen this DevNet > article on configuring FDB and run

Extending custom components

2005-03-08 Thread adk365
Hello, I'm creating a scheduling system where users can drag events onto a weekly calendar and resize the events for how long they want to spend doing the activity. The events may be of many different types with different data/display needs, and so I'm creating a base clase, called schedule

Programmatic skin limitation

2005-03-08 Thread Joe Berkovitz
I'm encountering a weird problem with programmatic skinning. If I take the SampleRectBorder shipped by MM as is, it works fine. If I change the package name of the class from "sampletheme." to "com.allurent.theme.", however, the skin stops working and the default RectBorder takes over. compc do

Re: Web Service Authentication

2005-03-08 Thread t0mruggles
Hi Bill, I just retested your scenario and am unable to produce your results. Please see my code and service below. I've tried with 1.5 final and with both HS and WS and all work for me for a Flex app contacting an IIS secured resource hosted on a different server. Every time I run this file

Re: Property elements may not have attributes

2005-03-08 Thread t0mruggles
Could be because this tag is not closed. --- In flexcoders@yahoogroups.com, "Allen Manning" <[EMAIL PROTECTED]> wrote: > > Hello Flexcoders, > > I'm getting some strange errors after I have started developing on a > project that I haven't touched in a while. MXML wh

RE: [flexcoders] Question about multidimensional arrays

2005-03-08 Thread Gordon Smith
Title: Message You asked the "best way" so I'd use an Array of Objects, not an Array of Arrays:       var buttonData:Array = [ { label: "OK", visible: true }, { label: "Cancel", visible: false } ];   You'd access data as buttonData[0].label, etc. You could use this array as the dataProvider

Re: [flexcoders] Question about multidimensional arrays

2005-03-08 Thread nostra72
I take it I put everything on an AS file right

RE: [flexcoders] Hex Issue on a string to number cast?

2005-03-08 Thread Matt Chotin
When the first digit in a number (or a String being converted to a number) is 0 the Flash Player treats the numberas Octal.  We ended up putting special code in the MXML interpreter to leave “numbers” starting with 0 as strings to avoid the issue since most people are indicating ids or skus

RE: [flexcoders] Property elements may not have attributes

2005-03-08 Thread Allen Manning
I recycled my Java server (JRun) and the problem went away. From: Allen Manning [mailto:[EMAIL PROTECTED] Sent: 08 March 2005 16:24 To: flexcoders@yahoogroups.com Subject: [flexcoders] Property elements may not have attributes H

RE: [flexcoders] TabNavigator.

2005-03-08 Thread Tracy Spratt
Not inherently. Most Containers have a default vertical spacing that you would need to override with verticalGap="0". A TabBar in a repeater sounds like a great custom component. If you build one, please share it! Tracy -Original Message- From: Gareth Edwards [mailto:[EMAIL PROTECTED] S

RE: [flexcoders] Property elements may not have attributes

2005-03-08 Thread Matt Chotin
The first DataGridColumn is missing a closing slash on the tag. Matt _ From: Allen Manning [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 8:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Property elements may not have attributes Pri

Re: [flexcoders] Question about multidimensional arrays

2005-03-08 Thread JesterXL
// array var a:Array = [1, 2, 3];   // old-skool multi-dimensional array var ma:Array = []; ma[0] = []; ma[1] = [];   // a class for making MDArray's /*   #   #   #   # Mu

RE: [flexcoders] Question about multidimensional arrays

2005-03-08 Thread Tracy Spratt
Furthermore, you can make an array of objects, where the objects are the 2nd dimension.  This is the list controls favorite food.   One way to think of an Object is as an“associative array” or hash table.   Heck, you can do just about anything with AS arrays.   Tracy   From:

Re: DataGrid event childIndexChanged not firing

2005-03-08 Thread greenfishinwater
Change worked, and is what I wanted. I had assumed that change was an event related to editing the contents of a datagrid cell. I should read the documentation more. Andrew --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > change > > -Original Message- >

Property elements may not have attributes

2005-03-08 Thread Allen Manning
Hello Flexcoders, I'm getting some strange errors after I have started developing on a project that I haven't touched in a while. MXML which worked before, now throws errors. I'm going to look into the log to see if I can catch anything... TIA This valid MXML :

RE: [flexcoders] Question about multidimensional arrays

2005-03-08 Thread Tracy Spratt
Since Arrays are objects, you just create an array of arrays. For a simple 2 dimensional array, you can even access the elements like this: aMyArray[n][n], so aMyArray[0][0] would be the first “row”, the first “column” in that row”.   Note: you can’t create elements using this syntax.  Yo

need help about _accProps

2005-03-08 Thread Doodi, Hari - BLS CTR
Hi all, I am trying to allow my users to access screen UI component thru KeyBoard. In order to do that I am using _accProps property of UI components (according to macromedia livedocs). Actually I got the following code from macromedia live docs http://livedocs.macromedia.com/flex/15/

Re: One more time : Some guidance on debugging Cairngorm apps. would be apprecia

2005-03-08 Thread dduuggllaa
I should be good to go. I followed that link and Macromedia claims I do indeed have the debug player version 7,0,35,29. --- In flexcoders@yahoogroups.com, "Dirk Eismann" <[EMAIL PROTECTED]> wrote: > Hi Douglass, > > sounds as if you don't have the Debug Player installed that comes with Flex. You

Re: [flexcoders] Re: One more time : Some guidance on debugging Cairngorm apps. would be apprecia

2005-03-08 Thread Joe Berkovitz
FlexBuilder has a Debug command or tab. When using FlexBuilder to debug (rarely, since I usually use fdb), I have always viewed the application by using FlexBuilder's Debug command. I don't know if FlexBuilder can debug an app that's been run by entering a debugging URL by hand in a browser. d

RE: [flexcoders] precompile mxml

2005-03-08 Thread Dennis Baldwin
Jim,   I'm not sure what you're trying to do but if you look in your Flex install dir under bin there's a command line compiler.  In it's simplest form the syntax is:   mxmlc flex_file.mxml   If this doesn't help please elaborate a little more and maybe we can help you find a solution.   R

RE: [flexcoders] Re: One more time : Some guidance on debugging C airngorm apps. would be apprecia

2005-03-08 Thread Eric Anderson
Douglass, I'm jumping into this thread a little late, but have you seen this DevNet article on configuring FDB and running the command line debugger? http://www.macromedia.com/devnet/flex/articles/client_debug_08.html Using the debug=true in your URL actually tells the Flex compiler to produce a

RE: [flexcoders] Re: One more time : Some guidance on debugging Cairngorm apps. would be apprecia

2005-03-08 Thread Dirk Eismann
Hi Douglass, sounds as if you don't have the Debug Player installed that comes with Flex. You can check it here: http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_15507 The latest Flex Debug player is 7,0,35,29 Debug. To install the Debug player check the /bin directory of your F

Question about multidimensional arrays

2005-03-08 Thread nostra72
I have heard its impossible to make a multidimensional array in Flex ifthis is the case whats the best alternative. Like say you want to make an array of buttons say and you want one dimention to be the label and anotherto be the visiblity whats the best way to go about it?

Re: One more time : Some guidance on debugging Cairngorm apps. would be apprecia

2005-03-08 Thread dduuggllaa
Steve, True, my question is not Cairngorm specific. I'm just scratching my head here trying to find the right incantation to debug a garden variety Flex app. The following scenerio is for trivial Flex application: I entered the following URL: http://localhost:8080/flex/play/helloFlex/helloFlex.

Extending a custom component

2005-03-08 Thread Aaron King
Hello, I'm creating a scheduling system where users can drag events onto a weekly calendar and resize the events for how long they want to spend doing the activity. The events may be of many different types with different data/display needs, and so I'm creating a base clase, called scheduleItem,

RE: [flexcoders] One more time : Some guidance on debugging Cairngorm apps. would be appreciated.

2005-03-08 Thread Steven Webster
> > Can someone please clarify how I enable debugging of a > Cairngorm app built in FlexBuilder? > Can you debug a non-Cairngorm application? Are you aware of the current issue with Flex Builder that means if you use the CairngormApplication tag you can't preview your application. If you are

One more time : Some guidance on debugging Cairngorm apps. would be appreciated.

2005-03-08 Thread dduuggllaa
Can someone please clarify how I enable debugging of a Cairngorm app built in FlexBuilder? I entered the following URL: http://localhost:8080/turner/play/Index.mxml?debug=true Up pops a dialog saying: Where is the Flash debugger host running? (*) Localhost ( ) Other Machine Enter IP address [ ]

RE: [flexcoders] Re: Installing Flex under CFMX7

2005-03-08 Thread Benoit Hediard
It looks like you cannot install CFMX7 and Flex under the same context root

MXML authoring with MyEclipse

2005-03-08 Thread Benoit Hediard
Hi everyone,   Most of the people using Eclipse for their MXML authoring are using OxygenXML plugin : http://www.oxygenxml.com/ http://www.rocketboots.com.au/blog/index.cfm?mode=entry&entry=29748A02-E081-51EF-A76F3A9D8308A716   But oxygen XML editor is expensive ($48/$128) and if you're into

Re: Performance testing Flash-J2EE applications

2005-03-08 Thread Daniel Harfleet
Madhu, have you seen this article, it may help http://www.macromedia.com/devnet/flex/articles/amf_perftest.html dan --- In flexcoders@yahoogroups.com, "t_msreddy" <[EMAIL PROTECTED]> wrote: > > Hi > I am trying to test the performance of my application which involves > flex mxml, action

Re: [flexcoders] TabNavigator.

2005-03-08 Thread Gareth Edwards
Wouldnt that put a space between each tab row? On Mon, 7 Mar 2005 09:34:32 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > try using the tabBar and the repeater tag. > -Art > > Quoting Gareth Edwards <[EMAIL PROTECTED]>: > > > Unfortunately around 30 tabs is as specific as we can get a

Re: [flexcoders] Hex Issue on a string to number cast?

2005-03-08 Thread Rich Tretola
Thanks, I know that I can use a loop, I was just wondering why the default behavior in actionscript is to automatically assume that testString is hex and that testNumber evaluates to 64 in the sample below: var testString 0100:String; var testNumber = Number(testString); Rich On Tue, 8 Mar 20

Re: [flexcoders] problem with RemoteObject and Flash Remoting

2005-03-08 Thread Alessio Prosperi
Title: Message Hi Peter,   I have checked the Flash Remoting version on the production server:     Manifest-Version: 1.575330Main-Class: gateway.57533controller.57533Gateway Sealed: falseImplementation-Vendor: "Macromedia"Implementation-Version: "1.575330.57533"Implementation-Title: "Macrome

RE: [flexcoders] Cairngorm view helpers and dynamic loading of content

2005-03-08 Thread Michael Herron
Hi Jimmy,   I wasn’t actually aware of the unregisterView method on the view helper! After adding this, the problem seems to be solved (cheers Steven). From: Dimitrios Gianninas [mailto:[EMAIL PROTECTED] Sent: 07 March 2005 13:55 To: [EMAIL PROTECTED] Subject: RE: [flexcoders]

Re: Web Service Authentication

2005-03-08 Thread billheit
Yes I had the problem in 1.0. Then I upgraded to 1.5, hoping to fix the problem, but it didn't. I am still having the same issue. It seems that what ever credentials are first used to log into the web service are then continued to be used until the Flex server is bounced. Bill --- In flexcod

Re: [flexcoders] Hex Issue on a string to number cast?

2005-03-08 Thread Manish Jethani
On Mon, 7 Mar 2005 15:16:02 -0500, Rich Tretola <[EMAIL PROTECTED]> wrote: > I have a text input that I am using as a free input field for a > number. I have it restricted to 0-9 characters and am casting it to a > number when setting the value to my object. The problem is that if > someone enters

RE: [flexcoders] Passing value to custom validator

2005-03-08 Thread Matt Chotin
Validators can’t take binding expressions as values.  The easiest thing to do is write a simple Validator with a custom handler that will confirm the password and confirm_password are equal.   Something like this:       Function checkConfirm(validator: mx.validators.Validator)   {

RE: [flexcoders] Associative array as dataProvider

2005-03-08 Thread Matt Chotin
Title: Associative array as dataProvider You can’t really use an associative array as a dataProvider.  You’ll need to create a real array andthen create the two fields as appropriate.   If you’re passed the associative array and can’t just change what you have, you could do this:   goDa

Re: [flexcoders] Equivalent to Thread.sleep()

2005-03-08 Thread Manish Jethani
On Tue, 8 Mar 2005 00:05:53 +0200, Shlomi Cohen <[EMAIL PROTECTED]> wrote: > as far as i know - async can only be implemented in threads otherwise its > synchronous , so what is the limitation exactly ? No, actually asynchronous and threads are different things. Maybe the Flash Player does use a

Re: [flexcoders] Associative array as dataProvider

2005-03-08 Thread Manish Jethani
On Mon, 7 Mar 2005 19:49:02 -0500, Tracy Spratt <[EMAIL PROTECTED]> wrote: > I have an associative array in a variable created like so: > > goData = new Object(); > > var oData:Object; > > for ( var i:Number=0; i<5; i++ ) { > > oData = new Object({name:"Name of item " + i}) > > goData["k

precompile mxml

2005-03-08 Thread Jim Miao
  hello all,       Can I precompile mxml by request the url by my servlet, Just like precompile jsp?     If Can, what/how should I do?   Jim Miao   Tel:86-512-62510268-800

Re: [flexcoders] Re: Flex App version in central

2005-03-08 Thread Rich Tretola
Is the lifetime property of the product.xml file the frequency that it checks for new version ? On Mon, 7 Mar 2005 10:16:34 -0800, Joan Tan <[EMAIL PROTECTED]> wrote: > > Rich, > > There is no way to trigger checking for an update in AS for Central. Central > will automatically check for updat

Re: [flexcoders] Equivalent to Thread.sleep()

2005-03-08 Thread Dave Carabetta
On Mon, 7 Mar 2005 15:29:15 -0500, Carson Hager <[EMAIL PROTECTED]> wrote: > > I understand that it's a web application but that's hardly any excuse. > Nothing in the Java or .NET world requires you to handle web service calls > asynchronously. This is unique to Flash/Flex. > Couldn't you put

RE: [flexcoders] Re: DataGrid event childIndexChanged not firing

2005-03-08 Thread Gordon Smith
It really shouldn't be in the documentation. The 'childIndexChanged' event is technically inherited but not used by DataGrid. The rows of a DataGrid are implemented as being view children. You should be using the 'change' event. - Gordon -Original Message- From: greenfishinwater [mailto:

Associative array as dataProvider

2005-03-08 Thread Tracy Spratt
Title: Associative array as dataProvider I have an associative array in a variable created like so:     goData = new Object();     var oData:Object;     for ( var i:Number=0; i<5; i++ )  {         oData = new Object({name:"Name of item " + i})         goData["

Re: [flexcoders] Re: random flexcoders notes

2005-03-08 Thread Rich Tretola
I use gMail for my flex coders list as well as all of my other lists and searching is a breeze. Rich

RE: [flexcoders] Re: ViewStack change using separate mxml file

2005-03-08 Thread Gordon Smith
I'd guess that your problem is that somechild2 doesn't exist at the time your code is executing, because of a feature known as "deferred instantiation" that minimizes application startup time. You need to ensure that code populating somechild2 executes after it exists. For example, you could use th

Debugging Cairngorm apps builts with FlexBuilder. Please clarify.

2005-03-08 Thread dduuggllaa
Can someone please clarify how I enable debugging of a Cairngorm app built in FlexBuilder? I entered the following URL: http://localhost:8080/turner/play/Index.mxml?debug=true Up pops a dialog saying: Where is the Flash debugger host running? (*) Localhost ( ) Other Machine Enter IP address [ ]