[flexcoders] Using proxy with remote objects

2007-11-13 Thread Mark Ingram
Hi, one of my colleagues at a remote office is behind a proxy server. What do I need to do to enable RemoteObjects to work correctly? Currently they are failing because it can't find the function on the server. Any ideas? Mark

Re: [flexcoders] FlexBuilder 3 Beta 2 charting and license

2007-11-13 Thread Tom Chiverton
On Monday 12 Nov 2007, frank_sommers wrote: purchased a license for Flex Charting for the Flex 2 SDK, would that license key make the watermark disappear in the AdvancedDataGrid in FlexBuilder 3, also? Only until Builder 3 is release, afaik, then you'll need to upgrade (unless you bought

[flexcoders] Re: Code for preventing browser caching of SWF

2007-11-13 Thread johantrax
I used to be rather good in js, and I think i found your solution. In AC_OETags.js, the function AC_GetArgs, change the following (line 200): case src: case movie: args[i+1] = AC_AddExtension(args[i+1], ext); ret.embedAttrs[src] = args[i+1];

Re: [flexcoders] Bug in ContextMenu

2007-11-13 Thread Scott Melby
There are certain words that cannot be included in context menu captions. Delete is definitely one of those words try Remove or something like that instead. You can find a list of words that you cannot use in the API docs

[flexcoders] Binding with Associatives Arrays

2007-11-13 Thread peuga
hello coders. i'm trying to bind an associative array to some component property, something like: - - - mx:Script ![CDATA[ [Bindable] public var monitorInfo:Object = new Object(); public function click():void{

[flexcoders] Editable data in data grid too easily edited

2007-11-13 Thread Scott Melby
IMO it is too easy to get into edit mode on an editable DataGrid or AdvancedDataGrid. For instance, if I am just selecting a row that was not previously selected it would be great if it did not invoke the editor until I clicked in the editable column again. This is particularly problematic

[flexcoders] How to scale containers?

2007-11-13 Thread Mark Ingram
Hi, I have a custom container which is based on the Canvas control. It just displays other custom controls that are also based on Canvas. If I wanted to do a thumbnail preview of the main container, how do I go about scaling everything? For instance, if the main container displays at 800x600, how

Re: [flexcoders] Editable data in data grid too easily edited

2007-11-13 Thread Steve Hueners
Absolutely! I'd take it a step farther and suggest it'd be better to have the first click should highlight a given row even if clicking on an editable field. Will be interested in seeing how your resolve your objective.

[flexcoders] Flex Builder 3 Performance Profiling not working os x 10.4.10

2007-11-13 Thread rleuthold
Hi, I've tried to do a performance profiling of my App, following the Instructions on the Adobe Labs Page http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Performance_and_Mem ory_Profiling (I quit Firefox before starting as well), but the Performance Profile Panel is always

[flexcoders] Re: Can't select an item renderer in a list

2007-11-13 Thread icepaco33
Humble excuse Alex, but you are not answering my question / problem. I have no problem with my highlight / selection showing... My problem is that if I do drag drop operation and if I change the Data Provider then sometimes I can no longer select some items even tho they are showing... I have

[flexcoders] Re: Custom List component Height Issue

2007-11-13 Thread davidch204
Hi Alex, the thing is I list other data, I just left out the component in my example below, but basically its a LinkButton. That's why I use the renderer. That and I style the renderer also. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: That renderer should not be

[flexcoders] Disappearing content/Platform Differences...

2007-11-13 Thread bithroop
I have been developing on an XP SP2 box and a Macbook, bouncing back and forth. Tonight I started having a problem where a remoting call was throwing an error on the PC but the Mac was fine. So I decided to grab my wife's laptop and see how the app did on hers. I was shocked and saddened to see

[flexcoders] Want to call a function from custom component on button click...

