Re: [flexcoders] NaN

2005-08-01 Thread Manish Jethani
On 8/2/05, Ghislain Simard <[EMAIL PROTECTED]> wrote: > The following condition doesn't see the NaN...why ? and how to make > the condition working? > > if (myField == NaN){ > dosomething; > } Use this: if (isNaN(myField)) ... There's some interesting things about NaN. See this post, for

[flexcoders] Re: Loading mxml Components

2005-08-01 Thread Andrew Spaulding
There have been multiple attempts at things like this from some talented Flex/Flash developers on the list. I tried to combine these attempts some time ago and havent looked at it since (back when I first started with Flex and Actionscript, so it is probably a bit sloppy). Take a look at it, it mi

RE: [flexcoders] Loading mxml Components

2005-08-01 Thread Mehdi, Agha
Title: Loading mxml Components Great. Thanks a bunch Matt. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt ChotinSent: Monday, August 01, 2005 9:54 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Loading mxml Components You can start here: http://

RE: [flexcoders] Loading mxml Components

2005-08-01 Thread Matt Chotin
Title: Loading mxml Components You can start here: http://manish.revise.org/2005/04/resizable-titlewindow-in-flex.html   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Monday, August 01, 2005 9:45 PM To: 'flexcoders@y

Re: [flexcoders] setFocus is evil

2005-08-01 Thread JesterXL
Title: Loading mxml Components Old skool way was to use the text name.  You can use the built in setFocus, which originally was just a wrapper to Selection.setFocus.   As for setSelection:   Selection.setSelection(0, myText_txt.length);   That always has to occur after setFocus, not before

RE: [flexcoders] Loading mxml Components

2005-08-01 Thread Mehdi, Agha
Title: Loading mxml Components Hi Matt,   Yeah, I realized after posting my thread that we have PopUp Managers to do that sort of thing. But now I'm stuck at another problem. I am creating TitleWindow as a popup. How can I make it so that users can resize/minimize/maximize it?   Thanks   Ag

[flexcoders] Re: NaN

2005-08-01 Thread Andrew Spaulding
Hehe thanks matt, i had no idea, but thought I'd throw something up :p --- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote: > Actually you need to use isNaN(myField) :-) > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTEC

RE: [flexcoders] Re: NaN

2005-08-01 Thread Matt Chotin
Actually you need to use isNaN(myField) J   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Andrew Spaulding Sent: Monday, August 01, 2005 9:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: NaN   NaN stands for Not a Number, an

[flexcoders] Re: NaN

2005-08-01 Thread Andrew Spaulding
NaN stands for Not a Number, and it is a String. So to correct you "if" statement you would have to check (myField == "NaN"). ** at least i think its a string haha, can't remember :p Hope that helps, Andrew www.flexdaddy.info --- In flexcoders@yahoogroups.com, "Ghislain Simard" <[EMAIL PROTECT

[flexcoders] NaN

2005-08-01 Thread Ghislain Simard
I have in the NetConnectionDebugger a field with a value of NaN. The following condition doesn't see the NaN...why ? and how to make the condition working? if (myField == NaN){ dosomething; } Yahoo! Groups Sponsor ~--> http://us.ard.yahoo.com/SIG

RE: [flexcoders] Loading mxml Components

2005-08-01 Thread Matt Chotin
Title: Loading mxml Components You can tell the Panel instance to createChild and pass in the MXML component you want it to instantiate.  I’m assuming you want to do this programmatically, this isn’t a Panel containing a single kind of component that you could easily write in MXML?  When

RE: [flexcoders] namespace/directory structure issue

2005-08-01 Thread Matt Chotin
Sorry, the image embedding is going to be relative from the main file.  You MIGHT be able to do /assets (starting slash) but we do not have a search path for image locations I think.   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jaime Bermud

RE: [flexcoders] Re: broadcasting to a sub-component

2005-08-01 Thread Matt Chotin
Why not have the zone id stored in a variable in your Application and then use binding to assign it through to your components?  When the selection changes simply update the value in the Application and everything will propagate through?  Make sure that you cast your application appropria

RE: [flexcoders] Custom event & inheritance

