[flexcoders] Find Actual Width After Setting Percent Width

2009-08-25 Thread jmfillman
I have a canvas container with="100%". When the user clicks a button, the container is set to percentWidth=20, and I need to immediately know the new width so that I can properly re-size elements in the container to match the new width. >From what I can tell, the LayoutManager doesn't get to me

Re: [flexcoders] Flex Function and Web Service ResultHandler Question

2009-08-25 Thread Angelo Anolin
Hi Tracy, Thanks for the input. How can I then pass some objects and variables to the ResultHandler which I have made some modifications prior to calling the web service operation? Would my last resort be on declaring variables and objects that would be visible across the whole application? T

[flexcoders] Question on Flex Script Execution + Alert.show

2009-08-25 Thread Angelo Anolin
Hi FlexCoders, This has puzzled me a bit.. I have the following scripts in my application: private var myAlert:int; private function testFunction(evt:Event):void { Alert.show('do you want to proceed', 'Title', Alert.YES | Alert.NO, null, alertHandler, null, Alert.YES); if(myAlert == 1)

RE: [flexcoders] Add mxml component to NativeApplication instance

2009-08-25 Thread Alex Harui
Flex component have to be parented by a SystemManager or another Flex Component. Use Window and put your canvas in there. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.c

[flexcoders] Loading module within flexMDI

2009-08-25 Thread yonghan79
Hi all,i want to ask.Does anyone ever before loading modules within flexMdi window...Thanks..

RE: [flexcoders] SharedObject - do I need to stop it flushing at app exit?

2009-08-25 Thread Tracy Spratt
Don't assign values to the so until the user clicks the save prefs. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of chigwell23 Sent: Wednesday, August 26, 2009 12:25 AM To: flexcoders@ya

RE: [flexcoders] Flex Function and Web Service ResultHandler Question

2009-08-25 Thread Tracy Spratt
You will have to initiate your "further operations" from the result handler. There is no other way. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Angelo Anolin Sent: Tuesday, August 25

RE: [flexcoders] Flex Function and Web Service ResultHandler Question

2009-08-25 Thread Tracy Spratt
You will have to initiate your "further operations" from the result handler. There is no other way. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Angelo Anolin Sent: Tuesday, August 25

[flexcoders] SharedObject - do I need to stop it flushing at app exit?

2009-08-25 Thread chigwell23
Multiple dropdowns are used to configure stored procedure parameters to load a dashboard view. A "Save Preferences" button saves the current configuration to a local SO. The user can then change the parameters and load different dashboard views . problem is that when the app quits it autoflu

[flexcoders] Flex Function and Web Service ResultHandler Question

2009-08-25 Thread Angelo Anolin
Hi FlexCoders, Needing your input on the following: I have created a function for the dragevent of a list. Code is as follows: private function myFunction(evt:DragEvent):void {  var nameID:String = 'Angelo';    // Call a webservice operation here  ws.GetStatus(nameID);    Alert.show(String(_xml

[flexcoders] Add mxml component to NativeApplication instance

2009-08-25 Thread thedauntless_ff
Hi, Situation: I've simplified my problem to just a few lines of AS & mxml (see below). What I'm trying to do is easy: Create a custom NativeWindow instance that has an mxml component as it's child. Problem: I can't get the component to show and it 'disappears' for some reason. Code: package

[flexcoders] MessageBroker problem when creating dynamic destinations

2009-08-25 Thread aurelio_pinero2000
Hello everyone, I've been trying to create dynamic "on-the-fly" destinations that read from JMS Topics created using Java. The JMS Topic creation part is working perfectly, the part that I am having problems with is the Flex side, where I want to create dynamic destinations (this has to be done c

[flexcoders] Re: How to loop XML data and adding another attribute?

2009-08-25 Thread Nick Middleweek
I've done it :-) for each(var address:XML in dataXML.children()){ var buildingNumber = address.attribute("Building_Number").toString().replace(/[^0-9]/g, ""); addre...@building_numeric = buildingNumber; } Is there a better or quicker way to do this? Thanks, Nick 2009/8/25 Nick Middlewe

Re: [flexcoders] How to loop XML data and adding another attribute?

2009-08-25 Thread Beau Scott
for each(var address:XML in dataXML.address) { addre...@building_numeric = parseInt(addre...@building_number); } For more info on using XML in ActionScript 3 (iterating, collections, manipulation) see here: http://livedocs.adobe.com/flex/3/langref/XML.html and http://help.adobe.com/en_US/Act

Re: [flexcoders] why "disabledRanges" doesn't work

2009-08-25 Thread Beau Scott
Works fine for me. Are you thinking that new Date(2010,2,1) = Feb 1, 2010? Remeber that months are 0 based, so 2 = March. Beau On Tue, Aug 25, 2009 at 3:04 PM, markflex2007 wrote: > > > I set the disabledRanges for DateField,but I can select any date,it seems > "disabledRanges" doesn't work. >

[flexcoders] All-In-One Flex/AIR SDK Mac/Win/Lin Package?

2009-08-25 Thread Beau Scott
We currently run a full spectrum of development and testing environments for our software (Multi-Linux, Mac and Windows), and our automated build/test server runs linux. In an effort to ensure all engineers and build servers are using the same SDK versions, we have an SDK repository and externals l

[flexcoders] How to loop XML data and adding another attribute?

2009-08-25 Thread Nick Middleweek
Hello, I've got some XML data in a variable called dataXML, it looks similar to this... / What I'd like to do is loop round the data and add another attribute called building_numeric which is the parseInt(building_number attribute). I'm sure this is really easy but can so

Re: [Spam] RE: [flexcoders] Resizeble columns that don't shrink theneighbouring column

2009-08-25 Thread Nick Middleweek
Alex, You star, that's sorted it, thank you! :) 2009/8/25 Alex Harui > > > If horizontalScrollPolicy=”off” (default) all columns are packed onto the > screen and some will be adjusted so they fit. If you know which column you > want to see shrink as the other grows, set that column’s size

RE: [flexcoders] using e4x - how do I determine if an element is there?

2009-08-25 Thread Alex Harui
If there is no element, event.result..LargeImage.length() == 0 Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of luvfotography Sent: Tuesday, August 25, 200

RE: [flexcoders] Resizeble columns that don't shrink the neighbouring column

2009-08-25 Thread Alex Harui
If horizontalScrollPolicy="off" (default) all columns are packed onto the screen and some will be adjusted so they fit. If you know which column you want to see shrink as the other grows, set that column's size as well. For the other horizontalScrollPolicy values, you shouldn't have this proble

[flexcoders] why "disabledRanges" doesn't work

2009-08-25 Thread markflex2007
I set the disabledRanges for DateField,but I can select any date,it seems "disabledRanges" doesn't work. Please help.Thanks

[flexcoders] using e4x - how do I determine if an element is there?

2009-08-25 Thread luvfotography
Hi, what's an efficient way of doing this? This works(most of the time) var LargeImage:String = event.result..LargeImage[0].URL; except when LargeImage is not there, then I get: TypeError: Error #1010: A term is undefined and has no properties. Do I first get LargeImage, then if it exists, the

Re: [flexcoders] Air bundle strips Mac executable permissions

2009-08-25 Thread Wesley Acheson
It sounds like a bug with the nochump library. I doubt many people are using it which Is why I doubt your getting many replies. On Tue, Aug 25, 2009 at 11:36 AM, christofink wrote: > I posted this message a few days ago and have not received any response, is > this the right forum to post Air

[flexcoders] Stay tuned for series of posts on flex

2009-08-25 Thread jaibeer_malik
Hi All, Just to share the links, stay tuned for the series of posts on flex. http://jaibeermalik.wordpress.com/category/tech-stuff/flex/ This covers Cairngorm (MVC), SpringActionscript (IOC), few Cairngorm extensions, view notifications strategy, data transfer strategy and client side security

[flexcoders] Resizeble columns that don't shrink the neighbouring column

2009-08-25 Thread Nick Middleweek
Hello, I'm working on someone elses code, it's an Advanced Data Grid that has resizeable columns. When column A is made bigger, this makes Column B smaller which is annoying the users. Is there a way to prevent this or do I have to write my code to support this feature? Thanks in advance, Nick

[flexcoders] Re: Pass data into renderer

2009-08-25 Thread fumeng5
I pass in the column headers DTOs for both datagrids (the AdvancedDataGrid in the parent component and the datagrid that is part of my Renderer class) to the parent component. So, the column headers DTOs for my datagrid in the Renderer are actually passed into the parent; and as a result I can

[flexcoders] Will Flex Builder be updated with 3.4 SDK release?

2009-08-25 Thread tntomek
Also will DMV be updated with 3.4 as well? It would be really nice to have native Eclipse 3.5 installer. Looking forward to the updated reliability (fingers crossed) in 3.4 SDK

[flexcoders] Tab navigator issue

2009-08-25 Thread Munteha Riaz
hi all! im using a tab navigator with the given style .ATabNavigator {     tab-width:198;     tab-height:27;     tab-offset:0;     horizontal-gap:3;     border-thickness:1; width: 600;     height:193;        } there are total 3 tabs with given width=198 so total width of 3 tabs=198 x 3=5

Re: [flexcoders] Air bundle strips Mac executable permissions

2009-08-25 Thread Tom Chiverton
On Tuesday 25 Aug 2009, christofink wrote: > I posted this message a few days ago and have not received any response, is > this the right forum to post Air questions? Oh, their fine here :-) > If you put any executable file like a applescript.app or say a flash > projector within a project (in th

[flexcoders] Re: degrafa capacity indicator resizing

2009-08-25 Thread valdhor
Did you try adding the button I mentioned? Do you understand what it does? --- In flexcoders@yahoogroups.com, "kaushal.shah05" wrote: > > I've tried using States to zoom in/out but no luck. Full code below: > > >xmlns:mx="http://www.adobe.com/2006/mxml"; > layout="absolute" >

[flexcoders] Re: Instant messaging example

2009-08-25 Thread valdhor
Well, that looks fine. Can you check the server side services-config.xml file and make sure the weborb-rtmp channel is defined there? --- In flexcoders@yahoogroups.com, "roly445" wrote: > > Sure here you go > > > - > - > > > > - class="Weborb.V3Types.Core.RemotingHandler"

Re: [flexcoders] An internal build error has occurred. Right-click for more information.

2009-08-25 Thread Ganesh Suyampirakasam
try to clean the project. or try with creating new workspace Ganesh From: deneme2010 To: flexcoders@yahoogroups.com Sent: Tuesday, 25 August, 2009 12:21:27 PM Subject: [flexcoders] An internal build error has occurred. Right-click for more information. H

[flexcoders] Air bundle strips Mac executable permissions

2009-08-25 Thread christofink
I posted this message a few days ago and have not received any response, is this the right forum to post Air questions? == Previous Post There is a bug where an air app cannot ma

Re: [flexcoders] Pass data into renderer

2009-08-25 Thread Tom Chiverton
On Monday 24 Aug 2009, fumeng5 wrote: > I'm trying to pass custom data into an AdvancedDataGridRendererProvider > instance. Normally, the renderer would only be using data from the data grid's dataProvider. What are you trying to do ? -- Helping to elementarily develop web-enabled 24/7 ubiquit

[flexcoders] Runtime error 'Bookmark is not valid' when an item is added to advanced data grid's hierarchical data. [1 Attachment]

2009-08-25 Thread Mika Kiljunen
Hi, I was able to create a sample code which always causes runtime error 'Bookmark is not valid' when an item is added to advanced data grid's hierarchical data. I filed a bug, please vote if you have similar problems with this: https://bugs.adobe.com/jira/browse/FLEXDMV-2194 Steps to reproduce: