[flexcoders] captureEndValues() not working with percentage width

2008-07-14 Thread Mike Pearce
Hi list, Anyone come across this before? I have a component that needs to re-arrange its children explicitly when it gets resized, instead of letting Flex handle it. I'm listening for the "effectStart" event where I check for the Resize effect. I need to pass the "widthTo" property

RE: [flexcoders] When not to use weak references?

2008-07-14 Thread Alex Harui
My rule is pretty simple: Use strong references unless it is impossible or impractical to know when to remove the listener. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Monday, July 14, 2008 10:30 PM To: flexcoder

RE: [flexcoders] Flex 3 Migration shoots up Filesize by 400K

2008-07-14 Thread Alex Harui
ADG is pretty big. Also note that Flex 3 SDK is a debug SWF. You have to use Export Release to get a release version which will be much smaller. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Hyder Sent: Monday, July 14, 2008 2:50 PM

[flexcoders] Issue with AdvancedDataGridGroupItemRenderer

2008-07-14 Thread Nievtha NagaRaj
Hi All,       In Advanced Data Grid ,I have set the image Icon using  "renderer" property of an AdvancedDataGridGroupItemRenderer in AS.myClass extends AdvancedDataGridGroupItemRenderer  and overrides the data function.   Issue: In some scenarios, AdvancedDataGird table shows no Icons .

[flexcoders] flex php login

2008-07-14 Thread nitishdhar
I m creating my login page in loginpage.mxml but the values are not getting sent to the php page login.phpplz help loginpage.mxml --- http://www.adobe.com/2006/mxml"; xmlns="*" layout="absolute"> http://localhost/mixbook/login.php"; useProxy="false" method="POST"> {e

[flexcoders] flex php login

2008-07-14 Thread nitishdhar
Accessibility Adobe Search * Welcome nitsmooth * Your account * Sign out * Your cart * Contact * United States (Change) * Home * Solutions Industries Broadcast and media Education

Re: [flexcoders] Ant tasks and spaces in paths?

2008-07-14 Thread Josh McDonald
To summarise for the list: * The Ant tasks in the SDK seem to work fine, so there's no bug * When you google "Flex ant tasks" you get this as #1: http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks * That document is old-and-busted(tm), and we need somebody with write access to the Labs wiki to up

Re: [flexcoders] Chart question - area chart with line chart overlay

2008-07-14 Thread Guy Morton
I'll answer my own question... you can mix AreaSeries and LineSeries within a LineChart. Too easy! Guy On 15/07/2008, at 12:58 PM, Guy Morton wrote: Hello group Is it possible to have an area chart with a line chart overlaid over the top? I note that you can stack some types of charts but

Re: [flexcoders] When not to use weak references?

2008-07-14 Thread Josh McDonald
Now that I've been corrected on what the weak listeners *actually* do, I definitely agree on using weak references against long-life objects when possible =) -Josh On Tue, Jul 15, 2008 at 3:17 PM, Tim Rowe <[EMAIL PROTECTED]> wrote: > Strong references don't cause memory leaks, bad coding and l

RE: [flexcoders] When not to use weak references?

2008-07-14 Thread Tim Rowe
Strong references don't cause memory leaks, bad coding and lack of understanding of components causes memory leaks. This seems to be a topic a lot like pointers all over again 30 years later, WRT how many people understand them (or don't). I actually agree you'd normally want a strong referenc

Re: [flexcoders] When not to use weak references?

2008-07-14 Thread Josh McDonald
Dammit, I think I had the wrong end of the stick WRT weak listeners. I thought it was so keeping the listener alive didn't keep the listened object alive, rather than the other way around. My bad - I hate when that happens. Hope I didn't give anybody bad advice! :) -Josh On Tue, Jul 15, 2008 at

Re: [flexcoders] When not to use weak references?

2008-07-14 Thread Daniel Gold
I would agree that's not a best practice for writing timer code, just the quickest example I could think of. When people read about how bad strong references are and how they cause memory leaks, they tend to make EVERYTHING weak which can lead to some nasty problems. Since you can't control the tim

Re: [flexcoders] When not to use weak references?

2008-07-14 Thread Douglas McCarroll
http://www.joeberkovitz.com/blog/2007/06/20/moment-of-weakness-weak-event-listeners-can-be-dangerous/ On Mon, Jul 14, 2008 at 9:43 PM, Tim Rowe <[EMAIL PROTECTED]> wrote: >Use strong references when you're adding an event listener to the same > instance dispatching an event. If it's an ano

