[flexcoders] Re: Accessing TextInput via Panel and getChildByName

2006-12-05 Thread bhaq1972
enabled is not a method, its a getter/setter property. so you have to do ti.enabled = false; --- In flexcoders@yahoogroups.com, pdenys [EMAIL PROTECTED] wrote: I am accessing a TextInput object by invoking myPanel.getChildByName (myTextInput); Then I try to disable the TextInput and get an

AW: [flexcoders] About File Uploading !!

2006-12-05 Thread Essl, Markus
The Problem is in your PHP code. Simple guess without looking at it thoroughly: you should be using fileField instead of Filedata; Markus Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von jammilk01 Gesendet: Freitag, 01.

Re: [flexcoders] TitleWindow Component...help!

2006-12-05 Thread Roman Protsiuk
Hi. Why don't your pop up dispatch some event (e.g. submitData) and you listen to it? R. On 12/5/06, qnotemedia [EMAIL PROTECTED] wrote: OK - so I'm using the generic TileWindow example found on the Component Explorer. It basically shows you how to build something where: 1) User clicks a

Re: [flexcoders] Cairngorm’s Anaemic Domain Model

2006-12-05 Thread Tom Chiverton
On Monday 04 December 2006 04:36, Lachlan Cotter wrote: First, I have never seen examples or discussion of Cairngorm that deals with this issue. In most cases the 'model' isn't much more than a collection of dumb value objects without complex relationships. I'm not sure you'd want your model

Re: [flexcoders] ListBase.as getting called after Drop to Datagrid--Preventing the Drop???

2006-12-05 Thread Lachlan Cotter
Hi Wayne, By any chance did you forget to register your event handler with the DataGrid? Just a thought. Cheers, Lach On 30/11/2006, at 1:07 AM, wayneposner wrote: I'm trying to drag-and-drop from a tree to a datagrid. I've followed the examples to try to achieve this, but whenever I

[flexcoders] Re: Cairngorm’s Anaemic Domain Model

2006-12-05 Thread Tim Hoff
It doesn't matter if it's a collection of dumb value objects, a component, a state variable, or just a common effect. If an object is used more than a couple of times in the app, put it in the ModelLocator. Remember, everything is an object; instantiated and destroyed like the rest of them

Re: [flexcoders] drag n drop manager

2006-12-05 Thread Lachlan Cotter
Hi Rajesh, When you say that the object is moved or disappears when you drop it on the application, is that because you haven't set up event handlers to receive the dropped data? There are at least two methods you could use to remove the drag operation. 1. Do a test in the method that

Re: [flexcoders] Re: Styling in Flex is officially ridiculous

2006-12-05 Thread EECOLOR
I can be wrong, but prototype is still functional, am I wrong? More information on this can be found in prog_actionscript30.pdf, in the chapter Object-Proented Programming in Actionscript under Advanced topics. Greetz Erik

Re: [flexcoders] Re: Cairngorm’s Anaemic Domain Model

2006-12-05 Thread Lachlan Cotter
My question isn't about the model locator. It's about logic, or lack thereof encapsulated within the domain objects. On 05/12/2006, at 9:59 PM, Tim Hoff wrote: It doesn't matter if it's a collection of dumb value objects, a component, a state variable, or just a common effect. If an object

Re: [flexcoders] Returning values from objects on another canvas

2006-12-05 Thread Lachlan Cotter
Hi, There are a couple of different issues here. First, why do you need to get a reference to the other view? If it is in order to access or manipulate the data therein, the better approach is to bind both views into some dataProvider and manipulate the data through that. Second, the

[flexcoders] Images and tooltips

2006-12-05 Thread Kenneth Sutherland
I've been having a look at the ImageToolTip component from everythingflex.com I've implemented it in my own flex site but I would like to make the tooltip appear at a different position. As at the moment it appears below the mousepointer when you hover the mouse. I would like it to appear above

RE: [flexcoders] Re: Cairngorm's Anaemic Domain Model

2006-12-05 Thread Alex Uhlmann
Hi Lach, there many ways to use Cairngorm. I agree with you completly, it's of vital importance to refactor the right functionality from both, views and commands into model objects that mean something to your use case. Then, this functionality can also be easier unit tested. Just lets keep in

[flexcoders] Re: Cairngorm's Anaemic Domain Model