2007-11-13 Thread keszeli
In my main application I have these lines of code: mx:RemoteObject id=remoting fault=faultHandler(event) mx:method name=login result=truck(event) / /mx:RemoteObject In a custom component: mx:TextInput id=usr/ mx:TextInput id=pss/ mx:Button label=Log in

[flexcoders] My first post here - styling the TabBar rollover colors

2007-11-13 Thread mydarkspoon
Hello all! I'm styling the flex TabBar using Adobe flex explorer, and facing a very annoying problem while trying to set the rollOver color of the tabs. At first place I thought I could set the rollover color using the tabStyleName's fillColors style, but this style can only get 2 colors that

[flexcoders] Re: Can't select an item renderer in a list

2007-11-13 Thread yossigordin
Hi, When a drag-n-drop operation is made, the data setter is not fired, rather the data changeEvent. I think that the problem is with your itemRenderer - you have overriden the data setter but you didn't add an event listener for dataChange events. Try to add a Flex.DataChangeEvent listener

[flexcoders] accessing public properties from loaded mxml swf (flex 2.01)

2007-11-13 Thread cohcoloco
I'm trying to access the public properties from an swf that I've loaded, but I get the error: ReferenceError: Error #1069: Property test_property not found on _test_app_mx_managers_SystemManager and there is no default value. I load an as3 swf using the same technique, with the same variable

[flexcoders] Re: Can't select an item renderer in a list

2007-11-13 Thread icepaco33
Hello, Nope that's not it... As I said, if you remove all the calls to the sub class Highlighter (by commenting the data setter ( override public function set data(value:Object):void ) and removing the CompleteEventHandler ( private function SentenceRendererCreationCompleteEventHandler

RE: [flexcoders] How to scale containers?

2007-11-13 Thread Mark Ingram
I suppose I should say the problem I have, that might help: If I have a component that is 100x100, I want to display it's contents scaled down by 50%. So I set the scaleX scaleY properties to 0.50. The trouble is, when I view my container, it is now 50x50. I can see why it's done that, but

[flexcoders] Overriding inherited skin style

2007-11-13 Thread polestar11
Hi there I have a global Panel style defined, which contains a border-skin swf. I want to be able to turn this off for specific panels. There seems to be no explicit way to turn this off (Eg. boder-skin:none) the only way I have managed so far is to reference a transparent / blank swf as the

[flexcoders] Flex Localization Support

2007-11-13 Thread Jehanzeb Musani
Hello All, I want to support Arabic content in my application. That is the client can choose whether he want to view the content of my applicaiton in Arabic or English at runtime. Can anyone tell me how can I change the content of Flex application at runtime? Also, do I need to create separate

Re: [flexcoders] Flex Localization Support

2007-11-13 Thread Paul Hastings
Jehanzeb Musani wrote: Can anyone tell me whether Flex supports this inherently or not? it's the flash player that currently doesn't support BIDI. i think it's been announced that BIDI will be supported in the next flash client release.

[flexcoders] How can I convert from XmlList to ArrayCollection?

2007-11-13 Thread real_yoni
How can I convert from XmlList to ArrayCollection? Thanks, Yoni.

RE: [flexcoders] Flex Localization Support

2007-11-13 Thread Samuel R. Neff
Flash doesn't support RTL (the next version will, but also remember that even when Flash is updated, if you're using Flex you'll need to wait for a corresponding Flex framework update as well). There have been some experiments with hacks in Flash but I haven't seen anything yet in Flex. Here's

Re: [flexcoders] SandBox, crossdomain.xml

2007-11-13 Thread John VanHorn
1. Make sure you have the appropriate secure attributes in you crossdomain file: allow-access-from domain=*.test.com secure=false / 2. Also note that flash player doesnt trust any self-signed certs. 3. be wary of the IE no-cache header thing. for #2 and #3, see:

[flexcoders] Re: AIR: HTML components not redraw?

