RE: [flexcoders] Re: Has anyone done a file upload and download, store data into database

2009-04-02 Thread Tracy Spratt
Yes, this can be done, using ByteArray and base64 encoding if I recall correctly, though I have not done it. Search the archives, it is discussed regularly. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

RE: [flexcoders]Where does my SWF gain it's weight?

2009-04-02 Thread Gregor Kiddie
I don't think FB will generate modules reports for you, and I certainly cannot see any options that would. Can I suggest using ANT to compile your app? It gives you much more flexibility for precisely this sort of reason. The alternative is to run mxmlc from a CLI and specify all the parameters

[flexcoders] How on earth do I lose the LineChart LineSeries drop shadow?

2009-04-02 Thread Josh McDonald
I'm pulling my hair out trying to ditch the lineSeries dropshadow: mx:LineChart id=chart dataProvider={graph.itemList} maxHeight={width / 2} maxWidth={width - 80} showDataTips=true filters={null} mx:horizontalAxis mx:DateTimeAxis displayName={graph.xLabel} title={graph.xLabel}/

[flexcoders] Re: Adding tabs dynamically

2009-04-02 Thread bhaq1972
TabNavigatorObj.addChildAt(this, TabNavigatorObj.getChildren().length - 1); Just a guessI think your problem is TabNavigatorObj.getChildren().length Its not what you think it is (do a trace on it). instead, try using TabNavigatorObj.addChild(this); --- In flexcoders@yahoogroups.com,

Re: [flexcoders]Where does my SWF gain it's weight?

2009-04-02 Thread bjorn
Embedding fonts is a major one ... - bjorn 2009/4/2 Gregor Kiddie gkid...@inpses.co.uk I don’t think FB will generate modules reports for you, and I certainly cannot see any options that would. Can I suggest using ANT to compile your app? It gives you much more flexibility for precisely

RE: [flexcoders] Re: Creating exceptions to an eventlistener

2009-04-02 Thread shaun mccran
Hi, I'm using outerCanvas.addEventListener( MouseEvent.MOUSE_DOWN, moveWindow ); where outerCanvas is the canvas that holds another canvas, that hold the datagrid (whew!) So trace(event.currentTarget) always returns phoneBook0.outerCanvas, (phoneBook is the app name) So

[flexcoders] .properties actionscript parser

2009-04-02 Thread guy.tomer
Hello, We're managing the configuration on the server (java) and those configurations are generated in runtime as .properties format (text or xml). The flex client loads the configuration in runtime. Does anyone know of a utility class in as3 to parse .properties format? Alternatively (less

Re: [flexcoders] How on earth do I lose the LineChart LineSeries drop shadow?

2009-04-02 Thread Josh McDonald
Sweet I'll try it out first thing in the morning, cheers :) I don't suppose it explains why we have LineRenderer and ShadowLineRenderer. -Josh 2009/4/2 Paul Andrews p...@ipauland.com seriesFilters= [] - Original Message - *From:* Josh McDonald j...@joshmcdonald.info *To:*

[flexcoders] Re: Complex Charting in Flex

2009-04-02 Thread webbymary
This may not be the most elegant solution but, assuming you have only 2 pairs of high/low as your example shows, rename your second close to close2 and use 5 ColumnSeries where the yFields are: close1.High, close1.Low, close2.High, close2.Low, open. --- In flexcoders@yahoogroups.com, kotha

[flexcoders] Re: Complex Charting in Flex

2009-04-02 Thread Tim Hoff
Ok, good to know. From the sparse request: Can anyone suggest how can i draw a chart using this type of xml?, there's not a lot to go on. I offent suspect that some requests, on this list, come from people just looking to waste time. But, if your request is genuine, use a CartesianChart with

Re: [flexcoders] How on earth do I lose the LineChart LineSeries drop shadow?