Re: [flexcoders] When not to use weak references?

2008-07-14 Thread Josh McDonald
Why use weak references on singletons or things that are going to live the life of the application? Not saying it's wrong, just interested in the logic. The timer code above is a great example of when you need a strong reference, but a nasty example of how to use a timer! I *really* don't like the

Re: [flexcoders] Quickie: Round some container's corners

2008-07-14 Thread Leonardo Moreno
Thanks Daniel That was exactly what i wanted to do, i think i have to study english harder regards Daniel Gold wrote: > > Sounds like he may want to choose which corners are rounded, an area > where the framework is definitely lacking. > > I always look to Degrafa for advanced CSS skinning like

RE: [flexcoders] When not to use weak references?

2008-07-14 Thread Tim Rowe
Use strong references when you're adding an event listener to the same instance dispatching an event. If it's an anonymous function, you need to use a strong reference. Also, use strong references when you want speed - weak references are slower. Always use weak references when dealing with sing

Re: [flexcoders] When not to use weak references?

2008-07-14 Thread Daniel Gold
I've hit a few places in the past and will attempt to drudge them up, but no warranties here. How about a case where you create a timer as a local variable in a function and add a weak listener. Since there are no strong references to the Timer I beilieve it is eligible for garbage colleciton, and

Re: [flexcoders] Access of undefined property flash.media.sound

2008-07-14 Thread Josh McDonald
Not tested for compilability :) http://www.adobe.com/2006/mxml"; creationComplete="kickstart()" layout="vertical"> -Josh On Tue, Jul 15, 2008 at 2:17 PM, Sherif Abdou <[EMAIL PROTECTED]> wrote: > You cant have any calling of member functions outside functions so > s.addEven

Re: [flexcoders] When not to use weak references?

2008-07-14 Thread Josh McDonald
That's a really good question, and one I'd very much like to know the answer to as well :) On Tue, Jul 15, 2008 at 2:08 PM, Boon Chew <[EMAIL PROTECTED]> wrote: > Hi all, > > I have read posts that preached the goodness of weak references for event > listening, but have not read anything that su

Re: [flexcoders] Access of undefined property flash.media.sound

2008-07-14 Thread Sherif Abdou
You cant have any calling of member functions outside functions so s.addEventListener needs to be in a function and everything needs to be in a function with the exception of variables. so s.load(req) needs to be in a function. - Original Message From: Shaq <[EMAIL PROTECTED]> To: f

[flexcoders] Access of undefined property flash.media.sound

2008-07-14 Thread Shaq
The code below is pulled from the Flex 3 manual but I am unable to get it to compile correctly using Flex 3. Can anyone provide any insight as to why the code below raises the following errors: 1120: Access of undefined property onSoundLoaded. 1120: Access of undefined property req. 1120: Access o

[flexcoders] When not to use weak references?

2008-07-14 Thread Boon Chew
Hi all, I have read posts that preached the goodness of weak references for event listening, but have not read anything that suggests when you should use strong reference over the weak one, and  the down side to using weak references. Any ideas when being weak is not bad thing? :) - boon

Re: [flexcoders] How do I position a custom tooltip?

2008-07-14 Thread Vivian Richard
Please take a look at the last example of this link: http://livedocs.adobe.com/flex/3/html/help.html?content=tooltips_4.html On Mon, Jul 14, 2008 at 2:43 PM, Jamie S <[EMAIL PROTECTED]> wrote: > try making an event handler for the toolTipShow event and > repositioning it within the handler.

Re: [flexcoders] Ant tasks and spaces in paths?

2008-07-14 Thread Josh McDonald
OK The zip linked from that page is *definitely* old and busted, I'll do more poking around with the new one. Anybody here have edit permission for that page in the labs Wiki, or at least know who I can email to let them know? -Josh On Tue, Jul 15, 2008 at 12:41 PM, Josh McDonald <[EMAIL PROTECTE

[flexcoders] Chart question - area chart with line chart overlay

2008-07-14 Thread Guy Morton
Hello group Is it possible to have an area chart with a line chart overlaid over the top? I note that you can stack some types of charts but not line charts...is there a way to do this? tia Guy

Re: [flexcoders] How appropriate is it using mx_internal ?