2007-11-13 Thread TJ Downes
Here's a test case: ?xml version=1.0 encoding=utf-8? mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=init() mx:Script ![CDATA[ private function init():void {

[flexcoders] Re: My first post here - styling the TabBar rollover colors

2007-11-13 Thread mydarkspoon
Hi Rico, thanks for the help, but I couldn't download the file attachment since that I wasn't registered to the mail notification. Could you please re-send it ? (subscribed now...) Thanks a lot! :) --- In flexcoders@yahoogroups.com, Rico Leuthold [EMAIL PROTECTED] wrote: Hi, I'm not sure

[flexcoders] Re: AIR: HTML components not redraw?

2007-11-13 Thread TJ Downes
Ok so Adobe has officially replied that this is a bug and will be fixed in the next release: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72catid=641threadid=1313878enterthread=y Thanks for all the help :P

[flexcoders] Flex2Gateway only allowing one site??

2007-11-13 Thread brandon.culpepper
Not sure if this is a Caching problem or not. Server setup: One CFMX 7.0.2 Standard Edition server with many sites in their own directories in the webroot. This is not the multi-instance install of CF I would prefer but we are working towards that. Problem: mySite-1 hits the flex2gateway and

Re: [flexcoders] Flex2Gateway only allowing one site??

2007-11-13 Thread Jeffry Houser
Does each site have the same application name, set in the cfapplication tag (or possibly as an instance variable in the Application.cfc ) brandon.culpepper wrote: Not sure if this is a Caching problem or not. Server setup: One CFMX 7.0.2 Standard Edition server with many sites in their

Re: [flexcoders] Flex2Gateway only allowing one site??

2007-11-13 Thread Derrick Anderson
OMG!! i thought i was the only one in the world! i can confirm this behavior and i can also confirm that it happens on application.cfm files with different names and no instance vars. it is absolutely killing me, let me know if u find anything and i'll do the same! derrick On Nov 13, 2007 11:04

Re: [flexcoders] How can I convert from XmlList to ArrayCollection?

2007-11-13 Thread Tom Chiverton
On Tuesday 13 Nov 2007, real_yoni wrote: How can I convert from XmlList to ArrayCollection? for each loop ? -- Tom Chiverton Helping to continuously integrate bleeding-edge portals on: http://thefalken.livejournal.com This email is sent

[flexcoders] Re: Flex Builder 3 Performance Profiling not working os x 10.4.10

2007-11-13 Thread init_app
Hey Rico, Undue whatever you've attempted and then give this a try: http://initapp.com/2007/10/29/flex-builder-3-mac-air-debugprofiler-switcher-app/ Regards, Steven --- In flexcoders@yahoogroups.com, rleuthold [EMAIL PROTECTED] wrote: Hi, I've tried to do a performance profiling of my

[flexcoders] Re: Flex2Gateway only allowing one site??

2007-11-13 Thread brandon.culpepper
Holy crap it works!! All I had to do was make sure that the .swf files were named something different. For some reason because I was using main.html and main.swf in both sites the swf was getting cached I guess. So I created one Flex app called RemoteTesting-1 and one called RemoteTesting-2. I

[flexcoders] Flex Logging ~ log4j

2007-11-13 Thread Claude Hussenet
What are the options to log information in a flex components without pushing any information to the server ? I am looking for something similar to what can done with an Applet sending logs into the java console. Is FAST (http://www.adobe.com/devnet/flex/articles/fast_userguide.html) still the

Re: [flexcoders] Re: Flex2Gateway only allowing one site??

2007-11-13 Thread Derrick Anderson
in my case, i have multiple copies of the same or 'similar' swf files accessing cfc's on the backend. i had considered the names being the same affecting cache somehow but i have not been able to try changing one yet. right now all my CFC's for each app have hard-coded variables instead of

[flexcoders] Question about Changing font style of Tree Node

2007-11-13 Thread prabs73511
Hi All, This is stripped down version of my Application. where I am trying to change font style of particular tree node. can any one help me how to do this ? Actually I want to make fontStyle Bold of first node in tree. here is code. it's not the complete one. just to post it here, I striped it.

RE: [flexcoders] How can I convert from XmlList to ArrayCollection?

2007-11-13 Thread Alex Harui
Also see xmldecoder -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Tuesday, November 13, 2007 8:18 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] How can I convert from XmlList to ArrayCollection? On Tuesday 13

