RE: [flexcoders] Need Details Creating Custom UIComponents with AS3

2009-02-02 Thread Gregor Kiddie
Try Deepa's talk from MAX, it was really good on creating components in Flex 3. http://tv.adobe.com/#vi+f15384v1002 I think that's the right link... Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ R

[flexcoders] Simplest way to create a webservice and deploy

2009-02-02 Thread Vik
Hie I am very new to web services. My very simple requirement is to return the records from a db table as an xml when i invoke a ws from my flex application. I have already code ready which is having a java method fetchRow() which returns a List of objects (rows). Any idea how to about creating

[flexcoders] Re: Adding custom request headers to soap

2009-02-02 Thread guy.tomer
--- In flexcoders@yahoogroups.com, "guy.tomer" wrote: > > Hello, > > Does anyone know a way to add headers to a soap request when: > 1. The headers are not defined in the wsdl > 2. We obviously don't want to change the generated flex builder > classes. > > Thanks! > Guy > Did some more digging

[flexcoders] Adding styles to UIComponents

2009-02-02 Thread superbokbok
Hi all... Was wondering if this was at all possible... I have a stylesheet that defines a number of settings. One of them being a background image to be used for a component. If I use any of the container classes and set the styleName = 'newStyle' and then in my css have .newStyle { backgroundI

[flexcoders] Flash video playing fast for the first few seconds in Flash 10

2009-02-02 Thread Joy
Hi I have a app which plays composite video+audio. It was working fine in fla-9-player. But with 10-player, the video gets out of sync and plays very fast in the first few seconds, and then plays normally. This problem is not there with 9-player. I have set a buffer-time of 5 secs. Let me know wh

Re: [flexcoders] *** Security Sandbox Violation *** ?

2009-02-02 Thread Alan K
I'm confused, if the app runs fine, then what is the problem? Your getting a sandbox error because your trying to grab data from somewhere besides the host application's home. Alan >I get the error message when I debug a application.the application >works fine, but I get the message in debug con

Re: [flexcoders] Click event in Flex 3 TileList no longer sets selectedItem when...

2009-02-02 Thread Manu Dhanda
Can u please put some code for your solution?? 'cuz am having the same issue now. Thanks, Manu. Rich Germuska wrote: > > OK, stumbled upon a "fix" by pure chance. Is this a bug? > > By importing UIMovieClip and creating an instance (in a completely > separate component, that isn't even insta

[flexcoders] Re: Does anyone know how to disable mouseover for a button.

2009-02-02 Thread yms0411
The Button class does not seem to implement the MouseUp event, but instead it adds rollOver and rollOut events. So I just removed these two eventlisteners and it worked. this.removeEventListener(MouseEvent.ROLL_OUT, rollOutHandler); this.removeEventListener(MouseEvent.ROLL_OVER, rollOverHandler)

[flexcoders] RERENDER - Need help on Nested AdvancedDataGrid as renderer on AdvancedDataGrid.

2009-02-02 Thread Monali Gandhi
Hi, Need help on Nested AdvancedDataGrid as renderer on AdvancedDataGrid. Nested AdvancedDataGrid also have its own renderer as nested AdvancedDataGrid. with scroll on all AdvancedDataGrid working on renderer too. Kindly help, Best Regards, Monali

RE: [flexcoders] Re: Adding container references to an array

2009-02-02 Thread Tracy Spratt
It is just that you want to do it with MXML. I'd really need to test this but try: ... Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Hyder Sent:

[flexcoders] Interesting Article

2009-02-02 Thread p_shedikare
Hi All, Read this interesting article `The Seven Habits of Highly Effective People' by Steve Miller. You have any addition to this? http://www.qaguild.com/weekly_article.php?id=41 Regards, Prashanth

[flexcoders] Re: sizing dinamically the screen

2009-02-02 Thread Amy
--- In flexcoders@yahoogroups.com, Gustavo Duenas LRS wrote: > > actually I'm trying to pass the JS var with the availWidth to flex > in order to be used on > > > var h:number = ExternalInterface.call("getAvailWidth"); > var w:humber = ExternalInterface.call("getAvailHeight"); > > root

[flexcoders] Re: Need to render rows in a heterogeneous mx:List differently based on each row's item data Type

2009-02-02 Thread Amy
--- In flexcoders@yahoogroups.com, "Thomas, Erik" wrote: > > Does anyone have a code sample of how I can supply a different > itemRenderer to a List based on the data Type of the item in any given > row? > > I have a heterogeneous collection of Types in an ArrayCollection > (Property Sheet or

[flexcoders] DataGridColumn dataTipFunction HELP

2009-02-02 Thread coder3
Hi, I have a datagrid, the datagridColumns are dynamic, so i build the columns after i get the result. private function buildColumn(dataFieldName:String):DataGridColumn { var tempArr:Array = []; var dgc:DataGridColumn = new DataGridC

Re: [flexcoders] mx:List clear selected item

2009-02-02 Thread Jeffry Houser
Would selectedItem = null work? Cordova Aaron wrote: > I have created a list of names and I have a filter that I apply to show names > that start with a particular letter. I also have button that removes the > filter so that all names are displayed again. Is there a way to clear the > selecte

[flexcoders] Re: Adding container references to an array

2009-02-02 Thread Hyder
C'mon, can't be THAT hard! --- In flexcoders@yahoogroups.com, "Hyder" wrote: > > How do I add container references to an array. > For example, I have these 4 containers > > > > > > > How do I add their references to an array in MXML > > > > >

[flexcoders] mx:List clear selected item

2009-02-02 Thread Cordova Aaron
I have created a list of names and I have a filter that I apply to show names that start with a particular letter. I also have button that removes the filter so that all names are displayed again. Is there a way to clear the selectedItem of the mx:List so that every time I apply the filter the s

Re: [flexcoders] RERENDER - Is there a way to force a canvas to re-render/refresh?

2009-02-02 Thread Jeffry Houser
I hadn't picked up the validateNow() tip yet; thanks for providing a more complete answer! Thomas, Erik wrote: There are a couple stategies that may work in different circumstances. For example, calling executeBindings(true) will force all bound data to requery their sources which essential

[flexcoders] Delay on Hitting Backspace in FlexBuilder 3

2009-02-02 Thread jwc_wensan
Good Evening: I am having a weird problem. I am using Flex Builder 3: Build 3.0.2.214193. When I hit the Backspace key while in a CSS file, there is a delay before it actually erases the character. If I press the Backspace key several times, there is a longer delay. This delay is about 1/2 s

[flexcoders] Re: how to forcibly minimize a window via flexmdi window

2009-02-02 Thread Amy
--- In flexcoders@yahoogroups.com, Adrian Williams wrote: > > Hi gang, > > I've been toying with the outstanding flexmdi component from flexlib > and have found something challenging... > > One of the pieces of the MDIWindow is the minimize() function. I'm > creating the windows on

RE: [flexcoders] RERENDER - Is there a way to force a canvas to re-render/refresh?

2009-02-02 Thread Thomas, Erik
There are a couple stategies that may work in different circumstances. For example, calling executeBindings(true) will force all bound data to requery their sources which essentially updates your view if it's a form and/or if it's the data you really want to refresh. However, if you just want the

Re: [flexcoders] RERENDER - Is there a way to force a canvas to re-render/refresh?

2009-02-02 Thread Jeffry Houser
invalidateDisplayList(); sailorsea21 wrote: > Hi everyone, is there a way to force a canvas to rerender/refresh? > > Thanks. > > David > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Alternative

Re: [flexcoders] Re: sizing dinamically the screen

2009-02-02 Thread Gustavo Duenas LRS
actually I'm trying to pass the JS var with the availWidth to flex in order to be used on var h:number = ExternalInterface.call("getAvailWidth"); var w:humber = ExternalInterface.call("getAvailHeight"); root.stage.width = w root.stage.height=h assuming I have in the html wrapper functi

[flexcoders] RERENDER - Is there a way to force a canvas to re-render/refresh?

2009-02-02 Thread sailorsea21
Hi everyone, is there a way to force a canvas to rerender/refresh? Thanks. David

[flexcoders] Re: sizing dinamically the screen

2009-02-02 Thread jim.abbott45
Gustavo: Sorry, but I don't think you're coding this correctly. Specifically: 1) I don't see your browser size detection code in the HTML wrapper file at all. E.g., it is missing: > wrote: > > OK,,I have this using the external interface let me know if I'm > wrong...:) > > > impo

[flexcoders] Re: model locator population too late

2009-02-02 Thread b.kotireddy
You can use the call back mechanism to load the data into model. And call that method in the creationComplete of that progress bar or any other kind. Call Back mechanism works like it will wait to process the next line of code. Because of asynchronous nature of flex we are running like this kind p

[flexcoders] Re: sizing dinamically the screen

2009-02-02 Thread jim.abbott45
Gustavo: Your page _does_ render on IE (7) on Windows (XP). However, it does *not* appear to be re-sizing when the (Browser) window is re-sized. FYI: at 800 x 600 window size, I can see down to the line "your target group..." and ending at "...Right Solutions has t...". At 1024 x 768, all the text

RE: [flexcoders] MouseOver Event Not Firing

2009-02-02 Thread Ryan Graham
You need to define handlers for those components in the HBox if you want them to listen for those specific mouse events. Right now the button in the HBox is only listening for click events. Try writing handler functions for those additional events to start debugging: ... private funct

[flexcoders] MouseOver Event Not Firing

2009-02-02 Thread Geoffrey
I have a Button that doesn't seem to know the mouse is over it. It doesn't dispatch MouseOver/Out/click events. I have a Panel that has an HBox(Label/Spacer/Button) and a Canvas. the Canvas gets stuff added to it dynamically via Actionscript. http://www.adobe.com/2006/mxml"; width="100%" he

RE: [flexcoders] Re: model locator population too late

2009-02-02 Thread Jim Hayes
>But before i show my form I need the model variable to be populated. >How do you handle this type of situation. Could you use ChangeWatcher to watch that variable and show the form when it changes? ChangeWatcher.watch(yourModel,"yourModelVariable",showYourForm); I'm sure there are other ways

RE: [flexcoders] XML walkdown Help

2009-02-02 Thread Tracy Spratt
Yes, darn it, missed that, Ryan is correct, there will a namespace problem. You can define a default" namespace, and not have to use the prefix in all of the expressions. default xml namespace = " http://www.newatlanta.com/bluedragon/cfc/prmc/PRMCProjects/edu/umich/sec urity "; But yo

[flexcoders] Help with Flex Jeopardy code!

2009-02-02 Thread dvdjprd
I'm trying to use the open source flex jeopardy game ( http://code.google.com/p/flexjeopardy/downloads/list ) for our nutrition education website and realized there's a bug with the Final Jeopardy round. It pulls the question from the Double Jeopardy round (round 2). I've looked at the mxml fil

RE: [flexcoders] XML walkdown Help

2009-02-02 Thread Tracy Spratt
"var xlColumns:XMLList = xmlResult.loginResponse" Yes, of course that comes up blank, it should. What do you expect to see? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.

[flexcoders] Re: model locator population too late

2009-02-02 Thread jerry_gagliano
How the hell do you bound a progress bar to a model? I have the same problem. Which I execute a cairngrom event and it populates the the model variable. But before i show my form I need the model variable to be populated. How do you handle this type of situation. Thanks --- In flexcoders@ya

[flexcoders] Re: XML walkdown Help

2009-02-02 Thread valdhor
I can categorically say this is not best practice (I'm not really very good with XML) but it does work: var loginResult:XMLList = XML(String(event.result)).elements(); var columnsAndData:XMLList = loginResult.elements(); var columns:XML = columnsA

[flexcoders] Re: Tree Control Drag and Drop Help

2009-02-02 Thread adrianpomilio
Yves, THANK YOU , THANK YOU , THANK YOU... life is good. Worked like a champ. I had never done the mx_internal piece, great pointer thank you very much. Here is a sample of the function I created, David I hope this helps: private function dropData( event:DragEvent ) : void {

[flexcoders] Need to render rows in a heterogeneous mx:List differently based on each row's item data Type

2009-02-02 Thread Thomas, Erik
Does anyone have a code sample of how I can supply a different itemRenderer to a List based on the data Type of the item in any given row? I have a heterogeneous collection of Types in an ArrayCollection (Property Sheet or User Preferences list) and want to render each row differently based on th

RE: [flexcoders] XML walkdown Help

2009-02-02 Thread Ryan Graham
Looks like you're having namespace issues. The default namespace is http://www.newatlanta.com/bluedragon/cfc/prmc/PRMCProjects/edu/umich/sec urity", so you need to use this when drilling down... Something like: var ns:Namespace = new Namespace("http://www.newatlanta.com/bluedragon/cfc/prmc

[flexcoders] DataGrid mouseover

2009-02-02 Thread Mike Chang
I have a data grid, and one of the columns I used ItemRenderer to have a vbox and an image inside as a button. Everything looks good except the entire column where that ItemRenderer is used does not invoke the same mouseover events as the other columns. The mouseover event I was looking for is high

re: [flexcoders] XML walkdown Help

2009-02-02 Thread Wally Kolcz
Here is a more accurate output on the Blue Dragon server: http://www.newatlanta.com/bluedragon/cfc/prmc/PRMCProjects/edu/umich/security"; xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="

re: [flexcoders] XML walkdown Help

2009-02-02 Thread Wally Kolcz
Here is a more accurate output on the Blue Dragon server: http://www.newatlanta.com/bluedragon/cfc/prmc/PRMCProjects/edu/umich/security"; xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="

Re: [flexcoders] Buttonbar not centering at startup

2009-02-02 Thread Ben Cessa
Hi, so, right now is working, but I have to do it like this: Seems that using the width=100% was the problem ( even adding horizontalAlign="center" ) :P thnx a lot for your attention here, see ya' around. On Feb 2, 2009, at 10:05 AM, Tracy Spratt wrote: It sort of does not make sense t

[flexcoders] Re: [Fwd: UPDATE: how to forcibly minimize a window via flexmdi window]

2009-02-02 Thread valdhor
This small example works for me (Using FlexLib 2.4): http://www.adobe.com/2006/mxml"; layout="vertical" creationComplete="onCreationComplete()"> --- In flexcoders@yahoogroups.com, Adrian Williams wrote: > > Ok, > > So once my morning caffeine jolt hi

RE: [flexcoders] XML walkdown Help

2009-02-02 Thread Wally Kolcz
Ok, here is the skinny...I changed the traces to Alerts (they weren't working for me) and this is what I got. the result from the xmlResult = http://www.newatlanta.com/bluedragon/cfc/prmc/PRMCProjects/edu/umich/security"; xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http:

[flexcoders] Re: resize the popup window according to browser

2009-02-02 Thread ilikeflex
Hi I have couple of modules in my application and each module will different popups. So i have to change the code in all the modules for storing the instance and passing to main application which i do not want to do. And as all my popus are modal so systemManager.popUpChildren.numChildren sh

RE: [flexcoders] XML walkdown Help

2009-02-02 Thread Tracy Spratt
Is what you posted the result of doing trace(xmlResult.toXMLString)? What happens if you trace(xmlResult.loginReturn.toXMLString())? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@y

RE: [flexcoders] resize the popup window according to browser

2009-02-02 Thread Tracy Spratt
Why not store a reference to the popup in an instance variable instead of what you are trying? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of ilikeflex Sen

[flexcoders] Re: Calling web service from flex

2009-02-02 Thread valdhor
Can you post the actual XML response from the web service? --- In flexcoders@yahoogroups.com, Vik wrote: > > Hie Tracy > Thankx for replying.. but even after changing the format to object/ text/ > e4x and xml I get the same error just in different wording like xml parsing > error for meta etc e

[flexcoders] resize the popup window according to browser

2009-02-02 Thread ilikeflex
Hi I am trying to 1.resize the popup window 2.center the pop up when the browser is resized. I am trying to get the ref of the pop up window through systemManager.popUpChildren.numChildren. But this does not return the correct numbers.It display two though there is only one popup. Copy pa

[flexcoders] Broken pipe error when uploading file with Flex

2009-02-02 Thread oneworld95
I'm getting a broken pipe error in my Java server log when trying to upload a file using Flex. I've got a progress bar attached to the upload and it goes to 100% and then gets stuck while uploading. The file resides on a network drive rather than a local drive. Could this be causing the issue? Is

[flexcoders] Need Details Creating Custom UIComponents with AS3

2009-02-02 Thread Jason
Can someone send me some links to information on all the ins and outs of creating good visual custom Flex UIComponents with Actionscript (NOT MXML)? (i.e. a class that extends UIComponent) I've actually done it before, but had some bugs and headaches because I didn't fully understand all the i

Re: [flexcoders] SWFLoader problems (Loading flex swf into flex application)

2009-02-02 Thread Richard Szalay
Depending on how you load your external swf, specifying a child ApplicationDomain might solve your problem. You should probably base it off the top level domain, but if that also doesn't work you can create a new one. // Create child var appDomain : ApplicationDomain = new ApplicationDomain(Applic

[flexcoders] XML walkdown Help

2009-02-02 Thread Wally Kolcz
I am getting a weird return from Blue Dragon's CFC wsdl as my e.result. I need to set this to 2 local XMLList variables but am having a devil of a time walking down this path to the core nodes. Any ideas on how to make this usable? Tracy has been trying to help me, but this ret

Re: [flexcoders] Re: sizing dinamically the screen

2009-02-02 Thread Gustavo Duenas LRS
OK,,I have this using the external interface let me know if I'm wrong...:) import flash.external.*; publicFunction resizerFlash():void{ var h:uint; var w:uint; if (ExternalInterface.available){ var availableHeight:uint = "browserHeight" ; h= ExternalInterface.call(availableHeight, stage.he

RE: [flexcoders] Encrypted html

2009-02-02 Thread Kevin Benz
Certainly going to be an issue with standard HTML renderers unless you can override them and insert your own behavior to an anchor. I expect that webkit, when presented with a file://filepath , will go load that file regardless of any click-handlers running in Air. An approach would have every cli

RE: [flexcoders] generic toolbar

2009-02-02 Thread Tracy Spratt
Have the toolbar dispatch events, like "mainTBSave, mainTBDelete.. Listen for those events in each component that uses the toolbar, and perform the specific action needed by that component+action Tracy Spratt Lariat Services Flex development bandwidth available

Re: [flexcoders] Re: sizing dinamically the screen

2009-02-02 Thread Gustavo Duenas LRS
Ok, jim, my flex ste: is: http://leftandrightsolutions.com/lrsad/bin/lrsad.html please check it on a pc with windows and let me know if this one looks good on windows/vista/xp borwsers, prefenrently IE. Regards, Gustavo P.d: the aplication for mac computer has a window.open() but problem

RE: [flexcoders] Re: Datagrid bound to XMLListCollection not updating properly - ItemRenderer issue?

2009-02-02 Thread Tracy Spratt
Usually this means you are not using the Collection API to update the dataProvider, but are directly assigning a value to an item property. Using the API to update the dataProvider will ensure the necessary events are dispatched to ensure your visible UI gets updated. Another alternative is to

[flexcoders] formIsValid and formIsEmpty

2009-02-02 Thread markgoldin_2000
How do we use these flags? Are they properties of a form? Thanks

[flexcoders] Re: sizing dinamically the screen

2009-02-02 Thread jim.abbott45
Gustavo: Sorry, but I don't think the approach you are taking is necessarily advisable, or even technically correct (in one regard). Specifically: 1) screen.width (and screen.height, and screen.availableWidth, etc.) allow JavaScript (DOM) code to discover the size of the user's monitor (screen ha

RE: [flexcoders] Tree Control Drag and Drop Help

2009-02-02 Thread Yves Riel
When a drag & drop operation occurs on a tree, the drag & drop handlers call the public calculateDropIndex() function. This function stores all the properties that you want in an mx_internal variable called _dropData of Object data type. So, make sure that your class import and use the mx_interna

Re: [flexcoders] Encrypted html

2009-02-02 Thread Paul Andrews
But what about the links? There will be links to other encrypted html files and I don't want to decrypt them all at once. Paul - Original Message - From: Kevin Benz To: flexcoders@yahoogroups.com Sent: Monday, February 02, 2009 4:25 PM Subject: RE: [flexcoders] Encrypted html

[flexcoders] Re: Browser | PopUp | Resize Event | new height and new width

2009-02-02 Thread ilikeflex
Hi I got it event.currentTarget.width Thanks ilikeflex --- In flexcoders@yahoogroups.com, "ilikeflex" wrote: > > Hi > > I want to resize the popup when the browser is resized. I am using the > event mx.events.ResizeEvent . The mx.events.ResizeEvent has > oldHeight and oldWidth but i wa

Re: [flexcoders] Calling web service from flex

2009-02-02 Thread Vik
Hie Tracy Thankx for replying.. but even after changing the format to object/ text/ e4x and xml I get the same error just in different wording like xml parsing error for meta etc etc any suggestions? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Mon, Feb 2, 2009 at

RE: [flexcoders] Tree Control Drag and Drop Help

2009-02-02 Thread David Kramer
Adrian, I am up against the same problem. Please share your knowledge on it so far. kramer.da...@consultant.com Many thanks. David _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of adrianpomilio Sent: Monday, February 02, 2009 8:45 AM To: flexcoder

[flexcoders] Browser | PopUp | Resize Event | new height and new width

2009-02-02 Thread ilikeflex
Hi I want to resize the popup when the browser is resized. I am using the event mx.events.ResizeEvent . The mx.events.ResizeEvent has oldHeight and oldWidth but i want to know the new height and new width. How can i get the new height and new width? I know it is simple but does not know wher

[flexcoders] generic toolbar

2009-02-02 Thread markgoldin_2000
I am putting together a form and a toolbar for basic data operations: Save, New, Delete. The toolbar is a separate mxml file (tempEmplMaintToolbar). A fragment of my form looks like this: The toolbar code (prototype): http://www.adobe.com/2006/mxml"; width="100" hei

[flexcoders] Re: Datagrid bound to XMLListCollection not updating properly - ItemRenderer issue?

2009-02-02 Thread flexcoder2008
To put it more simply, how do I force an itemRenderer bound to an image to refresh itself? --- In flexcoders@yahoogroups.com, "flexcoder2008" wrote: > > I am having trouble getting a datagrid that is bound to an > XMLListCollection to update properly. The datagrid uses item > renderers for a c

Re: [flexcoders] ActionScript design patterns chapter pdf

2009-02-02 Thread Nate Beck
I have the book sitting on my desk, it's a great article. I'm not sure where a PDF version of it resides though... maybe check scribd? On Sat, Jan 31, 2009 at 2:13 PM, Matthew Kim wrote: > Does anyone know where I can find a copy of the pdf of the chapter > from the ActionScript 2.0 Dictionar

Re: [flexcoders] Calling web service from flex

2009-02-02 Thread Vik
Hie how to set the type to text? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Mon, Feb 2, 2009 at 9:03 PM, Tracy Spratt wrote: >Perhaps Flex has more stringent requirements for valid xml. You could > use a tcp sniffer(charles, ServiceCapture) to look at the

Re: [flexcoders] sizing dinamically the screen

2009-02-02 Thread Gustavo Duenas LRS
do you know where I can get examples of this ExternalInterface? Regards, Gustavo On Feb 2, 2009, at 10:45 AM, Tracy Spratt wrote: If that works in javascript, in different browsers, then you can get those values through ExternalInterface Tracy Spratt Lariat Services Flex development b

Re: [flexcoders] sizing dinamically the screen

2009-02-02 Thread Gustavo Duenas LRS
well actually the problem with the javascript it seems not to work properly on IE7+ vista or even in the xp, so I'm looking for better ways to do this inside the actionscript, I mean to change the entire height and width of the application, because since it is set actually on 1024 x 768, in t

[flexcoders] Re: Air/Flex/Html roundtrip?

2009-02-02 Thread Dennis van Nooij
not sure which part of the solution you're after but: - from AIR you can create hooks in your html page, using something like myHtml.htmlLoader.window.customJSHandler = this.onCustomJSHandler - customJSHandler can be called from within your htmlpage by cheers, Dennis --- In flexcoders@yahoogroups

Re: [flexcoders] Validation question

2009-02-02 Thread Marco Catunda
If you set errorString property of the validated field, the red border will plot automatically. -- Marco Catunda On Mon, Feb 2, 2009 at 2:05 PM, markgoldin_2000 wrote: > I am working on a generic program that would validate user entries. If > validation fails how do I inforce Flex's generic red

RE: [flexcoders] Encrypted html

2009-02-02 Thread Kevin Benz
No reason why you couldn't do it locally without the web server. Open a file, decrypt it, display it, no need for http as it ultimately is a file servlet. K From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Paul Andrews Sent: Sunday, February 01, 2009 3:50 PM

RE: [flexcoders] SWFLoader problems (Loading flex swf into flex application)

2009-02-02 Thread Tracy Spratt
When you load an app in SWFLoader, it becomes part of the parent application so onw would normally want styles to apply. I think you will need to override the styles specifically in the loaded app. Are you sure that the styles inherit "up"? I have not seen that. Tracy Spratt Lariat Servic

[flexcoders] Re: How to create .doc files (Word files) with Flex ?

2009-02-02 Thread jonathanrowny
--- In flexcoders@yahoogroups.com, Mathieu Fernandez wrote: > > Hi everybody, > > My question is very easy : how can Icreate .doc file using Flex 3 ? > Is there any library ? component ? module that I can use to ? > > Thank you in advance. > I've created an rtf library that allows you to save R

[flexcoders] Validation question

2009-02-02 Thread markgoldin_2000
I am working on a generic program that would validate user entries. If validation fails how do I inforce Flex's generic red border for the validated field? Thanks

RE: [flexcoders] Buttonbar not centering at startup

2009-02-02 Thread Tracy Spratt
It sort of does not make sense to have something be width="100%", then set horizontalCenter. The width setting will make the component be the same width as the container, so it will automatically be "centered", but again, that does not really make sense. Marco is probably right. In this case,

Re: [flexcoders] This is kind of Wonderfl

2009-02-02 Thread Paul Andrews
I think the word for this is SPAM. Don't waste your time. - Original Message - From: Steve Mathews To: azf...@googlegroups.com ; flexcoders@yahoogroups.com ; Flash Coders List Sent: Monday, February 02, 2009 3:57 PM Subject: [flexcoders] This is kind of Wonderfl

[flexcoders] Re: This is kind of Wonderfl

2009-02-02 Thread Steve Mathews
And I jacked the url: http://wonderfl.kayac.com On Mon, Feb 2, 2009 at 8:57 AM, Steve Mathews wrote: > Spotted a post over at Techcrunch about wonderfl.kayack.com . Looks like a > pretty cool project. And if the creator(s) happen to see this, a big thumbs > up! > Steve >

[flexcoders] This is kind of Wonderfl

2009-02-02 Thread Steve Mathews
Spotted a post over at Techcrunch about wonderfl.kayack.com . Looks like a pretty cool project. And if the creator(s) happen to see this, a big thumbs up! Steve

[flexcoders] SWFLoader problems (Loading flex swf into flex application)

2009-02-02 Thread ericbichara
Hi, I have build several flex widgets and am now developing an admin website also in flex into which i will load and edit the widgets. I am coming across several issues when doing this: 1) CSS styles clash. The parent application inherits some of the child's styles and the child inherits some of

RE: [flexcoders] enabling slider using radio button

2009-02-02 Thread Tracy Spratt
On change of the radio button group, set the enabled property of the slider according to the selectedValue. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

RE: [flexcoders] Re: Bug in ADG?, possible to bind labelFunction to editor with no dataField?

2009-02-02 Thread Tracy Spratt
"This is where I also manualy populate the event.itemRenderer.data = "some text"..." I don't think you want to do that. You want to update the dataProvider item, and let the framework handle the itemRenderer. "... (the itemEnd handler expects this to be XML it seems)..." In that sentence, wh

Re: [flexcoders] Re: Flex/BlazeDS/Hibernate - serialization question

2009-02-02 Thread Fotis Chatzinikos
I had the same problem and solved it by using a superclass that contains only the subset of data the client really needs... For example: PersonRPC { id name } Person extends PersonRPC { lots of other data the flex client really do not need, but is usefull in the backend... } if you do

[flexcoders] Re: Flex/BlazeDS/Hibernate - serialization question

2009-02-02 Thread mmormando
We are still dealing with this problem on a daily basis on my current project, and there still doesn't seem to be a good answer, at least as far as BlazeDS goes. The way that web frameworks deal with the issue is lazy loading, so that the data access to load the child objects doesn't happen until y

[flexcoders] Tree Control Drag and Drop Help

2009-02-02 Thread adrianpomilio
This is a two part question. 1 - How can I keep a child from being dropped outside of it's parent? I want to be able to drag and drop within a nodes parent. 2 - How do I get a handle on the new index of the node that has been dropped. I can get the current index, the parents name, but not the l

RE: [flexcoders] sizing dinamically the screen

2009-02-02 Thread Tracy Spratt
If that works in javascript, in different browsers, then you can get those values through ExternalInterface Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

[flexcoders] [Fwd: UPDATE: how to forcibly minimize a window via flexmdi window]

2009-02-02 Thread Adrian Williams
Ok, So once my morning caffeine jolt hit me, I realized that I already know how to force a mouseclick in the event: newPanel.minimize(new MouseEvent(MouseEvent.CLICK, true, false)); So, I fire the event and even walked the code thru the debugger to watch it go into the function and

RE: [flexcoders] Oh WTF? Web Services: Anyone work with Blue Disaster (I mean Dragon)?

2009-02-02 Thread Wally Kolcz
Thanks, but how do you walk down this? http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns1="http://security.umich.edu.prmcprojects"; xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

RE: [flexcoders] Calling web service from flex

2009-02-02 Thread Tracy Spratt
Perhaps Flex has more stringent requirements for valid xml. You could use a tcp sniffer(charles, ServiceCapture) to look at the data traffic, or you could set resultFormat to text, and perhaps see it that way Tracy Spratt Lariat Services Flex development bandwidth available __

RE: [flexcoders] Oh WTF? Web Services: Anyone work with Blue Disaster (I mean Dragon)?

2009-02-02 Thread Tracy Spratt
That means those e4x expressions are not correct. Start by tracing the xmlResult, then work your way down into the xml a step at a time, tracing at each step to be sure you have the ccorrect data. Tracy Spratt Lariat Services Flex development bandwidth available __

[flexcoders] DataGrid space at top right of headers override?

2009-02-02 Thread Jason Crummack
Hi, I'm wondering if anyone can give me any pointers on whether i can change the DataGrid headers to use the spare space that appears above the vertical scrollbar (once enabled) within the datagrid control, i'd like to use this space to place a drop down menu to allow users to select which col

RE: [flexcoders] Oh WTF? Web Services: Anyone work with Blue Disaster (I mean Dragon)?

2009-02-02 Thread Wally Kolcz
I traced xlmResult and e.result. They both came out with the returned XML.. I then traced after the name and values were attempted to be assigned. They came up blank. From: "Tracy Spratt" Sent: Monday, February 02, 2009 7:10 AM To: flexcoders@yahoogroups

[flexcoders] how to forcibly minimize a window via flexmdi window

2009-02-02 Thread Adrian Williams
Hi gang, I've been toying with the outstanding flexmdi component from flexlib and have found something challenging... One of the pieces of the MDIWindow is the minimize() function. I'm creating the windows on the canvas dynamically based on the users last know settings...including whe

RE: [flexcoders] Oh WTF? Web Services: Anyone work with Blue Disaster (I mean Dragon)?

2009-02-02 Thread Tracy Spratt
Trace earlier. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Wally Kolcz Sent: Saturday, January 31, 2009 6:02 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: checkbox itemEditor in DataGrid

2009-02-02 Thread Tracy Spratt
Set the selectedIndices array to the array of indexes you want selected. Of course you must set multiple select on the data grid. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogro

Re: [flexcoders] Highlighting Label text characters

2009-02-02 Thread Greg Hess
Hi Alex, My ItemRenderer is actually a VBox with an Image, Label and TextInput so it is all wired up differently. Still not sure the best way to do this, but maybe adding truncating functionality to a TextField/TextArea would be easier... Cheers, Greg On Sat, Jan 31, 2009 at 12:40 AM, Alex Ha

Re: [flexcoders] Charting: Adding a horizontal line

2009-02-02 Thread Tom Chiverton
On Thursday 29 Jan 2009, flex_coders wrote: > I'd like to add a few horizontal lines to my area chart, a solid line > std devs away. is there a simple way to add a line to the chart > indicating y = [some value] or rather do i need to need to Add another data set. > programatically just draw the

  1   2   >