2008-07-14 Thread Matt Chotin
In general we try very hard not to change the public APIs. We might do a little in Flex 4, basically loosening types as necessary, but overall things shouldn't change. Mx_internal on the other hand, we reserve the right to change at will and won't care one iota if we break your stuff :-) Matt

[flexcoders] Accessing public function from a different mxml

2008-07-14 Thread andrewedwards39
Hello all, I have a public function in an mxml document (lets call it a.mxml, and pubfunction ) and I want to access it from another MXML. this is what I am trying (based on my old as2 knowledge :) this.parent.parent.a.pubfunction(); where the mxml calling 'a' is two levels below 'a's parent.

Re: [flexcoders] How appropriate is it using mx_internal ?

2008-07-14 Thread Josh McDonald
Sometimes you can't. There's a lot of stuff that would make more sense being public but isn't (it's worse in the Web Services code, trust me). But Adobe is (IMHO) doing the right thing by thinking long and hard about changing established APIs. Keep in mind though that Adobe's made it pretty clear

Re: [flexcoders] Flex, Cairngorm & callback function

2008-07-14 Thread Josh McDonald
I've been doing something similar to the UM callbacks in projects at work, and it does tie your code a little closer to the framework than some people like, and the "base event class" annoys a few people. It's not a problem for us, because we're using an in-house framework (parts of which will be O

Re: [flexcoders] Ant tasks and spaces in paths?

2008-07-14 Thread Josh McDonald
OK Thanks. How old is the version in the SDK source? I didn't notice they were included (my bad) and have been using the ones from here: http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks which were dated Feb '07. I'll compile the SDK version of the ant tasks and try again, and see if I can figur

[flexcoders] Flex 4 (Gumbo) not compiling, Class Error

2008-07-14 Thread Sherif Abdou
Is anyone getting these errors, I just got build 2480-Today's build. The other builds worked fine for me. 1046: Type was not found or was not a compile-time constant: TextBlock. 1046: Type was not found or was not a compile-time constant: ElementFormat.

[flexcoders] Re: Quickie: Round some container's corners

2008-07-14 Thread meshram.chetan
Hi, Specify the cornerRadius and make the borderstyle solid for that specific container and your are done. Best Regards, Chetan. --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > cornerRadius? > > > > > > From: flexcoders@yahoogr

[flexcoders] Re: Float number calculation in AS3

2008-07-14 Thread andrii_olefirenko
i think it's not the bug of AS3 or Flex but processor, and this quite fundamental so this is "a feature" not "a bug" :) use rounding to arbitrary precision (it's what other languages do) and for finance calculations it's better to use integers and modular arithmetic, i guess --- In flexcoders@yaho

[flexcoders] Re: textarea with auto height

2008-07-14 Thread prashant194
Thanks for the reply but its still not working for me. Actually i tried the same u did for my TextArea component but this time the height takes the full screen. http://www.adobe.com/2006/mxml"; creationComplete="initComponent()"> And i used this in my applicat

[flexcoders] Flex 3 Migration shoots up Filesize by 400K

2008-07-14 Thread Hyder
I migrated my application to Flex 3 SDK... the swf's filesize while compiling under Flex 2 SDK was 374. The only change I made after migrating to Flex 3 SDK was to replace a DataGrid with AdvancedDataGrid and propagated the necessary changes to its columns too. Now, my file size is over 800K..

[flexcoders] Re: Float number calculation in AS3

2008-07-14 Thread Sid Maskit
This modified version of your function will give the results you are looking for. I'm not sure what this means in terms of your general conclusion, or in terms of best practice. private function add(v1:Number, v2:Number, v0:Number):Number { var v3:Number = v1+v2; var status:String

RE: [flexcoders] Advanced Data grid question

2008-07-14 Thread Pratima Rao
Hi Marcelo, Thanks for your response. When you extend AdvancedDAtaGridGroupItemRenderer did you just override the createChildren and updateDisplayList, setData methods? I dabbled with that a bit today but wasn't able to make it work but I feel like I'm close to getting this to work. Thanks

Re: [flexcoders] Flex, Cairngorm & callback function

2008-07-14 Thread Manu Dhanda
Further inline comments(in bold) below: Douglas Knudsen wrote: > > I've made comments inline below. > > DK > > On Mon, Jul 14, 2008 at 5:36 AM, Manu Dhanda <[EMAIL PROTECTED]> > wrote: >> >> Hii all, >> >> Here I want to have your opinion considering all three (Flex, Cairngorm & >> callback f