[flexcoders] Rendering offstage

2007-11-13 Thread Mike Krotscheck
Is there a way of forcing a displayObject to render (for the purposes of IBitmapDrawable) without adding it to the stage? Michael Krotscheck Senior Developer RESOURCE INTERACTIVE http://www.resource.com/ www.resource.com http://www.resource.com [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

RE: [flexcoders] Overriding inherited skin style

2007-11-13 Thread Alex Harui
borderSkin: null didn't work? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of polestar11 Sent: Tuesday, November 13, 2007 6:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Overriding inherited skin style Hi there I

RE: [flexcoders] accessing public properties from loaded mxml swf (flex 2.01)

2007-11-13 Thread Alex Harui
content.application.test_property From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cohcoloco Sent: Tuesday, November 13, 2007 5:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] accessing public properties from loaded mxml swf

RE: [flexcoders] Re: Custom List component Height Issue

2007-11-13 Thread Alex Harui
You will need to override measure() and set measuredHeight based on explicitWidth. There is code like that in ListItemRenderer From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of davidch204 Sent: Monday, November 12, 2007 2:30 PM To:

[flexcoders] How do I place a preload to the objects loaded in an XMLList?

2007-11-13 Thread Fernando Comet
How do I place a preload to the objects loaded in an XMLList? And, how do I place a preload every time I load an image? The images are as much as 100kb, I donĀ“t know it is necessarty. This is my application: http://www.fernandocomet.com/Comet_porfolio.html This is my code:

[flexcoders] possible bug in loading mxml swf's in vista64

2007-11-13 Thread cohcoloco
I posted earlier that I was having trouble accessing public variables from a loaded swf that was compiled from mxml, but worked fine if it was pure as3, and this problem only seems to exist on my vista64 machine. it seems to work fine on linux and winxp :/ is this a known bug?

[flexcoders] Re: accessing public properties from loaded mxml swf (flex 2.01)

2007-11-13 Thread cohcoloco
ok, in testing this with a few other boxes, I believe this to be a bug in Vista64, where the bug was showing itself. The code works fine in linux and xp. i'll send this to Adobe as a bug report. --- In flexcoders@yahoogroups.com, cohcoloco [EMAIL PROTECTED] wrote: I'm trying to access the

[flexcoders] Re: DataGrid not populating from XMLListCollection - namespace issue?

2007-11-13 Thread Brian
Thanks! I've tried it and am still having problems. Sorry for the newbie questions. You mentioned in the comments on your blog that you like to leave the resultFormat defaulted to Object. So then how do you construct your dataProvider? I'm confused because on one hand we're talking about handling

RE: [flexcoders] Re: Can't select an item renderer in a list

2007-11-13 Thread Alex Harui
There are no additional interfaces, but as my blog points out, your renderer must be completely data-driven and get its visual state from calls to isItemSelected/Highlighted as renderers are recycled so the cannot retain state From: flexcoders@yahoogroups.com

[flexcoders] internet Explorer 7 cache problem

2007-11-13 Thread Mubasher Hanif
Hi All, I am having problem in loading xml document. I am using URLLoader for loading xml document. If I delete all files/clear explorer cache by going into Tools/internetOptions, it loads exact same xml document whatever is present on my harddrive. But after that If I dont clear cache and

RE: [flexcoders] Editable data in data grid too easily edited

2007-11-13 Thread Alex Harui
If you handle change events mousedown/up you might know when to cancel itemEditBeginning From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Melby Sent: Tuesday, November 13, 2007 4:36 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] How to scale containers?

