[flexcoders] Project per module?

2008-04-11 Thread Richard Rodseth
I can't seem to find much about the pros and cons of having a separate FlexBuilder project for each module in a modular, extensible app. It seems you lose the Optimize For Application menu option, but can work around that with compiler arguments. Besides, I don't think that's appropriate in my

[flexcoders] Re: Drag and Drop Issue...

2008-04-11 Thread anuppc
Daniel, I tried this. var draggedImage:Image = event.draggedItem as Image; var dropCanvas:Canvas = event.currentTarget as Canvas; var bmpData:BitmapData = Bitmap(draggedImage.content).bitmapData; var bitmap:Bitmap = new

Re: [flexcoders] Soap and Dates - big problems! any soap+flex ninjas here can help?

2008-04-11 Thread Peter Connolly
Not a ninja. But I find the following section of the livedocs invaluable: http://livedocs.adobe.com/flex/3/html/data_access_3.html#202409 Especially the section: Decoding XML schema and SOAP to ActionScript 3 And the equally important: XML Schema element support pc

[flexcoders] how to group the two canvas childrens.

2008-04-11 Thread Swamy Nathan
Hi all, i am working with the drag and drop canvas with images. i finished the image drag and drop. how can i group more than one image. means i drag the both images at a time. i drag only one image at a time. how can i drag the more than one images(children's of the canvas). please reply me.

Re: [flexcoders] Re: Drag and Drop Issue...

2008-04-11 Thread Swamy Nathan
or u can u this type, if (event.dragSource.hasFormat(img)) { var draggedImage:Image = event.dragSource.dataForFormat('img') as Image; var dropCanvas:Canvas = event.currentTarget as Canvas; // Since this is a copy, create a new object to

[flexcoders] how to group the two childrens of canvas

2008-04-11 Thread Swamy Nathan
Sorry not two canvas. but more than one children's On Fri, Apr 11, 2008 at 12:04 PM, Swamy Nathan [EMAIL PROTECTED] wrote: Hi all, i am working with the drag and drop canvas with images. i finished the image drag and drop. how can i group more than one image. means i drag the both images

[flexcoders] Re: Embedded Fonts and Text Alignment problem in Text control

2008-04-11 Thread renzeullo
Hi Alex, Thanks for the reply. I tried your suggestion, but it doesn't seem to be working. Am I doing it correctly? Code is: ... ... public class Text extends mx.controls.Text { public function text(){ super(); } override protected function updateDisplayList(unscaledWidth:Number,

[flexcoders] Re: Drag and Drop Issue...

2008-04-11 Thread anuppc
Daniel, just tried a few more things to debug Alert.show(ds.dataForFormat('items').toString()); The Alert shows : [object Object] When i try: var draggedImage:Image = ds.dataForFormat('items') as Image; newImage.source = draggedImage.source; The 2nd line is the source of error again.

Re: [flexcoders] Re: Drag and Drop Issue...

2008-04-11 Thread Swamy Nathan
can u send ur code. i will correct it On Fri, Apr 11, 2008 at 12:31 PM, anuppc [EMAIL PROTECTED] wrote: Daniel, just tried a few more things to debug Alert.show(ds.dataForFormat('items').toString()); The Alert shows : [object Object] When i try: var draggedImage:Image =

[flexcoders] Re: Embedded Fonts and Text Alignment problem in Text control

2008-04-11 Thread renzeullo
Hi Alex, The truncated text looks like this: http://i87.photobucket.com/albums/k155/ernieldiaz/embedded_font_truncation.jpg The text uses an embedded Helvetica font. The first paragraph is left aligned and is rendered correctly. The succeeding paragraphs are centered, right aligned, and

Re: [flexcoders] Re: Drag and Drop Issue...

2008-04-11 Thread Swamy Nathan
i think u specify the label field. On Fri, Apr 11, 2008 at 12:48 PM, Swamy Nathan [EMAIL PROTECTED] wrote: can u send ur code. i will correct it On Fri, Apr 11, 2008 at 12:31 PM, anuppc [EMAIL PROTECTED] wrote: Daniel, just tried a few more things to debug

RE: [flexcoders] What's wrong with http://livedocs.adobe.com/flex/3/html/help.html

2008-04-11 Thread Kenneth Sutherland
Is there any chance that Adobe could put up links to download the docs as a zip file, I know that on more than one occasion I've had to load up the docs I got with flex 3 beta as the live version of the API docs wasn't working properly. Either that or I've ended up looking at version 201 or 2

[flexcoders] Re: Using flexUnit and addAsync doesn't work

2008-04-11 Thread Giles Roadnight
I've worked out what the problem is here and thought I'd post in case anyone else had this problem. In this test testClassA sets up the test suite and has the functions that are called by the test runner. Within these functions testClassB functions are called. It is within testClassB that I was

[flexcoders] LineChart w/effect messes up when horizontalAxis gets more data

2008-04-11 Thread bjorn -
Hi guys, I have a LineChart which uses SeriesInterpolate with an easeOut function to make it look good when the data is changed. It's a linechart which displays data by weeks. I've added FlexLib's HSlider below it so that the use can change the week interval. The linechart effect looks good most

[flexcoders] Flex Profiler Wishlist Survey

2008-04-11 Thread kishan_mv
Hi, As you all are already using the Flex 3, we hope you are having a great experience using Flex 3. We are conducting the survey on user experience on Flex Profiler. This survey helps us in understanding yourexperience in using Flex profiler and the pain point areas which you could be

[flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-11 Thread João
Ben, but that would mean that I would have a lot of code duplicated for each module, right? In this case, the cairngorm source (or, at least, the singletons). Am I right? It doesn't seem a good practice to me... what do you think? João Saleiro

[flexcoders] Flex bug database - choosing a milestone

2008-04-11 Thread Dmitri Girski
Hi all, When you create an bug in the Flex bug database you have to select the milestone or release in which bug is found. Does anybody know what is the proper name for the Flex Builder 3 release (Feb 27, 2008)? I3 Moxie Release (Fix Before Release) RC6 RC5 RC4 RC3 RC2 RC1 RC0 Moxie M3(zero)

RE: [flexcoders] LineChart w/effect messes up when horizontalAxis gets more data

2008-04-11 Thread Sunil Bannur
You could try using a labelRenderer(You can customize height, width, how its written etc.) and also try the styles labelRotation, canStagger, canDropLabels, labelGap) If you can post an example, it would be useful to suggest a solution. Thanks -Sunil From: flexcoders@yahoogroups.com

[flexcoders] how we can show the data in a flex tree (without having any label field)?

2008-04-11 Thread qau_yasir
how we can show the following data in a flex tree (without having any label field) ? ?xml version=1.0? MyData SubDoc CustomerInfo Id1000/Id AccID999-888-777/AccID LastNameSTORTZ/LastName NamePAM STORTZ/Name

[flexcoders] Dynamic components

2008-04-11 Thread Sid 'Neko Tamashii'
Hi everyone! I'm a Flex newbie, but I'm experienced in PHP and other programming languages. As I read and study, I'm a bit curious if Flex can do what I want to do: load up components based on the PHP output. Can anyone tell me if it is possible? Maybe suggest a tutorial? Thanks Sidney

RE: [flexcoders] Synchronised TextArea selection

2008-04-11 Thread westmeadboy
So, I've got it working by listening to both MOUSE_LEAVE and MOUSE_UP. If the mouse up occurs off the stage, then you get a MOUSE_LEAVE event. If the mouse up occurs on the stage, then you get a MOUSE_UP event. So, if you leave the stage and then come back on the stage to do the mouse up, then

[flexcoders] need help in AdvancedDataGrid

2008-04-11 Thread moonrchand
Hi, how can i set icons dynamically in AdvancedDataGrid.i.e., i need to set different icons for each row based on dataField of that column. Thanks, Chandra

[flexcoders] Re: TileList and color of selected item

2008-04-11 Thread linkmatthias
Ok thanks, i'm a newbie in the flex world. Please can you explain me, how to subclass and override drawSelectionIndicator ? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: The way to disable is to subclass and override drawSelectionIndicator

[flexcoders] how we can show the data in a flex tree that is not attribute

2008-04-11 Thread qau_yasir
Hi I have an XML data as fellow. I want to provide it to treeControl. a b c ID1/ID FirstNameFirstName/FirstName LastNameLastName/LastName /c c IDName/ID FirstNameFirstName/FirstName

[flexcoders] FlexSession is Invalid error

2008-04-11 Thread Dima Ulich
Hi Everybody, I have a flex application that uses messaging. The application handles mysql database manipulations which can be a very lengthy process. After about 1 hour I keep receiving FlexSession is invalid exception. The whole process fails. I set rtmp channel idle timeout to 120

[flexcoders] remove listener on state change

2008-04-11 Thread Gordon Franke
Hello, i have 2 states for my component, when i change the state i will remove a listener i can set the handler with mx:SetEventHandler target={element} name=mouseOver handler=/ the problem is that i get a warning Event is empty so how can i remove it?

[flexcoders] Re: TileList and color of selected item

2008-04-11 Thread linkmatthias
Ok thanks, i'm a newbie in the flex world. Please can you explain me, how to subclass and override drawSelectionIndicator ? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: The way to disable is to subclass and override drawSelectionIndicator

[flexcoders] Weird stacktrace in Console panel

2008-04-11 Thread João Fernandes
Hi there, does anyone stumble on this kind of stacktrace on the console panel? verify pt.cofina.sap.controller::ZREGISTOController$/canEditField() stack: scope: [global Object$] locals:

[flexcoders] Anyone holding on to Flex Builder 2?

2008-04-11 Thread jack_freud
I wonder if anyone has found a good reason to hold on to their installation of FB2, since FB3 even lets you compile against the 2.0.1 SDK? Also, has anyone found bugs in 3's behavior that weren't there in 2? We've had a couple things happen in apps that I could swear were working previously but I

RE: [flexcoders] Re: flex builder and SVN

2008-04-11 Thread Nataliya Shevchenko
Thanks a lot any way. And thanks for the link. I use TortoiseSVN as a client. Natasha -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri Girski Sent: Thursday, April 10, 2008 4:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

[flexcoders] cannot get rid of AdvancedDataGrid watermark !

2008-04-11 Thread bobpardoe1959
I have entered the FB Pro license key in Eclipse Europa 3.3.2 M20080221-1800, using the plugin version. I can see the charting components source code being unlocked but in my module that used the ADG it still has the watermark at runtime. I have clean compiled all of my code a number of times. I

[flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-11 Thread ben.clinkinbeard
Well, they would all point to the same Cairngorm/UM Cairngorm SWC (that lives in the library project) but yes, you would have a model, services, etc in each project. The resulting swf is built using -link-report/-load-externs to optimize the inclusion of classes though so you don't have

[flexcoders] Re: Dynamic components

2008-04-11 Thread valdhor
I do that already. I use PHP to populate various FlashVars which Flex uses to display different components when the swf loads. --- In flexcoders@yahoogroups.com, Sid 'Neko Tamashii' [EMAIL PROTECTED] wrote: Hi everyone! I'm a Flex newbie, but I'm experienced in PHP and other programming

[flexcoders] java RemoteClass null ArrayCollection/List

2008-04-11 Thread netdeep
I am sending an object in java to a flex app via messaging. Some of the data is coming across ok (Strings) but my List object is coming across as null even though the original java class: import java.util.ArrayList; public class Axis { String title; List axisList;

[flexcoders] Re: Project per module?

2008-04-11 Thread ben.clinkinbeard
Separate projects is my preference and seems logical to me but is not really endorsed/recommended by Adobe which is disappointing. The compiler arguments you mentioned can be used to optimize but FlexBuilder is flaky at best using that approach. See https://bugs.adobe.com/jira/browse/FB-12220 for

[flexcoders] Re: Flex bug database - choosing a milestone

2008-04-11 Thread valdhor
I had the same dilema. I decided that Moxie Release seemed closest so picked that. --- In flexcoders@yahoogroups.com, Dmitri Girski [EMAIL PROTECTED] wrote: Hi all, When you create an bug in the Flex bug database you have to select the milestone or release in which bug is found. Does

Re: [flexcoders] Re: Dynamic components

2008-04-11 Thread Sid 'Neko Tamashii'
Nice! That's good to know :D Do you know any tutorial that explain that? Google isn't giving me good examples so far :s On Fri, Apr 11, 2008 at 9:55 AM, valdhor [EMAIL PROTECTED] wrote: I do that already. I use PHP to populate various FlashVars which Flex uses to display different components

[flexcoders] How to download a BLOB from database....using Java

2008-04-11 Thread txakin
Hi all I would like to know...how to download a BLOB (image, file...binary data) from my Oralce database to my Flex application. I think i already have my servlet createdthe souce can be more or less like the next one: Session session = HibernateSessionFactory.getSession(); //Here i

Re: [flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-11 Thread Douglas Knudsen
After joining UM and working with this I found the most kewlest slick part I like is the callback support in Cairngorm events. Uber sweet at helping you handle results and not bloating out your ModelLocator instances. Also, the sweet hook that easily sets up using dispatchEvent no matter if its

Shared Fonts Solution - Re: [flexcoders] Shared Fonts Hell

2008-04-11 Thread Jon Bradley
Mario, Here's how I do it, relevant code contained for the list archives and those that also run into this problem. I changed the title of the response so that it can be flagged as a solution to the problem (is there a standard practice for solutions in this list?). 1. Create a separate

[flexcoders] drag and drop a button?

2008-04-11 Thread grimmwerks
Is there a simple tutorial for it? I don't really want to have an image proxy - I want to really drag a button somwhere else on the canvas. Simple.

Re: [flexcoders] Re: Project per module?

2008-04-11 Thread Tom Chiverton
On Friday 11 Apr 2008, ben.clinkinbeard wrote: https://bugs.adobe.com/jira/browse/FB-12220 for example. That thread also talks a bit about their recommended approach which, again, I am not crazy about. You mean a module project would be largely a usability feature to make it more obvious how

RE: [flexcoders] Dynamic components

2008-04-11 Thread Tracy Spratt
load is a very general word. There are very many ways to create data driven display in Flex. Depending on the granularity of the components you are displaying, some options include: Modules and SWFLoader, which are typicaly used to load larger, externally compiled blocks of functionality,

[flexcoders] testing object equality in datagrid AFTER sort

2008-04-11 Thread Amy
Hi, I have a datagrid with selectable set to false. I'm listening for a double click event which then executes the following: dg.selectedItem = e.itemRenderer.data; This works fine when the datagrid is first loaded. After I sort the datagrid, the same line of code always results in

[flexcoders] Re: Project per module?

2008-04-11 Thread bobpardoe1959
We do exactly this. Each module is a project. This allows each developer to create \ compile \ run a project without reference to another dev. We load each module in the app (at runtime) on demand using the moduleLoader. (Watch for the intermittent loader bug and knock on popup bug !) The down

[flexcoders] insert at cursor position in textarea

2008-04-11 Thread Derrick Anderson
hey does anybody know how to insert a string at the current cursor position in a textarea? i thought there was a method like textArea.insertTextAt() but i can't find anything like that. thanks, d.

[flexcoders] Advanced DataGrid row span

2008-04-11 Thread bprsofteng
I'm looking to implement what is essentially a row span and col span. Example in ASCII art: id|r1|r2| |comb | - 1 |a |b | |data | - 2 |q |x | |data2| - Does anybody have any suggestions for going about this. Many thanks, B -- View this message in context:

[flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-11 Thread ACE
I like the fact that someone found this to be a problem and cared to make this as a framework. When, I needed this, I was writing my custom code. But, I do not like the implementation for the simple reason, that if a View say View-1 needs synchronous information from 2 commands, it cannot,

RE: [flexcoders] What's wrong with http://livedocs.adobe.com/flex/3/html/help.html

2008-04-11 Thread Kenneth Sutherland
There is a link, it is http://livedocs.adobe.com/flex/3/flex3_documentation.zip http://livedocs.adobe.com/flex/3/flex3_documentation.zip very handy seeing as there still seems to be issues with the docs today. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth

Re: [flexcoders] Advanced DataGrid row span

2008-04-11 Thread li wenzhi
create this kinds of table by your hand. It's just some textfields and drawing some lines. -- lwz7512 Ultrapower Flex Team Leader OpenRIA -- A Window You Exploring RIA World http://www.openria.cn - Original Message From: bprsofteng [EMAIL

[flexcoders] Re: Project per module?

2008-04-11 Thread ben.clinkinbeard
I've not tried that approach yet and admittedly don't quite understand how it supports lazy loading. Do you just specify the module lib's SWC as the url for ModuleLoaders that live in the main app? Regardless, I feel like separate projects for each module should absolutely be a supported

[flexcoders] Error from ComboBox while drawing component...

2008-04-11 Thread Dominic Pazula
I have a programatically defined ComboBox with a bound dataProvider. The dataProvider starts out as an empty ArrayCollection. A RPC returns values and populates the ArrayCollection on the bound object. In this case, there is 1 element in the ArrayCollection which is a string. When the

[flexcoders] Copying View of an ArrayCollection

2008-04-11 Thread m.ar80
How can view be copied from one array collection to another where both array collections share the same source? Apparently the only way to achieve this to call refresh on the destination array collection (with the same filter function and sort applied as that of the source array collection). But

Re: [flexcoders] What's wrong with http://livedocs.adobe.com/flex/3/html/help.html

2008-04-11 Thread Kapil Viren Ahuja
There is also a documentation that comes alongside the Flex builder, you can access that using Ctrl+F2

Re: [flexcoders] Shared Fonts Hell

2008-04-11 Thread Mario Falomir
Yeah, I finally got it working about 3 hours ago :) Thanks On Thu, Apr 10, 2008 at 9:25 PM, Alex Harui [EMAIL PROTECTED] wrote: His example looks ok to me. You can try typing _Arial as Font instead of Class. Otherwise, try waiting a another frame before calling registerfont.

[flexcoders] Re: Copying View of an ArrayCollection

2008-04-11 Thread Dominic Pazula
Are you looking for the two ArrayCollections to always have the same filter and sort, or only occasionally? --- In flexcoders@yahoogroups.com, m.ar80 [EMAIL PROTECTED] wrote: How can view be copied from one array collection to another where both array collections share the same source?

Re: [flexcoders] Multiple sets of visual children have been specified for this component

2008-04-11 Thread Dennis Falling
That was it. I changed it to add it programmatically if it is valid, rather than always adding it only to turn around and delete it. Thanks! On Thu, Apr 10, 2008 at 11:06 PM, Alex Harui [EMAIL PROTECTED] wrote: That stack implies that the initialized flag never got set or got reset. Is

[flexcoders] Re: problem with MessageService in custom ServiceAdapter

2008-04-11 Thread Anthony DeBonis
In our application we have have set the destination messageChatConsumer = new Consumer(); messageChatConsumer.destination=evacML.messageChatDestinationName; destination is set in the config files: C:\fds2\jrun4\servers\default\{YOUR APP}\WEB-INF\flex data-management-config.xml or

RE: [flexcoders] deprecated method ColumnChart.localToData() used in Flex 3 manual

2008-04-11 Thread Matt Horn
mavdzee, That example didn't get updated when the charting API changed. Now, the localToData and dataToLocal methods are on the series class, rather than the chart. So you can do something like this now: var d:Array = series1.localToData(p); rather than var d:Array =

[flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-11 Thread ben.clinkinbeard
Hi Ace, I think your complaint is having to create a callback for every event/command invoked by your view and it is possible to avoid that. If thats not what you meant I apologize and disregard the rest of this message. :) Our general approach is to pass ResultEvents back from delegates to

RE: [flexcoders] How to download a BLOB from database....using Java

2008-04-11 Thread Jim Hayes
Is your question a) how to get the byteArray into flex? b) how to display it once it is in flex? c) both a and b ? I can help you with b ! -Original Message- From: flexcoders@yahoogroups.com on behalf of txakin Sent: Fri 11/04/2008 14:29 To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-11 Thread Jon Bradley
Ben, Question for you. I've been looking at the UM extensions as well. How about your support for chaining? From what I've seen it's chaining commands, not events. My main needs are to chain events, and right now I'm using a very wordy (ie, many class files) to do that. Separate classes

Re: [flexcoders] Re: Flex bug database - choosing a milestone

2008-04-11 Thread Matt Chotin
RC6 is the official release build, but Moxie Release is fine too. Matt On 4/11/08 5:58 AM, valdhor [EMAIL PROTECTED] wrote: I had the same dilema. I decided that Moxie Release seemed closest so picked that. --- In flexcoders@yahoogroups.com

Re: [flexcoders] Anyone holding on to Flex Builder 2?

2008-04-11 Thread Steve Mathews
We are sticking to FB2 for now, but only because we have a v1 release at the end of the month. As soon as we release we will move to FB3 and the Flex 3 framework to take advantage of the framework caching. *Steve Mathews* *Senior Software Engineer* * * *Flypaper Studio, Inc.* 2999 North

[flexcoders] Re: Copying View of an ArrayCollection

2008-04-11 Thread m.ar80
--- In flexcoders@yahoogroups.com, Dominic Pazula [EMAIL PROTECTED] wrote: Are you looking for the two ArrayCollections to always have the same filter and sort, or only occasionally? Hi Dominic. Thank you for your response. The two array collections will share the same source but not

[flexcoders] Re: java RemoteClass null ArrayCollection/List

2008-04-11 Thread madflexcoder
Make sure you have the object mapped in Action Script. And that properties are public. Also, There's some known errors with passing data back and forth between flex and java. I'm not expert on it, but I have ran into this issue a bit. Check out the adobe bug center to see if what you're

[flexcoders] Java Remoting Component Refreshing

2008-04-11 Thread geekfly_mds
I'm in the midst of writing a flex app that uses Java remoting (via Weborb) to retrieve data. The flex app uses a timer to refresh the screen/data every x seconds. I'm running into an issue where components (item renderers in a datagrid) do not refresh - the data there is effectively stale. Any

Re: [flexcoders] Re: Project per module?

2008-04-11 Thread Richard Rodseth
Thanks Bob. In dev mode (Flexbuilder only) is there a convenient way to reference the module SWFs by a relative URL, or does one have to copy them into the loader app's output directory? On Fri, Apr 11, 2008 at 7:42 AM, bobpardoe1959 [EMAIL PROTECTED] wrote: We do exactly this. Each module

[flexcoders] htmlText and maxWidth

2008-04-11 Thread tchredeemed
mx:Script [Bindable] public var popupText:String; /mx:Script mx:Text text={popupText} maxWidth=200 / 1) This works fine, when the text is longer then 200 px, it wraps it and adds vertical space. mx:Text htmlText={popupText} maxWidth=200 / When I change text to htmlText, it only allows the

[flexcoders] Re: Copying View of an ArrayCollection

2008-04-11 Thread Dominic Pazula
I am not aware of a way to do what you want. I agree resorting/filtering is inefficient. Could you programmatically check for when that condition occurs and when it does just set the destination equal to the source? If you want to keep the destination around, then maybe set whatever is using

RE: [flexcoders] Re: Copying View of an ArrayCollection

2008-04-11 Thread Alex Harui
Not sure I understand the question, but the source of an AC is never modified, so you can always make a copy of AC.source via AC.source.concat() to get a fresh unfiltered/unsorted copy of the data even if the AC currently is sorted/filtered. If the AC is sorted/filtered, you can copy that

Re: [flexcoders] Soap and Dates - big problems! any soap+flex ninjas here can help?

2008-04-11 Thread Douglas Knudsen
yeah, that section reads xsd:dateTime Date If no timezone information is present, local time is assumed. which I do not see occurring. Seems to ignore the TZ info in the SOAP response and uses local TZ in 2.0.1 HF1. Note though that if you use the default return format of Object in

RE: [flexcoders] Error from ComboBox while drawing component...

2008-04-11 Thread Alex Harui
Probably means that the CB's width is also NaN and got that way due to some funky layout logic somewhere. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dominic Pazula Sent: Friday, April 11, 2008 8:20 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] insert at cursor position in textarea

2008-04-11 Thread Alex Harui
No method on TextArea, but you can subclass and get to the underlying TextField and call replaceSelectedText From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Derrick Anderson Sent: Friday, April 11, 2008 7:19 AM To:

[flexcoders] DataGrid itemRenderer and Loader Class

2008-04-11 Thread natjai
Hello, I am new to flex, i apologize if this questions seems out of context. I have an image loaded with the Loader class in actionscript (say in a variable loader) I need to display this image onto a DataGrid Cell. Can i use a drop-in itemRenderer of Image class? Assuming the

[flexcoders] What causes the controls on a titleWindow to move when clipContent is false?

2008-04-11 Thread Alex
If I have 2 identical titleWindows one with clipContent=false the controls differ in placement by a few pixels in x and several pixels in y. All the controls are moved UP on the titleWindow by about 30 pixels and left by about 2 pixels. What causes this and how can I avoid it. I think the

[flexcoders] Re: problem with MessageService in custom ServiceAdapter

2008-04-11 Thread netdeep
Thanks, I added in the following code and it seems to work: String clientID = UUIDUtils.createUUID(); message = new AsyncMessage(); message.setDestination(chan); message.setClientId(clientID); message.setMessageId(UUIDUtils.createUUID());

[flexcoders] Re: java RemoteClass null ArrayCollection/List

2008-04-11 Thread netdeep
Yeah, maybe there are just issues with this whole process. I eventually got it to work (sort of) by adding my objects to an ArrayList and then passing all of my objects using list.toArray() as an Object list. It still doesn't work quite right, but its good enough for now. Thanks for the

[flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-11 Thread ben.clinkinbeard
Hi Jon, I don't really know what you mean by chained events, can you elaborate? I should also point out I have only been using UM Cairngorm for a couple of months and don't feel like my head is completely around it quite yet. More than happy to try answering your question if you can clarify

[flexcoders] Re: Error from ComboBox while drawing component...

2008-04-11 Thread Dominic Pazula
Alex, Thanks for the reply. I'm not sure how that is possible. The ComboBox is set: textSelect.percentWidth = 50; That is in FormItem set: item.percentWidth = 75; Which is in mx:VBox height=100% width=100% verticalAlign=middle mx:Form id=tForm height=100% width=100%/ /mx:VBox Which is in:

Re: [flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-11 Thread Jon Bradley
On Apr 11, 2008, at 2:56 PM, ben.clinkinbeard wrote: Hi Jon, I don't really know what you mean by chained events, can you elaborate? I should also point out I have only been using UM Cairngorm for a couple of months and don't feel like my head is completely around it quite yet. More than

RE: [flexcoders] testing object equality in datagrid AFTER sort

2008-04-11 Thread Alex Harui
When a sort is applied, the datagrid asks the sort to find the object. It must not be finding the object somehow. Do you have a simple test case you can post? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Friday, April 11,

RE: [flexcoders] Weird stacktrace in Console panel

2008-04-11 Thread Alex Harui
Verify errors often happen when code is compiled with different compilers then mixed together. Make sure every bit of code has been compiled with the same compiler version. It can also be caused by naming collisions between variables. It can also be (on rare occasions) a bug in the

RE: [flexcoders] Synchronised TextArea selection

2008-04-11 Thread Alex Harui
Things from the FlashPlayer are generally not bindable. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of westmeadboy Sent: Friday, April 11, 2008 4:10 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Synchronised TextArea

RE: [flexcoders] Re: TileList and color of selected item

2008-04-11 Thread Alex Harui
Sorry, I don't have time for that. It is basic subclassing like in other OO languages. Read the docs on custom components. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of linkmatthias Sent: Friday, April 11, 2008 1:01 AM To:

RE: [flexcoders] how we can show the data in a flex tree that is not attribute

2008-04-11 Thread Alex Harui
Use labelFunction to pull the text element. You may also need a custom datadescriptor to block seeing the text elements as children. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of qau_yasir Sent: Friday, April 11, 2008 3:17 AM To:

Re: [flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-11 Thread João Fernandes
Jon, regarding chain events, I use modular which allows this ( in fact thanks to Bjorn Schultheiss ). All you have to do is to have your events extend ChainEvent (which extends cairngormEvent ) and your commands extend SequenceCommand. Then you can combine any of those events in any order

[flexcoders] Re: Project per module?

2008-04-11 Thread bobpardoe1959
We create all of our module projects under a modules directory, each one having their own sub directory. Each project has its own bin-debug directory created by FB. We then use an ant script in FB to iterate through all of the module\**\debug-bin directories and copy the swfs to the dev's local

RE: [flexcoders] Re: Embedded Fonts and Text Alignment problem in Text control

2008-04-11 Thread Alex Harui
Try embedding verdana to see if you're having this problem with all fonts or just Helvetica. Your code looks right. When you made the adjustment, did the text reflow and cut off different characters? Maybe you can post a simple test case. From:

RE: [flexcoders] Re: Error from ComboBox while drawing component...

2008-04-11 Thread Alex Harui
I think I remember somewhere someone was calling validateNow on a stack of % -based components and they got NaN because there was no reference from the top level of what the width/height was. (IOW, 100% of ???). It is probably going to be some issue like that.

RE: [flexcoders] DataGrid itemRenderer and Loader Class

2008-04-11 Thread Alex Harui
If your data objects contain an imageAttr field that is a URL, you can use Image as your renderer. You shouldn't need to fool around with the image.data or setting the image into your dataArray. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

Re: [flexcoders] Re: Project per module?

2008-04-11 Thread VELO
We used Adobe's endorsed/recommended way. Got a lot of problems... 1- passing objects between modules. 2 - some developers bad pratices, like create a new instance of another module instead use ModuleLoader. 3 - bad control of what code is from what module. And others diary problems. Now I

[flexcoders] Problem when trying to use RSL Cache

2008-04-11 Thread boy_trike
I am using FB 3. in Project / Build I select frame Linkage RSL. The swf is smaller (GREAT) but when I attempt to run it, I get (mx.core.Application not found). I copied over both of the framework libraries (the SWF and SWZ) to the same folder as my SWF. What am I doing wrong thanks bruce

Re: [flexcoders] Re: Project per module?

2008-04-11 Thread VELO
Forget to mention, This release is done with flex-mojos http://flex-mojos.blogspot.com/ VELO On Fri, Apr 11, 2008 at 4:47 PM, VELO [EMAIL PROTECTED] wrote: We used Adobe's endorsed/recommended way. Got a lot of problems... 1- passing objects between modules. 2 - some developers bad

Re: [flexcoders] insert at cursor position in textarea

2008-04-11 Thread Derrick Anderson
i was able to do it w/out subclassing like so: private function handleMergeFieldClick(event:*):void { textArea.getTextField().replaceSelectedText('['[EMAIL PROTECTED] +']'); } works like a charm, except now I realize I would like some color applied to the text that was inserted.

[flexcoders] beginBitmapFill(x, not0, somewidth, someheight) bug

2008-04-11 Thread Marcus Engene
Hi! I have a Sprite which has a Sprite child which I am drawing some things on. I want to have a gradient at one place so I have the members... [Embed(source=8x31VertGradient.png)] private var VerticalGradient8x31 : Class; private var m_verticalGradient8x31 : BitmapAsset; ...and do this in the

[flexcoders] Re: htmlText and maxWidth

2008-04-11 Thread tchredeemed
any ideas? --- In flexcoders@yahoogroups.com, tchredeemed [EMAIL PROTECTED] wrote: mx:Script [Bindable] public var popupText:String; /mx:Script mx:Text text={popupText} maxWidth=200 / 1) This works fine, when the text is longer then 200 px, it wraps it and adds vertical space.

Re: [flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-11 Thread Douglas Knudsen
http://code.google.com/p/flexcairngorm/ from the home page there is Implementation of EventGenerator to allow developers to automate dispatching of sequences of events. I have not actually used this. It might be covered in Thomas' Flex Show which you can find a link to here

RE: [flexcoders] Re: Is there a way to be sure that UIComponent finished it drawing (rendering) ?

2008-04-11 Thread Gordon Smith
If the data change causes the component to display differently, updateComplete should get dispatched. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lytvynyuk Sent: Thursday, April 10, 2008 8:25 PM

Re: [flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-11 Thread Jon Bradley
Good stuff indeed. Thanks for the links. I've actually grabbed that stuff and started to look into it a bit deeper. cheers, jon On Apr 11, 2008, at 4:29 PM, Douglas Knudsen wrote: http://code.google.com/p/flexcairngorm/ DK On Fri, Apr 11, 2008 at

  1   2   >