2005-08-01 Thread Matt Chotin
All [Event] metadata is inherited by the subclass so you shouldn’t have any problems.  But you can’t dispatch the event, you have to have it declared on the class definition for MXML to pick it up.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] O

RE: [flexcoders] setFocus is evil

2005-08-01 Thread Mercer, Dustin
Title: Loading mxml Components Ok got it.  You have to use the selection object.  Here is the code (Straight from Flash MX 204 LiveDocs http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=1659.html ) :   this.createTe

RE: [flexcoders] setFocus is evil

2005-08-01 Thread Mercer, Dustin
Title: Loading mxml Components Stacy,   I have had this problem as well L  I am sad to say, I hate the focus manager.  Ok that was a little harsh… but none the less, it has its’ issues.  There is a way to set the position of the caret though (Set the start index of the caret as well as

[flexcoders] setFocus is evil

2005-08-01 Thread Stacy Young
Title: Loading mxml Components Tiny problem but it’s still driving me nuts. I’ve got a viewstack that’s changed based on a users selection. Each time a container within that stack is viewed an initialization script is run to populate form elements. At the end of the process I’m using setF

[flexcoders] Loading mxml Components

2005-08-01 Thread Mehdi, Agha
Title: Loading mxml Components Hi all, I need to create a panel control and load another mxml component into that and partially lay the panel on top of the current app. How do I go about doing that? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax:   408.284.276

Re: [flexcoders] Hope all is watching the Avalon space..

2005-08-01 Thread Aldo Bucchi
Scott, Reckon your point. OS is not magic, and is usually far from optimal. No one will invest serious time if it is competing with the job that pays their bills. But in some cases it can make a difference... I believe that in this particular case the success probability is higher that average. L

Re: [flexcoders] Hope all is watching the Avalon space..

2005-08-01 Thread JesterXL
Amen. If Laszlo utilized MTASC instead of JGenerator, replaced JavaScript with AS2, then maybe it wouldn't suck. - Original Message - From: "Scott Barnes" <[EMAIL PROTECTED]> To: Sent: Monday, August 01, 2005 5:40 PM Subject: Re: [flexcoders] Hope all is watching the Avalon space.. G

Re: [flexcoders] Hope all is watching the Avalon space..

2005-08-01 Thread Scott Barnes
Great read aldo, weighed up some nice arguments. My only thoughts are - aren't you putting a little too much faith in Open Source champions? ie i've seen quite a few wave the "open source banner" which is fine, but initially after the hype has gone and the champions have moved onto other projects

Re: [flexcoders] Hope all is watching the Avalon space..

2005-08-01 Thread JesterXL
Macromedia makes bling from licensing their Flash Player for devices, so yes, they do make direct money from it.   - Original Message - From: Rick Bullotta To: flexcoders@yahoogroups.com Sent: Monday, August 01, 2005 4:16 PM Subject: RE: [flexcoders] Hope all is watching the Avalon

Re: [flexcoders] Hope all is watching the Avalon space..

2005-08-01 Thread Aldo Bucchi
Great Rick, . You even corrected the typo!... now that's called synchrony. Glad to see SAP is on this track, I will bet hard on you guys. I agree I was a little too hard on Flex, I was just trying to cut the I-love-flex bias from the conversation... After all, this is flexcoders ;) And for the se

[flexcoders] Re: broadcasting to a sub-component

2005-08-01 Thread Ghislain Simard
In our apps, we would like to refresh all the values in all related forms based on a selected ID from a list. Each time we select a zone ID, all the children components must change their values. I haven't figured out how to do so. Can you please help me…I feel that I must use the Dispatching

RE: [flexcoders] Hope all is watching the Avalon space..

2005-08-01 Thread Rick Bullotta
Hi, Aldo!   I would certainly view Flex as more than a “browser built in Flash” – it is server-side generated Flash.  Quite a different architecture, of course  Also, I wouldn’t say that Flex deals with “enterprise development workflow”, per se.  Just a piece of the puzzle.   While Fl

Re: [flexcoders] Hope all is watching the Avalon space..

2005-08-01 Thread Aldo Bucchi
Hi guys, I believe you are missing the macro perspective here. Don't give Flex that much importance in the long term. After all it is just a browser built into Flash, with a set of tools to allow an enterprise development workflow. It won't be long till an opensource alternative pops up... it's j

Re: [flexcoders] Setting selectedIndex, selection off screen

2005-08-01 Thread JesterXL
Set the vPosition. You can also scroll to the bottom setting the vPosition to the maxVPosition. - Original Message - From: "Stacy Young" <[EMAIL PROTECTED]> To: Sent: Monday, August 01, 2005 1:50 PM Subject: [flexcoders] Setting selectedIndex, selection off screen Any tips on auto

RE: [flexcoders] Setting selectedIndex, selection off screen

2005-08-01 Thread Stacy Young
Deepa, u rock as usual. Gracias.   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Deepa Subramaniam Sent: Monday, August 01, 2005 2:00 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Setting selectedIndex, selection off screen  

RE: [flexcoders] Setting selectedIndex, selection off screen

2005-08-01 Thread Deepa Subramaniam
Set the vPosition property on your List control to the selectedIndex to have the visible area of the List jump to that particular selection. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy Young Sent: Monday, August 01, 2005 10:51 AM To:

[flexcoders] Setting selectedIndex, selection off screen

2005-08-01 Thread Stacy Young
Any tips on auto scrolling a list to show currently selected item? I've got a long list on which I'm setting the selected index which, at times, is off the screen. Thx! Stace Yahoo! Groups Sponsor ~--> http://us.ard.yahoo.com/SIG=12h7amb76/M=362131.

RE: [flexcoders] where can i access previous emails to this list?

2005-08-01 Thread Sauro, Nick
*slaps self*  thanks again lol, still shaking off the Monday dust.   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin Sent: Monday, August 01, 2005 12:12 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] where can i access p