[flexcoders] Re: Comparing numbers with a tolerance

2008-07-14 Thread andrii_olefirenko
you always could compare points using distance between them Point.distance(p1,p2)< tolerance --- In flexcoders@yahoogroups.com, "fumeng5" <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm trying to compare 3 points but because of double precision in AS3 > i'm running into some issues with trailing digit

Re: [flexcoders] How appropriate is it using mx_internal ?

2008-07-14 Thread Manu Dhanda
Yes, for me as well, it's for custom components. So, what could be the better way around to avoid it even in custom components? Jeffry Houser wrote: > > > Cool, thanks! > I've found that I almost never use mx_internal when dealing with > 'normal' development. But, it does come up when b

RE: [flexcoders] Ant tasks and spaces in paths?

2008-07-14 Thread Gordon Smith
> The Ant tasks aren't part of the SDK proper though, are they? Yes, they are. In the zipped SDK the source code and the JAR are in the top-level 'ant' folder. The open-source code for them is in the Subversion repo at modules/antTasks. Care to submit a patch to fix the problem you found? W

Re: [flexcoders] Re: XML is NULL immediatelly following service call, but does appear valid in textarea

2008-07-14 Thread [EMAIL PROTECTED]
Your probably right, I guess I just need a vacation, which will happen next week. Thanks for walking me thru this. Josh McDonald wrote: > > Because that's simply not the syntax mxmlc uses. You're not listening for an "onresult" event, you're listening for the "result" event, and Flex is not j

Re: [flexcoders] Re: advanceddatagrid itemrenderer refering current column's data

2008-07-14 Thread Vivian Richard
Hey Alex could not find the background itemrenderer for ADG in your blog. Could you please send me the link? On Mon, Jul 14, 2008 at 6:09 PM, Vivian Richard <[EMAIL PROTECTED]> wrote: > > >Tel me try Amy, I will let you know. > >Alex I checked most of your examples most likely

Re: [flexcoders] Re: advanceddatagrid itemrenderer refering current column's data

2008-07-14 Thread Vivian Richard
Tel me try Amy, I will let you know. Alex I checked most of your examples most likely have seen yours. I will try that one too an let you know my impression about it. On Mon, Jul 14, 2008 at 6:03 PM, Amy <[EMAIL PROTECTED]> wrote: > --- In flexcoders@yahoogroups.com , > "Vivian Ric

[flexcoders] Re: advanceddatagrid itemrenderer refering current column's data

2008-07-14 Thread Amy
--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Has anyone tried the background item renderers from my blog in ADG? No, but I wound up subclassing from AdvancedDatagridGroupItemRenderer because the AdvancedDataGridItemRenderer couldn't be made to support alpha in t

[flexcoders] How to configure IIS, Jrun and Tomcat to run on the same machine?

2008-07-14 Thread Djamshed
Is it possible to run a Flash-Flash Remoting-Jrun and Flex-BlazeDS-Tomcat applications on the same machine(and yes, there is an IIS server)? The answer is YES if Jrun (e.g. 8200) and Tomcat (e.g. 8080) ports are publicly accessible (which we had in our development environment). But is it possible i

[flexcoders] Re: advanceddatagrid itemrenderer refering current column's data

2008-07-14 Thread Amy
--- In flexcoders@yahoogroups.com, "Vivian Richard" <[EMAIL PROTECTED]> wrote: > >Hey Amy great getting an email from you. Man I guess you >paid google : every time I search anything regarding ADG you >blog pops up. :-) Thanks for taking time to share that with us. > >As I found a

Re: [flexcoders] Quickie: Round some container's corners

2008-07-14 Thread Daniel Gold
Sounds like he may want to choose which corners are rounded, an area where the framework is definitely lacking. I always look to Degrafa for advanced CSS skinning like that. Pick up the library here: http://code.google.com/p/degrafa/downloads/list Then you can create a css style like this: .roun

RE: [flexcoders] Re: advanceddatagrid itemrenderer refering current column's data

2008-07-14 Thread Alex Harui
Has anyone tried the background item renderers from my blog in ADG? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Monday, July 14, 2008 5:59 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: advanceddat

RE: [flexcoders] Re: advanceddatagrid itemrenderer refering current column's data

