[flexcoders] Re: problem adding images to UIComponents using AS3

2008-07-31 Thread Jason
It may be true that it's not intended to be described as MXML, but it does work, since you can't add sprites directly to containers like panels, you have to add them to UIComponents first, I used a UIComponent MXML tag elsewhere in my app to add a Sprite and it worked just fine. So I don't thi

RE: [flexcoders] problem adding images to UIComponents using AS3

2008-07-31 Thread Alex Harui
Parents size their children in Flex, so the UIComponent's image size is probably zero since nobody sized it From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sid Maskit Sent: Thursday, July 31, 2008 1:39 PM To: flexcoders@yahoogroups.com S

Re: [flexcoders] problem adding images to UIComponents using AS3

2008-07-31 Thread Sid Maskit
There is probably more to it than this, but note that the action script language reference listing for UIComponent says, "The UIComponent class is not used as an MXML tag, but is used as a base class for other classes." My suspicion is that it does not contain the logic needed to properly displa

[flexcoders] Multi-line repeated graphics

2008-07-31 Thread Richard Rodseth
I have a requirement for a data visualization that involves a graphic repeated n times as follows, over multiple lines/rows. x x xx However, it should also never scroll, and fill whatever space is available, with the cell size varying as necessary, with aspect ratio preserved. I've exper

Re: [flexcoders] Re: NaN and Infinity showing in output - How to modify?

2008-07-31 Thread Sid Maskit
True. Good point. Event handler attributes are assumed to contain code. Most attributes are of a type like string or number, and will need braces to get a value treated as code. I'm not sure if there are other attributes beside event handlers which are also assumed to contain code, but it wouldn

[flexcoders] Re: Selecting an Editor for a DataGridColumn at runtime - how?

2008-07-31 Thread garyq22
--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > You didn't say what error you got, but did you try this? > > private function onItemEditBegin(event:DataGridEvent):void > { > var dgc:DataGridColumn; > dgc = > event.currentTarget.columns[event.currentTarget.editedItem

[flexcoders] problem adding images to UIComponents using AS3