2006-12-05 Thread Tim Hoff
I'm with you Alex. The gripe seems to be duplication and object graphing. With client/server architecture, this is common place and often unavoidable. Usually though, this has to do with mapping data classes, but business logic always seems to fall into this category as well. My take is

[flexcoders] how to stop tab from changing

2006-12-05 Thread Yiðit Boyar
i have an accordion, in which when the user clicks sth inside the first tab; the second tab is loaded. the problem is that; i have to prevent user from opening the second tab. i need to show an error and reselect the 1st tab. to make this; i have added an event listener for the change event of

[flexcoders] Cairngorm Newbie Question - Please set me straight

2006-12-05 Thread stevehousefl
I have a command that I would like to have pull lookup data from 6 different BusinessDelegates. Should that one command call all 6 delegates or should it fire 6 new events that call 6 new commands? If the one command should call all 6 delegates in its execute function, how do you handle 6

[flexcoders] help in database access

2006-12-05 Thread deepa_golamudi
Hai everybody, i am new to flex environment and i am struck up with a prob i am trying to access Databse using flex and java. in this situation i am trying to retrieve two of the values from the DB based on the primary key and view a column chart based on the two values retieved. i am unable to

RE: [flexcoders] Flex 2 Charting align Axis

2006-12-05 Thread Paramjit Jolly
Anyone knows about ..any Dail ..or gauge Charts in FLEX ??? Regards Jolly Life Fitness - A Division of Brunswick Corporation #09-02, The Signature, Changi Business Park Central 2, Singapore-486066 (Cell) 65

[flexcoders] Re: Some Thoughts and examples on making Custom Flex Charts simpler.

2006-12-05 Thread richmcgillicuddy
Nice examples Ely. You are a charting magician. A couple of small comments: 1. In the Basic Drawing API. If I move the right slider and then increment the Top spin edit box, it pops an error. 2. The comment screen is great but there is no close box. While I think it is great that you are

Re: [flexcoders] Function Error

2006-12-05 Thread Patrick Mineault
You forgot new ArrayCollection somewhere. Patrick jmfillman a écrit : When I click on the Submit button, I get the following error: TypeError: Error #1009: Cannot acces a property or method of a null object reference. at main/validateForm( ) at main/__btnFormSign_ click() What am I

[flexcoders] Re: Best practices for displaying large texts [SOLVED]

2006-12-05 Thread Pablo Apanasionek
Gordon, thanks a lot! It fits perfectly to my requirement. -Pablo Apanasionek --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: I don't know of a way to do justified text in Flex textAlign=justify works on mx:Text and mx:TextArea, although it isn't mentioned in

[flexcoders] Re: FLV Duration

2006-12-05 Thread john_69_11
How does this tool work, I was looking at it yesterday and couldn't really figure it out. I ran an flv through it and couldn't see how to get the duration out of it.It looked to me like all you could do was add stuff to the flv, not get information out of it. If I am wrong (and I hope so) please

[flexcoders] Getting active styles from StylesheetManager

2006-12-05 Thread Austin Kottke
Is there a way to get the ENTIRE list of css entries? Rather than having to getStyle(Name), but just the individual entry list. This is extremely simple in as2.0, but with flex 2 I cant figure it out. I just want to get the entire list of css style names when the app is binded to a mx:Style

[flexcoders] Need Help...Passing data from datagrid to database

2006-12-05 Thread Vinod M Jacob
Hi, Can anyone help me in solving this problem. My basic need is to pass the data from a datagrid to the database. I want to read the data in datagrid row by row. Consider i have a datagrid with two colums and five rows. In a for loop i want to get the data in each row one by one so

[flexcoders] Re: Cartesian Charts colum styling different from other chart types

2006-12-05 Thread Oscar
Thanks Ely and Tom, Assigning a DropShadowFilter to the 'filters' property solved my problem. In the case anyone is interested in the syntax, here is an example on the livedocs on how to use DropShadowFilter: http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhe

Re: [flexcoders] Cairngorm Newbie Question - Please set me straight

2006-12-05 Thread hank williams
On 12/5/06, stevehousefl [EMAIL PROTECTED] wrote: I have a command that I would like to have pull lookup data from 6 different BusinessDelegates. Should that one command call all 6 delegates or should it fire 6 new events that call 6 new commands? If the one command should call all 6