2009-04-02 Thread Paul Andrews
seriesFilters=[] - Original Message - From: Josh McDonald To: flexcoders@yahoogroups.com Sent: Thursday, April 02, 2009 8:52 AM Subject: [flexcoders] How on earth do I lose the LineChart LineSeries drop shadow? I'm pulling my hair out trying to ditch the lineSeries

[flexcoders] Re: Has anyone done a file upload and download, store data into database

2009-04-02 Thread aphexyuri
Hi Flex sure can return the data, but because you are working with multiple file types, you're gonna run into some decoding / file saving issues. For example, you can easily decode an image file, but what about other binary files like .doc files etc? You will probably need libraries to take

[flexcoders] Re: Creating exceptions to an eventlistener

2009-04-02 Thread stuarthuss
You are using event.currenttarget but this always points to the current object (the clue is in the name). Try using event.target and that might help. I hope so. Best of luck with it. --- In flexcoders@yahoogroups.com, shaun mccran s_mcc...@... wrote: Hi, I'm using

Re: [flexcoders] .properties actionscript parser

2009-04-02 Thread Paresh M More
Guy, I have a piece of code, which reads, XML and can be used as resource bundle @ runtime, if u need then i can mail u Two tpyes, - Static - Run time ( note - other than .properties file, a simple xml file ) -- Regards, Paresh M. More Senior Software Engineer Nashik/Pune, Maharashtra, India.

[flexcoders] Using Sharde Object to communicate with a local SWF file from a desktop application

2009-04-02 Thread Flap Flap
Hi all, I'm looking for info on how to use a shared object to do a communication between an C++ application that's run on the desktop and a swf file that's run locally on the desktop. I think it's quit easy for a C++ applciation to read and write SOL but I'm just thinking of read / write and lock

RE: [flexcoders] Re: Creating exceptions to an eventlistener

2009-04-02 Thread shaun mccran
Thanks for your help, I ended out picking up the string value of the element in the listener: var str:String = event.target.valueOf(); Then finding if it was the element I did not want the listener to work on. if ( str.search(displayPeople) = 1) Might not be the most elegant

[flexcoders] Defining item renderers for a DataGrid using ActionScript

2009-04-02 Thread Penny Laus
I'm trying to create item renderers for DataGrid columns dynamically at runtime and am having a hard time sorting out how to define and attach item renderers. To make sure I've got the mecahnics right first, all I'm trying for now is to make a non-editable column display as a checkbox. My column

[flexcoders] Newbie in FLEX, need help on a question

2009-04-02 Thread krishneelu
Hi, I am not an intermmediate or advanced Flex coder, but just trying to use the Flex Builder latest trial version to create some mockups for an application I intend to hire resources to develop on. My question for flex is: After I run the application in flex builder, and it displays it on IE

Re: [flexcoders] Re: Adding tabs dynamically

2009-04-02 Thread Sam Lai
Looks ok - I assume lineid in the XML doc progresses sequentially. Maybe try manually using AS3 to add 6 tabs to the tabnavigator using similar code and see if it still happens, just to rule out the XML doc? 2009/4/2 markgoldin_2000 markgoldin_2...@yahoo.com: From the inside of a new Tab:

[flexcoders] Re: Adding tabs dynamically

2009-04-02 Thread markgoldin_2000
Actually this fixed the problem: boxingareas.validateSize() after a tab has been added. --- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote: Looks ok - I assume lineid in the XML doc progresses sequentially. Maybe try manually using AS3 to add 6 tabs to the tabnavigator using

Re: [flexcoders] AutoComplete with multiple items

2009-04-02 Thread Jeffry Houser
The original poster already said that the Yahoo Astra AutoComplete component did not support multiple entries. This is also something that got deferred for version 1 of the Flextras AutoComplete component. I would suggest taking a look at Hillel Coren's AutoComplete component:

[flexcoders] Re: Has anyone done a file upload and download, store data into database