RE: [flexcoders] where can i access previous emails to this list?

2005-08-01 Thread Matt Chotin
Check the bottom of these emails J   FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro, Nick

Re: [flexcoders] where can i access previous emails to this list?

2005-08-01 Thread chris.alvarado
> Where is the archive of this group? I need to look up an answer to a > question someone previously posted about setting column width's in data > grid, and I don't want to re ask it(unless someone knows the answer off the > top of their head J ) . > > > > Anyways, if someone can post that

[flexcoders] where can i access previous emails to this list?

2005-08-01 Thread Sauro, Nick
Hey guys, thanks matt for helping me w/ that packaging problem, it worked.  As it turned out, it didn’t’ like the xmlns=”*”.   Where is the archive of this group?  I need to look up an answer to a question someone previously posted about setting column width’s in  data grid, and I don’t

Re: [flexcoders] namespace/directory structure issue

2005-08-01 Thread Jaime Bermudez
Still waiting for ideas on an approach, but I thought I'd set up the problem a little better: Here's the developer directory structure for my project: >main app.mxml >as app.as appTest.as >assets (images, etc.) >components >test >test1 test1.mxml

RE: [flexcoders] FlashPlayer 8 beta and scriptTimeLimit

2005-08-01 Thread Abdul Qabiz
Title: FlashPlayer 8 beta and scriptTimeLimit Tracy,   Can you please create a sample mxml file reproducing this case? I will also try to reproduce at my end and co-ordinate Flash Player team to get it fixed.   Thanks   -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Hope all is watching the Avalon space..

2005-08-01 Thread Rick Bullotta
Fair enough.  Nevertheless, Flash ubiquity will be key, regardless of technology.   Thanks for the thoughts.   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Darron J. Schall Sent: Monday, August 01, 2005 9:53 AM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Hope all is watching the Avalon space..

2005-08-01 Thread Darron J. Schall
Rick Bullotta wrote: >I also wouldn't be at all surprised to see a Flex client based on the Java >plug-in someday. When looking at the Flex class models, it has a lot of >similarities to Java rich client stuff - so who knows - maybe the Flash viewer >someday becomes classes deployed on a JVM!

Re: [flexcoders] namespace/directory structure issue

