[flexcoders] Re: addchild

2008-01-17 Thread javaguru_uk
--- In flexcoders@yahoogroups.com, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Max> Ok thanks, I can finally see the ball. I did look on Max> http://livedocs.adobe.com/flex/2/langref/mx/core/UIComponent.html Max> It should have this line somewhere on this page: Max> import.mx.core.UIComponent

RE: [flexcoders] Re: addchild

2008-01-17 Thread Gordon Smith
> The ball class is from the foundation action script 3 animation book > and there is no import mx.core.UIComponent; in thier example. I'm not familiar with this book, but from the name I'd expect that they use only flash.* classes throughout and avoid the mx.* classes completely. You were trying

Re: [flexcoders] Re: addchild

2008-01-17 Thread [EMAIL PROTECTED]
I just use whatever I can get to work. I'm happy just using flex, and when I use some old flash its only because I don't know any better. The ball class is from the foundation action script 3 animation book and there is no import mx.core.UIComponent; in thier example. When you say: If you're new

[flexcoders] Re: Dynamic evaluation of E4X expression

2008-01-17 Thread xhanin
Thanks to both of you for your answers, this is exactly what I was looking for. I'm concerned about the performance and completeness of this solution though, but it's *much* better than nothing. To give some more insight on what I intend to do with that (I'm still evaluating): I'm currently wond

RE: [flexcoders] Re: using an array

2008-01-17 Thread Gordon Smith
On the SDK team we prefer to write var incorrects:Array = []; because it generates smaller (and probably faster) bytecode, and we think that var incorrects:Array = [ "a", "b", "c" ]; looks so much better than var incorrects:Array = new Array(); incorrects[0] = "a"; inc

RE: [flexcoders] errors in livedocs

2008-01-17 Thread Gordon Smith
> Is it just me ? No, it isn't working for me either. I'm cc'ing some folks on the documentation team. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, January 17, 2008

RE: [flexcoders] using an array

2008-01-17 Thread Gordon Smith
You've declared an Array var which is automatically initialized to 'null' -- it isn't yet a reference to an actual Array object. You need to write var incorrects:Array = []; to initialize it to an empty (i.e., 0-element) Array instance. Gordon Smith Adobe Flex SDK Team __

[flexcoders] Re: using an array

2008-01-17 Thread Tim Hoff
Hi, It looks like you have declared the array, but haven't constructed it; like so: var incorrects:Array = new Array(); Some prefer: var incorrects:Array = new Array; -TH Tim Hoff Cynergy Systems | Technical Lead 3603 5th Ave. Suite A, San Diego, CA 92103 http://www.cynergysystems.com

[flexcoders] Re: Dataprovider for list

2008-01-17 Thread flex2_4me
Hi Sherif- Why do i need to add 'item1' its already there in the XML (dataprovider).I just want it to be displayed in the list control. --- In flexcoders@yahoogroups.com, Sherif Abdou <[EMAIL PROTECTED]> wrote: > > why not just do > private function initApp():void{ > var xml:XML = /*ur dataProv

RE: [flexcoders] Re: addchild

2008-01-17 Thread Gordon Smith
Built in to the Flash Player are low-level flash.* classes such as Sprite. The Flex framework libraries contains higher-level mx.* classes such as UIComponent, Button, Container, VBox, etc. which add many capabilities beyond those in the Player. The Flex framework was designed with the assumption

[flexcoders] errors in livedocs

2008-01-17 Thread [EMAIL PROTECTED]
Is it just me ? On this page http://livedocs.adobe.com/flex/2/langref/mx/core/UIComponent.html I put anything into the search box. It says The requested URL /cfusion/search/index.cfm was not found on this server.

Re: [flexcoders] Re: addchild

2008-01-17 Thread [EMAIL PROTECTED]
Ok thanks, I can finally see the ball. I did look on http://livedocs.adobe.com/flex/2/langref/mx/core/UIComponent.html It should have this line somewhere on this page: import.mx.core.UIComponent For the world of me I don't know why they don't have that on that page. Max Frigge wrote: > import m

[flexcoders] using an array

2008-01-17 Thread [EMAIL PROTECTED]
I thought I knew how to do this but it seems like everything little thing I do makes errors. var incorrects:Array; incorrects[2]='asdf'; TypeError: Error #1009: Cannot access a property or method of a null object reference. What is the matter ?

RE: [flexcoders] Re: Remote Objects & AIR

2008-01-17 Thread Dale Fraser
I have tried that and it fails. I am using Mappings though, I might try again by setting up a Chanel. Regards Dale Fraser http://learncf.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lwz7512 Sent: Friday, 18 January 2008 4:30 PM To: flexcoders@yahoogro

Re: [flexcoders] Re: addchild

2008-01-17 Thread Max Frigge
import mx.core.UIComponent; - Original Message From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Friday, January 18, 2008 5:28:02 PM Subject: Re: [flexcoders] Re: addchild Ok thanks, I tried that, Now I get this error, Type

Re: [flexcoders] Set form item to invalid

2008-01-17 Thread Max Frigge
var event:ValidationResultEvent = new ValidationResultEvent("invalid"); passwordConfirmValidator.dispatchEvent(event); doesn't do anything... sorry for being dump mate, but I only have minimum "knowledge" when it comes to custom events. :-) - Original Message From: Sherif Abdou <[EMAIL

Re: [flexcoders] Error: Call to a possibly undefined method setTextFormat

2008-01-17 Thread [EMAIL PROTECTED]
I don't know, I should have included the link in my post, but I can't find it now. Gordon Smith wrote: > > > I checked it and double checked it. very frustrating. . > > Can you please explain exactly what you saw that made you believe that > setTextFormat() is a method of TextArea? If ther

RE: [flexcoders] Error: Call to a possibly undefined method setTextFormat

2008-01-17 Thread Gordon Smith
> I checked it and double checked it. very frustrating. . Can you please explain exactly what you saw that made you believe that setTextFormat() is a method of TextArea? If there is a documentation problem, I would like to get it fixed so that others aren't similarly confused. Gordon Smith

Re: [flexcoders] Re: addchild

2008-01-17 Thread [EMAIL PROTECTED]
Ok thanks, I tried that, Now I get this error, Type was not found or was not a compile-time constant: UIComponent. rueter007 wrote: > > you cannot add sprites directly that way. you can do the following. > > var ballParent: UIComponent = new UIComponent(); > ballParent.addChild(ball); > vbox.addCh

[flexcoders] edit labels of the pie chart

2008-01-17 Thread ravi6mrgn
Hi All, I am developing an application in which, it is desired that a user should be able to click on the labels (which are showing the details of a pie chart). Upon clicking the labels it should get selected and the corresponding segments of the pie charts should also get selected. Any help wi

[flexcoders] Re: addchild

2008-01-17 Thread rueter007
you cannot add sprites directly that way. you can do the following. var ballParent: UIComponent = new UIComponent(); ballParent.addChild(ball); vbox.addChild(ballParent); and ofcourse, you have to set the width, height etc. - venkat http://www.venkatj.com --- In flexcoders@yahoogroups.com, "[EM

Re: [flexcoders] addchild

2008-01-17 Thread [EMAIL PROTECTED]
This is the entire ball class package com.oreilly.programmingflex.states { import flash.display.Sprite; public class Ball extends Sprite { private var radius:Number; private var color:uint; public function Ball(radius:Number=40, color:uint=0xff)

Re: [flexcoders] Set form item to invalid

2008-01-17 Thread Sherif Abdou
just dispatch a fake event from the validator and that should work. - Original Message From: m.frigge <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Thursday, January 17, 2008 11:38:24 PM Subject: [flexcoders] Set form item to invalid Hey, is there an easy way to set a formIt

Re: [flexcoders] addchild

2008-01-17 Thread Sherif Abdou
it means that the ball is not a IUIcomponenet which it is required for it to be added on stage, show me a bit of the ball class code so i can know - Original Message From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Thursday, January 17, 2008 11:38:26 PM

[flexcoders] Set form item to invalid

2008-01-17 Thread m.frigge
Hey, is there an easy way to set a formItem to invalid, so that it appears as if a validator did not validate successful. I can set the errorString to get the tooltip, but the red border style is missing. Cheers, Max

Re: [flexcoders] addchild

2008-01-17 Thread [EMAIL PROTECTED]
OK thanks. Now when I try to use addChild, I get this error. What does it mean ? myball=new Ball; addChild(myball); TypeError: Error #1034: Type Coercion failed: cannot convert com.oreilly.programmingflex.states::[EMAIL PROTECTED] to mx.core.IUIComponent. at mx.core::Containe

Re: [flexcoders] Re: Dataprovider for list

2008-01-17 Thread Sherif Abdou
why not just do private function initApp():void{ var xml:XML = /*ur dataProvider*/; xml..child("item1"); } - Original Message From: flex2_4me <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Thursday, January 17, 2008 11:35:01 PM Subject: [flexcoders] Re: Dataprovider for list

[flexcoders] Re: Dataprovider for list

2008-01-17 Thread flex2_4me
Hi Paul- This doesn`t work... Any help is really appreciated.. --- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote: > > Looks as though it should work. > > Try: > > y="25"/> > > Paul > - Original Message - > From: "flex2_4me" <[EMAIL PROTECTED]> > To: > Sent

Re: [flexcoders] addchild

2008-01-17 Thread Sherif Abdou
never mind, elaborate a bit more http://www.adobe.com/2006/mxml"; layout="absolute" creationComplete="initApp()"> - Original Message From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Thursday, January 17, 2008 11:03:15 PM Subject: [flexcoders] ad

RE: [flexcoders] Drawn objects acting as children to components?

2008-01-17 Thread Alex Harui
Thinking about this some more, you can remove commitProperties if you can determine the bounds some other way besides actually drawing. For a simple circle, the radius tells all and measure wouldn't call getBounds() and just set measuredWIdth/Height to 2 * circleRadius + borderThickness. Then in

[flexcoders] Re: Remote Objects & AIR

2008-01-17 Thread lwz7512
the post is here: http://tech.groups.yahoo.com/group/flexcoders/message/97678 --- In flexcoders@yahoogroups.com, "Johannes Nel" <[EMAIL PROTECTED]> wrote: > > in your service config > > On Jan 17, 2008 10:05 PM, Dale Fraser <[EMAIL PROTECTED]> wrote: > > >I have read that it is possible but

Re: [flexcoders] addchild

2008-01-17 Thread Sherif Abdou
addChild not addchild - Original Message From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Thursday, January 17, 2008 11:03:15 PM Subject: [flexcoders] addchild I have a ball class. I can make a ball. How do I add it to the stage ? I have seem plenty of

Re: [flexcoders] addchild

2008-01-17 Thread [EMAIL PROTECTED]
Here is an example of this sort of thing. I have seen it over and over again. http://www.actionscript.com/Article/tabid/54/ArticleID/ActionScript-3-0-Display-Lists-and-Display-Object/Default.aspx it shows the shape class and function public class CircleShape extends Sprite {

RE: [flexcoders] underline in datagrid

2008-01-17 Thread Alex Harui
Hmm. Can you post a test case? I'm too busy/lazy to set one up. An alternative is to use a custom header renderer that ignores textDecoration. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dominique Bessette - Halsema Sent: Thursday, J

Re: [flexcoders] Error: Call to a possibly undefined method setTextFormat

2008-01-17 Thread Doug McCune
setTextFormat is not a method of TextArea. setTextFormat is a method of TextField. TextArea is not the same as TextField. TextArea is a Flex control. TextField is a base Flash player control. TextArea uses a TextField control internally. If you were to subclass TextArea you could access the protect

[flexcoders] addchild

2008-01-17 Thread [EMAIL PROTECTED]
I have a ball class. I can make a ball. How do I add it to the stage ? I have seem plenty of examples, and they use addchild. Every time I try to use addchild, I get this error: Error: Call to a possibly undefined method addChild. or if I try to attach it to an existing element such as vbox.add

Re: [flexcoders] Error: Call to a possibly undefined method setTextFormat

2008-01-17 Thread [EMAIL PROTECTED]
I checked it and double checked it. very frustrating. . Sherif Abdou wrote: > There is no setTextFromat property in the TextArea > > - Original Message > From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > To: flexcoders@yahoogroups.com > Sent: Thursday, January 17, 2008 10:58:06 AM > Sub

RE: [flexcoders] Drawn objects acting as children to components?

2008-01-17 Thread Jim Hayes
Not quite sure exactly what you're looking for here Jason, but I'm guessing it's something like this: (I've just hacked at your last example since its very late here and I'm tired, but hope it helps get you a bit further). Note your component instance now has width+height set to 100% and there's

Re: [flexcoders] Re: Remote Objects & AIR

2008-01-17 Thread Johannes Nel
in your service config On Jan 17, 2008 10:05 PM, Dale Fraser <[EMAIL PROTECTED]> wrote: >I have read that it is possible but can't find any examples. > > > > Where do you tell AIR or your project that the Remote Objects are on > Server X. > > > > Regards > > Dale Fraser > > > > http://learncf

Re: [flexcoders] Re: Remote Objects & AIR

2008-01-17 Thread Jeffry Houser
You'll probably also want to compile your AIR app against a custom remote-config file that contains a hard coded URL to the Flex2gateway on your ColdFusion server. And I suspect you'll need a crossdomain.xml file in the server's root directory. This came up on this list a while ago; I m

RE: [flexcoders] Re: Remote Objects & AIR

2008-01-17 Thread Dale Fraser
I have read that it is possible but can't find any examples. Where do you tell AIR or your project that the Remote Objects are on Server X. Regards Dale Fraser http://learncf.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lwz7512 Sent: Friday, 18 Januar

RE: [flexcoders] detect when a child has been added

2008-01-17 Thread Gordon Smith
It sounds like you want to be able to register on a object high up in the DisplayObject tree -- such as the Stage, the SystemManager, or the Application -- and detect when DisplayObjects have been added anywhere below, no matter how deep down. To figure out how to do this, let's consider the four

Re: [flexcoders] Re: Remote Objects & AIR

2008-01-17 Thread Bjorn Schultheiss
Add a layer or abstraction between your service calls so you can switch between remote or local services, and then perform that switch based on the app.connected event. regards, Bjorn On 18/01/2008, at 1:50 PM, lwz7512 wrote: can anyone answer this question? I am also thinking about thi

[flexcoders] Re: Remote Objects & AIR

2008-01-17 Thread lwz7512
can anyone answer this question? I am also thinking about this! and how to access object without server context? --- In flexcoders@yahoogroups.com, Dale Fraser <[EMAIL PROTECTED]> wrote: > > I have a Flex application running nicely and using Remote Objects back to > ColdFusion. > > > > I

Re: [flexcoders] Re: [SYD-ANN] Sydney Flex and AIR Pre-Release Tour With Danny Dura

2008-01-17 Thread Max Frigge
I am glad he did though. Didn't know until now. - Original Message From: Chris Velevitch <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Friday, January 18, 2008 8:54:16 AM Subject: Re: [flexcoders] Re: [SYD-ANN] Sydney Flex and AIR Pre-Release Tour With Danny Dura

[flexcoders] detect when a child has been added

2008-01-17 Thread Sherif Abdou
http://www.adobe.com/2006/mxml"; layout="absolute" creationComplete="initApp()"> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06

RE: [flexcoders] Drawn objects acting as children to components?

2008-01-17 Thread Merrill, Jason
OK, thanks, I have knocked this down to it's simplest form. The graphic appears in the right spot, but it does not respond to changes in the panel's size change. I'm not sure how to implement that in my component. I'm passing in a reference to the Panel container, but it's not responding to it's w

Re: [flexcoders] underline in datagrid

2008-01-17 Thread Dominique Bessette - Halsema
in my custom style for some reason textDecoration doesnt work, i set the header to a style sheet and the overall style to a different one, and it works the header and grid are different colors fonts etc. but as soon as i add textDecoration in the style sheet it just doesnt do anything. On 1/17/08

Re: [flexcoders] underline in datagrid

2008-01-17 Thread Sherif Abdou
O flex 3, I tried it in Flex 2 and it doesnt work, Flex 3 it works, if i understood what you want - Original Message From: Alex Harui <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Thursday, January 17, 2008 7:03:20 PM Subject: RE: [flexcoders] underline in datagrid in 2.0, i

RE: [flexcoders] underline in datagrid

2008-01-17 Thread Alex Harui
in 2.0, if you set textDecoration=underline on the column, both the cells and header should get underlines. Then in theory, if you point the column's headerStyleName to a custom style with textDecoration='none" it should remove the underline from the header. From

RE: [flexcoders] Drawn objects acting as children to components?

2008-01-17 Thread Alex Harui
Get rid of the VBox for now. x,y have no meaning in a VBox. You shouldn't need to create an inner sprite either, but you should set the center of the circle to be far enough in that the circle doesn't end up at negative coordinates. From: flexcoders@yahoogroups

[flexcoders] Two chart components w. Linear Axis calling similar function on them breaks down

2008-01-17 Thread alex
Hey I have two ColumnChart components with Linear Axis I call labelFunction on each of them , the functions are similar in functionality but different variables names. I'm just cleaning up labels and ticks arrays to contain less members. What strange happens is that the functions does not work

RE: [flexcoders] Drawn objects acting as children to components?

2008-01-17 Thread Merrill, Jason
OK, I'm about 80% there now. However, the graphic appears at location 0,0 in the panel and extends outside the panel boundaries. I set the params in MXML like this: Here is the AS component class I wrote: package components { import mx.core.UICo

RE: [flexcoders] UPLOAD

2008-01-17 Thread Lukas Ruebbelke
Does the folder you are uploading to have the appropriate Write permissions? _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Thursday, January 17, 2008 4:51 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] UPLOAD I'm trying to bui

Re: [flexcoders] underline in datagrid

2008-01-17 Thread Dominique Bessette - Halsema
maybe i should mention i'm not using flex 3 i'm using flex 2 On 1/17/08, Dominique Bessette - Halsema <[EMAIL PROTECTED]> wrote: > > yeah it's weird even when i take the styleName = "HeaderCustomStyle" out > and put the values in the columns it's still just all underlined, i think > i've tried eve

[flexcoders] trouble with localToGlobal point? this may help u

2008-01-17 Thread Corey Smaller
there wasnt much out there that pointed me in the right direction to do this. I assumed you just make the new Point based on the object (in this case a button) and call the localToGlobal function. well, that aint the way its done! you have to get the container (in this case a canvas) too and the

[flexcoders] Re: How to Access Child Objects and its properties...?

2008-01-17 Thread Corey Smaller
have you tried using localToGlobal or contentToGlobal on the variables inside of the Box? I have been dealing with this for the past 8 hours and it helps alot. basically puts your X an Y variables to their global (stage) absolute stage position. check out the adobe docs for help on coordinates. i

[flexcoders] Remote Objects & AIR

2008-01-17 Thread Dale Fraser
I have a Flex application running nicely and using Remote Objects back to ColdFusion. I now want to make it an AIR application and make it do a couple extra tricks. How does my AIR application talk Remote Objects, how do I tell it what server to talk back to? Regards Dale Fraser

[flexcoders] UPLOAD

2008-01-17 Thread Rafael Faria
I'm trying to build this upload app but i'm getting an error that there is no way i can handle. bubbles = false cancelable = false currentTarget = (flash.net::FileReference)#1 creationDate = Tue Feb 13 14:40:42 GMT+1100 2007 creator = "XCEL" modificationDate = Wed Feb 14 15:23:29 GMT+1100 2007 n

[flexcoders] AS3 RSS Parser

2008-01-17 Thread Jesse Warden
Anyone know of an ActionScript 3 RSS feed parser that does not have any Flex framework dependencies? This one has a dependency to the mx.formatters.DateFormatter: http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries

RE: [flexcoders] Drawn objects acting as children to components?

2008-01-17 Thread Merrill, Jason
Thanks Alex,that makes total sense. I'm going to start down that path and see how far I get before I bug the list again. But first if I could ask one more question, are those likely the only two UIComponent methods I'll have to override in UIComponent to accomplish this? Jason Merrill Bank

Re: [flexcoders] underline in datagrid

2008-01-17 Thread Dominique Bessette - Halsema
yeah it's weird even when i take the styleName = "HeaderCustomStyle" out and put the values in the columns it's still just all underlined, i think i've tried every combination On 1/17/08, Alex Harui <[EMAIL PROTECTED]> wrote: > >Try setting those values on the columns, and explicitly unset it

Re: [flexcoders] Re: DataGridColumn headerRenderer instance

2008-01-17 Thread Mark Bradley
Perfect. Thanks! -Mark On Jan 17, 2008, at 4:50 PM, Alex Harui wrote: There is no public API for that. You can get to it from subclasses, but how depends on which version of Flex. Another way would be to use a custom ClassFactory. 2.x it is listItems[0][i] 3.0 it is header.headerI

RE: [flexcoders] Drawn objects acting as children to components?

2008-01-17 Thread Alex Harui
UIComponent. It must report valid measurements in order for Panel to handle it correctly. What you are doing is not object-oriented. Someone has probably done it, but normally you'd create subclasses for each "kind" of widget. On the other hand, if you know the bounds of your graphics, you c

[flexcoders] Re: Opening a new BROWSER

2008-01-17 Thread Oscar Cortes
You can invoke JavaScript with navigateToURL(), so if you know the JavaScript needed to set up a new window like the one you need, you should be all set. See these two links: http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhel\ p.htm?context=LiveDocs_Book_Parts&file=

[flexcoders] Re: fcsh - can it compile a batch list of files

2008-01-17 Thread Reid Priedhorsky
reflexactions wrote: > Is there a way to get fcsh to compile a list of modules. > > I am compiling all the modules in the application (about 70) from the > command line using a batch file, this takes about 13 mins with > incremental turned on, 20 mins without, I guess most of the time is > bein

RE: [flexcoders] Drawn objects acting as children to components?

2008-01-17 Thread Merrill, Jason
Thanks. So you mean a subclass of UIComplonent or Panel? And the bounds would be relative to Panel width and height? I sort of get maybe how to write that, I mean, I know how to subclass components and do method overriding, but not sure how to go about doing what your suggesting exactly. Any poi

[flexcoders] Opening a new BROWSER

2008-01-17 Thread hworke
Hello: I am using the following code to open a new browser which is triggered by a button click- navigateToURL(new URLRequest('http://www.adobe.com')); My question is how can I open this new browser without the navigation panel and also without all the drop down menus of

RE: [flexcoders] Re: Moves Flex mouse cursor to a new position in the stage

2008-01-17 Thread Merrill, Jason
You can however fake it by hiding the cursor and putting a graphic in it's place which looks just like a cursor but at different X,Y coordinates. This is a nice trick to use in software demonstrations where you switch between "watch the demo" and "try it yourself" mode. Jason Merrill Bank of

RE: [flexcoders] Get fields from dataProvider

2008-01-17 Thread Alex Harui
ObjectUtil.getClassInfo() From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Thursday, January 17, 2008 2:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Get fields from dataProvider How can I extract a

RE: [flexcoders] underline in datagrid

2008-01-17 Thread Alex Harui
Try setting those values on the columns, and explicitly unset it in headerCustomStyle From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dominique Bessette - Halsema Sent: Thursday, January 17, 2008 10:39 AM To: flexcoders@yahoogroups.com S

RE: [flexcoders] Re: DataGridColumn headerRenderer instance

2008-01-17 Thread Alex Harui
There is no public API for that. You can get to it from subclasses, but how depends on which version of Flex. Another way would be to use a custom ClassFactory. 2.x it is listItems[0][i] 3.0 it is header.headerItems[i] From: flexcoders@yahoogroups.com [m

RE: [flexcoders] Re: Drawn objects acting as children to components?

2008-01-17 Thread Merrill, Jason
OK, thanks Ben. I'm halfway there now. I listened for the updateComplete event and it works great, it redraws and repositions the graphics I'm drawing. However, the graphics themselves, when you resize the panel a certain amount, will still appear outside the panel area if the panel is small e

[flexcoders] Get fields from dataProvider

2008-01-17 Thread markgoldin_2000
How can I extract a list of fields from DataGrid's dataProvider? I need it ftom dataProvider because not all data is shown in the grids. Thanks

RE: [flexcoders] Drawn objects acting as children to components?

2008-01-17 Thread Alex Harui
UIComponent does not map its width/height to the bounds of what you draw. Therefore the Panel doesn't know that it has size and doesn't correctly know when to clip it or how to layout according to its size. You could write a subclass that does map width/height to those bounds.

[flexcoders] Re: Killing Browser based popups

2008-01-17 Thread markcavins
Thanks for the idea. No I would have to do this on the flex side. --- In flexcoders@yahoogroups.com, "Varun Shetty" <[EMAIL PROTECTED]> wrote: > > i believe it would be best to create some url encoding parameters in the php > page that is there. If you send a no parameters which are used in other

RE: [flexcoders] visible component and ViewStack

2008-01-17 Thread Alex Harui
I would just check that component when the Viewstack change event is fired. The test if the new current selectedChild.contains(widget) should work. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Bradley Sent: Thursday, January 17,

RE: [flexcoders] Re: SWC compiled against Flex 2 SDK only usable in Flex 3 projects

2008-01-17 Thread Alex Harui
I think you are flushing out the assumptions made in the framework about what is in global. There are probably fewer assumptions in Flex 3 than in Flex 2. I noticed that in Flex 3 we protect against borderClass being null. I don't see any protection in Flex 3 about not having a global selector,

Re: [flexcoders] Re: Moves Flex mouse cursor to a new position in the stage

2008-01-17 Thread Varun Shetty
If you mean to move the system mouse cursor to a new position. no it is not possible. 'cause it would be a security breach to the system. Flash Sandbox would not allow any such activity. Mebbe in Adobe AIR you can .. not really sure about that. regards, Varun Shetty On Jan 17, 2008 4:43 PM, flex

Re: [flexcoders] Killing Browser based popups

2008-01-17 Thread Varun Shetty
i believe it would be best to create some url encoding parameters in the php page that is there. If you send a no parameters which are used in other applications currently. it would open the popup.. but sending a specific url encoded parameter from flex .. can make it stop.. jus an idea.. no clue

RE: [flexcoders] Highlight item in Datagrid

2008-01-17 Thread Tracy Spratt
Loop over the dataProvider items until you find a match for the id. Then use the loop index to set the dataGrid.selectedIndex. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markflex2007 Sent: Thursday, January 17, 2008 2:41 PM T

[flexcoders] How to Access Child Objects and its properties...?

2008-01-17 Thread Varun Shetty
I am creating some flex components through action script. And I want to access the x position of these components. These components are created within an HBox (personDetails) so they get an x position on its own and it is not an absolute value. But I would like to retrieve these x values from an bu

RE: [flexcoders] Re: HTTPService - save DataGrid data

2008-01-17 Thread Tracy Spratt
That, (after fixing my typo) is what is happening in that example. var oRequest:Object = {xmlstring:XMLData.toXMLString(),name1:"value1",name2:"value2"}; Assuming you haven't messed with contentType, that sends three name=value pairs to the server. If method="post" they are sent i

[flexcoders] Killing Browser based popups

2008-01-17 Thread markcavins
Hey, I have this flex app that accesses an existing backend program to get it's information. One of the fail safes we have in this backend is a browser based pop up that will activate if a user enters the wrong username or password. I don't want to alter this behavior in the PHP because it is need

RE: [flexcoders] Re: Drawn objects acting as children to components?

2008-01-17 Thread Merrill, Jason
Hmm, OK, no it's not in updateDisplayList - like I'm not overriding that - but maybe I should be or listening for that event instead. Thanks. I was just drawing directly onto the UIComponent inside the panel. Jason Merrill Bank of America GT&O L&LD Solutions Design & Development eTools & Mu

Re: [flexcoders] Re: Application protection

2008-01-17 Thread Paul Andrews
Thanks Andrew, looks interesting. Paul - Original Message - From: "andrewwestberg" <[EMAIL PROTECTED]> To: Sent: Thursday, January 17, 2008 9:45 PM Subject: [flexcoders] Re: Application protection >I have an AIR app and I use Nitro-LM for licensing ;). I currently > consult for the pa

Re: [flexcoders] Re: [SYD-ANN] Sydney Flex and AIR Pre-Release Tour With Danny Dura

2008-01-17 Thread Chris Velevitch
On Jan 16, 2008 3:02 PM, Jeff Houser <[EMAIL PROTECTED]> wrote: > With all due respects to Chris, is it appropriate to ask that such > announcements do not get posted to the list? I do not wish to see a > multitude of announcements for events I cannot attend. I appreciate what you are saying and

[flexcoders] Re: Adding a 'baseline' to a Flex Chart

2008-01-17 Thread Oscar Cortes
Hi Scott, I added a recipe in the Flex Cookbook which I think is what you are looking for: http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails\ &postId=2041&productId=2&loc=en_US

Re: [flexcoders] Validating Radio Button Groups

2008-01-17 Thread Dominique Bessette - Halsema
add an event listener like so and then you watch it for selectedIndex selectedItem etc On 1/17/08, Ethan Miller <[EMAIL PROTECTED]> wrote: > > Greetings - > > Asking again anyone have experience validating that one of some > group of radio button is selected... and marking the container

[flexcoders] Re: Application protection

2008-01-17 Thread andrewwestberg
I have an AIR app and I use Nitro-LM for licensing ;). I currently consult for the parent company Simplified Logic, but use the licensing for my own stuff as well. See NitroLM.com for details (checkout, floating licensing, code encryption). We'll be announcing the Flex/AIR NitroClient at 360 Fle

[flexcoders] Re: Moves Flex mouse cursor to a new position in the stage

2008-01-17 Thread flexawesome
--- In flexcoders@yahoogroups.com, "flexawesome" <[EMAIL PROTECTED]> wrote: > > Hey there, > > Is there a way to move the mouse cursor to a new location in the Flex > application? > > Any sample code please? > > Cheers > any suggestions? thanks

[flexcoders] Adding a 'baseline' to a Flex Chart

2008-01-17 Thread Scott Stroz
Hi. I am trying to create a LineChart in Flex that has one series and a 'baseline' (I doubt I am using the correct term there), where the baseline would be a straight line across the chart at a given value. For example, let's say that the chart is tracking weight loss or gain and you want to char

Re: [flexcoders] Nested Repeaters not working

2008-01-17 Thread Paul Andrews
- Original Message - From: "Paul Andrews" <[EMAIL PROTECTED]> To: Sent: Thursday, January 17, 2008 8:34 PM Subject: Re: [flexcoders] Nested Repeaters not working > - Original Message - > From: "Barnaby Jones" <[EMAIL PROTECTED]> > To: > Sent: Thursday, January 17, 2008 6:10 P

[flexcoders] Re: SWC compiled against Flex 2 SDK only usable in Flex 3 projects

2008-01-17 Thread ben.clinkinbeard
bump --- In flexcoders@yahoogroups.com, "ben.clinkinbeard" <[EMAIL PROTECTED]> wrote: > > Hi Alex, > > No, I didn't because I had no idea I was supposed to. I don't see any > info in the docs mentioning the need to create a global selector. I > have now created one, but that causes a different e

[flexcoders] Re: Drawn objects acting as children to components?

2008-01-17 Thread ben.clinkinbeard
Where are you making your calls to the drawing API? It should be in updateDisplayList(), but that would require subclassing. If you don't want to subclass you could probably hook up a listener to networkBrowser's updateComplete event and clear and then redraw the graphics in the handler. HTH, Ben

Re: [flexcoders] Flex Charting chart updated event?

2008-01-17 Thread Maciek Sakrejda
Well, if anyone is interested, I was able to more-or-less get this to work by overriding NumericAxis protected method adjustMinMax in a custom axis implementation, and dispatching a custom event when the computedMinimum or computedMaximum changed. Can anyone think of a cleaner way of doing this? B

[flexcoders] Load-Unload RSL SWF and not including Resource bundle in an Application/Module

2008-01-17 Thread rcoqueugniot
Hello, I've written a Flex Application loading a Module with "Merged into code" enabled options for every internal SWC libraries (flex,framework,charts,rpc, ...) except playerglobal.swc Everything seems to be OK I would like to setup the same project with RSL enabled for those internal libraries.

[flexcoders] visible component and ViewStack

2008-01-17 Thread Mark Bradley
Hi, Does anyone know if there is an event I can listen to that will tell me when a deep UIComponent becomes visible on screen in a ViewStack? I know I can listen for a VISIBLE event on the containers of a ViewStack, but what about components inside the containers (namely a DataGrid)? I nee

Re: [flexcoders] Nested Repeaters not working

2008-01-17 Thread Paul Andrews
- Original Message - From: "Barnaby Jones" <[EMAIL PROTECTED]> To: Sent: Thursday, January 17, 2008 6:10 PM Subject: [flexcoders] Nested Repeaters not working > Hey people, > I posted a bug over at the flex jira > (http://bugs.adobe.com/jira/browse/FB-11755) but I probably should > have

Re: [flexcoders] Move effect

2008-01-17 Thread Varun Shetty
here... try this out.. mebbe this is something u required. the stuff u required just intrigued me.. so .. jus made one.. Although, I hate the basic flash fx api's... i would rather use the tweener class for movements.. but ..i jus didn't want you to see another bunch of code make this simple for

  1   2   3   >