RE: [flexcoders] Easy (I hope) drag and drop question

2009-12-15 Thread Alex Harui
I can't think of an easy way to limit where something can be dragged, but if you check the dragInitiator on the DragEvent and it is not the same as the DG it is over, you can call preventDefault() on the DragEvent and deny the drop. There should be doc on how to deny drops by calling

RE: [flexcoders] removing event listeners for safe module reloading

2009-12-15 Thread Alex Harui
I guess I'm surprised that your clickhandlers fires more than once. The mx:ButtonBar shouldn't be leaking because of the clickHandler. That looks like a reference within the module, not from the outside in. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog:

[flexcoders] var token:AsyncToken = service.[str](); how to get this working?

2009-12-15 Thread MicC
When used conventionally - var token:AsyncToken = service.Sel_all_mgrs(); - this is service.function, right? var str:String = 'Sel_all_mgrs'; var token:AsyncToken = service.[str](); token.addResponder(this.responder); What is the correct code to get the above working? TIA, Mic.

Re: [flexcoders] var token:AsyncToken = service.[str](); how to get this working?

2009-12-15 Thread claudiu ursica
It is service.send() at least if your service is a HTTPService instance. C From: MicC chigwel...@yahoo.com To: flexcoders@yahoogroups.com Sent: Tue, December 15, 2009 1:08:22 PM Subject: [flexcoders] var token:AsyncToken = service.[str](); how to get this

[flexcoders] UITextField: text-align crops the text

2009-12-15 Thread m_koks
Hi I observed that if you set the textAlign property as right or center to the UITextField and if the UItextField is multiline, few of the extreme right characters in the line get cut. Run following code to get the issue I'm talking about. ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] How to create Rooms for Videochat Application [1 Attachment]

2009-12-15 Thread venkat eswar
Hi , I want to know how to create chat rooms for a video chat application. I have attached the server side asc file . I want to know, for adding rooms what are the changes i have to do in the ASC file. Please help me...

[flexcoders] possible to derive rowIndex from DataGrid's rightClick event?

2009-12-15 Thread Tim Romano
In an AIR app, I'd like to be able to know what row of a DataGrid the user has right-clicked on.* The rightClick event of the DataGrid is a MouseEvent and does not expose rowIndex (unlike the rowClick event which is of type ListEvent). Is there a way to derive the rowIndex in the grid's

[flexcoders] mx:Tree control control the way XML is displayed

2009-12-15 Thread pgfigueir...@ymail.com
Hello I have this xml document format: Set Client ClientId1/ClientId ClientCodeTT/ClientCode NameTeste/Name NotesNo notes/Notes Project TaskId5/TaskId ProjectCodeP1/ProjectCode ClientId1/ClientId NameProject1/Name DescriptionDesc./Description Budget0/Budget

[flexcoders] RDS configuration

2009-12-15 Thread hassami
Hi, I was trying to follow the steps of Christophe Coenraets in his blog entry :Model Driven Development with Flex 4 and LCDS 3 Screencast http://coenraets.org/blog/2009/09/flex4mdd/ , but I could not pas the RDS configuration. I am using Flash builder 4 and LCDS 3 deployed as a J2EE

[flexcoders] Copy image location from an AIR HTML container

2009-12-15 Thread Farid Shahlavi
Hey all, Does anyone have any idea how to copy image location to the clipboard same as the Firefox context menu? It seems you can copy the image itself but can't access the location URL. Any help would be greatly appreciated. Thanks, Farid

[flexcoders] Can't select null item in ComboBox

2009-12-15 Thread Dave Glasser
I have some code that was originally written under Flex 2, where a ComboBox's data provider is an array of objects, with the first element set to null. When this code is built under Flex 2, I can select the first item in the combo's dropdown list, and selectedItem returns null, which is what I

RE: [SPAM] Re: [flexcoders] var token:AsyncToken = service.[str](); how to get this working?

2009-12-15 Thread Tracy Spratt
The bracket notation replaces the dot notation: var token:AsyncToken = service[str] (); //remove the dot Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of claudiu ursica Sent: Tuesday,