2005-08-01 Thread Jaime Bermudez
Ok guys, so w/ Brian's suggestion I was able to get the compiler to recognize the namespaces w/o changing the initial structure. I'm more than halfway there, but I still get some issues w/ image locations. Several components have embedded images that are located in an "assets" directory one level

RE: [flexcoders] Hope all is watching the Avalon space..

2005-08-01 Thread Rick Bullotta
Then, I think the price of Flex will go down... :) Just realize the Flex will ultimately support a much broader range of both back-end OS's/app servers and front end devices/platforms than Avalon will. There will be a significant amount of development using Avalon-based technologies for "behi

[flexcoders] Testing of Server requests with FlexUnit

2005-08-01 Thread Pradeep Chaudhary
I have implemented Command Pattern in ActionScript to perform operations on server as given in book "Developing Rich Clients with Macromedia Flex". I want to test this commands using FlexUnit framework. Issue is that test does not waits for the callback to be invoked after response from server. So

[flexcoders] [release] v2 framework SplitPane component

2005-08-01 Thread Philippe Maegerman
some ideas for the HDividedBox and VDividedBox http://www.joangarnet.com/blog/archives/2005/07/release_v2_fram_1.php   Philippe Maegerman -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexc

Re: [flexcoders] Hope all is watching the Avalon space..

2005-08-01 Thread Scott Barnes
Actually you do, they are still taking the product out for a few more test spins before it goes fully mainstream (which i will watch with a keen eye aswell hehe). In all honesty, its a hard one to forcast. Microsoft have a lot of devoted developers to the point where it may be a registered religio

Re: [flexcoders] Custom event & inheritance

2005-08-01 Thread Manish Jethani
On 8/1/05, svktiilikainen <[EMAIL PROTECTED]> wrote: > I have a custom event specified in the prototype of an AS class, say > ScrollSelectList. Now I want to use the event in an instance of a > subclass of ScrollSelectList, say DataGrid. If I just write something > like > , > 'event-name' being th

Re: [flexcoders] accessing repeated children

2005-08-01 Thread Manish Jethani
On 8/1/05, Fritz Dimmel <[EMAIL PROTECTED]> wrote: > At the moment I've a repeater which repeats custom components (.mxml files). > But I want to access them separately to change some of their attributes. repeaterIndex http://www.mail-archive.com/flexcoders@yahoogroups.com/msg10082.html Manish

Re: [flexcoders] Hope all is watching the Avalon space..

2005-08-01 Thread Sjors Pals
You don't have to wait: http://www.xamlon.com/ Greets, Sjors Tolulope Olonade wrote: > There have been clamours from the .Net developer fold for Macromedia > to make flex as native to .NET platform as well as it is with the java > platform. > > What do you think will happen when MS releases

Re: [flexcoders] Tree with 3 different AMF is it possibile?

2005-08-01 Thread Devis
Great your code WAS my problem Bye Devis João Fernandes ha scritto: >Davis, > >What I usually do is to set a function that accept those variables as >arguments and then build the treeNodes with the information, when any of them >changes, the tree is automaticly updated. > >Something like this:

RE: [flexcoders] Tree with 3 different AMF is it possibile?