2007-11-13 Thread Alex Harui
You;ll have to add another container layer From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent: Tuesday, November 13, 2007 6:19 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] How to scale containers? I

[flexcoders] Comparing Date

2007-11-13 Thread flexawesome
Hey, I am working on Comparing the Date, the following code does work with declare :*, however I would like to declare to :Date, but it doesn't work. Does anybody know how to declare for dDays and fully handle this? Thanks === ?xml version=1.0? mx:Application

[flexcoders] Re: DataGrid not populating from XMLListCollection - namespace issue?

2007-11-13 Thread ben.clinkinbeard
Hi Brian, These days I usually want to end up with strongly typed objects, so I generally implement my VO classes so that they accept XML in their constructor. I pass the XML node to the constructor, throw a use namespace in there and then grab the properties I need from the XML. HTH, Ben ---

[flexcoders] Multiple filter criteria in DataGrid

2007-11-13 Thread Mr Greg Murnock
I have a DG populated by an AC. I want to filter the DG with any number of selection criteria, up to 4 plus between dates. I can get one of the item=selected to work but not more than one. Is this where I need to have a big nested IF statement with a bunch of boolean expressions to

[flexcoders] Re: fetching values of inline itemrenderers in datagrids

2007-11-13 Thread danny_yoo88
Hi all, Any thoughts on this one? Thanks, Danny --- In flexcoders@yahoogroups.com, danny_yoo88 [EMAIL PROTECTED] wrote: Hi, I've got an HSlider in an inline itemrenderer in a datagrid. I can't seem to read the value of the slider at all. code below The debugger doesn't show any way to

Re: [flexcoders] ScrollEvent.SCROLL -- what comes after?

2007-11-13 Thread Rick Schmitty
I'm still lost by this... Shouldnt the updateCompletePendingFlag be false when updateComplete event is fired I tried to update the example application to make it more obvious, the debug call shows the correct tracking point and false for the flag, while updateComplete shows true for the flag and

[flexcoders] Connecting to flash display from html code and extracting params

2007-11-13 Thread s_tibrewal
Hello Folks, Having heard a lot about it I am just trying out using Flex/Flash on a web app and have run into a problem. I am playing a video in Flash and when I click an html button (GetElapsedTime) on different part of the page, outside of Flash window, I want to go to Flash playing the video

Re: [flexcoders] Connecting to flash display from html code and extracting params

2007-11-13 Thread Derrick Anderson
you can use the flex-ajax bridge to do this http://labs.adobe.com/wiki/index.php/Flex_Framework:FABridge On Nov 13, 2007 2:08 PM, s_tibrewal [EMAIL PROTECTED] wrote: Hello Folks, Having heard a lot about it I am just trying out using Flex/Flash on a web app and have run into a problem.

Re: [flexcoders] Comparing Date

2007-11-13 Thread Paul Decoursey
try it by accessing the Date.time property for you math operations. On Nov 13, 2007, at 12:36 PM, flexawesome wrote: Hey, I am working on Comparing the Date, the following code does work with declare :*, however I would like to declare to :Date, but it doesn't work. Does anybody know how

[flexcoders] Chart - width of the axis

2007-11-13 Thread iilsley
Is it possible to get the width of the axis ? I'd like to position something under the graph but offset to the vertical axis .. eg: 100 - x 75 - x 50 - x 25 - x 0 1 23 POSITION HERE thanks

RE: [flexcoders] Re: fetching values of inline itemrenderers in datagrids

2007-11-13 Thread Alex Harui
Renderers are recycled and intended to be data driven. See my blog for more info (blogs.adobe.com/aharui) However, in some cases you can use indexToItemRenderer From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of danny_yoo88 Sent:

RE: [flexcoders] Multiple filter criteria in DataGrid