RE: [SPAM] [flexcoders] mx:Tree control control the way XML is displayed

2009-12-15 Thread Tracy Spratt
If you need to change the structure, you have two options. One is to pre-process the xml (using e4x) into the structure you can use directly. The other is to use a custom data descriptor. I cannot be any help with the dataDescriptor since I have not yet created one, but you should be able to

[flexcoders] Odd grouping issue in ADG

2009-12-15 Thread Tom McNeer
Hi, I posted this issue earlier, but got no replies. I'm really hoping someone familiar with ADG oddities can help me out. I have an Advanced DataGrid which receives an array collection of sales information as a data provider. The data is in a flat grouping, and the only GroupingField is Office,

RE: [SPAM] [flexcoders] Can't select null item in ComboBox

2009-12-15 Thread Tracy Spratt
I do not know why the change, but for a fix, you could use a labelFunction to return an empty string if the item is null. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dave Glasser

RE: [flexcoders] Can't select null item in ComboBox

2009-12-15 Thread Dave Glasser
The label's not the problem, it's selecting the item when it's null. I found that it works if I replace null with an empty string in the dataProvider, and guard against type errors in the code that reads selectedItem. --- On Tue, 12/15/09, Tracy Spratt tr...@nts3rd.com wrote: From: Tracy

[flexcoders] Re: possible to derive rowIndex from DataGrid's rightClick event?

2009-12-15 Thread Amy
--- In flexcoders@yahoogroups.com, Tim Romano tim_rom...@... wrote: In an AIR app, I'd like to be able to know what row of a DataGrid the user has right-clicked on.* The rightClick event of the DataGrid is a MouseEvent and does not expose rowIndex (unlike the rowClick event which is of

[flexcoders] Dealing with images larger than Flash Player 10 limit

2009-12-15 Thread Aaron Hardy
Hey flexers, We're working on a project currently where we would like to allow users to add photos from their local drive to the stage. We also want to support gigantic photos. I understand the max bitmap size is 4095x4095 (or dimensions that equal the same number of pixels) in flash player 10.

[flexcoders] Re: AIR 1.5.3 application build problem on Linux

2009-12-15 Thread jason_williams_mm
Can you please log a bug for this issue using www.adobe.com/wish. Please include the information here and include the specifics of the OS, window manager, version, etc. Thanks jw --- In flexcoders@yahoogroups.com, aejaz_98 aejaz...@... wrote: Looks like it is not possible to build a

[flexcoders] Re: Odd grouping issue in ADG

2009-12-15 Thread valdhor
Tom If you post a small runnable example with sample data, I would be willing to take a look. Best Regards Steve --- In flexcoders@yahoogroups.com, Tom McNeer tmcn...@... wrote: Hi, I posted this issue earlier, but got no replies. I'm really hoping someone familiar with ADG oddities

Re: [flexcoders] Re: Odd grouping issue in ADG

2009-12-15 Thread Tom McNeer
Steve, Thanks for the offer. I'll narrow it down to a fairly simple test component later today and get back to you. On Tue, Dec 15, 2009 at 11:59 AM, valdhor valdhorli...@embarqmail.comwrote: Tom If you post a small runnable example with sample data, I would be willing to take a look.

[flexcoders] Flex 4 Upgrade Price?

2009-12-15 Thread Rick Winscot
Not to sound harsh on Adobe... but I shelled out $500 for the Flex 2 - Flex 3 upgrade and four weeks later they dropped the price to $250. I¹d like to avoid that if possible ­ does anyone have any info on what the Flex 4 upgrade is going to cost and when it might be available? Also... when are we

Re: [flexcoders] Flex 4 Upgrade Price?

2009-12-15 Thread Matt Chotin
We haven't announced pricing but we expect it to be in line with the Flex 3 upgrade pricing. As far as I recall we didn't change the upgrade prices in the middle though. Dates are also not announced yet, early 2010. Matt On Dec 15, 2009, at 10:55 AM, Rick Winscot wrote: Not to sound harsh

