Re: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [Junk E-Mail - MED] Re: [flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Jeremy Lu
this is the snippet from my code library: package {     import mx.containers.HBox;     import mx.controls.CheckBox;         public class CheckBox2 extends HBox{                 public function CheckBox2(){             this.setStyle("horizontalAlign", "center");         }                 var

[flexcoders] Flex 2 - Image not showing up in component

2006-07-14 Thread slangeberg
I have an image that loads fine, when attaching it to main application (mxml):            var pic:Image = new Image();            pic.source = "assets/SG_ID_LoneTree.jpg";               addChild( pic ); However, it doesn't show up in my UIComponent class, which will currently display a colored C

[flexcoders] Re: Flex 2 - Image not showing up in component

2006-07-14 Thread slangeberg
Let me clarify, it appears that you can't attach images to UIcomponents!In this case, the canvas shows up ,but not the Image. And i know the Image attach works in a plain old Application tag function:    public class Carousel extends UIComponent     {         function Carousel() {            tra

RE: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [Junk E-Mail - MED] Re: [flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Shannon Hicks
That works perfectly! I'll let the code slide, since it's my first flex project :)   Thanks again! Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Anatole TartakovskySent: Friday, July 14, 2006 10:00 PMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW

Re: [Junk E-Mail - LOW] Re: [Junk E-Mail - MED] Re: [flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Anatole Tartakovsky
Shannon, Usually we have intermediary "UI Library" that solves most of such issues via extended set of props/styles (as you probably noticed with OnValue/offValue extensions on the sample). For brevity, I am just going to center it always - with code I am going to hate in the morning: package

RE: [Junk E-Mail - LOW] Re: [Junk E-Mail - MED] Re: [flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Shannon Hicks
Heh... so, I used your class that extends the CheckBox, and functionally it works great. Unfortunately, it's still not centered, and I'm still not sure how to accomplish it.   I did try to use an inline itemRenderer, and put a HBox around it (centered)... which centered the custom checkbox

[flexcoders] Re: ExternalInterface Bug.

2006-07-14 Thread sufibaba
Hi All, It seems that the External Interface only has problems in firefox. I am using the following work around: var strURL:String = "http://www.website.com var request:URLRequest = new URLRequest(strURL); try { navigateToURL(request); } catch (e:Error) {

[flexcoders] force-directed graph layout in flex/as3

2006-07-14 Thread phoberomys
There are a few java implementations of this that have been around for awhile ( http://prefuse.org/ , http://www.touchgraph.com/ ) but attempts at doing graph layout in as2 usually croaked when graphs reached any level of complexity. Is anybody building anything like this in as3? I am thinking ab

[flexcoders] Re: can I use older ver of CF with Flex 2

2006-07-14 Thread nigasak
Flex 2 works with AMFPHP, and since AMFPHP is based in AMF prevoius version, I think that you can do this with CF too . http://www.jessewarden.com/archives/2005/12/amfphp_10_works.html http://www.adobe.com/devnet/flex/articles/flex2_amfphp_print.html ...But, Why would you want to do this? --- I

[flexcoders] Re: Remote Developement Help

2006-07-14 Thread nigasak
Thanks, but I get this error on the Remote Call: Error: faultCode:Client.Error.MessageSend faultString:'Send failed' faultDetail:'Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 405 and shows this in cfusion-err.log: error loader constraints violated when linking javax/xml/na

[flexcoders] Re: considering a flex purchase

2006-07-14 Thread bristondavidge64086
Thanks for the replies. i'm out the door for the weekend but wanted to post a request for samples that don't have that component look to them. will reply again this weekend. Briston --- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote: > > 1. Nope. If you are in Atlan

[flexcoders] Re: Remote Developement Help

2006-07-14 Thread nigasak
Hi again, I solved the problem. Maybe this helps somebody, I had CF MX 7.0.1 installed over JDK 1.4.2_04 In a Windows 2000 Server box. Then I installed the 7.0.2 Updater over it. Then everything in CF worked OK,Flash Forms, Remoting, Reports, (Well reports didn't work exactly well) BUT Remoting d

Re: [flexcoders] need solution/best practice regarding VO's

2006-07-14 Thread Robert Wąs
... >On one hand: Class mappings won't work with VO's insite another VO. ... This works for me public class FaceVO implements ValueObject{ ...         public var printAreas:Array     } in component that binds  vo (FaceVO instance) for(var i:uint=0;i             var row:PrintAreaVO=PrintArea

[flexcoders] OT: average cost for an SDK?

2006-07-14 Thread Dan Thatcher
Ok, so this is an OT question, but I thought that the experienced participants in this group would be most likely to have some insight on this question.  What do SDK’s usually cost?  I would assume that it could be anywhere from free to really expensive.  I am mostly just interested in po

RE: [flexcoders] Tree AllowMultipleSelection Bug

2006-07-14 Thread Belinda Nambooze
AllowMultipleSelection was disabled to work around some Tree issues. It will be re-enabled in a later release. Thanks, Belinda -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sufibaba Sent: Thursday, July 13, 2006 4:27 PM To: flexcoders@yahoogro

Re: [Junk E-Mail - MED] Re: [flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Anatole Tartakovsky
Jason,   Well, I looked at your sample and it got me confused - I am sure Flex will be confused too. For one, on binding, you need to specify _expression_ that would convert selected into 1|0 like selected?1:0.   Here is what I suggest to do to figure out the problem. Compile you app with -keep-

[flexcoders] ExternalInterface Bug.

2006-07-14 Thread sufibaba
Dear Adobe Engineers, I have a button in a popup window within my Flex App. This button fires an ExternalInterface command which then fires a javascript alert box. After firing the alert box, the timer icon starts spinning and the App just hangs. All of this code was working fine in Beta3.

Re: [flexcoders] can I use older ver of CF with Flex 2

2006-07-14 Thread JesterXL
Nope. Structs come back as objects, and lists (or whatever you CF gals n' guyz call 'em) come back as Array's. Booleans come back ok, and SQL 2000 ints come back as 0 or 1's (as Strings I think). You'll have to write Factories to make your VO's. - Original Message - From: "João Ferna

Re: [flexcoders] Faces of Flex - ending the week with something fun

2006-07-14 Thread Rich Tretola
Man, we are a good looking community ;-) Rich On 7/14/06, Tariq Ahmed <[EMAIL PROTECTED]> wrote: > You see the names almost daily; from blog postings to emails in the > forums. I thought it would be fun to put some faces to these names. This > is only a small sampling of the many heros of the com

Re: [flexcoders] Faces of Flex - ending the week with something fun

2006-07-14 Thread Tariq Ahmed
Hook a brotha up yo! :) Tracy Spratt wrote: Tariq, that is so much fun!   I gotta get in there too!   Tracy   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tariq Ahmed Sent: Friday, July 14, 2006 6:46 PM To: flexcod

RE: [flexcoders] can I use older ver of CF with Flex 2

2006-07-14 Thread João Fernandes
Yes probably it will work but VO <> CFC translation won't work I guess. João Fernandes -Original Message- From: flexcoders@yahoogroups.com on behalf of JesterXL Sent: Sat 15-Jul-06 12:20 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] can I use older ver of CF with Flex 2 Ac

Re: [flexcoders] can I use older ver of CF with Flex 2

2006-07-14 Thread JesterXL
Actually, I'm sure you can do what you do with PHP, just set the encoding to AMF0.   - Original Message - From: Simeon Bateman To: flexcoders@yahoogroups.com Sent: Friday, July 14, 2006 6:49 PM Subject: Re: [flexcoders] can I use older ver of CF with Flex 2 I am pretty sure the a

Re: [flexcoders] can I use older ver of CF with Flex 2

2006-07-14 Thread Simeon Bateman
Without really thinking this through, you can of course still use webservices and such to connect with cf, but the AMF gateway between flex2 and cf requires the update.simeon On 7/14/06, Simeon Bateman <[EMAIL PROTECTED]> wrote: I am pretty sure the answer to this is no.  The new flex uses and u

RE: [flexcoders] Faces of Flex - ending the week with something fun

2006-07-14 Thread Tracy Spratt
Tariq, that is so much fun!   I gotta get in there too!   Tracy   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tariq Ahmed Sent: Friday, July 14, 2006 6:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Faces of Flex - ending the week wi

Re: [flexcoders] can I use older ver of CF with Flex 2

2006-07-14 Thread Tariq Ahmed
Hi Clint, I can't give a definitive answer. But back in the early early early days when for Flex 2 there was just going to be a CF-Flex Adapter, I tested to see if Flex 2 would work without any upgrades/patches - and for simple stuff it worked. Though no idea what issues you'll run into with

Re: [flexcoders] can I use older ver of CF with Flex 2

2006-07-14 Thread Simeon Bateman
I am pretty sure the answer to this is no.  The new flex uses and updated AMF that is only available in CF 7 with the mystic updator (7.0.2).  HTHsimeonOn 7/14/06, Clint Tredway <[EMAIL PROTECTED]> wrote:  can I use the old remoting gateway with Flex 2? If I c

[flexcoders] Faces of Flex - ending the week with something fun

2006-07-14 Thread Tariq Ahmed
You see the names almost daily; from blog postings to emails in the forums. I thought it would be fun to put some faces to these names. This is only a small sampling of the many heros of the community, many of the Adobe crew were on vacation so I got what I could and hope to add more 'brand nam

RE: [flexcoders] Re: FDS question

2006-07-14 Thread David Mendels
Hi, I don't think this is posted and Christophe is out on vacation for 2 weeks. This article by Jeff Vroom might be helpful, but not sure it hits exactly what you are looking for: http://www.adobe.com/devnet/flex/articles/architecting_rias.html http://www.adobe.com/devnet/flex/articles/architect

RE: [flexcoders] considering a flex purchase

2006-07-14 Thread Tracy Spratt
Here’s my opinion:   That is absolutely incorrect.  The only limit on appearance is the imagintion.  If a lot of apps look similar, it may be because they were created by developer-types who are more interested in creating usable functionality than in re-inventin

[flexcoders] Re: Spring Framework

2006-07-14 Thread Jesús Ramos
We have used this adapter sucessfully in a banking services project. http://carbonfive.sourceforge.net/springadapter/api/com/carbonfive/flas h/spring/package-summary.html#documentation Quite easy to use, and very powerful. HTH. J. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/gr

Re: [flexcoders] considering a flex purchase

2006-07-14 Thread JesterXL
1. Nope. If you are in Atlanta August 3rd, New York August 16th, or in Vegas October 23rd, I'll be showing how you can lay the funk using Flash & other design elements in Flex applications. You can skin a LOT of the components via CSS; some need code, but it's easier to do than it is in Flas

[flexcoders] Re: binding ViewStack.selectedChild to the data model

2006-07-14 Thread Doug Lowder
The docs say selectedChild can only be set in AS, not MXML. Maybe try something like: creationComplete="viewstack1.selectedChild = ModelLocator.getInstance ().selectedView" --- In flexcoders@yahoogroups.com, "jrjazzman23" <[EMAIL PROTECTED]> wrote: > > I think the binding is happening before

Re: [Junk E-Mail - MED] Re: [flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Pan Troglodytes
Anatole:You seem pretty knowledgable about Flex.  Can you find any problem with the casting approach I posted?  Seems like a bit less of a hassle than defining an external class. On 7/14/06, Anatole Tartakovsky <[EMAIL PROTECTED]> wrote: You can use this class

Re: [Junk E-Mail - MED] Re: [flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Pan Troglodytes
Woops, one small correction.  If you want to preserve your 0/1, do this:  public var value:uint; On 7/14/06, Pan Troglodytes <[EMAIL PROTECTED]> wrote: You may have figured out the reason by now, but if not it's because editorDataField=selected is making it look for the selected attribute on the

[flexcoders] considering a flex purchase

2006-07-14 Thread bristondavidge64086
Greetings, My company is considering switching to flex for our data intensive flash projects, however i have a few questions before i decide. 1. am i correct in assuming you can only apply a certain 'look'. all the sample apps ive checked out have the same component look to them. apparantly ju

Re: [Junk E-Mail - MED] Re: [flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Pan Troglodytes
You may have figured out the reason by now, but if not it's because editorDataField=selected is making it look for the selected attribute on the top level component.  Unfortunately, when I added a canvas to make the centering work, the canvas because the top level.  So it gets a little more comp

[flexcoders] binding ViewStack.selectedChild to the data model

2006-07-14 Thread jrjazzman23
I think the binding is happening before the viewstack children are initialized.. getting the following error when I run the prog: TypeError: Error #2007: Parameter child must be non-null. ModelLocator snippet --- public var selectedView : Container; mainapp.mxml snippe

[flexcoders] can I use older ver of CF with Flex 2

2006-07-14 Thread Clint Tredway
I have a project that I need to move to a CF server (shared hosting) and the server is 7.01... can I use the old remoting gateway with Flex 2? If I can, do I use it like I did in Flex 1.5?-- diabetic? http://www.diabetesforums.comAlbert Einstein - "It's not that I'm so smart, it's just that I s

Re: [flexcoders] File Upload

2006-07-14 Thread Ethan Miller
Thanks, that makes perfect sense, and has the added benefit of working =) cheers, ethan > > Sorry, a little explination is probably needed. > > The browse methods of FileReference and FileReferenceList are not > static. Therefore you must call them on an instance of one of > those two clas

Re: [flexcoders] need solution/best practice regarding VO's

2006-07-14 Thread Douglas Knudsen
On 7/14/06, Andrea Varga <[EMAIL PROTECTED]> wrote: > Hi All! > > I'm going to ask my question through an example. (I'm using Cairngorm, > but I think the problem is general) > Let's say I have a database with 2 tables: > > 1. user -> with fields: user_id, user_name, user_country_id (foreign > key

Re: [Junk E-Mail - MED] Re: [flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Anatole Tartakovsky
You can use this class as your item renderer   package com.theriabook.controls {    import mx.controls.CheckBox;    import mx.controls.dataGridClasses.DataGridListData;       public class CheckBox extends mx.controls.CheckBox    {    public var onValue:Object = 1;    public var o

[flexcoders] Re: RichTextEditor setFocus()?

2006-07-14 Thread Mike Britton
To save time, I ended up using a simple TextArea instead. I suspect I need to do a getChildAt() to access the TextArea, then use setFocus(). --- In flexcoders@yahoogroups.com, "Mike Britton" <[EMAIL PROTECTED]> wrote: > > I have a custom component containing a RichTextEditor. How do I set > cu

Re: [flexcoders] Mac equivalent of ActiveX

2006-07-14 Thread John Dowdell
FineLine wrote: > Hi, I have a question for the Mac experts. On Windows, I can embed a > component written in Flex into a host application using the Shockwave Flash > ActiveX object, and communicate with it using various method calls and > events. Is there any equivalent mechanism(s) on the Macinto

[flexcoders] Re: need solution/best practice regarding VO's

2006-07-14 Thread Tim Hoff
I agree with Tom's solution, but a labelFunction would be sufficient in this case. -TH --- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > On Friday 14 July 2006 06:55, Andrea Varga wrote: > > How should I approach this? > > You could have the Flex app retrive a lis

Re: [flexcoders] Re: ModelLocator - Cairngorm 2

2006-07-14 Thread JesterXL
If you're a purist, here's a couple of solutions: http://www.gskinner.com/blog/archives/2006/07/as3_singletons.html - Original Message - From: "jrjazzman23" <[EMAIL PROTECTED]> To: Sent: Friday, July 14, 2006 3:42 PM Subject: [flexcoders] Re: ModelLocator - Cairngorm 2 thanks for the r

[flexcoders] Re: ModelLocator - Cairngorm 2

2006-07-14 Thread jrjazzman23
thanks for the response. I think it solves the problem, however the pseudo-private constructor can only be enforced at runtime. --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: > > What about something like this? > > > > [Bindable] > public class ShopModelLocator implements Model

Re: [flexcoders] Dashboard Sample: problems

2006-07-14 Thread Paul Andrews
No problems here with the dashboard in ie or firefox with 9,0,16,0. Jesse's app gave me just a blue screen on firefox, but after a few refreshes on ie, no problems. Paul - Original Message - From: "JesterXL" <[EMAIL PROTECTED]> To: Sent: Friday, July 14, 2006 8:15 PM Subject: Re: [f

Re: [flexcoders] need solution/best practice regarding VO's

2006-07-14 Thread Andrea Varga
Thanks. This works, but is this the best way to do it? To have VO's reflecting the database tables? I can't come out with a better solution, but maybe there is. Andi Tom Chiverton wrote: >On Friday 14 July 2006 06:55, Andrea Varga wrote: > > >>How should I approach this? >> >> > >You co

RE: [Junk E-Mail - MED] Re: [flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Shannon Hicks
Pan-   I tried this, and the checkbox shows up properly checked/unchecked.   Now, I get this error when I change the state:   ReferenceError: Error #1069: Property selected not found on flexComponents.editMouse_inlineComponent1 and there is no default value.   Shan From: flexcoders@yahoo

[flexcoders] Re: Can anyone explain how to load a wsdl in flex 2.0 using Flex 2 Data Services

2006-07-14 Thread efeminella
Yes, I was able to resolve the problem as it was due to an error in the app. Thanks, Eric --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote: > > Did you read the online documentation for Flex Data Services 2? Did you > see these pages? > > > > http://livedocs.macrome

Re: [flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Pan Troglodytes
Flash knows how to convert 0/1 to Boolean, it just doesn't always know WHEN to do it.  To answer both your questions, here is a modified version of the help example: http://www.adobe.com/2006/mxml" height="700" width="700">                                   

RE: [flexcoders] File Upload

2006-07-14 Thread Danny Patterson
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ethan MillerSent: Friday, July 14, 2006 12:27 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] File Upload I'm trying to quickly demonstrate the ability to upload a file. Just need a button with a click ac

Re: [flexcoders] Re: Pass a parameter in the event function of an addEventListener?

2006-07-14 Thread Tim Scollick
If you'd need more than just the name, you can put any object into the button.data field and retrieve it as event.data in the listener function.TimOn 7/14/06, meathead <[EMAIL PROTECTED]> wrote: Thanks a bunch. This totally works. Boy, was I ever going down

[flexcoders] Spring Framework

2006-07-14 Thread javanatic23
Can I publish spring framework beans throught FDS? (like openamf) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the w

[flexcoders] Re: dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Tim Hoff
Hi Shannon, CheckBox.selected needs to be true or false.  Also, you can put the CheckBox itemRenderer in a container and center it with verticalAlign and horizontalAlign.  Here's a sample: http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=443  -TH --- In flexcoders@yahoog

Re: [flexcoders] Removing a drag item from a List

2006-07-14 Thread Pan Troglodytes
This isn't Flex 1.5, is it?  I got a ton problems trying to run your code.  I'm not sure how you're not running into more problems than you describe.  Maye this isn't the exact code but pseudo code?Anyway, here's what I did and it works fine.  It even keeps your ports sorted: http://www.adobe.c

[flexcoders] Re: Addressing buried children in XML with default namespace- an easier way?

2006-07-14 Thread ben.clinkinbeard
Not sure what I was doing wrong here but I've got this worked out and documented here: http://www.returnundefined.com/dealing-with-default-namespaces-in-flex-2as3 Hopefully someone will find it useful. Ben --- In flexcoders@yahoogroups.com, "ben.clinkinbeard" <[EMAIL PROTECTED]> wrote: > > That

Re: [flexcoders] bidirectional binding

2006-07-14 Thread Clint Modien
inline below...On 7/14/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote: Clint, you missing some curlies in there?  Where?  Another way is to use two binding tags That was the example I gave... ?  vo.name" /> vo.name}" destination=" nameTextInput.text " /> yet a

RE: [flexcoders] Can anyone explain how to load a wsdl in flex 2.0 using Flex 2 Data Services

2006-07-14 Thread Peter Farland
Did you read the online documentation for Flex Data Services 2? Did you see these pages?   http://livedocs.macromedia.com/flex/2/docs/1162.html http://livedocs.macromedia.com/flex/2/docs/1163.html http://livedocs.macromedia.com/flex/2/docs/1164.html       Fro

[flexcoders] Firing DataGridColumn's ItemRenderer methods.

2006-07-14 Thread sufibaba
Hello All, I have a datagrid that has 2 DataGridColumns. Each DataGridColumn has its own itemrenderer. I would like to fire a function that is inside of each of the DataGridColumn's itemRenderer. I have been successful with firing a function inside of an ItemRenderer for a Tree Control by using

Re: [flexcoders] ModelLocator - Cairngorm 2

2006-07-14 Thread Oscar . Cortes
What about something like this? [Bindable] public class ShopModelLocator implements ModelLocator { private static var modelLocator : ShopModelLocator; public static function getInstance() : ShopModelLocator { if ( modelLocator == null ) modelLocator = new ShopModelLocator(); return modelLocato

[flexcoders] ModelLocator - Cairngorm 2

2006-07-14 Thread jrjazzman23
I can't get the reference implementation to compile (pasted below). Seems to be missing a constructor. How should this be solved keeping in mind that private constructors aren't supported? [Bindable] public class ShopModelLocator implements ModelLocator { private static var mo

Re: [flexcoders] Dashboard Sample: problems

2006-07-14 Thread JesterXL
I have the exact same problem with 9.0.16.0 here with my app: http://dev.jessewarden.com/flex/webserviceexample/ 1st time works. Refresh. 2nd time, stops at 20%. Refresh. 3rd time, doesn't even show preloader. Same exact behavior in IE and Firefox. - Original Message - From: <[EMAI

[flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-14 Thread Shannon Hicks
I have a dataGrid where I'd like to use a checkbox drop-in renderer/editor. My query returns two columns: name [varchar(45)] and featured [smallint]. Featured returns either 1 or 0.   Now, in the dataGrid, my featured column looks like this:     First off... The checkbox doesn't show che

RE: [flexcoders] File Upload

2006-07-14 Thread Danny Patterson
Sorry, a little explination is probably needed.   The browse methods of FileReference and FileReferenceList are not static.  Therefore you must call them on an instance of one of those two classes.   var fileInstance:FileReference = new FileReference(); fileInstance.browse();   If it were

[flexcoders] Re: Pass a parameter in the event function of an addEventListener?

2006-07-14 Thread meathead
Thanks a bunch. This totally works. Boy, was I ever going down the wrong path. Here's my working code in case any other newbie comes accross this. CODE** // so far I've set up an array to return data from XML and am //looping thru adding buttons where needed. if(arrSection[i].

Re: [flexcoders] Re: deleting a node with e4x

2006-07-14 Thread Jeff Tapper
thanks! At 09:34 AM 7/14/2006, you wrote: >Use the delete operator. > >delete report.part[1].subpart[0].subsection[0]; > >--- In flexcoders@yahoogroups.com, >Jeff Tapper <[EMAIL PROTECTED]> wrote: > > > > does anyone know the syntax to remove a particular nod

RE: [flexcoders] Re: DataGridColumn "id" attrubute is gone??

2006-07-14 Thread Dimitrios Gianninas
Use my solution and but have another array that gets constructed programmatically based on the use selection and get assigned to the DataGrid. That's how I would do it.   Dimitrios Gianninas RIA Developer Optimal Payments Inc.   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

RE: [flexcoders] Re: Loading WSDL using Flex 2.0 Data Services

2006-07-14 Thread Peter Farland
It seems you’re using the proxy service through FDS but relying on the DefaultHTTP destination (since a destination was not specified). Have you setup the allowed URL patterns in the corresponding /WEB-INF/flex/proxy-config.xml file for the DefaultHTTP destination? Have you looked at th

[flexcoders] Re: File Upload

2006-07-14 Thread Geoffrey Williams
--- In flexcoders@yahoogroups.com, Ethan Miller <[EMAIL PROTECTED]> wrote: > > I'm trying to quickly demonstrate the ability to upload a file. Just > need a button with a click action that invokes a file browser in the > user's OS. > > Tried this: > > > > Per the docs, which gets a comp

RE: [flexcoders] Re: Spring Enable Flex

2006-07-14 Thread Allen Riddle
Because it can make it much easier when you have n number of different configurations, all using their own xml schema. For instance, XFire, Mule, and Flex DS all have their own config formats, however, XFire and Mule, are Spring enabled, so you can configure them with the dependencies using Spring,

[flexcoders] flex2 compc external-library-path inconsistency - bug or feature ?

2006-07-14 Thread jan_harmsen
Hi, this refers to released Flex2 SDK, build 143452 on OSX As it seems compc behaves inconsistent depending on where external-library-path is set: When adding an external library path via config file '-load-config+=myConfig.xml' like aslib/flexunit.swc the external-library-path set i

[flexcoders] Running DS project with Eclipse WTP

2006-07-14 Thread Allen Riddle
Does anybody know if it’s possible to run a DS project using the server project you can set up using the Eclipse Web Tools Platform?   Allen Riddle Sofware Development x3217   __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcoder

[flexcoders] RichTextEditor setFocus()?

2006-07-14 Thread Mike Britton
I have a custom component containing a RichTextEditor. How do I set cursor focus on its internal textarea? I've tried all the obvious things to no avail. Yahoo! Groups Sponsor ~--> See what's inside the new Yahoo! Groups email. http://us.click.y

[flexcoders] Can anyone explain how to load a wsdl in flex 2.0 using Flex 2 Data Services

2006-07-14 Thread efeminella
Can anyone explain how to load a wsdl in flex 2.0 using Flex 2 Data Services? How do I set up a proxy for the srvice, and do I need to set up anything else? Thanks, Eric -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://ww

[flexcoders] Removing a drag item from a List

2006-07-14 Thread boozabel
Hello, I'm trying to remove a drag item from a List. It get's inside the doDragComplete() function but does not remove any items: function doDragComplete(event) { var dragItems = event.dragSource.dataForFormat ("source").selectedIndicies; var counter = dragItems.length;

[flexcoders] Re: File Upload

2006-07-14 Thread Doug Lowder
The browse() method isn't static, so you'll need an object instance, i.e. click="new FileReferenceList().browse()". --- In flexcoders@yahoogroups.com, Ethan Miller <[EMAIL PROTECTED]> wrote: > > I'm trying to quickly demonstrate the ability to upload a file. Just > need a button with a click

RE: [Junk E-Mail - LOW] [flexcoders] File Upload

2006-07-14 Thread Oscar . Cortes
What it means is that in addition to importing the class, you need to instate the FileReference class. Something like ... var myFM:FileReference = new FileReference(); myFM.browse(new Array()); |-+-> | | | | | "Sh

Re: [flexcoders] bidirectional binding

2006-07-14 Thread Douglas Knudsen
Clint, you missing some curlies in there?  Another way is to use two binding tags vo.name" /> vo.name}" destination="nameTextInput.text " /> yet another is vo.name}" change="vo.name =nameTextInput.text" /> which is best?  you like swiss or cheddar?DKOn 7/14/06, Clint Modien <[EMAIL PROTECTED]> w

RE: [Junk E-Mail - LOW] [flexcoders] File Upload

2006-07-14 Thread Shannon Hicks
Did you:      import flash.net.FileReference; Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ethan MillerSent: Friday, July 14, 2006 12:27 PMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] File Upload I'm trying to quickly demonstr

[flexcoders] File Upload

2006-07-14 Thread Ethan Miller
I'm trying to quickly demonstrate the ability to upload a file. Just need a button with a click action that invokes a file browser in the user's OS. Tried this: Per the docs, which gets a compiler error of "undefined method with static type class... " Any sample code for this kickin

[flexcoders] Dashboard Sample: problems

2006-07-14 Thread davidsen_ryan
I was messing around with the dashboard sample on the adobe site http://www.adobe.com/devnet/flex/samples/dashboard/ And everything was going fine. Ever since upgrading FP9 to 9.0.16.0 though I can't get the application to successfully load. I redownloaded the source just in case I inadvertently

RE: [flexcoders] associative arrays and dataproviders

2006-07-14 Thread Tracy Spratt
Use a labelFunction.   Specify it on the DataGrid tag or on a columntag.   The specified function will receive a reference to the current Item object (and the column index, so one function can work for all columns).   Dot down to get the data out of the nested object, and return a

Re: [flexcoders] Re: DataGridColumn "id" attrubute is gone??

2006-07-14 Thread Uday M. Shankar
I am also facing a similar problem (atleast I think its similar :) ). I would like to provide my users with an option to hide/show columms. So, I provide a small popup with the column names with a scheckbox beside each. I was trying to make it work so that when the user unchecks a checkbox, t

[flexcoders] Re: How can I get an object instance ...

2006-07-14 Thread Doug Lowder
Try someObj["myIdValue"] for an object named someObj, or this["myIdValue"] for the current object. --- In flexcoders@yahoogroups.com, "chrislee943" <[EMAIL PROTECTED]> wrote: > > Hi all, > How can I get an object instance having Object id property value only > as it done in javascript function :

Re: [flexcoders] bidirectional binding

2006-07-14 Thread Clint Modien
It works like this...// --- myVO.as ---package {public class myVO {  public var name:String;  public var phone:String;}// -- SampleForm.mxml -              vo.name}" />          // - here's how to create two way binding vo.name" /> On 7/14/06, jrja

[flexcoders] ClassCastException on updateItem

2006-07-14 Thread mcantrell138
I'm trying out the data management service. I've developed a very simple example but I'm having a problem with the data types. When I change the data, my updateItem method is being called but I cannot cast them to their proper data types. I get the following error: [RPC Fault faultString="Could n

[flexcoders] Flex 2: Datagrid Autoscrolling

2006-07-14 Thread Colin Wiseley
Hi, is it possible to have a datagrid autoscroll down to a particular spot?  Basically, I have a datagrid.  When the data is refreshed I would like the datagrid to first store it’s current scroll position, refresh the data, and then scroll back to spot where it was previously.  Is this po

Re: [flexcoders] efficient way of doing custom formatting on datagrid column values

2006-07-14 Thread Pan Troglodytes
Upon further painstaking experimentation, it appears that ANY itemRenderer introduces a certain lagginess to scrolling.  Not unacceptable and probably wouldn't be noticed much with a smaller browser window than what I use in 1600x1200.  But it's there.  It doesn't matter if the renderer is just

[flexcoders] Re: Loading WSDL using Flex 2.0 Data Services

2006-07-14 Thread efeminella
Here is the mxml. I can not display the url to the wsdl however. Hope this helps: http://www.adobe.com/2006/mxml"; creationComplete="this.initBindingHandler()" layout="vertical" backgroundColor="#00" backgroundGradientColors="[#00, #00]"> http://?wsdl";

[flexcoders] bidirectional binding

2006-07-14 Thread jrjazzman23
I find myself wanting to do bidirectional binding, but I have the feeling there may be some drawbacks to this. I want a screen's controls to be initialized (bound to) a data model. As the user changes the controls' values, I want the data model to reflect this. In this case the data model is b

[flexcoders] Re: How to parse web services response doc containing namespace

2006-07-14 Thread Derek Adams
I have been successful in doing that by declaring the namespace as a local variable in ActionScript, then using it in the e4x query. For instance: private var aps:Namespace = new Namespace ("http://cadtel.com/APWebService";); model.currentOrderPaths = results.aps::Order.aps::RelatedPaths.aps::

Re: [flexcoders] DropShadow on an Image

2006-07-14 Thread JesterXL
Couldn't get it to work with CSS in a quick test with an external jpg. Inline Filters, however, do work. Check it: http://www.adobe.com/2006/mxml"; layout="absolute" xmlns:flash="flash.filters.*"> - Original Message - From: "Phil Marston" <[EMAIL PROTECTED]> To: Se

RE: [flexcoders] Scrollbar bug (with sample code)

2006-07-14 Thread Daniel Tuppeny
Is there a public bug tracker for Flex now? I want to find out of this is truly a bug (and I have to bodge it), or I'm just doing something silly. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel TuppenySent: 30 June 2006 14:55To: flexcoders@yahoogroups.com

[flexcoders] Re: Spring Enable Flex

2006-07-14 Thread Derek Adams
You can emulate a lot of what Spring provides without adding anything to Flex. For instance, you can use dependency injection by exposing a public variable on a class and using data binding to inject the object/value from MXML. I guess what I am getting at is that MXML pretty much becomes the S

[flexcoders] DropShadow on an Image

2006-07-14 Thread Phil Marston
Hi Has anyone come up with a tidy way of getting a drop shadow on an image? I've been mucking around wraping it in a canvas or a VBox/HBox, but nothing working nice yet. :-( Cheers, Phil -- __ Phil Marston Learning Technologist L

[flexcoders] Re: Loading WSDL using Flex 2.0 Data Services

2006-07-14 Thread efeminella
Hey Carson, I can load the wsdl locally and call methods on the wsdl successfully when not using the Flex 2 Data Services. But once I attempt to run the wsdl in a Flex 2.0 App using the Flex 2 Data Services I get the following security error when attempting to load or call a method on the wsdl: [

[flexcoders] FDS express error "unable to load SWC fds.swc"

2006-07-14 Thread Nirav Mehta
We are working on the flex2 with flex data service. We have downloaded the fds express but its not working for us. We tried the method suggested on some blogs to add fds.swc entry in flex2 builder's library path. This result in a error "unable to load SWC fds.swc: unknown element swc found in v

Re: [flexcoders] Re: Spring Enable Flex

2006-07-14 Thread Tom Chiverton
On Friday 14 July 2006 14:41, Allen Riddle wrote: > Spring enable the flex services configuration. So you wire up all of the > configuration (I'm assuming the configuration files are just wiring up > java objects) using Spring. This way, Spring can manage the FDS Err, you want to move from one XML

Re: [flexcoders] Re: Spring Enable Flex

2006-07-14 Thread hank williams
Actually, I very much doubt there is a clean mapping between spring configuration and FDS. There are things that are very FDS specific even for just remoting, which would most cleanly map to spring. And then there are other concepts that are totally different than what would have been considered

  1   2   >