2008-07-14 Thread Tracy Spratt
Ohhh, yes, that is right, the default item render for ADG does not support a background color, sorry, I forgot that. So yeah, an item renderer looks like the way to go on that. Google this, surely someone has an example. From: flexcoders@yahoogroups.com [m

Re: [flexcoders] Re: advanceddatagrid itemrenderer refering current column's data

2008-07-14 Thread Vivian Richard
Thanks for the response Tracy. By styling you are referring to the stylefunction? My understanding that that the stylefunction is only meant for the text not the background color. On Mon, Jul 14, 2008 at 5:04 PM, Tracy Spratt <[EMAIL PROTECTED]> wrote: >The new styling in ADG mi

Re: [flexcoders] Flex Framwork Caching and Referer URL

2008-07-14 Thread Matt Chotin
Hmm, this seems odd. Can you submit a small sample via the bugbase and we'll take a look? Let me know the bug # (mail me offlist). Matt On 7/14/08 5:14 PM, "Steve Mathews" <[EMAIL PROTECTED]> wrote: Something odd just happened. I enabled Flex framework caching in my project and all of a s

[flexcoders] Flex Framwork Caching and Referer URL

2008-07-14 Thread Steve Mathews
Something odd just happened. I enabled Flex framework caching in my project and all of a sudden my url changed to have /[[dynamic]]/1 or /[[dynamic]]/2 after the swf. After beating my head against the keyboard a few times I came up with a wild theory. Could it be related to the framework caching? S

Re: [flexcoders] Re: Wacky padding issue with textArea by setting fontSize

2008-07-14 Thread Daniel Freiman
Do you have a small code example? - Daniel Freiman On Mon, Jul 14, 2008 at 4:02 PM, djhatrick <[EMAIL PROTECTED]> wrote: > Actually, the problem is more with the fact that the textArea doesn't > render all the text, i noticed when i scroll to a specific point, the > text jumps on, as if the te

RE: [flexcoders] Re: advanceddatagrid itemrenderer refering current column's data

2008-07-14 Thread Tracy Spratt
The new styling in ADG might be a better way to do this. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Vivian Richard Sent: Monday, July 14, 2008 7:42 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: advanceddatag

Re: [flexcoders] Re: advanceddatagrid itemrenderer refering current column's data

2008-07-14 Thread Vivian Richard
Hey Amy great getting an email from you. Man I guess you paid google : every time I search anything regarding ADG you blog pops up. :-) Thanks for taking time to share that with us. As I found all your examples are addressing the whole row, I needed something for individual cells. I

RE: [flexcoders] as3 class libraries

2008-07-14 Thread Tracy Spratt
Encryption: AS3Crypto Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Corban Baxter Sent: Monday, July 14, 2008 4:41 PM To: Flash Coders List; flexcoders@yahoogroups.com Subject: [flexcoders] as3 class libraries I am trying

Re: [flexcoders] [CONTRACT] Flex/AIR Developer for short-term project in Chicago

2008-07-14 Thread Josh McDonald
http://tech.groups.yahoo.com/group/flexjobs/ -Josh On Tue, Jul 15, 2008 at 2:29 AM, Nick Collins <[EMAIL PROTECTED]> wrote: > We have a need for a senior level Flex developer who is immediately > available for a short term contract opportunity that will likely transition > to a full time positi

Re: [flexcoders] Re: XML is NULL immediatelly following service call, but does appear valid in textarea

2008-07-14 Thread Josh McDonald
Because that's simply not the syntax mxmlc uses. You're not listening for an "onresult" event, you're listening for the "result" event, and Flex is not javascript. And now you know that when you want to listen to the "click" event, you need click="foo()" not onClick="foo()"... It's just the conven

RE: [flexcoders] comboBox.percentWidth ignored?

2008-07-14 Thread Alex Harui
One common issue is that the CB doesn't have data when it is measured because the data is coming from a server request. There's a flag (resizeToContent, IIRC) that will re-layout after the data shows up From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED

Re: [flexcoders] Ant tasks and spaces in paths?