Re: [flexcoders] Re: Dealing with images larger than Flash Player 10 limit

2009-12-15 Thread Aaron Hardy
Thank you very much for the response. Your code looked eerily similar to the code I was already using, but I plugged your code into a fresh project and it worked. It baffled my mind. I went back to my project and I got the same issue I was seeing before--the bitmap data would return 0 for both

Re: [flexcoders] Flex 4 Upgrade Price?

2009-12-15 Thread Nick Collins
Us Windows folks don't have 64 bit love yet, either. On Tue, Dec 15, 2009 at 12:55 PM, Rick Winscot rick.wins...@zyche.comwrote: Not to sound harsh on Adobe... but I shelled out $500 for the Flex 2 - Flex 3 upgrade and four weeks later they dropped the price to $250. I’d like to avoid that

[flexcoders] Re: Clarification in including libraries

2009-12-15 Thread Ariel J
When you add libaries via Library Path, they are only compiled into the swf if they are used/referenced in your code. This keeps swf's smaller by only adding Flex code that is needed. For example, why compile into your swf the code for Advanced Data Grid if you never use it. However, since you

[flexcoders] Swfloader stopping when 1mb

2009-12-15 Thread David Pariente
Hi all, Unexpectectly one of my swfloaders stops loading when i put the website in the internet. After fighting with it i found out that it allways stops loading at 980kb, allways just before reach 1mb. I have no idea why this is happening...the other swf files that i load that are under 1mb

Re: [flexcoders] Re: Odd grouping issue in ADG [1 Attachment]

2009-12-15 Thread Tom McNeer
Steve (and anyone else interested), I have attached a simple P-O-C that demonstrates the problem. If you remove the compareFunction attribute from the grid, the entries are grouped correctly; but of course, they're sorted randomly. However, with the compareFunction in place, the sort is

[flexcoders] Flex Component Kit and RSL

2009-12-15 Thread Eduardo Dias
Hello Everyone, Does anyone already tried before to use the SWC component generated by the Flex Component Kit as a RSL? I'm trying that but it seems it doesn't cause any effect over the swf size. Probably all SWC components generated by the FCK have linkage type *merged into the code.* Any

RE: [flexcoders] UITextField: text-align crops the text

2009-12-15 Thread Alex Harui
There might be some edge cases out there. Does it work if you don't embed the font? Maybe file a bug with your test case. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com

[flexcoders] nightly sdk - automation libs

2009-12-15 Thread Ariel J
should the nightly sdk 4.0 builds include the automation libs?

[flexcoders] Need help refreshing datagrid - doesn't update in time if I use keyboard listner

2009-12-15 Thread luvfotography
Hi, I've got an eventListener listening for keyboard events and a checkbox in a datagrid column, and after I select a checkbox and immediately hit a key, then the item selected is not picked up. If I select a checkbox in the datagrid, then click outside the datagrid, then hit a key, then the

[flexcoders] Re: replicating Flex build with ant script

2009-12-15 Thread Ariel J
needed to add this to the build script: static-link-runtime-shared-libraries=true --- In flexcoders@yahoogroups.com, Ariel J arielj...@... wrote: I am trying to reproduce the standard build with an ant script to prepare for future customizations, but when I compile I am getting a SWF with

Re: [flexcoders] Flex 4 Upgrade Price?

2009-12-15 Thread Gustavo Duenas
does anyone knows if this flex 4 upgrade will be also for PPC macs not the intel kind Gus On Dec 15, 2009, at 2:55 PM, Nick Collins wrote: Us Windows folks don't have 64 bit love yet, either. On Tue, Dec 15, 2009 at 12:55 PM, Rick Winscot rick.wins...@zyche.com wrote: Not to sound

Re: [flexcoders] Flex 4 Upgrade Price?

2009-12-15 Thread Rick Winscot
Amen brother. It¹s crazy expensive to run 32bit Flexbuilder on a 64bit machine for anyone. Matt ­ to refresh your memory on the pricing changes. The upgrade price at the time of Ted¹s post went from $499 to $249 for pro ­ ppl that bought Flex 2 within the free-upgrade window paid $250 less than