2005-08-01 Thread João Fernandes
Davis, What I usually do is to set a function that accept those variables as arguments and then build the treeNodes with the information, when any of them changes, the tree is automaticly updated. Something like this: function myfunction(arg1,arg2,arg3) : mx.controls.treeclasses.TreeNode {

[flexcoders] alpha for headers

2005-08-01 Thread Duccio Del Ministro
Can i change the background alpha for a panel and an accordion header? The flex style explorer example doesn't show how to do it but it has nice transparent panel headers (with glass looking shadow). How did they do it? Thanks in advance Duccio Del Ministro _

[flexcoders] accessing repeated children

2005-08-01 Thread Fritz Dimmel
Hi! The following thing is my problem: At the moment I've a repeater which repeats custom components (.mxml files). But I want to access them separately to change some of their attributes. I don't know how this could work. Is there a possibility to access them like: repeatername[index].attribute

[flexcoders] Hope all is watching the Avalon space..

2005-08-01 Thread Tolulope Olonade
  There have been clamours from the .Net developer fold for Macromedia to make flex as native to .NET platform as well as it is with the java platform. What do you think will happen when MS releases a platform that allow .NET developers use the same Visual Studio.NET(2005 Maybe) + zero

[flexcoders] Tree with 3 different AMF is it possibile?

2005-08-01 Thread Devis
hi to all, i have this question, i have 3 AMF that return an array of ActionScript class 1° COLOR[] 2° SIZE[] 3° WEIGHT[] this is my goal: tree COLOR RED GREEN YELLOW SIZE 10 20 20 WEIGHT 40 78 90 /tree but i

Re: [flexcoders] date.getUTCMonth / date.getUTCDate with a leading zero

2005-08-01 Thread Reto M. Kiefer
Hi all, >>Look up the /dateFormatter/ class (mx.formatters.DateFormatter). In your >>format function, create an instance of it and supply it with the format >>string “DD\MM\” and that should give you what you want. Just for the records I managed it in the following way: [1]

[flexcoders] Custom event & inheritance

2005-08-01 Thread svktiilikainen
Hi all, how should a custom event be used in subclasses? I have a custom event specified in the prototype of an AS class, say ScrollSelectList. Now I want to use the event in an instance of a subclass of ScrollSelectList, say DataGrid. If I just write something like , 'event-name' being the

Re: [flexcoders] date.getUTCMonth / date.getUTCDate with a leading zero

2005-08-01 Thread Reto M. Kiefer
Hello Michael, > Look up the /dateFormatter/ class (mx.formatters.DateFormatter). In your > format function, create an instance of it and supply it with the format > string “DD\MM\” and that should give you what you want. Cool! Thank you very much for this fast solution! Thanks again and b

ADMIN: RE: [flexcoders] Two ".Java" files to compile

2005-08-01 Thread Steven Webster
Ahmed,   Your posts are increasingly asking people to do your work for you - clearly from your previous emails you have a deadline on a technology (or technologies) with which you are only just trying to become familiar (Java and Flex).  Asking people on this list to compile a .java file in

Re: [flexcoders] Two ".Java" files to compile

2005-08-01 Thread Chris Velevitch
You need to download the free jdk to compile it. http://java.sun.com/j2se/1.5.0/download.jsp and get "JDK 5.0 Update 4 includes the JVM technology" Chris -- Chris Velevitch Manager - Sydney Flash Developers Group www.flashdev.org.au Yahoo! Groups Sponsor

RE: [flexcoders] date.getUTCMonth / date.getUTCDate with a leading zero

2005-08-01 Thread Michael Herron
Look up the dateFormatter class (mx.formatters.DateFormatter). In your format function, create an instance of it and supply it with the format string “DD\MM\” and that should give you what you want.   Ta.     From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups

[flexcoders] date.getUTCMonth / date.getUTCDate with a leading zero

2005-08-01 Thread Reto M. Kiefer
Dear all, maybe I am simply do not see the crucial point but I have a small problem. In a form the users can enter some dates via The corresponding formatDate() looks like this one: function formatDate(date:Date):String { return (date.getUTCDate() + 1) + "-" + ( date.getUTCMonth() + 1

[flexcoders] Two ".Java" files to compile

2005-08-01 Thread Ahmed
Dear Everyone,   I have two ".Java" files , but unfortunately I can't compile them . If you can , would you please compile them ".Class" ?   Thanks indeed.   Ahmed. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Arc

[flexcoders] Re: Using of an class with arrays

2005-08-01 Thread mtoppine
Thank you Abdul, it works great now! Yahoo! Groups Sponsor ~--> http://us.ard.yahoo.com/SIG=12h3a484e/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122890023/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page

RE: [flexcoders] Returning an object Array from .NET to Flex

2005-08-01 Thread priya s
Correct format?? I am just returning an object[]     public object[] GetData()  {      ArrayList list = new ArrayList();   list.Add("string1");   list.Add("string2");   list.Add("string3");   list.Add("string4");   return list.ToArray();  }Abdul Qabiz <[EMAIL PROTECTED]> wrote: Check o