2009-04-02 Thread valdhor
I would recommend NOT storing the file(s) in the database. What I would do is upload the file to the server then get PHP to move it and then store the location of the file in the database. --- In flexcoders@yahoogroups.com, timgerr tgallag...@... wrote: Sorry for not being clear. I want to

Re: [flexcoders] Ellipsis in Advanced datagrid(in flex)

2009-04-02 Thread Adrian Williams
Hey there, You'll want to use the truncateToFit property of the item renderer ClassFactory. var rendererFactory:ClassFactory; rendererFactory = new ClassFactory(Label); rendererFactory.properties = { truncateToFit: true, styleName: cellText }; column.itemRenderer =

Re: [flexcoders] Re: Flex on mobile devices

2009-04-02 Thread Tom Chiverton
On Tuesday 31 Mar 2009, oneworld95 wrote: technical difficulties are keeping the iPhone from getting Flash-enabled. Not that I know anything, but 'technical' my left elbow ! The iPhone easily has enough processor grunt. -- Helping to evangelistically brand distributed clicks-and-mortar

Re: [flexcoders] Flash player fails to install on vista!

2009-04-02 Thread Tom Chiverton
On Wednesday 01 Apr 2009, Cato Paus wrote: switching to FireFox, up yours MS! This is always a good step, as the development tools available as FireFox addons, and even just the built in error console, are a boon to web developers. -- Helping to centrally exploit bricks-and-clicks e-commerce

[flexcoders] Dynamic creation of ComboBox in ActionScript

