Re: [flexcoders] Flex 2.0 Dashboard Project

2006-03-05 Thread Sreenivas R
Hi Sergio, You can find a good tutorial about charts in Flex 1.5 here http://www.macromedia.com/devnet/flex/articles/charting.html -Sreenivas On 3/4/06, sergiosergiomon [EMAIL PROTECTED] wrote: Hello everyone!I had already posted here asking for a tutorial on how to build adashboard like the

[flexcoders] AS3 :: RegExp :: String constructor taking out \s slasshes etc.

2006-03-05 Thread Teoti Graphix
Hello, I am here using regular expressions and for some reason didn't relaize that when you create an _expression_ like : var packages:String = '^\s*(package\s(.*){)'; pattern:RegExp = new RegExp(packages, g); will trace : /^s*(packages(.*){)/g Notice where the ^s are together, there

Re: [flexcoders] eval gone in AS3, how to get reference to movieclip via target name?

2006-03-05 Thread Tom Bray
I have a question that's almost related.In AS3, how can I instantiate a class, com.foo.MyClass, using the string com.foo.MyClass? The reason I ask is that I'd like to load an XML file and use it to dynamically create components at runtime. Something like this: components component

[flexcoders] GUI testing best practices

2006-03-05 Thread Michael Klishin
Hi, With FlexUnit for Flex 2 have been realised recently I have to ask once again... How do you think, what are the best ways to test GUI in MVC driven Flex application? Regards. -- Michael Antares Klishin, Email: [EMAIL PROTECTED] Web: www.novemberain.com Non progredi est regredi --

Re: [flexcoders] Parsing Unterminated xml elements in Flex 2.0 Beta

2006-03-05 Thread Daniel Nelson
Thanks for the response Matt. I tried the legacy XMLDocument class, but it was a no go and got the same errors. Oh well, I will just have to catch these errors and parse the unterminated nodes manually. -Dan On 3/4/06, Matt Chotin [EMAIL PROTECTED] wrote: I don't think we allow invalid XML

Re: [flexcoders] AS3 Date month starting at 0?

2006-03-05 Thread Peter Hall
Ah... I should probably read the entire thread sometimes, rather than just jumping in the middle! :-) Peter On 3/4/06, Gordon Smith [EMAIL PROTECTED] wrote: Yes, but that's not what the code I commented on was doing. It was doing new Date(2006, 03, 22); I was simply

[flexcoders] getStyle and Alpha for programmatic skins

2006-03-05 Thread Jono Spiro
Preface: I'm extending a RectBorder and am trying to paramterize the coloring, etc., and have one problem with two ways to go about it -- neither of which I can figure out. In one sense this is a more general problem... Problem: In a programmatic skin I'm writing, I cannot get access to the

Re: [flexcoders] [AS3][E4X] Node access problem due to - char

2006-03-05 Thread Carlos Rovira
Hi Matt and Gordon,Thanks for clarification it sounds reasonable.On 3/5/06, Gordon Smith [EMAIL PROTECTED] wrote: It sounds like you are asking why myXML.some-node doesn't give you what you wan. The answer is that it is actually a subtraction: myXML.some - node

Re: [flexcoders] [AS3][E4X] Node access problem due to - char

2006-03-05 Thread Peter Hall
You can also access these properties with the syntax: myXML.child(some-node); myXML.descendents(some-node); myXML.attribute(some-attr); // or [EMAIL PROTECTED]some-attr]; // or myXML[@some-attr]; To replace the ., .. and .@ operators respectively. Peter On 3/4/06, Matt Chotin [EMAIL

[flexcoders] Custom Item Renderer needs to know about parent

2006-03-05 Thread svolix
One of the components in my main application is a TileGrid. I have a custom cell renderer called a PostThumbnail which I set as the listitemrenderer property of the TileGrid. The problem is that my main application defines several public functions which each instance of a PostThumbnail needs to

[flexcoders] ArrayContainer trouble

2006-03-05 Thread svolix
I'm storing instances of a custom component called a Post into an ArrayContainer, which I'm using as a data provider for another component built to store and visually render all Posts. Unfortunately, the compiler gives me an error on the following code: var myPost:Post =

[flexcoders] DataGridColumn sortCompareFunction (Flex 2 Beta 1)

