RE: [flexcoders] Combobox erases typed text when tabing away or closing the dropdown list

2007-03-15 Thread Alex Harui
Yes, DGLIR can do HTML as well. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Iko Knyphausen Sent: Wednesday, March 14, 2007 6:36 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Combobox erases typed text when tabing away

RE: [flexcoders] Can not load Module using ModuleManager ...

2007-03-15 Thread Alex Harui
If you're loading from a different domain you need crossdomain.xml and I think you may need to specify the securitydomain as well. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of helihobby Sent: Wednesday, March 14, 2007 6:51 PM To:

[flexcoders] How to switch a single axis chart to a dual axis chart ?

2007-03-15 Thread deepbits
Hi there, Is it possible to change a single axis chart to a dual axis chart and vice versa? Upon checking a check-box, I tried making the secondAxisRenderer.visible to true or false, but this does not redraw the second series against the first axis, it just hides the second axis. Does

Re: [flexcoders] Passing params to SWFLoader

2007-03-15 Thread feiy
u can do: swf file url?sourceUrl=value 14 Mar 2007 23:56:24 -0700, danneri21 [EMAIL PROTECTED]: I want to import an SWF file into my application but I need to pass a crucial string to it, sourceUrl, how do I do this? How do I pass what you would write in html param name=Min value=0 / How

[flexcoders] Preventing PopupManager to make popups over the MenuBar?

2007-03-15 Thread Danko Kozar
I've got the MenuBar on the top of the screen. And I'd like to force opened windows to go BELOW it, not over it. I've been using PopUpManager.addPopUp() to make popups: PopUpManager.addPopUp(window, parent, modal, PopUpManagerChildList.PARENT); I tried everything, like setting parent to some

Re: [flexcoders] Show\Hide Column in DataGrid

2007-03-15 Thread Harish Sivaramakrishnan
do not use the column names, just store the indices of the columns and do datagridInstance.columns[columnIndex].visible= true / false. this is the right way of doing it. On 05 Mar 2007 22:20:28 -0800, sanjaypmg [EMAIL PROTECTED] wrote: Hi All, I am facing an Error while making Grid columns

[flexcoders] Re: Can not load Module using ModuleManager ...

2007-03-15 Thread tvikatos
Well, the error msg you are getting does not point to crossdomain security issues. It does suggest though that the swf you are trying to load is not a Flex 2 component based on mx:Module Is that the case? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: If you're loading

[flexcoders] Re: Show\Hide Column in DataGrid

2007-03-15 Thread sanjaypmg
Hi Harish, I have done that but am still facing some problme in dataGrid.. I have posted my issues regarding dataGrid today and day before yesterday will appreciate if you go through all of them and let me know the solutions. Thanks for your support... Sanjay Sharma --- In

[flexcoders] Re: TextArea autoSize?

2007-03-15 Thread beecee1977
Try: either on myTextArea change event: myTextArea.height = myTextArea.textHeight or bind the height to the textHeight. Hope that helps. --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: I would like to make a TextArea instance expand to the size of the Text assigned to it.

Re: [flexcoders] Preventing PopupManager to make popups over the MenuBar?

2007-03-15 Thread Dima Ulich
You could try move popups below the MenuBar. Something like this PopUpManager. addPopUp( window, parent, modal, PopUpManagerChildLi st.PARENT) ; window.y = MenuBar.heigth; or you could center your popup on the screen PopUpManager.centerPopUp(window); I hope that helps - Original Message

[flexcoders] Create Controls like in the FlexBuilder Design mode

2007-03-15 Thread Artur Kordowski
For a current project I have to create an dynamic formular designer, with which the User can create it own formular. The prototype work well, but when I create a new control and add it's into the stage, it is full accssesible. I would like to suppress in this case the user interaction for the

[flexcoders] Re: Preventing PopupManager to make popups over the MenuBar?

2007-03-15 Thread Danko Kozar
Thanks, but I want my windows to be freely movable. I'm trying to get a Windows-like behaviour.. Something like the TaskBar (at the bottom of the screen). If a window is dragged over the taskbar, it renders BELOW the taskbar. But you CAN drag it over. --- In flexcoders@yahoogroups.com, Dima