2007-11-13 Thread Alex Harui
Are you choosing between filters or need a complex filter? You can set up just about anything as a filterfunciton on the collection. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mr Greg Murnock Sent: Tuesday, November 13, 2007 10:42

[flexcoders] Re: Comparing Date

2007-11-13 Thread flexawesome
Thanks Paul, it works great! --- In flexcoders@yahoogroups.com, Paul Decoursey [EMAIL PROTECTED] wrote: try it by accessing the Date.time property for you math operations. On Nov 13, 2007, at 12:36 PM, flexawesome wrote: Hey, I am working on Comparing the Date, the following code does

Re: [flexcoders] internet Explorer 7 cache problem

2007-11-13 Thread Stephen Allison
Hello, It's the cache-control headers on the response from the server that determine whether or not the browser caches the XML. You can set them programatically or by configuring your web server to add the headers to the response it sends back to the Flex application. Exactly what you need

[flexcoders] excetion bubbling to application level?

2007-11-13 Thread aaron smith
Is there a way to get all exceptions to bubble to the Application level so I can catch all for logging? thanks yo.

[flexcoders] Re: DataGrid not populating from WebService, error: Unknown Property

2007-11-13 Thread Brian
I started a new thread to continue this issue because I had gotten past the 'Unknown Property' error with the handlers. I wanted the new thread to be more specific to the problem, which has evolved into DataGrid not populating from XMLListCollection and namespace issues. Here's the new thread:

RE: [flexcoders] Want to call a function from custom component on button click...

2007-11-13 Thread Tracy Spratt
You need to traverse the run-time DOM to access members in different component scopes. Se the notes below. Tracy Communicating between Components: Note: for loose coupling use events. But that is another topic. A non-trivial flex application is component based. While all of the

Re: [flexcoders] Editable data in data grid too easily edited

2007-11-13 Thread Steve Hueners
Could the editable property be reset from false to true on a 2nd click? On 11/13/07, Alex Harui [EMAIL PROTECTED] wrote: If you handle change events mousedown/up you might know when to cancel itemEditBeginning -- *From:* flexcoders@yahoogroups.com

[flexcoders] Datagrid and data from service