Re: [flexcoders] Flex 4 Upgrade Price?

2009-12-15 Thread Matt Chotin
No, we will not support PPC with Flex 4. Matt On Dec 15, 2009, at 1:38 PM, Gustavo Duenas wrote: does anyone knows if this flex 4 upgrade will be also for PPC macs not the intel kind Gus On Dec 15, 2009, at 2:55 PM, Nick Collins wrote: Us Windows folks don't have 64 bit love yet,

[flexcoders] flex 4 skins + presentation model

2009-12-15 Thread Ariel J
Can anyone suggest how to merge these? The issue is that the presenation model is not necessarily available when the skin parts are added in partAdded() which is where skin parts tend to be integrated. Does it involve a lot of BindingUtils? How are people doing this?

[flexcoders] Re: MAC : TextInput focus

2009-12-15 Thread emc_rcsiki
Alex, the following simple application gives the TextInput the focus in the latest versions of IE and Firefox (IE8, Firefox 3.5) - that is, I can start typing right away: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute

[flexcoders] drawing horizontal line in ADG based on data

2009-12-15 Thread venkateswarlu naidu
Hi Guys, Hope everybody is doing good. I have a problem in drawing horizontal line in Advanced datagrid based on some data of the row (ex: data.label='XXX'). I tried overriding drawHorizontalLine , it did work but when you start scrolling everything gets messed up. Can anybody help me how to

[flexcoders] Flex Video and Firefox Issue

2009-12-15 Thread Gates Matthew
I have a videoplayer component that has been working just fine across browsers (chrome, IE, Safari, Firefox). We just changed server platforms from IIS to apache tomcat. The video player continues to work fine in all browsers EXCEPT firefox. In the flex debugger, it reports no errors. But it

[flexcoders] Combobox in Datagrid appears empty

2009-12-15 Thread emarionjacobs
I have a simple Combobox defined as the itemEditor for a DataGrid as shown below. The ArrayCollection that is its DataProvider is populated from creationComplete of the parent Canvas - and I can see the data going in via the debugger. However, when I insert a row into the datagrid under the

Re: [flexcoders] drawing horizontal line in ADG based on data

2009-12-15 Thread venkateswarlu naidu
Tried below but still getting the horizontal grid lines drawn for all rows when i start scrolling down :( 1. override protected function drawHorizontalLine(s:Sprite, rowIndex:int, color:uint, y:Number):void { if(indexToItemRenderer(rowIndex) !=

Re: [flexcoders] IE Div Tags somehow blocked on html page

2009-12-15 Thread Dan Pride
No That does not work either View source at http://www.archaeolibrary.com/Gezer/Center2/Center.html Works on windows firefox fine but IE is still over the the left. Its a Flex issue not a Css issue. Somehow Flex is overriding the Css I have tried every combination. very puzzling ? Dan --- On

RE: [flexcoders] Combobox in Datagrid appears empty

2009-12-15 Thread Alex Harui
Are you sure genreList is an array or ArrayCollection? Is the model bindable? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of emarionjacobs Sent: Tuesday,

RE: [flexcoders] Need help refreshing datagrid - doesn't update in time if I use keyboard listner

2009-12-15 Thread Alex Harui
DG editing is session-based, Tab or focus out commits the data. I'd probably commit the data on a change event from the CheckBox Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com

[flexcoders] Dapatkan 1.15 Million Malaysia Email Address!!! Hari ini adalah Promosi

2009-12-15 Thread biz4us
Perniagaan Internet anda gagal??? Disini saya berikan anda 1.15 million Malaysia Email Address untuk anda mempromosikan perniagaan anda. Banyak peniaga Internet membeli Email List ini dan banyak daripada merek a menjana pendapatan lumayan dalam seminggu sahaja.

RE: [flexcoders] Re: MAC : TextInput focus

2009-12-15 Thread Alex Harui
Yeah. And I'm surprised you got it working on FireFox. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of emc_rcsiki Sent: Tuesday, December 15, 2009 5:43 PM