Re: [flexcoders] Cairngorm Newbie Question - Please set me straight

2006-12-05 Thread Douglas McCarroll
Hi Steve, I'm going to take a stab at this as I've been studying the Command pattern (as defined in GoF) and Cairngorm lately. In fact I'll be presenting on the subject here in Boston tomorrow evening, so this is right up my alley. (www.bfpug.us) :-) how do you handle 6 different results

[flexcoders] SWF Meta Data

2006-12-05 Thread h8me4everplus1
Hey guys, I really like the idea of defining my SWF parameters for AS projects right at the main script file for actionscript files, but I have two problems: 1, wish it worked, my source: package { [SWF(width=500, height=500, backgroundColor=#ff, frameRate=40)] That's it,

[flexcoders] Web Services authentication

2006-12-05 Thread Ronan Bottini
Hi. I just need a flex app to access a web service and pass in the uid and pwd. Im trying with this: MyService.setUsernamePassword(username, password); But i am still getting prompted for user/password when I make the WebService call Does anyone have a solution for this?

Re: [flexcoders] FDS number NaN

2006-12-05 Thread Jeff Krueger
Anyone else have this problem or am I just doing something wrong. Thanks Jeff Jeff Krueger [EMAIL PROTECTED] wrote: I have considered coming up with a number like -99 and then assume that to be null and initialize all my Number variables to it and then translate

[flexcoders] Could not resolve mx:Effect to a component implementation.

2006-12-05 Thread Onur Ersen
Hi everybody, I'm new to Flex and i have some code having mx:Effects in it. I get error as Could not resolve mx:Effect to a component implementation. I've imported import mx.effects.Effect; but still having the problem. Could anyone help me with this? Thanks in advance.

Re: [flexcoders] Cairngorm’s Anaemic Domain M odel

2006-12-05 Thread Lachlan Cotter
On 05/12/2006, at 8:47 PM, Tom Chiverton wrote: First, I have never seen examples or discussion of Cairngorm that deals with this issue. In most cases the 'model' isn't much more than a collection of dumb value objects without complex relationships. I'm not sure you'd want your model to be

[flexcoders] Re: How to make ViewStack Item Invisible

2006-12-05 Thread camlinaeizerous
It is already a separate component so take advantage of that and don't even add it to the view stack unless the user has access. This will also prevent the button form showing unless they have access. private function CallMeAfterUserValidation():void {

[flexcoders] Video still playing in background

2006-12-05 Thread tonyx_788
Hello i have a little problem and hope somebody could help me i'm trying to load diferent video files (made with swishvideo)with a Datagrid and a SWFLoader the first one plays ok but if i select another one before the first one finishes the sound keeps playing i tried SoundMixer.stopAll(); but i

[flexcoders] WPF/E CTP Released

2006-12-05 Thread John C. Bland II
I don't know if anyone posted this or not but WPF/E CTP was released. Here's my take: http://blogs.katapultmedia.com/jb2/2006/12/wpfe_ctp_is_availableheres_my.html . Excerpt: Other than the no-autoinstall, I looked over the examples and have nothing bad to say. For a first shot at this market

[flexcoders] Re: FDS - class cast exception - lazy loading relationship

2006-12-05 Thread thunderstumpgesatwork
I have tried to submit this as a defect, because as far as I can tell, it is. The bug report form is very lacking though! It said my description had to be less than 2000 characters, which isn't enough to provide the trace information, or the Hibernate/FDMS mappings, and then I trimmed and trimmed

[flexcoders] Re: Web Services authentication

2006-12-05 Thread h8me4everplus1
What you're doing is calling a webservice method called setUsernamePassword, and passing that method 2 parameters, so unless you have a method called setUsernamePassword on your webservice, nothing will happen, however, you aren't even able to access the webservice because I don't think you've

[flexcoders] Re: FDS number NaN

2006-12-05 Thread camlinaeizerous
I would suggest sending the value as a string instead of a long, and do a type conversion from the string to long afterwards and just place logic to check if the string is NaN before you convert it taking the appropriate actions. --- In flexcoders@yahoogroups.com, Jeff Krueger [EMAIL PROTECTED]

RE: [flexcoders] FLV Duration

2006-12-05 Thread Matt Horn
If you're using the VideoDisplay component, you can get the length of the FLV file using the totalTime property. hth, matt horn flex docs -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of john_69_11 Sent: Monday, December 04, 2006 4:13 PM

RE: [flexcoders] SWF Meta Data

2006-12-05 Thread Roger Gonzalez
Because Flex always creates a root class for the SWF, the [SWF] metadata must be attached to (i.e. immediately before) the root class definition. The parameters may not be documented, as they're pretty much intended for code generated by the compiler from MXML source. End users are encouraged

RE: [flexcoders] removeNamespace() and the default namespace in XML

2006-12-05 Thread Peter Farland
I've found that removeNamespace() doesn't work if there are existing attributes or elements using that namespace... have you tried first deleting any of these and then tried to remove the namespace? Also, when you're calling removeNamespace, how are you constructing the Namespace instance to pass

[flexcoders] Re: Need Help...Passing data from datagrid to database

2006-12-05 Thread ben.clinkinbeard
I think in most cases, reading from a DataGrid is unnecessary and I would recommend against it. Instead, you should iterate over the DataGrid's dataProvider to access the data. The exact syntax for that will depend on what you're using as your dataProvider, but assuming its an ArrayCollection or

RE: [flexcoders] Function Error

2006-12-05 Thread Van De Velde Hans
Or you forgot text1 Anyway, I think it's better to keep your mx:Script - tag in the root node, here it's in the mx:Button - node -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Mineault Sent: dinsdag 5 december 2006 6:33 To:

Re: [flexcoders] Re: need strategy for filtering ArrayCollections in a Cairngorm app

2006-12-05 Thread Rick Schmitty
To dig up an old thread... How would you go about this if you had a component that you wanted to reuse for different views of the data that could be filtered additionally by that view? I've run into a similar problem Tom had where the filterFunction is passed along or overwritten. It seems my

[flexcoders] Re: FLV Duration

2006-12-05 Thread john_69_11
onMetaData only works if the flv has been encoded with the metadata, there is no way to garuntee that this has happened though -John --- In flexcoders@yahoogroups.com, John Kirby [EMAIL PROTECTED] wrote: Via onMetaData you should be able to get duration. Have you tried something like this?

Re: [flexcoders] WPF/E CTP Released

2006-12-05 Thread Weyert de Boer
Nice, looks like the page at Microsoft about WPF/E finally work! Great. Yours, Weyert

Re: [flexcoders] Re: FLV Duration

2006-12-05 Thread Tom Chiverton
On Tuesday 05 December 2006 13:58, john_69_11 wrote: really figure it out. I ran an flv through it and couldn't see how to get the duration out of it.It looked to me like all you could do was add stuff to the flv, not get information out of it. If I am wrong Looks like it adds the missing

[flexcoders] Re: TitleWindow Component...help!

2006-12-05 Thread qnotemedia
Well - what I've done, after finding a titlewindow example on cflex, is create a public variable in the titlewindow component of the same name as one in the application, and I send it to the component from the main app AND back via the title window's instance variable. i.e.: TitleWindow

RE: [flexcoders] TitleWindow Component...help!

2006-12-05 Thread Tracy Spratt
Here is a simple example: http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectI D=558 Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of qnotemedia Sent: Monday, December 04, 2006 5:46 PM To:

RE: [flexcoders] Returning values from objects on another canvas

2006-12-05 Thread Tracy Spratt
And to beat a horse that might not be quite dead yet, if the problem IS with the deferred instantiation of the container, then the best solution is as Lach outlines in the first paragraph: update a data model somewhere accessible, then bind the viewstack children's components to that model. Avoid

RE: [flexcoders] TitleWindow Component...help!

2006-12-05 Thread Tracy Spratt
Yes, actually, using events is more portable than the example I posted. I'll try to do an example of that as well. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Roman Protsiuk Sent: Tuesday, December 05, 2006 4:36 AM To:

[flexcoders] RadioButtons in DataGrid

2006-12-05 Thread Roman Protsiuk
Hi. I'm trying to use RadioButtons in DataGrid to select some row. One of data entries that populate DataGrid is already selected. Say we've got dataProvider of entries {someData : Object, selected : Boolean}. One of entries has selected == true others are false. The DataGrid itself is in

[flexcoders] Re: ListBase.as getting called after Drop to Datagrid--Preventing the Drop???

2006-12-05 Thread wayneposner
Hi Lach, Nope...My component code looked liked: mx:DataGrid id=cart dragEnabled=true dropEnabled=true dragEnter=onDragEnter(event)/ Still haven't figured out what caused the problem. Wayne --- In flexcoders@yahoogroups.com, Lachlan Cotter [EMAIL PROTECTED] wrote: Hi Wayne, By any chance

RE: [flexcoders] Images and tooltips

2006-12-05 Thread Kenneth Sutherland
I have tried changing the baselinePosition, various X and Y cords, and even tried to change the mouse position to make the tooltip start higher up, but none of these things worked. There doesn't seem to be a property that I can change that will allow you to move the tooltip to start somewhere

RE: [flexcoders] help in database access

2006-12-05 Thread Tracy Spratt
This is a duplicate post of one I responded to on 12/4. Have you done what I suggested? What was the result? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of deepa_golamudi Sent: Tuesday, December 05, 2006 1:47 AM To:

RE: [flexcoders] how to stop tab from changing

2006-12-05 Thread Tracy Spratt
Hmm, that looks ok. Maybe a timing issue with the rendering? Try setting the selectedIndex using callLater. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Yiðit Boyar Sent: Tuesday, December 05, 2006 7:58 AM To:

RE: [flexcoders] Re: Need Help...Passing data from datagrid to database

2006-12-05 Thread Tracy Spratt
Yes, and I'll go a step further. Reading from a DataGrid directly is practically impossible. What is your back-end platform, the target of your HTTPService call? I think I would not advise a separate call for each row, though HTTPService seems very fast and this will probably work ok.

[flexcoders] FlexTagLib Issue

2006-12-05 Thread sanjaypmg
Hi All, I have deployed Flex2 on JBOSS and created a JSP file with the following code: %@ taglib uri=FlexTagLib prefix=mm % mm:mxml source=AccountSetup.mxml / But, It is showing an error: FlexTagLib Not Found. Please help me to resolve this issue. Regards, Sanjay

RE: [flexcoders] Re: TitleWindow Component...help!

2006-12-05 Thread Tracy Spratt
I am slowly becoming comfortable with using event driven functionality, so this opinion is only that. However, the primary benefit of loose coupling is re-usability, and maybe maintainability, in the sense that it will be easier to drop-in replacement parts. (any others, anyone?). But event

[flexcoders] Re: SWF Meta Data

2006-12-05 Thread h8me4everplus1
Hi rg, Thanks. Here is a description of my process: Step 1: I created a new Actionscript project. Step 2: I wrote the meta data into the as file designated as the Default Application. This has no effect, and as you've outlined, the tag must be defined before the root class definition. I've

RE: [flexcoders] Re: need strategy for filtering ArrayCollections in a Cairngorm app

2006-12-05 Thread Alex Uhlmann
Hi Rick, I havn't read the complete thread below, but since you're saying you're working in a Cairngorm app, to me this looks like functionality that should live in either one or multiple model object(s), instead of the view. The view could just bind to a property (some collection) of that model

RE: [flexcoders] Re: SWF Meta Data

2006-12-05 Thread Roger Gonzalez
Is it on the line directly before public class whatever extends Sprite? Metadata modifies the thing directly below it. If you had (for example) an import, then it modifies the import. Can't provide further guidance without seeing your code. -rg

RE: [flexcoders] Re: ListBase.as getting called after Drop to Datagrid--Preventing the Drop???

2006-12-05 Thread Deepa Subramaniam
A few things: first, you'll have to call preventDefault() on your DragEvent object to cancel the default behavior so that only your custom event handler runs. Second, you'll have to add a custom dragOver event handler so that the DataGrid shows the correct feedback allowing items to be dropped

[flexcoders] Design Pattern/Best Practices for generic record 'list' and 'detail' view Component

2006-12-05 Thread Steve Hindle
Hi All, I'm trying to create a component to use as an example or 'template' of how to achieve a record list and detail view in flex. I'm starting with a simple 'contact' record (model) that has name, address, phone, email, etc. The list of records is held in _dataProvider, and the specific

[flexcoders] Re: FLV Duration

2006-12-05 Thread john_69_11
again, only works if the flv was encoded correctly with the metadata --- In flexcoders@yahoogroups.com, Matt Horn [EMAIL PROTECTED] wrote: If you're using the VideoDisplay component, you can get the length of the FLV file using the totalTime property. hth, matt horn flex docs

RE: [flexcoders] Re: FDS - class cast exception - lazy loading relationship

2006-12-05 Thread Jeff Vroom
This does look like a bug that will occur when you have autoSyncEnabled=false and you use a Set either with lazy loading or as a return value from a fill. It is an easy fix - we are just casting to a List in a couple of places instead of to a Collection. For now, maybe you can workaround

[flexcoders] URGENT HELP NEEDED: BindingUtils and Number Formatter

2006-12-05 Thread Nick Collins
I've got this bug here I need to fix quickly, and I hope you guys can help. I've got a textbox that I'm binding to the .client2SurvivorLevelAnnualIncomeAfterTax property of the value object asset. I'm using the following line to do it: BindingUtils.bindProperty(txtLevelAnnualIncomeAfterTax ,

[flexcoders] Re: FlexTagLib Issue

2006-12-05 Thread Doug Lowder
It looks to me like you need flex-bootstrap.jar from Flex 1.5 in order to use the tag library: http://livedocs.macromedia.com/flex/15/flex_docs_en/0848.htm#wp15028\ 3 http://livedocs.macromedia.com/flex/15/flex_docs_en/0848.htm#wp1502\ 83 I haven't seen or heard anything specific about

[flexcoders] AMFPHP / databinding nested arrays

2006-12-05 Thread carkraus
Hi there, I guess this is a typical newbie question, maybe someone could kindly direct me to a tutorial or sample: I try to bind e.g. using a charts control to a nested array I receive from an AMFPHP service. On the php side I have as an example: $outputArr[] = array('day' = 'Mon',

[flexcoders] Re: URGENT HELP NEEDED: BindingUtils and Number Formatter

2006-12-05 Thread Jennifer Chan
Try public function get client2SurvivorLevelAnnualIncomeAfterTax(): String { var numFormat:NumberFormatter = new NumberFormatter(); return numFormat.format(asset.client2SurvivorLevelAnnualIncomeAfterTax); }

[flexcoders] Extending Flex Web Services with WS-Security (WSS4J)

2006-12-05 Thread Jamie O
WS-Security is not supported by Flex out of the box. Has anyone tackled this, or if not could someone give a high-level view of how they might accomplish this? I can't seem to create a user in the Adobe forums to post it to find out if this might be added in upcoming support point release??? My

[flexcoders] Re: Cairngorm Newbie Question - Please set me straight

2006-12-05 Thread stevehousefl
Douglas (and all), Since they are not dependent on each other, I went with just having a single command fire 6 new events. I will look into the MacroCommand though. As far as the 6 different datasources, it is not. Perhaps this is incorrect, but I have a business delegate for each lookup table

[flexcoders] Re: Cairngorm Newbie Question - Please set me straight

2006-12-05 Thread stevehousefl
Douglas (and all), Since they are not dependent on each other, I went with just having a single command fire 6 new events. I will look into the MacroCommand though. As far as the 6 different datasources, it is not. Perhaps this is incorrect, but I have a business delegate for each lookup table

Re: [flexcoders] removeNamespace() and the default namespace in XML

2006-12-05 Thread Steve Hagenlock
Hi Peter, Peter wrote: I've found that removeNamespace() doesn't work if there are existing attributes or elements using that namespace I suppose that every element in the file uses the namespace, since it is the default namespace, ie: xmlns=http://path.to.com/someplace; Here's how I'm

[flexcoders] Swapping components but keeping a single ID

2006-12-05 Thread Troy Rollins
I notice that Flex won't allow me to identify multiple components with the same ID, even if those components are in different view states. I had hoped to reference a single ID no matter which component was there (all the components implement a single interface.) So, how can I maintain a single

[flexcoders] Example in Adobe® Flex™ 2 Language Reference doesn't compile....

2006-12-05 Thread Libby
In Adobe® Flex™ 2 Language Reference, the entry for Class DateField, this example is at the bottom (click on Examples). It won't compile, giving an error on the line where DateField is being cast in the change event. The error is 1119: Access of possibly undefined property selectedDate through a

[flexcoders] Never Mind! Re: Example in Adobe® Flex™ 2 Language Reference doesn't compile....

2006-12-05 Thread Libby
I will repost my _real_ problem shortly --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: In Adobe® Flex™ 2 Language Reference, the entry for Class DateField, this example is at the bottom (click on Examples). It won't compile, giving an error on the line where DateField is

RE: [flexcoders] Re: ActiveX with Flex

2006-12-05 Thread Mike Anderson
Wow, that is weird - When I replied to this thread, I could have sworn that I saw the other Mike's e-mail addy embedded in the original post. It's probably because I had another e-mail that I was in the process of composing, right next to this one - and subconsciously, filled in his

[flexcoders] Re: SWF Meta Data

2006-12-05 Thread h8me4everplus1
You got it man, I had the imports written between the meta data and the class definition. Thanks man I appreciate it, Elibol --- In flexcoders@yahoogroups.com, Roger Gonzalez [EMAIL PROTECTED] wrote: Is it on the line directly before public class whatever extends Sprite? Metadata

Re: [flexcoders] Re: Cairngorm Newbie Question - Please set me straight

2006-12-05 Thread hank williams
Steve, You definitely shoud not have a business delegate for every lookup table. I dont really understand the detail of what you explained in your email, but communications between a client and a server should never be as granular as mapping just directly to a table. Think of communications with

[flexcoders] webservice wsdl parsing error? help?

2006-12-05 Thread tddclare
Hi, I haven't worked with webservices much, but am needing to test out a service that was produced by a software package my company is evaluating. I'm building the flex front end to show the results. When I run what I have, I get errors when the application launches:

[flexcoders] HTTPService POST with request parameters

2006-12-05 Thread Todd Breiholz
I am trying to post an XML payload to an HTTPService that has additional request parameters (e.g. http://www.mysite.com/get?o=sponsora=save). I created my HTTPService as such: mx:HTTPService id=getSponsor method=POST resultFormat=e4x result=getResultOK(event)

[flexcoders] Re: ListBase.as getting called after Drop to Datagrid--Preventing the Drop???

2006-12-05 Thread wayneposner
Thanks so much!!! It was the lack of event.preventDefault() that was causing the problems. Once I added that into all my handlers the drag-and-drop worked like a charm!!! Wayne --- In flexcoders@yahoogroups.com, Deepa Subramaniam [EMAIL PROTECTED] wrote: A few things: first, you'll have to

[flexcoders] Flex 2: FDS Freezes Flash player before responders get called

2006-12-05 Thread box110a
I am calling dataService.createItem() a very large Object graph. After I call commit, and my responder is called. the client flash player freezes (browser stops responding, cpu utiliziaiton at 100%) for about 8-10 seconds. I am releasing the itemReference from the createItem() call in the

[flexcoders] is there a sample to update/delete records in a database server through webservice?

2006-12-05 Thread Steven Xu
Hi Folks, There are many samples showing how to get/download the records/XML from a webservice , however none of them talking about how to change the server data while user modify the Datagrid / List in the flash application through webservice. Is the webservice way to update server data is

Re: [flexcoders] Extending Flex Web Services with WS-Security (WSS4J)

2006-12-05 Thread Sebastian Zarzycki
WS-Security is not supported by Flex out of the box. Has anyone tackled this, or if not could someone give a high-level view of how they might accomplish this? I can't seem to create a user in the Adobe forums to post it to find out if this might be added in upcoming support point release???

Re: [flexcoders] Re: Cairngorm's Anaemic Domain Model

2006-12-05 Thread Lachlan Cotter
Thanks Alex, One thing I'm looking for is validation that there is a need in some applications to construct an object graph of sorts to describe the model beyond an array of records to be CRUDed. Surely I'm not alone here? If that's the case, is there a best practice for going from

RE: [flexcoders] is there a sample to update/delete records in a database server through webservice?

2006-12-05 Thread Tracy Spratt
The way to get data into the server is the same as the way to get it out: Call a web service operation/method and pass the data to it. How that is handled on the server depends on the implementation of the web service. It is easy to sample get data from a server, but to have an example of

[flexcoders] Re: many-to-many managed association in Hibernate destination

2006-12-05 Thread passive_thoughts
I haven't been really involved in this thread directly but Doug's kept me in the loop. I did some playing around today and I've posted my findings here: http://viconflex.blogspot.com/2006/12/many-to-many-using-fds-hibernate.html Hope it helps. Vic

RE: [flexcoders] HTTPService POST with request parameters

2006-12-05 Thread Tracy Spratt
So the model data is getting into the server, but the url querystring parameters are not? Also, you are passing an mx:Object in the post body to the server. Is that working? What does it look like on the server? What is the server platform? Tracy

[flexcoders] Scrolling without a scrollbar

2006-12-05 Thread graysonpierce
We have a requirement for a scrollable container that displays right and left arrows (when necessary) but not the track and the thumb. To be more exact something similar to when you open up a bunch of tabs in Firefox and at the point that it can't make the tabs any smaller it displays the right

[flexcoders] itemrenderer trying to access variables in main application

2006-12-05 Thread bghoward3
can someone point me in the right direction of retrieving a binded vriable created in the main application from a itemrenderer located in a datagrid? i have a datagrid that contains an itemrender, the itemrender file contains 2 buttons. based on the user id which is established in the main

[flexcoders] AS 3 performance articles?

2006-12-05 Thread joshuajnoble
Hi, I need some whitepapers/articles/blog posts/whatever, on AS3 display performance vs AS2 (for a client) and especially, if possible, info on why you should use AS3 event handling or info on event handling in as3. I've been googling around and have found some stuff, but not everything. Anyone

Re: [flexcoders] HTTPService POST with request parameters

2006-12-05 Thread Todd Breiholz
Tracy Correct, the model data is getting there, but not the querystring parameters. I also noticed about the mx:objects in the post. It was an error and I was getting really screwy data on the server. I've since changed the bindings to point to the text property of the objects and the post body

RE: [flexcoders] HTTPService POST with request parameters

2006-12-05 Thread Tracy Spratt
Then this syntax: mx:request osponsor/o aput/a /mx:request Attempts to put those two name-value parameters in the request object, which is now application/xml, which, well, isn't what you want. Instead, try concatenating the querystring directly on the url before you send(). Tracy

RE: [flexcoders] HTTPService POST with request parameters

2006-12-05 Thread Jeff Vroom
Possibly the issue is due to the fact that you have both query string parameters and POST data parameters in the same request. I think that ATG used to have a bug where the query parameters are not returned by the getParameter method if the request has method=POST. They expose another method on

Re: [flexcoders] AMFPHP / databinding nested arrays

2006-12-05 Thread Patrick Mineault
Hmmm, why exactly are you sending nested arrays from amfphp? Why can't you just send a flat array? Patrick carkraus a écrit : Hi there, I guess this is a typical newbie question, maybe someone could kindly direct me to a tutorial or sample: I try to bind e.g. using a charts control to

Re: [flexcoders] Re: Cairngorm's Anaemic Domain Model

2006-12-05 Thread Ralf Bokelberg
Though Cairngorm doesn't prevent you from creating rich models, i think it fits better for this kind of crud application with a rather flat model. In fact the model is little more than a cache of serverside objects. User gesture, update cached objects, update view. If i was to implement a rich

Re: [flexcoders] is there a sample to update/delete records in a database server through webservice?

2006-12-05 Thread greg h
Steven, Could you let us know what you use on your back end? e.g. Java, ColdFusion, PHP, .NET, etc? And also what database you use? If we know what you use for backend logic we can better suggest samples that include update/delete logic. btw ... for ColdFusion, Flex Builder 2 includes

RE: [flexcoders] Flex 2: FDS Freezes Flash player before responders get called

2006-12-05 Thread Jeff Vroom
I'm not sure how large very large is but it is certainly possible to give the client too much work to cause this type of problem. The createItem call will end up serializing the object which makes a complete copy of it. If you have managed associations, there could be additional work as it has

RE: [flexcoders] Re: FLV Duration

2006-12-05 Thread Sönke Rohde
Hi, If it was not encoded with metadata why not inject that metadata with FLVTool2? If there is no metadata you will not be able to get the duration. Another possibility would be to use the print command of FLVTool2 to determine the duration instead of injecting it. Cheers, Sönke

  1   2   >