2007-11-13 Thread pulp_on_air
Hi, I got problems getting a datagrid to work with an array of objects received via service. The data is generate by amfphp. From php it looks like this array ( [1] = object ( ... //plain properties ) [2] = object ( ... //plain properties ) ) Note that it starts at 1! If i add

[flexcoders] Re: internet Explorer 7 cache problem

2007-11-13 Thread mubasherhaneef
But the same code works fine over firefox and opera without configuring/setting anything. --- In flexcoders@yahoogroups.com, Stephen Allison [EMAIL PROTECTED] wrote: Hello, It's the cache-control headers on the response from the server that determine whether or not the browser caches

[flexcoders] Re: excetion bubbling to application level?

2007-11-13 Thread ben.clinkinbeard
Nope. --- In flexcoders@yahoogroups.com, aaron smith [EMAIL PROTECTED] wrote: Is there a way to get all exceptions to bubble to the Application level so I can catch all for logging? thanks yo.

Re: [flexcoders] Multiple filter criteria in DataGrid

2007-11-13 Thread Mr Greg Murnock
Got it to work using the big nested IF statement with multiple Boolean. thanks, Greg - Original Message From: Alex Harui [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, November 13, 2007 2:41:03 PM Subject: RE: [flexcoders] Multiple filter criteria in DataGrid Are

[flexcoders] Left focus from browser, back and click, editable DG with empty dataprovider got RTE Error #1010.

2007-11-13 Thread George
Lastest Flex 3. I think it looks like a bug and I don't know how could avoid it. (I noticed simliar RTE met by colleagues so I test myself.) I have an editable DG, say it has focusInHandler, itemBeginHandler, itemEndHandler. It has no any problem when I test back and forth. But occasionally I

Re: [flexcoders] Re: excetion bubbling to application level?

2007-11-13 Thread Daniel Freiman
Application dispatches and ErrorEvent every time an error is thrown anywhere in the Application. This will not allow you to have a global error handler, but it will allow you to do logging. - Dan Freiman On Nov 13, 2007 3:27 PM, ben.clinkinbeard [EMAIL PROTECTED] wrote: Nope. --- In

RE: [flexcoders] Re: DataGrid not populating from XMLListCollection - namespace issue?

2007-11-13 Thread Tracy Spratt
I am concerned about this expression: ordMedXMLList = resultXML.child(OrdMedList); Why not: ordMedXMLList = resultXML.OrdMed; //You'll need the namespace identifier in there or have a default. trace(ordMedXMLList.length()); Tracy From:

RE: [flexcoders] Re: DataGrid not populating from XMLListCollection - namespace issue?

2007-11-13 Thread Tracy Spratt
I've never used the child() method but I just looked it up and your usage is right. But I think instead of: child(OrdMedList); it should be: child(OrdMed); Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent:

[flexcoders] Loading *existing* modules into a ModuleLoader

2007-11-13 Thread tdf0wler
I have a fringe use case here, and I think it may be a simple fix but I'm a little stumped. I have a shell Flex application loading modules via ModuleLoader. When a module is instantiated I also add a reference to it in a ViewLocator class (singleton) containing a hash map. For instance, when

[flexcoders] CSS cheat sheets

2007-11-13 Thread brileach
First time poster long time reader. Are there any good flex css cheat sheets out there? Ideally it would list all selectors, properties and values. I'm new to flex and the syntax vs. traditional css is killing me. The style explorer is extremely handy but a list of everything would be extremely

[flexcoders] Rotated headings

2007-11-13 Thread Richard Rodseth
I'm trying to do some rotated column headings using a repeater (or list, potentially) with rotated labels. But I need the utlimate bounds of the rotated label to be accurate after the rotation. i.e. if it's rotated 90 degrees, the width should narrow. What's the appropriate way to deal with this?

[flexcoders] Item Renderer Not Updating

2007-11-13 Thread Geoffrey
I have a List that is bound to an ArrayCollection. If I programaticly update the ArrayCollection, the itemRenderer fails to update as well. mx:List id=userList dataProvider={__resourceModel.userSummaries} selectable=false itemClick=onItemClick(event)

RE: [flexcoders] Loading *existing* modules into a ModuleLoader

2007-11-13 Thread Alex Harui
ModuleLoader.child is not watched for changes. It wasn't anticipated that you'd try to switch out children. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tdf0wler Sent: Tuesday, November 13, 2007 2:00 PM To:

RE: [flexcoders] Left focus from browser, back and click, editable DG with empty dataprovider got RTE Error #1010.

2007-11-13 Thread Alex Harui
Please file a bug. Use a debug build so we can get line numbers in the stack trace. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of George Sent: Tuesday, November 13, 2007 1:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Editable data in data grid too easily edited

2007-11-13 Thread Alex Harui
Worth a try, but you don't know that the second click is on the same cell. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Hueners Sent: Tuesday, November 13, 2007 12:07 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]

[flexcoders] cairngorm design question , need suggestions

2007-11-13 Thread yigit boyar
hi all; we have a GUI built with flex using cairngorm microarchitechture. the GUI is quite complex, and there is an xml schema (xsd) that represents the VO structure. We prepared a code generator(using AIR) which parses the xsd and creates vo's,commanders,events,modelfrontcontroller, so we just

[flexcoders] Re: Loading *existing* modules into a ModuleLoader

2007-11-13 Thread tdf0wler
Is there any way to achieve what I'm trying to do? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: ModuleLoader.child is not watched for changes. It wasn't anticipated that you'd try to switch out children. From:

Re: [flexcoders] Re: excetion bubbling to application level?

2007-11-13 Thread aaron smith
sweet sweet. that's what I was looking for. On Nov 13, 2007 1:16 PM, Daniel Freiman [EMAIL PROTECTED] wrote: Application dispatches and ErrorEvent every time an error is thrown anywhere in the Application. This will not allow you to have a global error handler, but it will allow you to

Re: [flexcoders] cairngorm design question , need suggestions

2007-11-13 Thread Bjorn Schultheiss
Hi Yigit, To execute commanderB from commanderA you need to dispatch eventB from commanderA. You can either pass the instance as an argument of eventB or reference via the model in commandB. regards, Bjorn On 14/11/2007, at 9:44 AM, yigit boyar wrote: hi all; we have a GUI built

Re: [flexcoders] Left focus from browser, back and click, editable DG with empty dataprovider got RTE Error #1010.

2007-11-13 Thread George
Thanks Alex. I found a similar fixed bug report: Tabbing to an editable DataGrid that is empty causes a RTE https://bugs.adobe.com/jira/browse/SDK-7518 I made a simple test file, the Tab bug above could still be reproduced in Flex 3. Also the browser-back problem as I tested.

RE: [flexcoders] Re: Loading *existing* modules into a ModuleLoader

2007-11-13 Thread Alex Harui
I'm not sure what your goal is. Why not just switch between several ModuleLoaders? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tdf0wler Sent: Tuesday, November 13, 2007 2:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] reference a class instance from another mxml

2007-11-13 Thread elr
Big thanks Tracy ;-) I religiously study your notes. That I still need to master are relations between MXML entities and AS ones (MXMLcode from/to AS classes, MXML codes from/to AS scripts, MXML components from/to AS classes and so on...) By the way, youre right, events are much cleaner but

[flexcoders] DataServices HIbernate and Interceptors

2007-11-13 Thread Kevin
Does anyone know OR has anyone has success using Interceptors with DataSevices and Hibernate. Specifically we want to be able to modify data as we are sending it through to Hibernate and do not know how that will affect our DataServices framework and data pushing. This also begs the

[flexcoders] Re: Item Renderer Not Updating

2007-11-13 Thread Geoffrey
I know there's got to be something simple that I'm overlooking, and I thought that I read something pertaining to this in the docs, but for the life of me I can't find it. Thanks for any suggestions, Geoff --- In flexcoders@yahoogroups.com, Geoffrey [EMAIL PROTECTED] wrote: I have a List

RE: [flexcoders] Re: Item Renderer Not Updating

2007-11-13 Thread Alex Harui
Unless the data object is [bindable], modifications to data objects must be accompanied by a call to itemUpdated on the collection. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey Sent: Tuesday, November 13, 2007 8:40 PM To:

[flexcoders] Vertical scrolling without horizontal scrolling? How do I make 100% == 100% of available width?

2007-11-13 Thread Josh McDonald
Hi guys, I'm having a problem where as soon as my content goes taller than a container (be it the application, or a panel) and a vertical scrollbar is needed, it simply covers up some of the container rather than narrowing it. This of course creates a horizontal scrollbar as well. Is there an

Re: [flexcoders] Vertical scrolling without horizontal scrolling? How do I make 100% == 100% of available width?

2007-11-13 Thread Josh McDonald
The content is set up to be in some cases 100%, otherwise it's anchored to top/bottom/sides. If I have the container (vbox) anchored to the bottom of the application, or no height specifcation at all, or any %, it simply grows out and i get the dual scrollbars. If i specify a pixel height, the

RE: [flexcoders] Vertical scrolling without horizontal scrolling? How do I make 100% == 100% of available width?

2007-11-13 Thread Alex Harui
I think you want the content to use 100% but have minWidth=0. You're hitting an obscure 'rule' of flex that we don't shrink containers when they decide to put up scrollbars else it could propagate scrollbars down to its children. Also, if or when you know you want scrollbars, changing the policy