2008-07-31 Thread Merrill, Jason
I don't get why this code is failing, it's reproducible if you put an image in the path shown below. (This isn't the actual code in my app, I just isolated a problem and made the problem reproducible it here. In my real app, it's failing to embed an image into a class that is added to a UI com

[flexcoders] Re: NaN and Infinity showing in output - How to modify?

2008-07-31 Thread Amy
--- In flexcoders@yahoogroups.com, Sid Maskit <[EMAIL PROTECTED]> wrote: > > I think I see your point here, and I guess that I have not made mine clearly enough, so here is a little more on this. > > When we say text="{myNumber}", we are really setting up whatever is within the braces as an even

RE: [flexcoders] Selecting an Editor for a DataGridColumn at runtime - how?

2008-07-31 Thread Alex Harui
You didn't say what error you got, but did you try this? private function onItemEditBegin(event:DataGridEvent):void { var dgc:DataGridColumn; dgc = event.currentTarget.columns[event.currentTarget.editedItemPosition.colum nIndex]; if (dgc != null) { dgc.itemEditor = new ClassFactory(mx.controls.Nu

[flexcoders] Can see series[0].seriesRenderData in debug - cannot code to it?

2008-07-31 Thread chigwell23
Hi all, Thanks very much for all your help so far ... I am now accessing the chart object from within the line renderer with: override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {

[flexcoders] LCDS - Tomcat - JOTM Integration

2008-07-31 Thread Geoffrey
After a couple days of fussing around, I was able to successfully integrate JOTM into our webapp, and thought that I'd share what I did. Hopefully it will be useful to someone else. Environment: Eclipse 3.3.1.1 Tomcat 6.0.16 LCDS 2.5.1 JOTM 2.0.10 Installation: 1) Download JOTM 2.0.10 from htt

RE: [flexcoders] Re: Load Complete on tilelist

2008-07-31 Thread Alex Harui
I assumed the images were also being externally loaded in response to the result from the server From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of zyzzx00_99 Sent: Thursday, July 31, 2008 11:17 AM To: flexcoders@yahoogroups.com Subject: [f

[flexcoders] Re: Chart: pass info about series1 to series2 lineSegmentRenderer callback?

2008-07-31 Thread chigwell23
Hi Johannes, The actual data to chart is of course already provided to the 2 series via the dataprovider - the reason I need series 2 renderer to know about series 1 is in order to position the line segments exactly above the series 1 columns as Flex auto adjusts those column positions based on un

[flexcoders] Selecting an Editor for a DataGridColumn at runtime - how?

2008-07-31 Thread garyq22
Hello Group I would like to select an Editor for each cell in my DataGrid depending on other data values that might be in the same row. I believe I can use the itemEditBegin event to assign and create my chosen editor. I've got this far and I'm well stuck. I know the following doesn't work - I j

Re: [flexcoders] applet on top of flash?

2008-07-31 Thread ibo
for the benefit of other flex devs integrating applets / dhtml, on the tag of your swf, just add as parameter. As expected, the YUI Panel worked seamlessly. - Original Message From: ibo <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Thursday, July 31, 2008 11:00:12 AM Subjec

[flexcoders] Re: Any future plans to support ODBC Connections for AIR applications?

2008-07-31 Thread pbrendanc
I understand the tcp approach but that's just a really roundabout/indirect approach vs a direct db connection of some sort (maybe native drivers if ODBC is not your thing - again look at the Python libraries) . I'd be curious to hear the official Adobe position on this and whether this is a featur

Re: [flexcoders] Re: NaN and Infinity showing in output - How to modify?

2008-07-31 Thread Sid Maskit
I think I see your point here, and I guess that I have not made mine clearly enough, so here is a little more on this. When we say text="{myNumber}", we are really setting up whatever is within the braces as an event handler for the event dispatched whenever myNumber changes. If we think of bin

[flexcoders] Re: Text components of Gumbo

2008-07-31 Thread haykelbj
Hi Gordon, thank you for these explanations! Now I have a better overview on what's going on. So I started my tests and I will use this thread to share my experiences (tell me if there's a better place). I found some problems that I will submit in the Flex Bug System. I already submitted one (ht

[flexcoders] Re: Load Complete on tilelist

2008-07-31 Thread zyzzx00_99
Really? Why can't you just use the result event and set result=functionName on HTTPService? --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > You'l lhave to write that method yourself. Listen for "complete" events > from the image controls > > > > __

[flexcoders] Adding parameters to a control's definition

2008-07-31 Thread whatabrain
If I extend a control, how do I allow new parameters in the instance's mxml definition? For example, how would I make this possible:

[flexcoders] Re: NaN and Infinity showing in output - How to modify?

2008-07-31 Thread Amy
--- In flexcoders@yahoogroups.com, Sid Maskit <[EMAIL PROTECTED]> wrote: > > Try something like this: > > > > Note that you need to give the Label component and id, and use that id to refer to it in your statements within braces. > > By the way, as you are no doubt noticing, the larger point h

Re: [flexcoders] Re: Chart: pass info about series1 to series2 lineSegmentRenderer callback?

2008-07-31 Thread Johannes Nel
i think you are making your own life difficult. calculate the values before hand and render it then instead of trying to do it while you render, On Thu, Jul 31, 2008 at 7:26 PM, chigwell23 <[EMAIL PROTECTED]> wrote: > Hi Laurent, > > Yes true, but the data passed to the renderer is only the dat

[flexcoders] dataGrid null with state change

2008-07-31 Thread netdeep
I have a custom component with various fields and buttons. At times during my application, these components are added to the main window. The data for the fields is generated from another custom component with information like strings, arrays, etc. The problem I'm having is with databinding a

RE: [flexcoders] Load Complete on tilelist

2008-07-31 Thread Alex Harui
You'l lhave to write that method yourself. Listen for "complete" events from the image controls From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Gironella Sent: Thursday, July 31, 2008 5:36 AM To: flexcoders@yahoogroups.com Subject

[flexcoders] Re: Chart: pass info about series1 to series2 lineSegmentRenderer callback?

2008-07-31 Thread chigwell23
Hi Laurent, Yes true, but the data passed to the renderer is only the data for the associated series, and I also need the data for the first series in order to do my calcs within the renderer :-( --- In flexcoders@yahoogroups.com, Laurent Cozic <[EMAIL PROTECTED]> wrote: > > Normally, the way to

RE: [flexcoders] Re: Sorting an XMLList on an attribute

2008-07-31 Thread Tracy Spratt
Yes, you really should not use XMLList as a dataProvider. *It is not bindable* and does not dispatch the necessary events to update the UI. By the way, this is clearly stated in the docs, and I repeat it on this list very often. (Do not use Array, for the same reason) You need to make the cha

RE: [flexcoders] Re: Type Cast Error

2008-07-31 Thread Alex Harui
The shared code module won't require any getters. It is effective an RSL that goes in the main app so all modules can use it w/o any changes. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of donald_d_hook Sent: Thursday, July 31, 2008 6:

RE: [flexcoders] Keyboard navigating through List's item renderers

2008-07-31 Thread Alex Harui
You're headed in the right direction. I think you have to implement IFocusManagerComponent on the renderer, and handle KEY_FOCUS_CHANGE. FWIW, I wouldn't use a Form since it is pretty heavy. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

RE: [flexcoders] Re: Type Cast Error

2008-07-31 Thread Alex Harui
These are the kinds of problems that result from the shared code problem The Flash Player can't handle multiple mappings of "different" classes for deserialization. Don't try to fight it, either put the VO's in the main app or create a shared code module. From

RE: [flexcoders] Re: Can we subclass Application yet?

2008-07-31 Thread Alex Harui
So you can use the defaultProperty trick, but I'd just subclass in AS and add the toolbar there. Should be less painful. I don't answer chart questions. Gotta have limits ;-) Hopefully one of the chart engineers will respond. From: flexcoders@yahoogro

RE: [flexcoders] How do we implement pop-up input in Flex?

2008-07-31 Thread Tracy Spratt
An event is probably the easiest way. Implement public propertie(s) on the popup component that contain your data, dispatch a named event (does not need to be a custom event), then in the handler, access the data using event.target.myPublicProperty. There are also ways to set values directly.

Re: [flexcoders] SQL crashing program

2008-07-31 Thread Sid Maskit
How about posting the relevant code. Also, am I right in assuming that this is in AIR, and that you are using its local database? Sid Maskit Partner CraftySpace Better Websites for a Better World http://www.CraftySpace.com blog: http://smaskit.blogspot.com/ - Original Message From:

RE: [flexcoders] How do we implement pop-up input in Flex?

2008-07-31 Thread Alex Harui
My code usually listens to the popup for its closeevent and pulls data from the popup. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Jackson Sent: Thursday, July 31, 2008 9:15 AM To: flexcoders@yahoogroups.com Subject: [flexcode

[flexcoders] SQL crashing program

2008-07-31 Thread Josh Millstein
I have this weird deal going on right now. I'm running through a for loop creating a bunch of sql statements (within an exclusive transaction) with eventlisteners for the results and errors. The result eventlistener is relaying the status of the progress through the sql statements ("record x of y

[flexcoders] Re: NaN and Infinity showing in output - How to modify?

2008-07-31 Thread zyzzx00_99
to possibly help in the "vague understanding," the ()?: stuff is an inline if statement. (mynum > maxval) ? is like saying If mynum is greater than maxval. ":" is the else. re your errors: from eyeballing everything, numberformatter.format returns a string (control click into ".format" in flexb

[flexcoders] Types in Web Services

2008-07-31 Thread Carlos Obregón
I have a method in java that returns an object of type T which has a Set When I import the Web Service in Flex Builder 3, it creates a class T with an atribute of type Array When I call the method the Array always has size 0. Is there anyway to fix this without having to change the type in the J

Re: [flexcoders] NaN to return a string?

2008-07-31 Thread Blair Cox
Doh! Only way to get better at this is to keep working at it. Thanks for all three of your great suggestions. The powers that be want a note, so we¹ll go with that that. I¹ll find uses for the other options for sure. Cheers! -- Blair Cox From: Sid Maskit <[EMAIL PROTECTED]> Reply-To: Date:

[flexcoders] Re: Detecting a click on an empty part of AdvancedDataGrid - SOLUTION

2008-07-31 Thread whatabrain
I found the solution to my problem. It depends on the fact that "click" is fired after "itemClick." var m_processingItemClick:Boolean = false; private function onItemClick(event:ListEvent):void { processingItemClick = true; } private function onClick(event:MouseEvent):void { if (m_processingIt

Re: [flexcoders] NaN and Infinity showing in output - How to modify?

2008-07-31 Thread Blair Cox
Hmm, sorry the last post left a part out, it was shown lower down: Adding the ³² as you stated, returns an error for mx:Label, ³>² or ³/>². The zero is what is display in the application, if I could provide a short string instead, it would be ideal. Even if the initial default text of the label

Re: [flexcoders] NaN to return a string?

2008-07-31 Thread Sid Maskit
Sure, just replace the 0 with whatever text you want, putting it inside single quotes since the entire statement is inside of double quotes. Since you are setting the value of a label, what ever you put in is going to be cast to a string anyway. Sid Maskit Partner CraftySpace Better Websites

Re: [flexcoders] NaN and Infinity showing in output - How to modify?

2008-07-31 Thread Sid Maskit
Actually, if you are just going to hide the label field, you can just have it display the result of the formatting, and put the checking for NaN and infinity into the setting for visibility. Since you are going to hide the label and it has a value you don't like, you don't really care what it is

Re: [flexcoders] NaN and Infinity showing in output - How to modify?

2008-07-31 Thread Sid Maskit
Try something like this: Note that you need to give the Label component and id, and use that id to refer to it in your statements within braces. By the way, as you are no doubt noticing, the larger point here is that braces are not just for binding, but can contain all sorts of ActionScript.

[flexcoders] Re: Detecting a click on an empty part of AdvancedDataGrid

2008-07-31 Thread whatabrain
Also, when I change focus to another window and then back to the flex app, mouseFocusChange stops firing. It never fires again after that. --- In flexcoders@yahoogroups.com, "whatabrain" <[EMAIL PROTECTED]> wrote: > > Thanks. That's very close to what I want. However, this method > disables mul

Re: [flexcoders] NaN and Infinity showing in output - How to modify?

2008-07-31 Thread Laurent Cozic
How about: sNaN(mynumber) ? 0 : "" -- Laurent Cozic Flash, Flex and Web Application development http://pogopixels.com - Original Message From: Blair Cox <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Thursday, July 31, 2008 5:19:46 PM Subject: Re: [flexcoders] NaN and Infi

Re: [flexcoders] NaN to return a string?

2008-07-31 Thread Blair Cox
Turns out showing a zero could be implied that the calculation was a zero. This is bad, especially if the result is actually zero. Is there any way to return a string rather than a number? isNaN(mynumber) ? 0 : -- Blair Cox http://www.luminultra.com From: Sid Maskit <[EMAIL PROTECTED]>

[flexcoders] Re: Chart: pass info about series1 to series2 lineSegmentRenderer callback?

2008-07-31 Thread Tim Hoff
Unfortunately, the data property in a chart itemRenderer, only contains the xField and the yField; because it is a ChartItem. However, assuming that both series relate to each other by a common xValue, you could use that to iterate over the first series dataProvider to get the related item; assum

Re: [flexcoders] NaN and Infinity showing in output - How to modify?

2008-07-31 Thread Blair Cox
Just one more question. The zero works for me, but I¹m sure I¹ll be asked to make it blank. Any hints as to how this could be accomplished? Coming from the Flash side of things, all I would be looking to do is change the alpha value of the label to zero if the value was 0. isNaN(mynumber) ? 0 :

[flexcoders] Re: Detecting a click on an empty part of AdvancedDataGrid

2008-07-31 Thread whatabrain
Thanks. That's very close to what I want. However, this method disables multiple-select. It deselects items when you click _anywhere_. I only want to deselect when you click on empty space. --- In flexcoders@yahoogroups.com, "actionscript_czar" <[EMAIL PROTECTED]> wrote: > > > Try using the m

[flexcoders] How do we implement pop-up input in Flex?

2008-07-31 Thread Joshua Jackson
Dear all, I want to have a popup input in my flex apps where the values in the popup window will be set to the parent window that calls this popup window. How do we set the variable chosen to the parent window in Flex? Could anyone give me a hint on these please. Many thanks -- Setting a new la

Re: [flexcoders] NaN and Infinity showing in output - How to modify?

2008-07-31 Thread Blair Cox
Hi Sid, thanks a lot for your help. I figured it out! Really just need a starting point for where to look. Cheers! isNaN(mynumber) ? 0 : -- Blair Cox http://www.luminultra.com From: Sid Maskit <[EMAIL PROTECTED]> Reply-To: Date: Thu, 31 Jul 2008 07:51:38 -0700 (PDT) To: Subject: Re: [

[flexcoders] Re: Chart: pass info about series1 to series2 lineSegmentRenderer callback?

2008-07-31 Thread EddieBerman
I don't believe you can pass params. An alternative would be to have your lineRenderer query upwards for the data. I do something similar and added the following code in my updateDisplayList(); (I don't know how important the initial "LineSeries" check is) override protected function updateDisplay

RE: [flexcoders] BlazeDS/LCDS on Jboss 4.2.3

2008-07-31 Thread Dimitrios Gianninas
nevermind, figure out my problem Dimitrios Gianninas RIA Developer and Team Lead Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: Thursday, July 31, 2008 11:16 AM To: flexcoders@yahoogroup

Re: [flexcoders] Chart: pass info about series1 to series2 lineSegmentRenderer callback?

2008-07-31 Thread Laurent Cozic
Normally, the way to pass parameters to the item renderer is through its "data" property. So just make sure that your data provider contains whatever information you need to set the item renderer position. -- Laurent Cozic Flash, Flex and Web Application development http://pogopixels.com

[flexcoders] Chart: pass info about series1 to series2 lineSegmentRenderer callback?

2008-07-31 Thread chigwell23
First question is whether I can pass actual parameters to a callback in the first place? This is what I need to do:

[flexcoders] BlazeDS/LCDS on Jboss 4.2.3

2008-07-31 Thread Dimitrios Gianninas
Just wondering if anyone has deployed BlazeDS/LCDS on JBoss 4.2.3 and got the authentication stuff to work? Got everything configured as it should be but when I do myRemoteObject.setCredentials( "falcon", "falconfalcon" ); in my flex app, I get no response and when I try a remote call it fai

Re: [flexcoders] Re: Sandbox violation running from Builder. How did I get this and how do I fix it?

2008-07-31 Thread Laurent Cozic
Did you try putting your "assets" directory inside "src"? I think that should work fine. -- Laurent Cozic Flash, Flex and Web Application development http://pogopixels.com - Original Message From: jamalwally <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Thursday, July

Re: [flexcoders] NaN and Infinity showing in output - How to modify?

2008-07-31 Thread Blair Cox
Hi Sid, thanks for the reply. I tried your first solution since I did not create a custom function and it returns; 1067: Implicit coercion of value of type Number to an unrelated type Class I have a vague understanding of what is occurring here. Any way around it? How difficult would it be to mod

[flexcoders] Re: Can we subclass Application yet?

2008-07-31 Thread chigwell23
Hi Alex, yes in MXML - since we have a debug toolbar that appears on every view based on a flag, I wanted to put this visual component on the base Application class along with common public vars etc. Public vars etc work fine, but it seems as though you cannot put any visual mxml components on the

[flexcoders] Re: Sandbox violation running from Builder. How did I get this and how do I fix it?

2008-07-31 Thread jamalwally
I also get a security sandbox violation error on a flex project after checking out from SVN. I have a flex project that compiles and runs fine on the original development computer. I then check in my source code to an SVN repository. When a fellow developer checks the project out from SVN and

[flexcoders] Re: Type Cast Error

2008-07-31 Thread donald_d_hook
Alex - after tracing this through, the first time into the page, I do a request to get the stock objects. They are retrieved properly and displayed. I go into a chart module, get some other items and display that page. When I go back into the 1st page (or module) it looks as though the object is

[flexcoders] applet on top of flash?

2008-07-31 Thread ibo
Anyone tried displaying applet on top of flex/flash? Can someone pls point me a link to an example demo? I did a search on this topic and Ive read that its possible to do so but couldnt find an working example. I want it to be displayed as seamless as possible and dont want to open a new browser

Re: [flexcoders] NaN and Infinity showing in output - How to modify?

2008-07-31 Thread Sid Maskit
If the format function is a custom function you have written, you could just have it check whether you like the result it is about to return, and if not, return something else. If that is not the case, I believe that you should be able to put tests into your binding statement. You could test f

[flexcoders] Keyboard navigating through List's item renderers

2008-07-31 Thread mydarkspoon
Hi, I have a list that renders meta data about images (title & tags). This list uses a Form with 2 TextInput controls as an item renderer. The user should be able to navigate through the input fields using either the mouse or the tab key. The List default behavior when editable=true is to set the

[flexcoders] Re: CFMultiUploader

2008-07-31 Thread Dan Vega
I just posted a quick intro to the component http://www.danvega.org On Thu, Jul 31, 2008 at 9:38 AM, Dan Vega <[EMAIL PROTECTED]> wrote: > Anyone on here who uses ColdFusion I could really use your help. I built a > multi file uploader using Flex that you can configure via xml. I need a > cou

[flexcoders] Re: Flex woes, wo-iz-o, i hate it (sometimes)

2008-07-31 Thread Amy
--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > *shudder* > > That's a bad idea unless the "clean up imports" builder functionalituy is > rewritten to a) function, and b) be something you can control when and if it > runs ;-) That's why I suggested a switch. B

[flexcoders] Re: Type Cast Error

2008-07-31 Thread donald_d_hook
Alex - So I should define the class in one spot - i.e. the shared code mxml, then use some getters defined in the main app to use that instance or definition in the module. Thanks again for your assistance!! --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Essentia

[flexcoders] NaN and Infinity showing in output - How to modify?

2008-07-31 Thread cox.blair
I seem to have trouble explaining myself here, hard when you are just learning. Perhaps this will be better. Is it possible to remove, change or hide any label or text output that displays NaN or Infinity? I'm performing a very simply calculation where the user enters a number in a form and it is

[flexcoders] CFMultiUploader

2008-07-31 Thread Dan Vega
Anyone on here who uses ColdFusion I could really use your help. I built a multi file uploader using Flex that you can configure via xml. I need a couple people to test a very early alpha version before I relase it. You should be able to just unzip it to root and follow easy installation instructi

[flexcoders] Re: Creating advanced components

2008-07-31 Thread Laurent
Well you don't *have* to override these methods as Panel already implement them (and so does UIComponent). It depends on what you are trying to do. If you need to create new objects within the extended panel, then you'll want to override createChildren(), if you want to update these children, th

[flexcoders] Re: Datagrid filterfunction results

2008-07-31 Thread Don Kerr
Thanks! Glad it is that simple! I'll give it a try. --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > dataProvider.filterFunction = someFilteringFunction > > dataProvider.refresh() > > var filteredResults:Array =dataProvider.toArray() > > > >

[flexcoders] Creating advanced components

2008-07-31 Thread flexawesome
Hey there, I was reading the articles regarding the components http://livedocs.adobe.com/flex/3/html/help.html? content=ascomponents_advanced_2.html I knew that by extending the UIComponent, I need to overriding the protected UIComponent methods ( createChildren(), commitProperties(), etc. )

[flexcoders] Re: popup window

2008-07-31 Thread actionscript_czar
In actionscript use the percentWidth variable. The MXML compiler is just smart enough to know that a width with a percent sign should actually be percentWidth. So try this: var text:Text = new Text(); text.percentWidth = 100; --- In flexcoders@yahoogroups.com, "Dan Vega" <[EMAIL PROTECTED]>

[flexcoders] Re: Detecting a click on an empty part of AdvancedDataGrid

2008-07-31 Thread actionscript_czar
Try using the mouseFocusChange event.  I've used it a few times for deselecting items in a list when anywhere else is clicked.  For your needs, you may have to adapt it but give it a try. I have a blog post about it at: http://my.opera.com/darylducharme/blog/2007/12/14/hidden-gems-mousefocus\ ch

[flexcoders] Re: assign image path stored in sql server 2005 to source property

2008-07-31 Thread guillaumeracine
--- In flexcoders@yahoogroups.com, "siyaram_5" <[EMAIL PROTECTED]> wrote: > > > Hi all . > > I m .NET developer and doing R & D in Flex 3 . > > I m using SQL SERVER and in one of its column i have given Image Path. > > In Flex i have retrieved the dataset but dont know how to assign that > Imag

Re: [flexcoders] Refreshing data in dataGrid

2008-07-31 Thread Tom Chiverton
On Thursday 31 Jul 2008, Joshua Jackson wrote: > Hi tom, thanks for the fast response. I'm using Java on the server Oh, I was hoping you'd say ColdFusion :-) Sorry, can't be any help. -- Tom Chiverton This email is sent for and on behalf of

[flexcoders] Load Complete on tilelist

2008-07-31 Thread David Gironella
I have a tilelist with a dataprovider from an httpservice. I each item render I load an image. Exists some method to know when all images are complete loaded? I can use some events on tilelist to know this. Thanks. Giro.

[flexcoders] Re: Integrate flex and Java

2008-07-31 Thread kalsi374
Venkat, You need to be looking at the middleware which sits between backend like Java and Flex Front End. Here are the few popular ones: http://opensource.adobe.com/wiki/display/blazeds/BlazeDS http://www.themidnightcoders.com/weborb/java/ Once you get an understanding of these, you will know bet

[flexcoders] Re: Passing flash variables to an embedded SWF

2008-07-31 Thread Laurent
Yes it has to be embedded. Well, I ended up embedding 5 different swf files with the FlashVars hardcoded into the swf. Good enough for what I needed, but that would be nice to have some proper way to pass variable to an embedded swf. Laurent --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[E

Re: [flexcoders] Refreshing data in dataGrid

2008-07-31 Thread Joshua Jackson
Hi tom, thanks for the fast response. I'm using Java on the server side. I use spring hibernate for the backend On 7/31/08, Tom Chiverton <[EMAIL PROTECTED]> wrote: > On Wednesday 30 Jul 2008, Joshua Jackson wrote: >> How do we do this with BlazeDS? I'm currently using BlazeDS. Is there >> any con

[flexcoders] assign image path stored in sql server 2005 to source property

2008-07-31 Thread siyaram_5
Hi all . I m .NET developer and doing R & D in Flex 3 . I m using SQL SERVER and in one of its column i have given Image Path. In Flex i have retrieved the dataset but dont know how to assign that Image Path stored in Sql server to Flex Image control.

[flexcoders] Re: My Music / Registry

2008-07-31 Thread Laurent
I don't think there's a way to directly get a reference to the "My Music" path in AIR. You can get it using documentsDirectory though, but the code will be different on XP and Vista: var directory:File = File.documentsDirectory; if (Capabilities.os == "Windows XP") { directory = directory.res

[flexcoders] Cairngorm, LC DS 2.6, web tier compiler

2008-07-31 Thread r.woess
Hi, I tried to create a small testproject with cairngorm, livecycle data services 2.6 beta including flex web tier compiler. When I compile this project in the browser, I don't get any compilier warnings, but I get the following runtime exception and an empty application without any content. Runt

RE: [flexcoders] permission based ui

2008-07-31 Thread Randy Martin
Actually, I do this all the time with a viewstack. The way I do it is I have the main application check the security and setup a security level parameter. Then, I pass this secLevel to the component that contains the viewstack. In the viewstack component, each view in the viewstack is its own compo

Re: [flexcoders] popup window

2008-07-31 Thread Dan Vega
Perfect! Thank you so much... Thank You Dan Vega On Thu, Jul 31, 2008 at 1:50 AM, Alex Harui <[EMAIL PROTECTED]> wrote: >text.percentWidth=100 > > > -- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Dan Vega > *Sent:* Wednesday

[flexcoders] Re: Parsing MultiLevel Array

2008-07-31 Thread sudha_bsb
Hi, Thanks for the help..I cannot convert it into any other format, not even ArrayCollection. I had to parse it manually as for each( var childObj:Object in obj.children) for each of the individual object and then create the buttons accordingly. Thanks & Regards, Sudha. --- In flexcoders

Re: [flexcoders] AdvancedDataGrid: Disable Dragging Columns

2008-07-31 Thread Tom Chiverton
On Wednesday 30 Jul 2008, Paul Whitelock wrote: > However, I don't seem to see any trace of the "dragEnabled" property > for AdvancedDataGridColumn. I'm probably just missing something > obvious, so can someone point me in the right direction? Thanks! Please comment the documentation, and this wil

Re: [flexcoders] Re: Migrating Flex 2 to 3 Issues

2008-07-31 Thread Tom Chiverton
On Thursday 31 Jul 2008, Indra Prastha wrote: > Yes i checked the file permission and everything, Windows just didn't > allow editing a file without a name ( it was .actionscriptproperties) Even if you load notepad, and type the filename by hand into it's File, Open dialogue ?!? -- Tom Chiverto

[flexcoders] My Music / Registry

2008-07-31 Thread itdanny2002
I know that Windows keep the default path of "My Music" in Registry Key. How can I get it in FLEX or AIR ?

[flexcoders] dataTipRenderer and showAllDataTips="true"

2008-07-31 Thread linko27
Hi! I'm using a bubble chart with showAllDataTips="true" and the dataTipRenderer below. The datatip shows up correctly for a single bubble, but if showAllDataTips is set to true, nothing is showing. Here ist the code for the dataTipRenderer. Maybe someone can help on this. Thanks in advance! ht

[flexcoders] Remote Desktop feature

2008-07-31 Thread venkat eswar
have any one tried remote desktop feature using flex .please help me.

Re: [flexcoders] Integrate flex and Java

2008-07-31 Thread Tom Chiverton
On Thursday 31 Jul 2008, venkat eswar wrote: > how to integrate flex and java. when i click a button in flex the whole > java application is to be loaded. You can't invoke other executables or shared libraries from plain Flex applications. There are frameworks that work as launchers or wrappers

Re: [flexcoders] Refreshing data in dataGrid

2008-07-31 Thread Tom Chiverton
On Wednesday 30 Jul 2008, Joshua Jackson wrote: > How do we do this with BlazeDS? I'm currently using BlazeDS. Is there > any configuration for notifying the apps that something has changed on > the database? Server-side, you need to nudge BlazeDS that the table has changed, and it will notify al

[flexcoders] Integrate flex and Java

2008-07-31 Thread venkat eswar
how to integrate flex and java. when i click a button in flex the whole java application is to be loaded. please help me

Re: [flexcoders] Any future plans to support ODBC Connections for AIR applications?

2008-07-31 Thread Josh McDonald
That being said, I know you can do ODBC over tcp, so if you've got some sort of server available that can route from odbc over tcp to a local file DSN, you could probably write a socket ODBC client for AIR, and then charge people in your position a fortune to use it. People stuck in Windows-world s

Re: [flexcoders] Any future plans to support ODBC Connections for AIR applications?

2008-07-31 Thread Josh McDonald
It's pretty evil. I'd just ship a 30-lines-of-c# utility to pull the data out and put it in something standard that your air app can understand. -Josh On Thu, Jul 31, 2008 at 5:19 PM, pbrendanc <[EMAIL PROTECTED]> wrote: > I know this has come up before but there is a significant need to > acces

Re: [flexcoders] Can we subclass Application yet?

2008-07-31 Thread Josh McDonald
This is just a quick and rough example, and it's for instances rather than subclasses (which may have a compile-time check, I'll have to experiment on the weekend when I've more time). Also, please note that I think this is probably a bad-thing (TM) but it's always fun to poke around where Adobe do

RE: [flexcoders] Re: Best event to listen for when ViewStack child becomes active?

2008-07-31 Thread Gregor Kiddie
If my memory serves me correctly, you have to be careful when using those events with the ViewStack. It's something like they get fired when the app is minimised / maximised, or when the user switches. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Br

RE: [flexcoders] AS3 or Flex MXML to UML, OO architecture, use cases, object classes, sequence diagrams, and state diagrams

2008-07-31 Thread Gregor Kiddie
Hi Pascal, Try not to use another thread as the basis of a new one, it confuses yahoo! But to try answer your question, take a look at Enterprise Architect at least for the class diagrams part. Drag a folder in, and it creates the class diagram for the code in it. Works for actionscript too

[flexcoders] Any future plans to support ODBC Connections for AIR applications?

2008-07-31 Thread pbrendanc
I know this has come up before but there is a significant need to access data in desktop databases (Read Only would be OK). (e.g. I am working with the Google App Engine and there is no easy way to populate their datastore). A GUI upload app written in AIR could be great for this. I've thought a

<    1   2