2006-03-05 Thread Harald Dehn
Hello, I do have some problemens with a custom sort compare function in a DataGrid. In the Columnn I like to sort birthdates of persons. Regarding the manunal the callback function should have the following signature mySortCompareFunction(obj1 : Object, obj2 : Object, columnIndex :

[flexcoders] graphics.lineTo and anti-aliasing

2006-03-05 Thread Jono Spiro
Does anyone know of a way to turn off anti-aliasing of graphically drawn things -- lines, circles, etc.? (in particular, when drawn at angles) I tried messing with the parameters to lineTo so it wouldn't scale, round, or draw more than a hairline*, but I still cannot solid color, aliased pixels

[flexcoders] Flex 2 browser UI for Java app

2006-03-05 Thread apeonaut
I have a console based, desktop network management app written in Java... I'd like to build Flex 2 browser-based GUI for this desktop app but I don't want to use Enterprise Services (or any commercial middleware layer) to communicate with this app (due to deployment license) The reason for

Re: [flexcoders] GUI testing best practices

2006-03-05 Thread Johannes Nel
as the guys from adobe has stated on this list before they are currently in some prerelase alpha or beta testing stage of a product for this. search the archives for mecury On 3/4/06, Michael Klishin [EMAIL PROTECTED] wrote: Hi,With FlexUnit for Flex 2 have been realised recently I have to ask

Re: [flexcoders] getStyle and Alpha for programmatic skins

2006-03-05 Thread Teoti Graphix
Hello, Your aware that alpha values in AS3 are from 0 to 1 ? When you say; Regardless of the value, it seems that if you set the alpha of a VBox, it applies it to the skin anyway, whether you want to override the behavior or not. When you set the alpha of any instance it effects the

RE: [flexcoders] ArrayContainer trouble

2006-03-05 Thread Jason Hawryluk
depending on your "post". I would think that. var myPost:Post = Post(allPosts.getItemAt(index)); would normaly cast it to it's proper type... Make sure that you import your class befor using it. As i'm assuming you have. Jason -Message d'origine-De:

Re: [flexcoders] datagrid filter

2006-03-05 Thread Vadim Melnik
Hi Manish, For Flex 1.5, I had written a FilteredDataProvider class that I've lost the source to. Maybe someone on the list has it. It's temporary uploaded to http://www.docsultant.com/temp/filtdp.zip , and will be removed with time... -- Thanks, Vadim. - Original Message -

[flexcoders] Re: Flex and URL variables

2006-03-05 Thread yaagcur
http://livedocs.macromedia.com/flex/20beta1/docs/1300.html covers this topic However, although it works if you pass the URL as a .swf, if you try .html (which is presumably what you want) then it fails Hope someone can explain how to do this in Flex 2.0 as it would be a great feature Andy

RE: [flexcoders] Flex 2.0 Dashboard Project

2006-03-05 Thread Ely Greenfield
Hi Sergio. I wrote a tutorial for the 1.5 charts on devnet a while back. You can find it here: http://www.macromedia.com/devnet/flex/articles/charting.html I would strongly encourage you to build your dashboard using Flex 2.0, if the option is available to you. While much has changed between

[flexcoders] gradients on boxes or panels?

2006-03-05 Thread Jono Spiro
Short of writing a skin (which is what I've been resorting to rather often these days) -- is there a way to add a gradient to a VBox, for instance? Neither the internet, nor the docs, nor this list have been able to provide any example of it... :-/ Cheers, Jono -- Flexcoders Mailing List FAQ:

[flexcoders] Flex 2 socket interface

2006-03-05 Thread apeonaut
Note to moderator: this is an update of a previous message that for some reason did not get sent to the group. Hi I have a console based, desktop network management app written in Java. I'd like to build Flex 2 browser-based GUI for this desktop app but I don't want to use Enterprise

[flexcoders] Overlapping click regions

2006-03-05 Thread svolix
One of my custom components extends the Canvas and has a button on it. Both the canvas and button are rigged to activate seperate functions when clicked. I've called them canvasClicked() and buttonClicked(). Now, clicking on the canvas where the button isn't triggers the canvasClicked()

Re: [flexcoders] AS3 :: RegExp :: String constructor taking out \s slasshes etc.

2006-03-05 Thread Peter Hall
The slashes are being removed when you use them in a string literal. Did you try a regexp literal? var pattern:RegExp = /^\s*(package\s(.*){)/g; Otherwise, it's double slashes... Peter On 3/5/06, Teoti Graphix [EMAIL PROTECTED] wrote: Hello, I am here using regular expressions and for

[flexcoders] Bruce Eckels on Flex 2

2006-03-05 Thread Carlos Balacuit
In an interview with Bruce Eckel (author of the books Thinking in C++ and Thinking in Java ), he talks about his positive experience with experimenting with Flash and Flex 2. You can hear this interview on the Java Posse podcast, episode #37 Interview with Bruce Eckel, Part 2 at

Re: [flexcoders] Bruce Eckels on Flex 2

2006-03-05 Thread Abdul Qabiz
Cool! I knew Bruce on this list is the one Bruce Eckel, I even asked...-abdulOn 3/6/06, Carlos Balacuit [EMAIL PROTECTED] wrote:In an interview with Bruce Eckel (author of the books Thinking in C++ and Thinking in Java ), he talks about his positive experiencewith experimenting with Flash and

Re: [flexcoders] AS3 :: RegExp :: String constructor taking out \s slasshes etc.

2006-03-05 Thread Teoti Graphix
Hi Peter, Yeah, hehe no newbie here, just curious about the slashes, and you string literal just popped the answer for me. It has nothing to do with the regexp just the string literal ;-) Thanks for the reply. Peace, MikeOn 3/5/06, Peter Hall [EMAIL PROTECTED] wrote: The slashes are being

Re: [flexcoders] Re: Flex and URL variables

2006-03-05 Thread Abdul Qabiz
You mean, if you try to pass variables to a html page that embeds the SWF?http://myserver/myflexapp.html?foo=barI think, then you can use _javascript_ to extract query-string variables and pass it to SWF using ExternalInterface or using flashvars (if your embedding SWF using JS itself).

[flexcoders] Re: Detecting Client Country or Location

2006-03-05 Thread Dan
Thank you so much, Martin and Micheal, I will have a look at GeoIP!!! Dan --- In flexcoders@yahoogroups.com, Michael Klishin [EMAIL PROTECTED] wrote: Dan wrote: hi, As Actionscript can detect the OS version of the client machine, is there any way that a flex application can detect

Re: [flexcoders] Stop the logging

2006-03-05 Thread Jeff Krueger
Thanks- Original Message From: Matt Chotin [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Thursday, March 2, 2006 10:23:46 PMSubject: RE: [flexcoders] Stop the logging web-inf/flex/gateway-config.xml is where the Remoting logging would be. This is 1.5 right? If you’re talking

Re: [flexcoders] Re: Detecting Client Country or Location

2006-03-05 Thread Paul Hastings
also maybe this? http://sourceforge.net/projects/javainetlocator/ -- 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

Re: [flexcoders] Re: Flex and URL variables

2006-03-05 Thread Abdul Qabiz
Oops! there are few errors in code I sent. I forgot to remove exteds Proxy from QueryString class.Please hold on, I would send another mail in a while.-abdul On 3/6/06, Abdul Qabiz [EMAIL PROTECTED] wrote: Hi,I wrote a somple QueryString class in AS3, that would get you parameters passed to

Re: [flexcoders] Flex 2: determine scaled dimensions of Loader content?

2006-03-05 Thread Samuel Reuben
contentHeight and contentWidthis returning the original values 50, 50. So it is a bug, I'll file one. Thanks Tom, -sam On 3/3/06, Matt Chotin [EMAIL PROTECTED] wrote: I believe that contentWidth/Height are supposed to return the scaled values, not the original values. So that might be a

Re: [flexcoders] Overlapping click regions

2006-03-05 Thread Sreenivas R
The canvas gets the click event because of the event bubbling. You can handle the situation in two ways. In canvasClicked you can check the event.target to be the canvas only before taking any action. You can callevent.stopPropagation() in the button click handler to prevent the event from

Re: [flexcoders] Flex 2: determine scaled dimensions of Loader content?

2006-03-05 Thread Samuel Reuben
At the same time if contentHeight and contentWidth are taken a little after complete it shows that scaled values. So this is a workaround. -sam On 3/6/06, Samuel Reuben [EMAIL PROTECTED] wrote: contentHeight and contentWidthis returning the original values 50, 50. So it is a bug, I'll file

RE: [flexcoders] Custom Item Renderer needs to know about parent

2006-03-05 Thread Matt Chotin
Well you should have a parentApplication property which should already work... Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of svolix Sent: Sunday, March 05, 2006 2:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom Item

RE: [flexcoders] gradients on boxes or panels?

2006-03-05 Thread Matt Chotin
Create a SWF that has the gradient and embed it, then set it as the backgroundImage. That's what we do for the Application I think. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jono Spiro Sent: Sunday, March 05, 2006 1:36 PM To:

RE: [flexcoders] getStyle and Alpha for programmatic skins

2006-03-05 Thread Matt Chotin
Yes alpha is a property that runs from 0 to 1. All of the other alphas (backgroundAlpha for example) are done as styles with the same 0 to 1 range. As for creating skins with arguments in the constructor, we really dont support it, it has to be no-arg. We dont have a general mechanism

RE: [flexcoders] eval gone in AS3, how to get reference to movieclip via target name?

2006-03-05 Thread Matt Chotin
getClassByBame will return the Class, then you can use new on it. Make sure you have any class that youd want to instantiate linked in by having a typed variable for it though Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Bray

[flexcoders] Re: Bruce Eckels on Flex 2

2006-03-05 Thread pk_wasp
At What point those he talk about Flex? (the mp3 is quite long lol) cheers --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Cool! I knew Bruce on this list is the one Bruce Eckel, I even asked... -abdul On 3/6/06, Carlos Balacuit [EMAIL PROTECTED] wrote: In

RE: [flexcoders] Re: Bruce Eckels on Flex 2

2006-03-05 Thread Matt Chotin
My player didn't have the clock showing but I think it was about 10 mins in? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pk_wasp Sent: Sunday, March 05, 2006 10:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Bruce Eckels on