[flexcoders] validation

2007-03-15 Thread Kenneth Sutherland
I know I've seen this done somewhere but just cant seem to find it on livedocs or in the history of flexcoders! Anyway I want to validate a textbox / combobox, but I only want the validation to validate after the user has tabbed out of the box or pressed enter. At the moment it validates after

Re: [flexcoders] ALT-GR + key not working in Firefox

2007-03-15 Thread João Fernandes
Thanks Musak, that was the problem. We had wmode=opaque because we were using an Iframe inside our app. Removing totally this parameter solved our problems. Now we'll have to return our reporting system to flashpaper. Glad that it isn't a Flex problem. Alex, What code-page are you using?

Re: [flexcoders] validation

2007-03-15 Thread Roman Protsiuk
Validator class has property triggerEvent. It can be focusOut for example. Or if you want something more complicated then you can manually call yourValidator.validate(). R. On 15 Mar 2007 04:34:23 -0700, Kenneth Sutherland [EMAIL PROTECTED] wrote: I know I've seen this done somewhere but

[flexcoders] Automation API, Combobox and itemrenderer

2007-03-15 Thread pmotzfeldt
Hi, I am playing with the automation API, to be able to automate events. I am having a problem with the Combobox. I have just created a simple combobox as shown below. I works great in the application. But my problem is that the itemRenderer is null, which is probably right. I am able to open

Re: [flexcoders] validation