2008-07-14 Thread Josh McDonald
The Ant tasks aren't part of the SDK proper though, are they? What component would I file the bug against? Also, I eventually discovered that (on OS X at least) the compc task just doesn't work at all, and flexSDK/bin/compc needs to be altered :( -Josh On Tue, Jul 15, 2008 at 7:35 AM, Kyle Quevi

RE: [flexcoders] problem using checkbox in DataGrid

2008-07-14 Thread Alex Harui
There are some checkbox examples on my blog (blogs.adobe.com/aharui). Look for other examples. Most folks update the dataprovider when the checkbox sends its change event and don't wait for ITEM_EDIT_END From: flexcoders@yahoogroups.com [mailto:[EMAIL PROT

RE: [flexcoders] Quickie: Round some container's corners

2008-07-14 Thread Alex Harui
cornerRadius? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Leonardo Moreno Sent: Monday, July 14, 2008 2:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Quickie: Round some container's corners Hi I need to round just

[flexcoders] AS3 and Flex, AIR API Posters

2008-07-14 Thread hworke
Hey Tom or Adobe guys, will you be able to get us some of the API posters for Flex 3 and Air and AS3? Regards...

[flexcoders] Re: advanceddatagrid itemrenderer refering current column's data

2008-07-14 Thread Amy
--- In flexcoders@yahoogroups.com, "hworke" <[EMAIL PROTECTED]> wrote: > > > > Hi, in a advanceddatagrid I need to put same > background color if the the cell value is > not empty string. In the itemrenderer all I > need to check is if the current column value > is null or not. I know h

Re: [flexcoders] RegEx help please

2008-07-14 Thread Greg Hess
Thanks Tom, much appreciated. The regex was stumping me and in the distraction, I did not realize that my expression was being input into an xml document and that I needed to excape "<>&"" using xml entity refs to pass xml parsing. Cheers, Greg On Fri, Jul 11, 2008 at 11:14 AM, Tom Chiverton

Re: [flexcoders] How do I position a custom tooltip?

2008-07-14 Thread Jamie S
try making an event handler for the toolTipShow event and repositioning it within the handler. not elegant but it works. jamie On Mon, Jul 14, 2008 at 2:30 PM, luvfotography <[EMAIL PROTECTED]> wrote: > I'm creating a custom tooltip and there's not enough room in the > bottom right > corner to di

RE: [flexcoders] Ant tasks and spaces in paths?

2008-07-14 Thread Kyle Quevillon
This bug may cover the issue: http://bugs.adobe.com/jira/browse/SDK-15764 -Kyle From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Monday, July 14, 2008 3:16 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders

[flexcoders] How do I position a custom tooltip?

2008-07-14 Thread luvfotography
I'm creating a custom tooltip and there's not enough room in the bottom right corner to display it, how do I change the x and y coordinates in order to move it someplace so it's not off screen and fits? There are examples on how to reposition for a text tooltip in the help, but none for a cus

[flexcoders] Quickie: Round some container's corners

2008-07-14 Thread Leonardo Moreno
Hi I need to round just some corners of my containers, is there an easy way to achieve this? thanks in advance -- Leonardo Moreno Guzmán Ingeniero de sistemas y telemática | Asesor soluciones informáticas *cell-phone:* 311-3390386 *e-mail:* [EMAIL PROTECTED] *site:* http://leo.l

[flexcoders] Re: addEventListener for UI component scaling?

2008-07-14 Thread flexawesome
very nice~ thanks Gordon!! --- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote: > > Trying listening for FlexEvent.UPDATE_COMPLETE. > > > > - Gordon > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf

[flexcoders] as3 class libraries

2008-07-14 Thread Corban Baxter
I am trying to put together a list of some of the best AS3 and Flex Libraries, Classes and Frameworks we have available. I was hoping to get as much input form you guys as possible and what you guys use and enjoy. Here are some examples I am looking for... Frameworks: GAIA MATE pureMVC Video: flv

[flexcoders] problem using checkbox in DataGrid

2008-07-14 Thread Glenn Jones
I'm having a problem using a checkbox as an item editor within a datagrid. It might be a bug or maybe I'm doing something wrong. Either way, I need to fine some resolution/workaround. In my DataGridColumn definition, I'm setting editable=true and rendererIsEditor=true for the column with the check

[flexcoders] Re: Comparing numbers with a tolerance

2008-07-14 Thread fumeng5
--- In flexcoders@yahoogroups.com, "Samuel Neff" <[EMAIL PROTECTED]> wrote: > > If you want to know to compare two values with tolerance then subtract them > and see if the result is within your tolerance. > > public function within(x:Number, y:Number, tolerance:Number):Boolean { > var differenc

[flexcoders] Re: Flex & SEO

2008-07-14 Thread Randy Cooper
--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > On Thursday 10 Jul 2008, litesh_b321 wrote: > > can get index of google for a web site which is developed in > > adobe flex? > > Yes. > > > Is there any special technique to optimise the search engine for flex > > de

RE: [flexcoders] Float number calculation in AS3

2008-07-14 Thread Gordon Smith
AS3's Number type, like Java's or C++'s 'double' type, store floating-point values using binary fractions, not decimal fractions, so there is some loss of precision occuring. There is no fractional-decimal type in AS3. I'll leave it to folks in the developer community working on financial appli

RE: [flexcoders] Re: addEventListener for UI component scaling?

2008-07-14 Thread Gordon Smith
Trying listening for FlexEvent.UPDATE_COMPLETE. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexawesome Sent: Monday, July 14, 2008 12:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: addEventListener for U

RE: [flexcoders] Ant tasks and spaces in paths?

2008-07-14 Thread Gordon Smith
Josh, could you please file a bug for this at http://bugs.adobe.com/flex/ ? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Sunday, July 13, 2008 9:33 PM To: flexcoders@yahoogroup

Re: [flexcoders] Remote Object Paths

2008-07-14 Thread Dan Vega
Good point, you need to turn that on in the services config right? Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Mon, Jul 14, 2008 at 3:05 PM, Douglas Knudsen <[EMAIL PROTECTED]> wrote: > right, so have your server code (CFCs) sit in the same folder path in > dev, staging, an

[flexcoders] a small help in Globalization

2008-07-14 Thread Vivek
hi all, its a strange requirement which could be considered as a good challenge for me in my flex experience! i have a set of controls and its properties say id, name, tab order... etc for my custom component related application. I'm storing that in an array collection as a list of objects and i

[flexcoders] Re: Wacky padding issue with textArea by setting fontSize

2008-07-14 Thread djhatrick
Actually, the problem is more with the fact that the textArea doesn't render all the text, i noticed when i scroll to a specific point, the text jumps on, as if the text field doesn't render correctly, with large amounts of text inside, o boy! This will need to fixed, what a problem. --- In flexc

[flexcoders] Re: Comparing numbers with a tolerance

2008-07-14 Thread Tim Hoff
Nice. --- In flexcoders@yahoogroups.com, "lampei" <[EMAIL PROTECTED]> wrote: > > You could always use the NumberFormatter class and use the precision > property: > > var numberFormatter:NumberFormatter = new NumberFormatter; > numberFormatter.precision = 2; > var myNum:Number = Number( numberForma

[flexcoders] Re: Comparing numbers with a tolerance

2008-07-14 Thread lampei
You could always use the NumberFormatter class and use the precision property: var numberFormatter:NumberFormatter = new NumberFormatter; numberFormatter.precision = 2; var myNum:Number = Number( numberFormatter.format( myOldNum ) ); This will give you the old number formatted to 2 decimal places

Re: [flexcoders] Comparing numbers with a tolerance

2008-07-14 Thread Samuel Neff
If you want to know to compare two values with tolerance then subtract them and see if the result is within your tolerance. public function within(x:Number, y:Number, tolerance:Number):Boolean { var difference:Number = x - y; return difference <= tolerance && difference >= - tollerance; } HTH

[flexcoders] Re: Comparing numbers with a tolerance

2008-07-14 Thread Tim Hoff
Hi fumeng, You could work this out using Math.round(). Although this method rounds to the nearest integer (doesn't use a precision parameter), with a little work this could help you compare apples to apples. -TH --- In flexcoders@yahoogroups.com, "fumeng5" <[EMAIL PROTECTED]> wrote: > > Hi, >

[flexcoders] advanceddatagrid itemrenderer refering current column's data

2008-07-14 Thread hworke
Hi, in a advanceddatagrid I need to put same background color if the the cell value is not empty string. In the itemrenderer all I need to check is if the current column value is null or not. I know how to refer a value of the data object in the itemrenderer like: data.whateverParam

[flexcoders] Wacky padding issue with textArea by setting fontSize

2008-07-14 Thread djhatrick
I have a textArea that is inside a vbox inside a canvas. The text area has about 2000 words. When I scale the fontSize up, at some font sizes, the textArea adds about 1500 pixels of padding to the top and the bottom of the textArea. Help, this is yicky. Thanks, Patrick

Re: [flexcoders] Chat room for 300 users

2008-07-14 Thread Anatole Tartakovsky
Wally, You should be able to configure any Java server on reaasonably sized (4 core ) machine to handle BlazeDS streaming out of the box. If you need to scale further, we are working on Jetty/Servlet 3/BlazeDS platform and targeting 5K users per CPU for chat applications/2K for business messagi

[flexcoders] Re: addEventListener for UI component scaling?

2008-07-14 Thread flexawesome
I have tried UI.addEventListener( ResizeEvent.RESIZE , callFunction ) but it didn't work, any suggestions? Thanks --- In flexcoders@yahoogroups.com, "flexawesome" <[EMAIL PROTECTED]> wrote: > > Hey there, > > is there a way to addEventListener for checking the UI component > scaling? > > fo

Re: [flexcoders] Puzzling Connection Error #1088:

2008-07-14 Thread Dan Pride
Ok I solved my problem, so here's the solution for anybody else that runs into it. If you are doing printed reports in php don't forget to turn off show errors in the php ini file before you go back to flex. Some but not all your scripts will give a 1088 error until you do. Dan Pride --- On

[flexcoders] BlazeDS and Flex

2008-07-14 Thread celumbra
I am having trouble setting up BlazeDS as a web service proxy. I have a few assumptions that perhaps you can help me clarify. First, all the examples I find have the BlazeDS running locally, but I am assuming that I can develop Flex on my mac laptop, while BlazeDS is on a remote server. Is t

[flexcoders] Comparing numbers with a tolerance

2008-07-14 Thread fumeng5
Hi, I'm trying to compare 3 points but because of double precision in AS3 i'm running into some issues with trailing digits causing the numbers to not be equal, i.e. 1.25 != 1.24999 what i'd like to figure out how to do is introduce a tolerance of say .001. then i'd compare the test point

Re: [flexcoders] Remote Object Paths

2008-07-14 Thread Douglas Knudsen
right, so have your server code (CFCs) sit in the same folder path in dev, staging, and production so doesn't matter what Flex, Flash, HTML client it is, who cares. ORif you are running ColdFuison 8, you can set application specific mappings in application.cfc. So, in your local dev applicati

[flexcoders] Chat room for 300 users

2008-07-14 Thread Wally Randall
I have an a production intranet system running on ColdFusion which has periodic need to handle 300 simultaneous users all subscribed to the same chat session. The current system does a meta refresh every 5 seconds and returns the latest 30 chat entries. This is causing network issues on the intran

RE: [flexcoders] Remote Object Paths

2008-07-14 Thread Tracy Spratt
I usually Access them in an Application.creationComplete or initialize handler. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dan Vega Sent: Monday, July 14, 2008 2:32 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]

[flexcoders] Re: creating a World Clock and need a little help with the time and date

2008-07-14 Thread Doug Lowder
CurrentTimeTicks looks like a 100ns count from the year 1 AD. You could try: new Date( CurrentTimeTicks/1 - new Date().getTime() ) Then use the Date.toString() or Date.toUTCString() method to examine the result. You may need to adjust if CurrentTimeTicks isn't relative to UTC. Also, do

Re: [flexcoders] Advanced Data grid question

2008-07-14 Thread Pedro Sena
Hi Pratima, Are you overriding the function set data ? I did something similar just checking what was my object type(Im supposing that u r using different object for projects and orchestrations). I used a subclass of LinkButton as my renderer. Hope this helps. Pedro Sena On Mon, Jul 14, 2008

Re: [flexcoders] Debugging off when having multiple FB3 workspaces?

2008-07-14 Thread Dan Vega
I am not sure if this is your problem but it may be causing it. One thing is to make sure all projects that you are not working on are close. If you right click on the project you are working on select close unrelated projects. This is more of an eclipse tip but it may be causing issues like this.

[flexcoders] Debugging off when having multiple FB3 workspaces?

2008-07-14 Thread ivo
Hello all, I ran across a problem I periodically have in Flex Builder where break points are off. This is an AIR project so there shouldnt be any browser caching issues. In the past this has not affected me terribly since I only experienced it on temporary machines, my main dev workstation neve

Re: [flexcoders] Advanced Data grid question

2008-07-14 Thread Marcelo Savioli
Pratima, I have accomplished something similar by making my itemRenderer extends AdvancedDataGridGroupItemRenderer, which is the default tree renderer used by the AdvancedDataGrid. On Mon, Jul 14, 2008 at 3:06 PM, Pratima Rao <[EMAIL PROTECTED]> wrote: >Hi, > > > > I have an advanced DG tha

  1   2   >