2009-04-02 Thread brad.bueche
Big Picture: I'm trying to recreate the dynamic search interface in search coders app. I think it will be a great base for an sql front end. I can create combo-box's dynamically via the button. However, I want as much configuration as possible to come from a database (so I can change my app

[flexcoders] truncateToFit in flex

2009-04-02 Thread senthilkumarirtt
hi,i want to know about use of truncateToFit in advanced datagrid.

Re: [flexcoders] truncateToFit in flex

2009-04-02 Thread Adrian Williams
Hi, I posted the answer in your last email about this...using ellipses in the ADG Adrian senthilkumarirtt wrote: hi,i want to know about use of truncateToFit in advanced datagrid.

[flexcoders] Error with amfphp

2009-04-02 Thread christophe_jacquelin
Hello, I have this error : DeliveryInDoubtMessage:Channel disconnectedDetail:Channel disconnected before an acknowledgement was received. I have verify all the sources in Flex and in php. This error arrive from 1 day ago. Thnak you, Christophe,

[flexcoders] compiling fp10 in flex3

2009-04-02 Thread Gustavo Duenas
I Have the fp10 player global swc but when I try that flex read it as an external swc, I always have a bytecode error, any help? Gustavo P.D: someone would help me out with an step by step guide I've been doing what they said in the internet and I still have the error.

[flexcoders] Re: .properties actionscript parser

2009-04-02 Thread guy.tomer
That would be great! thanks --- In flexcoders@yahoogroups.com, Paresh M More pareshm...@... wrote: Guy, I have a piece of code, which reads, XML and can be used as resource bundle @ runtime, if u need then i can mail u Two tpyes, - Static - Run time ( note - other than .properties file,

Re: [flexcoders] Re: .properties actionscript parser

2009-04-02 Thread Paresh M More
just let me know exact reuirment of urs i would send u peice of code On Thu, Apr 2, 2009 at 7:58 PM, guy.tomer guy.to...@gmail.com wrote: That would be great! thanks --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Paresh M More pareshm...@... wrote: Guy, I have a

[flexcoders] Re: Problem migrating from Flex 2 to Flex 3

2009-04-02 Thread sruthi
Thanks for your reply tracy, actually we did cleaning when we migrate to Flex 3. As you said may be naming conflict, but i wonder not specified in Release notes or any other bug list. Thanks --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: Maybe a name collision with the

[flexcoders] Print existing documents in Flex

2009-04-02 Thread Arun Menon
Hi I have a situation where i have a bunch of urls which point to existing files which have to be printed to a users default printer. How can i use the PrintJob to achieve this. The user does not want to navigate to each url and print it manually.. I am not sure if PrintJob can print

[flexcoders] Re: Dynamic creation of ComboBox in ActionScript

2009-04-02 Thread vitaly.nikolenko
I think you can use .callLater --- In flexcoders@yahoogroups.com, brad.bueche b...@... wrote: In mxml, I would use creationComplete. However, actionscript does not seem to have this method for ComboBox. What do I use?

Re: [flexcoders] Print existing documents in Flex

2009-04-02 Thread Paul Andrews
PrintJob won't print external files. The only way to do it with Flex would be to read each file and add it's contents to a container to be rendered using Printjob. Unfortunately Flex isn't a printspooler! You might have some luck trying to navigate to the document url by popping up a new

[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-02 Thread nateross83
Glad that worked for you Tim. However, I am still having issues. I have had an mm.cfg file in my c:\users\username directory and have tried multiple things with it that I read online such as trying to specify a path to PreloadSwf, but I still keep getting the same error. Any other thoughts?

[flexcoders] Panel access

2009-04-02 Thread christophe_jacquelin
Hello, I have a tab navigator with Panels. I want that the user access some panel only if he is logged. How to unvalidate the access to a Panel ? Thank you, Christophe,

Re: [flexcoders] Dynamic creation of ComboBox in ActionScript

2009-04-02 Thread Maciek Sakrejda
Brad, creationComplete is an event, and not a method or property. In MXML, these look very similar, but in ActionScript, you need to explicitly add an event listener to handle the event. E.g., comboBox.addEventListener(FlexEvent.CREATION_COMPLETE, handleCreationComplete) and then elsewhere in

[flexcoders] Re: Newbie in FLEX, need help on a question

2009-04-02 Thread valdhor
mx:Application pageTitle=My Awesome Page xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% The width and height properties are what you want. --- In flexcoders@yahoogroups.com, krishneelu krishne...@... wrote: Hi, I am not an intermmediate or advanced Flex coder, but just

[flexcoders] autocomplete difference in array vs httpservice

2009-04-02 Thread Jason B
I've been trying to use this autocomplete http://examples.adobe.com/flex2/exchange/AutoComplete/CustomizeAutoComplete/CustomizeAutoComplete.html and i got it working but httpservice loads a [object Object] on load of the app, and when i clear that out and start typing it works. I just want to

Re: [flexcoders] Panel access

2009-04-02 Thread Rick Winscot
If ( userLogged == false ) myPanel.enabled = false; You could also take it completely out of view by setting the visible property false... Is there something more you are trying to accomplish? Rick Winscot On 4/2/09 11:40 AM, christophe_jacquelin christophe_jacque...@yahoo.fr wrote:

Re: [flexcoders] Panel access

2009-04-02 Thread Adrian Williams
Hi Christophe, Try accessing the panel.enabled property. If the user is not logged in, set panel.enabled = false and they won't be able to interact with it. Adrian christophe_jacquelin wrote: Hello, I have a tab navigator with Panels. I want that the user access some panel only if

[flexcoders] Re: Error with amfphp

2009-04-02 Thread valdhor
I have seen this before and never found a solution. Everything is working perfectly and then this error shows up and won't go away (Even if you revert to the last version that worked it is still there). This was the main reason I moved to using WebORB. I have not seen that error since that

Re: [flexcoders] Using Sharde Object to communicate with a local SWF file from a desktop application

2009-04-02 Thread Maciek Sakrejda
Depending on what you want, XMLSocket might be a better fit than SharedObject... -Original Message- From: Flap Flap flapflapl...@kilooctet.net Reply-to: flexcoders@yahoogroups.com To: FlexCoders flexcoders@yahoogroups.com Subject: [flexcoders] Using Sharde Object to communicate with a

RE: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-02 Thread Alex Harui
There should almost never be a preloadSWF entry in your mm.cfg. FlexBuilder is supposed to put it in and take out at the beginning and end of profiler sessions. If you clear that entry from mm.cfg do you still have problems? Alex Harui Flex SDK Developer Adobe Systems

RE: [flexcoders] Defining item renderers for a DataGrid using ActionScript

2009-04-02 Thread Alex Harui
By default, checkbox assumes the data[dataField] is a Boolean and will reflect that value. If you want anything else, you'll need to bake a subclass upfront with the flexibility to do what you want. ItemRenderers are classes and you can't define classes at runtime, you can only tweak

[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-02 Thread nateross83
Yes, I've tried clearing out that line and even deleting the mm.cfg file (which is recreated for me automatically when I try to run the profiler), but nothing works. Nate --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: There should almost never be a preloadSWF entry in your

[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-02 Thread nateross83
Glad that worked for you Tim. However, I am still having issues. I have had an mm.cfg file in my c:\users\username directory and have tried multiple things with it that I read online such as trying to specify a path to PreloadSwf, but I still keep getting the same error. Any other thoughts?

[flexcoders] Enumeration???

2009-04-02 Thread flexaustin
I am not sure if enumeration is the correct term, but I was wondering how to achieve this AS3. I have a value object called myVO. I want to set the value of myVO in two ways (XML or and Object). If an Object is passed into myVO's constructor I want to do something like this ( keep an eye on d

[flexcoders] SWF obfuscator

2009-04-02 Thread christophe_jacquelin
Hello, What is the best product for SWF obfuscator ? Did these products are effective ? Thank you, Christophe,

[flexcoders] Check for XML node

2009-04-02 Thread markgoldin_2000
I want to check if XML has a node named serverdata. I am using this line resultXML.child(serverdata) but looks like both if (resultXML.child(serverdata) != ) and if (resultXML.child(serverdata) != ) are returning true. Thanks for help.

[flexcoders] Re: Check for XML node

2009-04-02 Thread markgoldin_2000
Second if (resultXML.child(serverdata) != ) should be if (resultXML.child(serverdata) != null) --- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... wrote: I want to check if XML has a node named serverdata. I am using this line resultXML.child(serverdata) but looks like

[flexcoders] Re: .properties actionscript parser

2009-04-02 Thread arieljake
package readers.text { import mx.utils.StringUtil; public class Properties { public var values:Object; public function Properties(props:String = ) { this.properties = props;

[flexcoders] Re: htmlText with image and ioError

2009-04-02 Thread carloscarvalhar
hi, so...does anyone have any idea how can i handle ioError from images not loaded inside a text with htmlText? where can i add a listener? thanks, Carlos --- In flexcoders@yahoogroups.com, carloscarvalhar carloscarval...@... wrote: Hi, i have a Text with htmlText that can have missing

RE: [flexcoders] Re: Check for XML node

2009-04-02 Thread Tracy Spratt
Try: If (resultXML.hasOwnProperty(serverdata)) Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markgoldin_2000 Sent: Thursday, April 02, 2009 1:09 PM To: flexcoders@yahoogroups.com

[flexcoders] Re: Check for XML node

2009-04-02 Thread markgoldin_2000
Seems to work. Thanks --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: Try: If (resultXML.hasOwnProperty(serverdata)) Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]

[flexcoders] Re: Dynamic creation of ComboBox in ActionScript

2009-04-02 Thread brad.bueche
Maciek, Thanks for steering me straight on this. That worked! Its also very cool that I can add so many eventlisteners to just about any object that I want (very powerful). Now, I have a question about moving my remote object out of mxml and into actionscript. But I'll post that in a new

[flexcoders] Flex Builder 3 - Is it possible to export Profiler Data?

2009-04-02 Thread Peter Gardner
I am profiling my web-app and would like to be able to export the memory data from the profiler into a spread sheet. Is there any way to export that data into CSV or some other reasonable form? Or does anyone have insight into the saved profiling data file formats? Thanks very much, Peter

[flexcoders] Do you know the forum for zendAMF and Flex?

2009-04-02 Thread markflex2007
Hi, I have question for that and am looking for help. Please help me. Thanks Mark

[flexcoders] Re: model locator population too late

2009-04-02 Thread jerry_gagliano
ok do u have an example of this please? I am not sure what you mean. Thanks in advance --- In flexcoders@yahoogroups.com, b.kotireddy koti_reddy...@... wrote: You can use the call back mechanism to load the data into model. And call that method in the creationComplete of that progress bar

[flexcoders] Builder Question

2009-04-02 Thread markgoldin_2000
I have a project with SWC serving as a common library (L). When I build my project and there were any changes in a source of L then L gets rebuilt as well, but If I export Release build then that is not happening. Is that right? Thanks

Re: [flexcoders] Enumeration???

2009-04-02 Thread Wesley Acheson
Assuming its a dynamic object you can iterate through the members using a for each in and or a for each in Imagine you have the following object typing from memory so forgive any typos. var obj:Object obj.firstName = wesley; obj.lastName = acheson; obj.age = Too old; var properties:String = ;

[flexcoders] Re: Do you know the forum for zendAMF and Flex?

2009-04-02 Thread valdhor
Zend_AMF is part of the Zend Framework. The Zend Framework forum is at http://www.zfforums.com --- In flexcoders@yahoogroups.com, markflex2007 markflex2...@... wrote: Hi, I have question for that and am looking for help. Please help me. Thanks Mark

[flexcoders] Re: Flash player fails to install on vista!

2009-04-02 Thread Cato Paus
There was no error, just a silent error. And when I went back to the page that requires the last version of flash player I get up again to installed --- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote: This just sounds like the tech support calls I get from customers.

[flexcoders] Change viewStack index from different Panels

2009-04-02 Thread Thiago Rodrigues
Hello guys... After read some tutrorials and a introdutory book, I'm making my first application. I've two distinct panes and I wan't to change the index of a viewStack in pane 2 from a click action there belongs to a image located in pane 1. So: click=myviewStack.selectedIndex(0) I

Re: [flexcoders] Change viewStack index from different Panels

2009-04-02 Thread Maciek Sakrejda
selectedIndex is a property, not a method. Try click=myviewStack.selectedIndex = 0 -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Thiago Rodrigues thiagotrr...@yahoo.com.br Reply-to: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject:

[flexcoders] BlazeDS or LiveCycleDS Performance Diagnostics

2009-04-02 Thread grabnerandi
Hi Flexcoders I am looking for people using BlazeDS and/or LiveCycleDS that are interested in performance diagnostics of the components running on the server side. I am doing some research on transaction tracing and therefore need some feedback on how performance diagnostics is done right now

[flexcoders] maven compile flex project

2009-04-02 Thread Fernando Wermus
Hi Folks, I am looking for a maven plugin and a pom.xml example for compiling and for generating a swf. Which is the best plugin you have tested it? Do you have an example which compile, generate swf and copy to another project the swf file generated? I am needing to integrate

Re: [flexcoders] Re: Flash player fails to install on vista!

2009-04-02 Thread Rick Winscot
I ran across this two weeks ago on a single system... out of 76 machines and posted here as well to see if anyone else was experiencing any esplosions. Long story short ­ I ended up finding some wonky behavior in the JavaScript used for Flash version detection on just that machine. Go figure.

[flexcoders] node depth in xml/xmllist?

2009-04-02 Thread gwangdesign
Hi, Could anyone tell me how I can get the depth of a node in an xml/xmlList? Say if the node has 0 parent node (root), it's at depth of 0; if it has 1 direct parent node which is the direct child of root, it's at the depth of 2, etc. Thanks. -geng

RE: [flexcoders] node depth in xml/xmllist?

2009-04-02 Thread Tracy Spratt
You will need to build that little function yourself. Just loop while parent() is not null, incrementing a counter. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of gwangdesign Sent:

[flexcoders] TextArea Border?

2009-04-02 Thread flexaustin
I am using the textArea and finally got the border to turn off, but when you click it, the theme color still shows? My background is white so I tried setting the theme and borderColor to white but that doesn't work either? I am using GUMBO so maybe its a bug? TextArea id=modelLabel

[flexcoders] Why does percentWidth / percentHeight not work with popups?

2009-04-02 Thread skuteboarding
I'm trying to create a popup at 100% of the width / height of the application. But it just ignores these values. I've had to work around the problem by doing: BindingUtils.bindProperty(popup, width, this, width); BindingUtils.bindProperty(popup, height, this, height); (Where 'this' is the

[flexcoders] Why does percentWidth / percentHeight not work with popups?

2009-04-02 Thread skuteboarding
I'm trying to create a popup at 100% of the width / height of the application. But it just ignores these values. I've had to work around the problem by doing: BindingUtils.bindProperty(popup, width, this, width); BindingUtils.bindProperty(popup, height, this, height); (Where 'this' is the

[flexcoders] Why does percentWidth / percentHeight not work with popups?

2009-04-02 Thread skuteboarding
I'm trying to create a popup at 100% of the width / height of the application. But it just ignores these values. I've had to work around the problem by doing: BindingUtils.bindProperty(popup, width, this, width); BindingUtils.bindProperty(popup, height, this, height); (Where 'this' is the

RE: [flexcoders] Why does percentWidth / percentHeight not work with popups?

2009-04-02 Thread Tracy Spratt
Suppose on resize you call PopUpmanager.centerPopUp()/ Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of skuteboarding Sent: Thursday, April 02, 2009 5:36 PM To:

[flexcoders] Re: TextArea Border?

2009-04-02 Thread Tim Hoff
editable=false -TH --- In flexcoders@yahoogroups.com, flexaustin flexaus...@... wrote: I am using the textArea and finally got the border to turn off, but when you click it, the theme color still shows? My background is white so I tried setting the theme and borderColor to white but that

Re: [flexcoders] Why does percentWidth / percentHeight not work with popups?

2009-04-02 Thread Sam Lai
I can confirm the issue and had to manually size it via the resized event. Maybe it's because the popup is not part of the window/app's display list, but instead a separate controlled by PopupManager? On 4/3/09, skuteboarding m...@mark-ingram.com wrote: I'm trying to create a popup at 100% of

[flexcoders] Creating RemoteObject in ActionScript as dataProvider for ComboBox

2009-04-02 Thread brad.bueche
I cant find a good example of how to create a remoteObject in ActionScript. All the examples seem to be way more complicated than I need and I cant follow what they are doing. On top of that, they don't cover the parameters that I need. I've also looked through 5 books. ActionScript books

Re: [flexcoders] Creating RemoteObject in ActionScript as dataProvider for ComboBox

2009-04-02 Thread Paul Kukiel
A quick example that should get you going: import mx.rpc.remoting.RemoteObject; var ro:RemoteObject = new RemoteObject; ro.destination = ColdFusion; ro.source = com.company.ProjectData;

RE: [flexcoders] Creating RemoteObject in ActionScript as dataProvider for ComboBox

2009-04-02 Thread Jake Churchill
What is your remote object returning?? Send your remote object's result to a function and then set your dataprovider. This will allow you to debug it and find out what is being returned. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of brad.bueche Sent:

[flexcoders] Re: model locator population too late

2009-04-02 Thread arieljake
Do what I do: public function get users():ArrayCollection { if (_users == null) { _users = new ArrayCollection(); var httpSvc:HTTPService = new HTTPService(); httpSvc.addEventListener(result,function (event):void { _users.source = result.data; //

[flexcoders] Re: Creating RemoteObject in ActionScript as dataProvider for ComboBox

2009-04-02 Thread brad.bueche
Its just returning a list of names as the result of a database query. The code below (in the original email) works. But the RemoteObject is in mxml. I just need the actionscript version of it. Here is the .cfc: cfcomponent output=false cffunction name=getData access=remote returntype=query

[flexcoders] Finding the stage xy of a nested object

2009-04-02 Thread Guy Morton
Hello I though this ought to be easy but can't figure out how to do it. I have controls that are nested in layout containers and I want to find their xy in stage coordinates. Their x and y values are relative to their containers, so that doesn't give me what I want. There must be an easy

[flexcoders] Re: Creating RemoteObject in ActionScript as dataProvider for ComboBox

2009-04-02 Thread brad.bueche
Paul, Thanks for your answer. You are losing me though at. ro.getProjectData I understand the ...addEventListener(result,getProjectDataResult); Here is my progress so far, based on your input, in moving my mxml RemoteObject: !-- mx:RemoteObject id=conn destination=ColdFusion

RE: [flexcoders] Finding the stage xy of a nested object

2009-04-02 Thread Tracy Spratt
You want the coordinate system methods like localToGlobal and globalToLocal. Look for coordinate system in the docs for a full explanation. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf

RE: [flexcoders] Re: Creating RemoteObject in ActionScript as dataProvider for ComboBox

2009-04-02 Thread Tracy Spratt
I don't do much RemoteObject, but normally a destination is going to expose methods for you to call and getProjectData is Paul's example method, and it takes a parameter whose value is in the project property of the view component. The line: ro.getProjectData(this.view.project); actually

[flexcoders] Re: Creating RemoteObject in ActionScript as dataProvider for ComboBox

2009-04-02 Thread brad.bueche
Ah, I understand now. My RemoteObject is nothing but very few lines in a .cfc file that executes a single SQL query that returns 1 column of data. So, at this point in my program anyway, I wont need that (I dont think). Thanks for your insight on this, Tracy. brad --- In

RE: [flexcoders] Why does percentWidth / percentHeight not work with popups?

2009-04-02 Thread Alex Harui
Basically yes. Parents size their children in Flex and popups don't have a parent. (actually they do because they are parented by SystemManager, but SystemManager doesn't layout its children. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog:

[flexcoders] New Adobe forums coming!

2009-04-02 Thread Matt Chotin
Hi all, If you've been using the Adobe forums via the web interface recently you probably saw notices that we're introducing a huge upgrade to the forum system. We're combining the user-to-user forums (adobeforums.com) and the adobe.com forums into a single forum system. We're going to have

[flexcoders] Re: New Adobe forums coming!

2009-04-02 Thread Bjorn Schultheiss
Will the forums replace flexcoders? --- In flexcoders@yahoogroups.com, Matt Chotin mcho...@... wrote: Hi all, If you've been using the Adobe forums via the web interface recently you probably saw notices that we're introducing a huge upgrade to the forum system. We're combining the

Re: [flexcoders] Re: New Adobe forums coming!

2009-04-02 Thread Matt Chotin
I think that will be up to folks who use flexcoders. I'm hoping that we'll consolidate and therefore be able to not rely on a separate list, but I want the forums to prove themselves worthy of that :-) On 4/2/09 9:57 PM, Bjorn Schultheiss bjorn.mailingli...@gmail.com wrote: Will the

Re: [flexcoders] Re: New Adobe forums coming!

2009-04-02 Thread Sam Lai
I hope not - I used to be a forum trawler, but lately I've become quite fond of having the content pushed to my email, as opposed to me having to go get it. Also makes it easier to read on a mobile (yes, I don't have an iPhone). Some forum software offer a mailing list interface too - not sure if

Re: [flexcoders] Re: New Adobe forums coming!

2009-04-02 Thread Matt Chotin
You will be able to receive and initiate everything over email. That was a requirement. On 4/2/09 10:07 PM, Sam Lai samuel@gmail.com wrote: I hope not - I used to be a forum trawler, but lately I've become quite fond of having the content pushed to my email, as opposed to me having to go