2007-03-15 Thread gunadi bowo
try this one. i hope this will help you./?xml version="1.0"?!-- Simple example to demonstrate the Validator class. -- mx:Script ![CDATA[ // Import necessary classes. import

[flexcoders] TextArea.text confusion

2007-03-15 Thread Roman Protsiuk
Hi, all. I'm extending TextArea to make it show default text if it's empty. It will be cleared (if needed) on focusIn. The problem I've faced is that when I set text property in commitProperties method that text isn't shown in the TextArea itself. :\ Following is my class: package { import

[flexcoders] Re: BindableComboBox

2007-03-15 Thread lucian_13_
I see no bindable metadata anywhere. How should it look? Thanks! code: mx:ComboBox xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* creationComplete=componentInit() mx:Script ![CDATA[ import mx.utils.ObjectUtil; import mx.controls.Alert;

[flexcoders] Re: Getting selectedItems to properly *select*...

2007-03-15 Thread qnotemedia
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Are you saying that myAC[0] was modified so that the sub AC was removed? I'd go find out what actually got changed. Actually no - I was simply reading the subAC, and when checking it a second time, the subAC was not

RE: [flexcoders] Flex Training Experiences/Suggestions?

2007-03-15 Thread Will Swain
On the same subject, anyone done the Highlander Flex 2 training here in the UK? Any comments? Will _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chad Gray Sent: 14 March 2007 21:03 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Training

[flexcoders] Re: Tree XMLListCollection woes

2007-03-15 Thread mayhem2041
I am also building a Tree, and can only sort the top level nodes. I have not found an elegant solution to sorting the deeper child nodes, which leads me to believe I am going to have to walk the tree sorting as I go, or perhaps sort when a user opens a branch of the tree. I am perfectly willing

[flexcoders] Re: Maven plugin outputDirectory is READONLY

2007-03-15 Thread Frank
It doesn't appear that the author of the Maven Flex plugin has been around for awhile. Too bad, he did an excellent job on the plugin. I would love to get access to the source code to patch (read-only access), but the directions on the web site do not seem to work.

Re: [flexcoders] Full Screen Projector File for Flex 2 Swf

2007-03-15 Thread Luis Eduardo
Cool, that worked for me. ty! We Made That design escreveu: I just finished building an .exe that launched full screen in flex 2. From within flex add fscommands into your initialize function. fscommand(fullscreen , true). Now compile your swf. Once you have your swf. you launch

[flexcoders] Date format - internal and external

2007-03-15 Thread darylgmyers
I have a VO which contains a date field formatted as 2007-01-01. This is how the HTTP service retrieves the data. I want to format the date as 01/01/2007 in the display but keep the internal date 2007-01-01 so that I can send the VO back for update. What is the best way to keep the internal

[flexcoders] Re: Error 2025 with images?

2007-03-15 Thread polestar11
--- In flexcoders@yahoogroups.com, John Wilker [EMAIL PROTECTED] wrote: I'm working on a quicky little RSS Reader and having some trouble. I've got a DG on one side, which then populates a textArea on the other side. Here's the feed (mine) http://www.red-omega.com/blog/rss.cfm?mode=full

[flexcoders] why doesnt this work?

2007-03-15 Thread Matt Wicks
does anyone have any idea why this doesn't work? passing in a displayObkectContainer (container) and the displayObject I want to rise to the top (objectToMove) for (var i:int =0; icontainer.numChildren; i++) { if

[flexcoders] Testing with Mercury Quick Test Pro

2007-03-15 Thread Sean Sell
Has anyone performed functional tests of their Flex applications with QTP yet? Any advise for someone about to start down that path? --Sean TV dinner still cooling? Check out Tonight's Picks on Yahoo!

[flexcoders] SelectedIndex bug after removing an element !!

2007-03-15 Thread bobrene07
hello, I have a problem with the selecting index after i removed an element. when i do the following: var x:int = grid.selectedIndex; if (x != -1) { grid.dataProvider.removeItemAt(x); grid.selectedIndex = x; } if x equal 4 it select the fift line. does anyone knows how to fix it ?? thx

RE: [flexcoders] Passing params to SWFLoader

2007-03-15 Thread Tong Zou
I also have the same problem. This approach seems to only works for the non-embedded case. -tong _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of feiy Sent: Thursday, March 15, 2007 12:28 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Passing

[flexcoders] Re: why doesnt this work?

2007-03-15 Thread Paul DeCoursey
try swapChildrenAt instead of swapChildren. --- In flexcoders@yahoogroups.com, Matt Wicks [EMAIL PROTECTED] wrote: does anyone have any idea why this doesn't work? passing in a displayObkectContainer (container) and the displayObject I want to rise to the top (objectToMove)

Re: [flexcoders] How to switch a single axis chart to a dual axis chart ?

2007-03-15 Thread Ely Greenfield
Series draw against their asigned axes regardless of whether or not their axisrenders are visible. You need to switch the second series to be the primary series. - Original Message - From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com

[flexcoders] Runtime Memory Problems

2007-03-15 Thread One Person
Description: We are creating a web-app built with Flex 2. This app uses some very large image files (From around 256K to over 600K) We have an image viewer section of our Flex app that will allow the user to move from one image to another. I was noticing that with our app in IE7 that memory

[flexcoders] Re: Runtime Error Painting Screen for Embedded App

2007-03-15 Thread tyriker
BINGO!!! Your information is just what I needed! My child apps couldn't access certain objects that were instantiated by another child app. As a 'proof of concept' I created some dummy variables in my parent app that were objects used in my child apps (private var aaa:ComponentInChildren), so

[flexcoders] Re: Drag and Drop Example Needed

2007-03-15 Thread tosadavemgr
Harish - Thank you for taking this on. I'm still plugging away at Flex. I may be a little late with my delivery, but it won't be from lack of trying. Your example file is great - I'm examining the source now and hope to make some progress on my application. Thanks for the helping hand.

Re: [flexcoders] Re: why doesnt this work?

2007-03-15 Thread Matt Wicks
I tried this - and its very strange this line trace (container.getChildAt(container.numChildren-1).name ) works fine but this container.swapChildrenAt(index,container.numChildren-1) gives me a supplied index is out of range error ??? On 15 Mar 2007, at 15:21, Paul DeCoursey wrote: try

[flexcoders] silly question about using src folder

2007-03-15 Thread Manuel Saint-Victor
Are mpost people using a separate src folder instead of just dumping src code into the main project folder?

[flexcoders] Re: silly question about using src folder

2007-03-15 Thread Paul DeCoursey
I use src or source, I had many issues when I dumped sources in the root. Mostly issues with recursive copies and subversion. I use source for library and flex only projects. If the project is mixed with server side logic then I use src/flex then all my source files are in one location, but

[flexcoders] Re: SelectedIndex bug after removing an element !!

2007-03-15 Thread Doug Lowder
Try: grid.selectedIndex = x - 1; The selectedIndex property is zero-based, so in general you need to set it to (N - 1) to select the Nth line. --- In flexcoders@yahoogroups.com, bobrene07 [EMAIL PROTECTED] wrote: hello, I have a problem with the selecting index after i removed an

RE: [flexcoders] Re: Getting selectedItems to properly *select*...

2007-03-15 Thread Alex Harui
Too hard to tell from this far away. You'd have to produce a mini-example and file it as a bug at adobe.com/go/wish. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of qnotemedia Sent: Thursday, March 15, 2007 5:21 AM To:

[flexcoders] Custom VScrollBar class assigned to a container !

2007-03-15 Thread pitziilu
Hello everybody ! I am trying to customize my container with ..*drum rolls*.. a custom vertical scrollbar ! :D trying to change the width, the skins, placement of up/down buttons, etc.. this is my container: mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml;

RE: [flexcoders] Re: BindableComboBox

2007-03-15 Thread Alex Harui
Should be same as for selectedItem in ComboBox. [Bindable(change)] [Bindable(collectionChange)] [Bindable(valueCommit)] Public function get selectedItemValue... From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Composite Identity error

2007-03-15 Thread serolfleumas
Hi, I have a Java object mapped from the database that has a composite primary key defined as following (showing only the fields that are contained in the primary key): public class Ticket implements Serializable { ... private Integer number; private Integer channel; private

[flexcoders] Re: Combo Skin problem

2007-03-15 Thread scalenine
Maybe the SWF has scale9 grids set on it and the PNG does not. If the SWF scale9 grids are set a little off they can stretch the graphic. Also, you may want to take a look at the SWF graphics in Flash and break them apart if you brought them in from Illustrator. I was having similar issues with

[flexcoders] Caringorm - Display mode in Tree Component

2007-03-15 Thread bellsupplierquality
Is there any way to display the entire Model from the ModelLocator in a Tree component. Just curious for debugging purposes. Thanks. Galen Smallen

[flexcoders]

2007-03-15 Thread April Rosequist
I've been looking all day and can't find a solution to this - although I'm sure it's very simple. I have a main application that I'm using a ViewStack in: mx:ViewStack id=preTrafficNav width=100% height=100% creationPolicy=all x=10 y=90 v:JobSearch id=jobsearch width=100%

RE: [flexcoders] Re: Preventing PopupManager to make popups over the MenuBar?

2007-03-15 Thread Alex Harui
Popup the menubar with PopUpManagerChildList.POPUP -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Danko Kozar Sent: Thursday, March 15, 2007 4:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Preventing

[flexcoders] Re: silly question about using src folder

2007-03-15 Thread ben.clinkinbeard
Other than the main application, I put all my project code in com.mycompany.projects.ProjectName.somePackage, etc. I use the projects package so I can easily merge project-specific code into my overall code library if needed. Ben --- In flexcoders@yahoogroups.com, Paul DeCoursey [EMAIL

[flexcoders] Re: Runtime Memory Problems

2007-03-15 Thread m_chotin
We have a known bug filed that there are some GC issues with IE 7. I don't have any workarounds unfortunately, you can try a brute force GC by doing something like this: try { var lc1:LocalConnection = new LocalConnection(); var lc2:LocalConnection = new LocalConnection();

[flexcoders] States and transitions

2007-03-15 Thread Troy Gilbert
I'm dabbling with states and transitions for the first time, so pardon the inexperienced question... My UI is logically divided into pages like a traditional wizard interface. Visually, I'd like my pages to slide in and out of view as I transition to them. Specifically, you can think of it like

[flexcoders] Re: Drag and Drop Example Needed

2007-03-15 Thread tosadavemgr
Hopefully you have time for a couple questions. General Questions: Your ImageRenderer.mxml component isn't linked in any way to the DragandDrop.mxml. Is it being used or am I not understanding something? I am loading my images from an XML file. To connect up my work with your example, to get my

Re: [flexcoders] States and transitions

2007-03-15 Thread Sean Sell
Anything not scripted in the transition happens immediately in the transition. So you have to put in a transitions for the implied RemoveChildAction mx:transitions mx:Transition fromState=loaded toState=selected mx:Parallel mx:Resize

Fw: Re: [flexcoders] States and transitions

2007-03-15 Thread Sean Sell
Sorry didn't finish my explanation: in the transition from selected to loaded the RemoveChildAction for the associateVBox is for the inferred RemoveChild that must be done to restore the loaded state. - Forwarded Message From: Sean Sell [EMAIL PROTECTED] To: flexcoders@yahoogroups.com

Re: [flexcoders]

2007-03-15 Thread Doug McCune
I'll agree that an event dispatching method is sort of the correct way to go. But if you want a quick way that will work, you could have a bindable public variable named job_id in both your JobSearch and Timeline3 components and then use data binding to bind the job_id in Timeline3 to the job_id

RE: [flexcoders]

2007-03-15 Thread Karl Johnson
There are a lot of ways to accomplish this, but the best practice would be to fire off an event in JobSearch and have either Main listen on it and call a fuction in timeline3 or use a central event dispatcher and have timeline three listen for it directly. But you could also use

Re: [flexcoders] Flex insurance calculator

2007-03-15 Thread Jason Goodwin
Did you get a chance to run this using JAWS? I think you will find some quick fixes you can make like when windows with many form controls come up, you can alert the screen reader user to enter forms mode manually. I would suggest using SWFObject to add your swf to the page. Also, you may want

[flexcoders] SWFLoader query string?

2007-03-15 Thread Chad Callahan
When programming in AS2 for Flash, I was always able to have an AS2 swf load into it another AS2 swf and pass that swf variables using query string as such: swfToLoad.swf?var1=1var2=2 When the swfToLoad ran, it automatically had the var1 and var2 variables declared and assigned the same values

[flexcoders] Re: Can not load Module using ModuleManager ...

2007-03-15 Thread helihobby
Well you were both right. It was a crossdomain.xml issue and the error does not reflect that. I think this is a low level bug as the SWF error is wrong and does not pertain to anything about a sec domain issue. However, this was a security issue. Thank you for all the help, Sean -

[flexcoders] Accordion Redux, Icons

2007-03-15 Thread lostinrecursion
I noticed a post back in February and wondered if it was, in fact, a documented bug or if someone had figured out the behavior as now I am facing the problem. When setting the icon field in an Accordion control's children, the last icon is the only one to appear for all of them. To borrow from

Re: [flexcoders] flex2 accessibility

2007-03-15 Thread Jason Goodwin
Setting the accessible compiler setting to true makes your swf visible to screen readers such as JAWS and Window-Eyes. I would chance a guess that one of the reasons why it is set to false is that it bumps up the size of the compiled swf. Does it cover the legal requirements for accessibility? In

[flexcoders] Re: The complete component communication solution for Flex. ALON DP.

2007-03-15 Thread helihobby
Will soon upload sample code as I was emailed and asked for that. As always, Thank you for all the help and support. Regards, Sean - http://www.HeliHobby.com P.S. You can read my solution for Flex Component communication here: http://www.helihobby.com/html/alon_desingpattern.html --- In

Re: [flexcoders] Re: Fill a Tree From a JAVA Class

2007-03-15 Thread Douglas Knudsen
Any thougts? The leaves also display the disclosure icon. Some testing shows that for each of these haschildren is true but children.size is 0. On 3/14/07, Douglas Knudsen [EMAIL PROTECTED] wrote: Wow, way old thread herebut I'm on this topic currently. I implemented the above for a Tree.

[flexcoders] FDS to CF RemoteObject

2007-03-15 Thread Darren Houle
I have built a Flex app that loads from the CF server and successfully calls a RemoteObject (CFC) back on that same CF server. I'm using the basic ColdFusion destination in the services-config.xml which looks like... channels channel-definition id=my-cfamf

RE: [flexcoders]

2007-03-15 Thread Gordon Smith
If the Button is in JobSearch.mxml, then walking the DOM up would mean calling parentDocument.preTrafficNav.selectedIndex = 1; because the parentDocument of JobSearch is the app (or component) containing it, which also contains the ViewStack preTrafficNav. - Gordon

[flexcoders] Re: Accordion Redux, Icons

2007-03-15 Thread lostinrecursion
A little digging unearthed the following: Should you set the headerStyleName CSS property of the Accordion, the behavior will occur. Remove it and toss it all in the same selector. Problem solved. A big thanks to an active community for that one. -KS

RE: [flexcoders] FDS to CF RemoteObject

2007-03-15 Thread Peter Farland
In FDS 2.0.1 and CF 7.0.2 I would use the services-config.xml for the new Flex Data Management stuff, and just programmatically create a ChannelSet for my RemoteObject and avoid channel configuration for this simpler use case. For RPC services like RemoteObject, compiling against a config file is

[flexcoders] Re: small problem with Bar Chart showing days

2007-03-15 Thread Mark
Unfortunately there isn't much to show, only the MXML. If I use Hours or even days it won't show because it is the same day for the start and end Dates. And because there are no hours in that date it won't render it. I haven't started with Ely's suggestion on overriding the bar series, but

Re: [flexcoders] Re: Accordion Redux, Icons

2007-03-15 Thread Doug McCune
Hey, no problem! For more fun join the flexcoders-sarcasm email list, we all get to write fun sarcastic emails all day long! :P Let's all play nice. Thanks for posting your solution back to the list. Doug On 3/15/07, lostinrecursion [EMAIL PROTECTED] wrote: A little digging unearthed the

RE: [flexcoders] SWFLoader query string?

2007-03-15 Thread {reduxDJ}
Chad: I don't know why that traces out undefined for you, this is what I am doing in my mxml to pass variables in a query string and it works. Thanks, Patrick private function createTextEffects(s:String):void{ var swf:SWFLoader = new SWFLoader();

[flexcoders] Re: States and transitions

2007-03-15 Thread thirtyfivemph
Excellent. That's exactly what I was looking for. And a further tip that I just realized... Seems to be a decent idea to nest a mx:Parallel in an mx:Sequence, i.e. use the mx:Sequence to order things addchild, transition, removechild, etc. Otherwise, if you just put it in a mx:Parallel, it

[flexcoders] tutorials for writing custom classes

2007-03-15 Thread Mark
Are there any good tutorials someone can point me to for writing custom Flex classes? I've been writing AS for a few years now but havn't really dived into Classes. I can find a lot of examples from digging into code but I'd like to find one that shows step by step what it is and why you're

[flexcoders] Re: Missing Widget? Where is the Select List thingy?

2007-03-15 Thread missgiggygirl
Thanks everyone for the replies, I get it now! I built one myself, and stuck the buttons there, too. (If nothing else they serve as a signal about how the widget works. Of course DD is the way to go.) I built my little widget by reading the Adobe.comFlex Quick StartsAdding drag-and-drop

[flexcoders] Re: Bug in Flex Charts?

2007-03-15 Thread tyriker
For anyone who comes across something similar, Alex Harui pointed me to the answer on his blog about modules: http://blogs.adobe.com/aharui My problem was certain objects were being instantiated by one child app, and then the other child apps wouldn't have access to that object. The solution is

[flexcoders] HTML in Flex

2007-03-15 Thread Persaud, Anthony
A newbie here. Is there a way to load an external HTML page or website (ex. www.google.com http://www.google.com/ ) inside a flex application? I see it in all the Apollo presentations, but haven't seen any FLEX component that can render an HTML (and let the user interact with it as if it was a

[flexcoders] HSlider and in-line Item Editor(Renderer)

2007-03-15 Thread tungchau81
Hi everybody, I wonder if it is possible to extend HSlider class and make it work as in-line Item Editor(Renderer). I love to use DataGrid and HSlider together, but currently HSlider does not implement IDataRenderer, IListItemRenderer, and IDropInListItemRenderer interfaces. It seems to me

[flexcoders] Automate build for large apps?

2007-03-15 Thread flexinator2
We have a very large Flex2 application with several hundred classes and around a dozen RSL (swc files). We've been using the flex2 eclipse IDE to do builds but would like to automate it and throw it in our CruiseControl server. I'm using nant to perform the build. I've been using the command line

Re: [flexcoders] Create Controls like in the FlexBuilder Design mode

2007-03-15 Thread Nick Collins
have you tried setting visible to false ? On 3/15/07, Artur Kordowski [EMAIL PROTECTED] wrote: For a current project I have to create an dynamic formular designer, with which the User can create it own formular. The prototype work well, but when I create a new control and add it's into the

Re: [flexcoders] HSlider and in-line Item Editor(Renderer)

2007-03-15 Thread Doug McCune
It's definitely possible, I did that when I was playing with making a Gantt chart. I think I made a wrapper class that loaded the HSlider, but you should be able to just extend HSlider as well. Your general idea of extending HSlider and implementing the correct interfaces should work. What makes

RE: [flexcoders] Passing params to SWFLoader

2007-03-15 Thread Tracy Spratt
You can also get a reference to the contents of the loaded swf and access public members directly. It is pretty simple, but ther are data type and timing issues. Let me know if you want an example. Tracy From: flexcoders@yahoogroups.com

[flexcoders] Unbelievably embarassing question - making components talk (and modules) amongst

2007-03-15 Thread shawn.gibson
Thanks to Tracy's earlier help, I was able to get at least the ugly (i.e., my) version of HTTPService going (and I'll revisit it to Tracy's specs one I figure this here problem out), but in order for me to do it, I had to de-compartmentalize all my code. In other words, I have originally been

RE: [flexcoders] SWFLoader query string?

2007-03-15 Thread Tracy Spratt
You have to access the passed in parameters using the Application.parameters object / associative array. It the swf does not contain an application, then I am clueless. You can also get a live reference to the content(application) and access public members that way. There are data type

[flexcoders] Re: Inconsistent Runtime Error

2007-03-15 Thread tyriker
I found a solution for this problem in another thread I posted. For anyone who comes across something similar, Alex Harui pointed me to the answer on his blog about modules: http://blogs.adobe.com/aharui My problem was certain objects were being instantiated by one child app, and then the other

[flexcoders] Re: Preventing PopupManager to make popups over the MenuBar?

2007-03-15 Thread Derrick Grigg
Use the application's instance of the 'mx.manager.SystemManager' and add the MenuBar as a child of that. It will put the MenuBar above everything else. Derrick -- Derrick Grigg www.dgrigg.com [EMAIL PROTECTED]

[flexcoders] Viewstacks - link from one child to another

2007-03-15 Thread April
I've been looking all day and can't find a solution to this - although I'm sure it's very simple. I have a main application that I'm using a ViewStack in: Main.mxml mx:ViewStack id=preTrafficNav width=100% height=100% creationPolicy=all x=10 y=90 v:JobSearch id=jobsearch width=100%

Re: [flexcoders] SWFLoader query string?

2007-03-15 Thread Bjorn Schultheiss
Hey Chad, I've been working on exactly this problem most of the week. first to pass in your unique local conn string. [flex] mx:SWFLoader source=whatever.swf?flashId=foobar / [flash] var connid = flashId; trace('connid: '+connid); Except this will not work if your flash resides on a

[flexcoders] Cairngorm FrontController

2007-03-15 Thread Shannon
I am new to Cairngorm and Flex (I'm All About Flash) so bear with me. I am creating a component and I want it to use Cairngorm. I also want to be sure that some events fired from the component are only heard by the Cairngorm of the single component instance. Component namespaces won't help

RE: [flexcoders] Unbelievably embarassing question - making components talk (and modules) amongst

2007-03-15 Thread Tracy Spratt
Me again. You are on the correct track with componentized apps, and there are MANY ways to communicate between components. First, are you using Modules with a capital M? that is, Flex 2.0.1 mx:Module tag? If so, you will have to adjust what I say, since I have not used that approach yet.

[flexcoders] Re: Unbelievably embarassing question - making components talk (and modules) amongst

2007-03-15 Thread shawn.gibson
I'm sure it goes deeper than this (if you'll pardon the pun), but if you add 'parentDocument' to your parent (i.e., parentDocument.thumbloader.etc you get the kind of thing I'm hoping, at least for component-to-component-from-within-the-same-module. I typed the name of the error message into

RE: [flexcoders] HTML in Flex

2007-03-15 Thread Tracy Spratt
Short answer, no. Longer answer: In order to be able to renderer all html, the Flash Player would have to contain an entire parsing engine, and that would make its download footprint too large. A workable solution is to use an IFRAME in the host browser that is positioned and sized to

[flexcoders] Re: Cairngorm FrontController

2007-03-15 Thread Shannon
Thwarted again... My component: mx:Module xmlns:mx=... xmlns:view=... view:MyViewHelper id=helper / /mxModule Two Instances: address:ZipTest / address:ZipTest / Error: View names must be unique. A view has already been registered with helper... I know that someday everything will fall into

RE: [flexcoders] Re: Unbelievably embarassing question - making components talk (and modules) amongst

2007-03-15 Thread Tracy Spratt
Yes, also Application.application will give you a reference to the top-level application. As I said in my other post, there are many ways. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shawn.gibson Sent: Thursday, March 15,

RE: [flexcoders] tutorials for writing custom classes

2007-03-15 Thread Tracy Spratt
Check out the free sample chapter 2 at this link: http://www.adobe.com/devnet/actionscript/articles/as3_cookbook_excerpts. html Which I found googling: Flex 2 creating custom classes tutorial. I didn't actually read it. Other than that, there are so many possibilities, I say just start

RE: [flexcoders] TextArea.text confusion

2007-03-15 Thread Tracy Spratt
What is the problem behavior? I need a bit more detail before I run or analyze the code. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Roman Protsiuk Sent: Thursday, March 15, 2007 7:04 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] FDS to CF RemoteObject

2007-03-15 Thread Darren Houle
Peter, Awesome advice, yes, I've found several reasons I'd rather do it programatically. Thanks! But... my question still remains what channel(s), adapter(s), and destination setting(s) do I use (xml or programatically) to have my Flex client, served from an FDS server, call ROs on a

[flexcoders] Can one use a XMLListCollection as a source for another XMLListcollection

2007-03-15 Thread iko_knyphausen
Hi everyone, I am trying to use one xmllistcollection as a source for another xmllistcollection. The prupose is to have 2 filterfunctions, one for the first collection, and the second for a staggered additional filter...ultimately for a datasource of another control. Is it possible? Thanks

[flexcoders] Re: Unbelievably embarassing question - making components talk (and modules) amongst

2007-03-15 Thread shawn.gibson
Hi Tracy, thanks:) Yes, I mean the capital M but my reasons are, well, one reason: the ability for the client to download only the packets (generically meant) of data and compiled swfs when requested. The Module does the second part, i.e., through a user event it's loaded. I think, on my first

[flexcoders] Re: Drag and Drop Example Needed

2007-03-15 Thread tosadavemgr
Harish - I figured out the mg.source=items[0].src part. I just needed to change .src to the node name in my XML and it is displaying the proper image. I do need to make some additions to get my Proxy and dropped image sized correctly, but you have helped me past the big hurdle part. Flex is so

Re: [flexcoders] Cairngorm FrontController

2007-03-15 Thread John Mark Hawley
You're doing something very weird, but I can't figure out exactly what since you've mucked with Cairngorm. The point of the Front Controller is that there's only one. If you have two components in your app, and they both are set to fire the same event when a certain action occurs, the same

[flexcoders] using videoDisplay with netstream (FMS)

2007-03-15 Thread John Wilker
So I've got a videDisplay component and I want to talk to FMS. I've got code to get my rtmp path for the media figured out. What I can't figure out is how to get my netstream to the VideoDisplay. Probably something I'm missing? source wants a Str. netstream is video. Any help, GREATLY

RE: [flexcoders] FDS to CF RemoteObject

2007-03-15 Thread Peter Farland
Probably the easiest thing to do is to setup a crossdomain.xml file on your CF server. This should be setup to allow SWFs hosted on your FDS server to make connections to CF. For the CF side of things, you can probably leave the configuration with its defaults. You just need to take a look at

  1   2   >