[flexcoders] Re: Cairngorm Responder interface changes

2006-07-10 Thread Tim Hoff
Thanks Dimitrios, I like the more direct approach, but I don't think that this would be the most effective way to handle asynchronous events.   What I'm considering is extending the Responder all the way back to the View, through the FrontController.  They are, after all, where the CairngormEven

Re: [flexcoders] Re: Cairngorm Responder interface changes

2006-07-10 Thread Ralf Bokelberg
How about creating a new class SearchResults with all the different bindable state variables in it? This way you don't loose the advantage of pure mvc without the clutter. Cheers, Ralf. On 7/11/06, JesterXL <[EMAIL PROTECTED]> wrote: > Dude... do you know how many "results" we have in our app?

Re: [flexcoders] ColumnChart problem

2006-07-10 Thread Pan Troglodytes
I posted about this a while back.  Ely confirmed it as a bug and says he has a fix if you have the source code:http://www.mail-archive.com/flexcoders@yahoogroups.com/msg32135.html On 7/10/06, pasflex <[EMAIL PROTECTED]> wrote: I have a stacked column chart with

RE: [flexcoders] Did any prior Flex Store have Payment Services Example, or just Mock-Up?

2006-07-10 Thread Matt Chotin
No, we didn’t have any UPS stuff in the store example, checkout was in the Flex 1.5 store but we didn’t do it for this version.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Thompson Sent: Wednesday, July 05, 2006 6:32 PM T

Re: [flexcoders] newbie needs best practices in looping thru XML

2006-07-10 Thread Pan Troglodytes
I'm not exactly sure where you're running into the problem, as I don't use toArray.  But here's how I solved the whole one result/multiple results problems, translated to use your terms:  var a:Array;  if (httpservice.lastResult.CircSec.CircuitID is ArrayCollection)    a = httpservice.lastResul

RE: Re[2]: [flexcoders] Re: Flash player is not a debugger?

2006-07-10 Thread Matt Chotin
I haven’t played with plugin switcher, but the fix is for minor versions, not major versions.  We want to prevent 8.0.24 from becoming 8.0.23 for example.   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Andriy Panas Sent: Monday, July 03, 20

[flexcoders] Authentication - please help

2006-07-10 Thread Dmitry Miller
I need to implement an authentication mechanism that would store user metadata in some sort of session. I have read some stuff on custom authentication but the information I found is rather vague. Can anyone clue me in or point to a good article on 1. Custom authentication 2. Working with Flex ses

Re: [flexcoders] Re: Cairngorm Responder interface changes

2006-07-10 Thread JesterXL
Dude... do you know how many "results" we have in our app? I agree, this'll work for small Flash projects, but not for Enterprise Flex apps. You can't just start willy nilly throwing small state vars on ModelLocator for things like this; it'd get out of control, pretty quick. Granted, you can

Re: [flexcoders] Re: Simple Event Listener Examples between 2 classes

2006-07-10 Thread Jeremy Lu
well, you should not dispatch the event right in the constructor, nobody would be able to catch it (it's too fast). moderations as following: package com.test { import flash.display.Sprite; import flash.events.Event; import com.test.EventManager; imp

[flexcoders] Re: Simple Event Listener Examples between 2 classes

2006-07-10 Thread efeminella
AS --- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote: > > MXML or AS? > > - Original Message - > From: "efeminella" <[EMAIL PROTECTED]> > To: > Sent: Monday, July 10, 2006 9:37 PM > Subject: [flexcoders] Simple Event Listener Examples between 2 classes > > > Does

[flexcoders] Re: Simple Event Listener Examples between 2 classes

2006-07-10 Thread efeminella
Yeah, I have read the documentation for the new event model but I am having a few issues. Here is a simple example of what I am trying. Maybe you could give me some insight as to what I am doing wrong: package com.test { import flash.display.Sprite; import flash.events.Event;

RE: [flexcoders] Re: Cairngorm Responder interface changes

2006-07-10 Thread Dimitrios Gianninas
Good points, but I think that it can be handled in the following fashion. The SearchView is an MXML component and it has a property called results, so its declaration would look something like this: So once your results return, they will trigger the call to the setter method of the results p

Re: [flexcoders] Encryption functions in ActionScript 3

2006-07-10 Thread Jeremy Lu
I thought the source for that package are up there somewhere in the svn (on labs.adobe.com), try search for it or drop me a line I can send you a copy (may not be the latest one cause it was checked out months ago). Jeremy.On 7/11/06, NZEYIMANA Emery Fabrice <[EMAIL PROTECTED]> wrote:

RE: [flexcoders] Licensing question for charting components

2006-07-10 Thread Phil Costa
Hit send too soon.   the Eula is here: http://www.adobe.com/products/eulas/pdfs/AdobeFlexBuilder2_0-FlexCharting2_0.pdf   and the most relevant sections are 3.2 and 3.3 - Phil    From: Phil Costa Sent: Monday, July 10, 2006 11:12 PMTo: 'flexcoders@yahoogroups.com'Subject: RE: [flexcoders

RE: [flexcoders] Licensing question for charting components

2006-07-10 Thread Phil Costa
Hi,   The terms of the license explicitly address this scenario, both for a build server and a scenario where you're using the dynamic compiler in FDS. Every developers that is using the charting components should have a license to them, so if you're going to have five developers developing

Re: [flexcoders] Re: can you set a function to trigger when a variable changes?

2006-07-10 Thread hank williams
Wow, that Observe class is amazingly simple. I had found the changeWatcher class but was thinking it was kinda complex for what I wanted. Then you send me this. Outstanding!Hank On 7/10/06, Tim Hoff <[EMAIL PROTECTED]> wrote: Hi Hank, You can use the mx.binding.utils.ChangeWatcher class or Pa

Re: [flexcoders] Simple Event Listener Examples between 2 classes

2006-07-10 Thread Jeremy Lu
All your classes can extends flash.events.EventDispatcher then they can just fire a this.dispatchEvent(new MyEvent(aaa, bbb, ccc));other classes can use addEventListener("XMLParsed", someHandler) to handle the event. or you can take a look at how Cairngorm use Cairngorm Event dispatcher as a cet

Re: [flexcoders] Simple Event Listener Examples between 2 classes

2006-07-10 Thread JesterXL
MXML or AS? - Original Message - From: "efeminella" <[EMAIL PROTECTED]> To: Sent: Monday, July 10, 2006 9:37 PM Subject: [flexcoders] Simple Event Listener Examples between 2 classes Does anyone have any simple examples of how to dispatch and handle events between 2 classes. For exampl

Re: [flexcoders] can you set a function to trigger when a variable changes?

2006-07-10 Thread hank williams
My cup runeth over!On 7/10/06, JesterXL <[EMAIL PROTECTED]> wrote:   [Bindable] public var foo:String = "sup";   foo = "cheese";   public function get moo():String {     return __moo; }   public function set moo(val:String):void {     __moo = val;     runUpdateFunc(); }     A few way

Re: [flexcoders] can you set a function to trigger when a variable changes?

2006-07-10 Thread Jeremy Lu
try this:bar can be a setter (method) so you can do whatever you want inside it.On 7/11/06, hank williams <[EMAIL PROTECTED]> wrote: I have a variable, lets call it foo, that may change from time to time. When it changes I want certain of what one might call s

Re: [flexcoders] can you set a function to trigger when a variable changes?

2006-07-10 Thread Jeremy Lu
quick sample:=== AS code ===[Bindable]public var foo:String = "aaa";function set bar( o:Object ){    trace("bar run: ", foo);}==Jeremy.On 7/11/06, Jeremy Lu < [EMAIL PROTECTED]> wrote:try this: bar can be a setter (method) so you can do whatever you want inside it.On 7/11/06, hank

Re: [flexcoders] can you set a function to trigger when a variable changes?

2006-07-10 Thread JesterXL
  [Bindable] public var foo:String = "sup";   foo = "cheese";   public function get moo():String {     return __moo; }   public function set moo(val:String):void {     __moo = val;     runUpdateFunc(); }     A few ways.   - Original Message - From: hank williams To: flexcoders@yah

[flexcoders] Re: can you set a function to trigger when a variable changes?

2006-07-10 Thread Tim Hoff
Hi Hank, You can use the mx.binding.utils.ChangeWatcher class or Paul William's Observe Class to listen for a change. http://weblogs.macromedia.com/paulw/archives/2006/05/the_worlds_smal.cfm  -TH--- In flexcoders@yahoogroups.com, "hank williams" <[EMAIL PROTECTED]> wrote:>> I have a variable, le

Re: [flexcoders] Possible Flex Builder internal error

2006-07-10 Thread Clint Modien
Worked here as well...On 7/10/06, Clint Modien <[EMAIL PROTECTED]> wrote: I'll try the same and report back...On 7/10/06, Angus Johnson < [EMAIL PROTECTED]> wrote: I went back to Eclipse 3.1.2  M20060118-1600 and still had the same errors on build and debug. I

[flexcoders] can you set a function to trigger when a variable changes?

2006-07-10 Thread hank williams
I have a variable, lets call it foo, that may change from time to time. When it changes I want certain of what one might call subscribing objects to be notified that the variable has changed. This gives these objects the ability to update themselves or take necessary actions. I am thinking this

[flexcoders] Re: Is anyone having trouble contacting Adobe and/or purchasing Flex?

2006-07-10 Thread wayne_badu_johnson
Having trouble here in Australia. Can't access FLEX through Adobe website store. Adobe customer support weren't able to point me to a URL to purchase and the two local resellers supplied by Adobe customer support I left messages with, haven't called me back. Cheers Wayne --- In flexcoders@

[flexcoders] Simple Event Listener Examples between 2 classes

2006-07-10 Thread efeminella
Does anyone have any simple examples of how to dispatch and handle events between 2 classes. For example how can I have a class that loads and parses xml and then dispatch an event which another class handles and the event and displays the data. Sort of like we did in AS 2 with event.target... Tha

Re: [flexcoders] Re: Cairngorm Responder interface changes

2006-07-10 Thread JesterXL
...Tim gave better examples than I did. A lot of those small, GUI operations are what I'm talking about. - Original Message - From: "Tim Hoff" <[EMAIL PROTECTED]> To: Sent: Monday, July 10, 2006 8:00 PM Subject: [flexcoders] Re: Cairngorm Responder interface changes Hi Steven, Sorry

[flexcoders] Mac equivalent of ActiveX

2006-07-10 Thread FineLine
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 Macintosh?   Cheers

[flexcoders] Re: Accessing a datagrid inside a different viewstate

2006-07-10 Thread Tim Hoff
Very cool, Coding this will be a good learning experience. Thanks, Tim --- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote: > > No worries. > > At a high level: > - custom event classes. I extend Cairngorm event. My event has a > resultHandler & faultHandler protected pro

Re: [flexcoders] Re: WebService & Cairngorm 2 Example

2006-07-10 Thread JesterXL
I've debated with my boss about this 6 months ago when I was put into the middle of a project.  They had 3 Commands that did A LOT of stuff.  The typical setup was DB driven design.  Most people on the team come from strong CF backgrounds.  As such, the client architecture fits really well

[flexcoders] Encryption functions in ActionScript 3

2006-07-10 Thread NZEYIMANA Emery Fabrice
Hello Group,   I am looking for a way to generate SHA1 and MD5 strings in FLEX. On the page http://weblogs.macromedia.com/as_libraries/docs/corelib/com/adobe/crypto/package-detail.html they say that SHA1 and MD5 are defined in the package <<>>   I tried to import that package as     impo

Re: [flexcoders] Re: Accessing a datagrid inside a different viewstate

2006-07-10 Thread JesterXL
No worries. At a high level: - custom event classes. I extend Cairngorm event. My event has a resultHandler & faultHandler protected properties. These are the last 2 parameters in the constructor: p_result:Function, p_fault:Function Sometimes I utilize type as the first parameter, sometimes

[flexcoders] params passed during file upload

2006-07-10 Thread Clint Tredway
What scope in PHP are the params passed when you are uploading a file? I must be having a bad day... I cannot figure it out..var params:URLVariables = new URLVariables();    params.id = txtId.text; var request:URLRequest = new URLRequest("http://myser

Re: [flexcoders] Possible Flex Builder internal error

2006-07-10 Thread Clint Modien
I'll try the same and report back...On 7/10/06, Angus Johnson <[EMAIL PROTECTED]> wrote: I went back to Eclipse 3.1.2  M20060118-1600 and still had the same errors on build and debug. I realised that this was throwing errors on projects that I had started in Be

Re: [flexcoders] Possible Flex Builder internal error

2006-07-10 Thread Angus Johnson
I went back to Eclipse 3.1.2  M20060118-1600 and still had the same errors on build and debug. I realised that this was throwing errors on projects that I had started in Beta 3. By creating fresh projects in Builder Final and copying over only source files it seem to have fixed the problem. Well

Re: [flexcoders] [FLEX 2 Final] URLRequestMethod.POST produces compile time error

2006-07-10 Thread Hilary Bridel
Thanks Carson, that works now. Is this documented as a change between B3 and the final release somewhere? Hilary   --  On 7/10/06, Carson Hager <[EMAIL PROTECTED]> wrote: You likely need to add an import for flash.net.* to your code so the compiler can know what class you're referring to.  As

Re: [flexcoders] ColumnChart problem

2006-07-10 Thread Brendan Meutzner
I actually came across this yesterday as well... when i removed the effect, it ran fine...i just switched from stacked to a different type (overlaid i think) and the interpolate effect didn't cause issues anymore... BrendanOn 7/10/06, pasflex <[EMAIL PROTECTED]> wrote:

[flexcoders] ColumnChart problem

2006-07-10 Thread pasflex
I have a stacked column chart with the showDataEffect set to a SeriesInterpolate effect. The chart begins to render, the axes get drawn, and the application freezes with this error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.charts.char

[flexcoders] Re: Cairngorm Responder interface changes

2006-07-10 Thread Tim Hoff
Hi Steven, Sorry to offer my .02, but here is a use-case: A search view component includes a TextInput for the search string, a RadioButtonGroup that is used for the search type selection, and two DateFields used for a search date range. There is also a search button and a reset dates button.

RE: [flexcoders] newbie needs best practices in looping thru XML

2006-07-10 Thread Tracy Spratt
toArray() will not prevent you frm having multiple items.  It must be something else. Try: public function afterSend(event:ResultEvent):void I am surprised you don’t get a compiler error here.   And as I recall, you use “lastResult” only in binding expressions, and “result” in hand

RE: [flexcoders] swc too heavy

2006-07-10 Thread Roger Gonzalez
Your SWC is including all its dependencies - which includes most of the frameworks.   You can build a SWC that doesn't do this by using adding frameworks.swc to the external-library-path configuration option.   -rg From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Beh

[flexcoders] setting selectedIndices does not affect selectedItems on datagrid?

2006-07-10 Thread Brendan Meutzner
Hi,When I set selectedIndices programmatically on a datagrid, it results in the proper rows becoming selected/highlighted, but does not affect the selectedItems property of the datagrid.  Is this normal behaviour? Brendan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/g

[flexcoders] Re: How to change the selected row color in a Datagrid?

2006-07-10 Thread Doug Lowder
That code snippet looks like Flex 1.5, so you could use: --- In flexcoders@yahoogroups.com, "newtoflexworld" <[EMAIL PROTECTED]> wrote: > > I need to change the color of the selected row in a datagrid on click > of a button i.e. I need to highlight the already selected row in red. > On the cli

RE: [flexcoders] Is anyone having trouble contacting Adobe and/or purchasing Flex?

2006-07-10 Thread David Mendels
Hi,   Thanks for the info Brenden.   If you don't mind, could you contact me offlist with any details about what number you called and what problem you had?   Thanks,David From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brendan MeutznerSent: Monday, Jul

[flexcoders] Re: How to get all Data Contained in a DataGrid:: Flex 1.5

2006-07-10 Thread augie3333
Hi Jester, Sorry for the confusion. Actually the call that I use would be e.trace(). It's a debugger that my friend wrote that allows me trace out strings, objects, arrays, class properties and there methods etc. etc. Sorry for any confusion. I figured if I put trace() people would get the flash t

[flexcoders] HttpFlexSession has not been registered as a listener

2006-07-10 Thread m88e24
Flex version: 2 finalI'm receiving this message in the Flex server console:[Flex] [WARN] HttpFlexSession has not been registered as a listener in web.xml for this application so no events will be dispatched to FlexSessionAttributeListeners or FlexSessionBindingListeners. To correct this, registe

[flexcoders] Solution - Selecting ViewStack Container from a MenuEvent dynamically

2006-07-10 Thread supertodda
Hello, This is an example of how to select a ViewStack child continer from a menuEvent. This function is called in the itemClick event of the MenuBar and the MenuBar is populated with a dataProvider such as this: [Bindable] public var header_menu_array1:Array = [{label: "MenuItem A", children: [

[flexcoders] How to get all Data Contained in a DataGrid:: Flex 1.5

2006-07-10 Thread augie3333
Hi all, Is anyone aware of a way to get all data(viewable and non-viewable) contained in a Data Grid? I found a way to get all of the data that is viewable on the screen: for(var i:Number = 0; i < DataGridID.__dataProvider.length; i++){ trace(DataGridID.listContent.["listRow"+i].tfList.fCell1.tex

[flexcoders] mysql amfphp flex2 login

2006-07-10 Thread Impudent1
Just to save time reinventing the wheel here. Has anyone created a multiuser amfphp service link to flex? I just need a portable multiuser login setup that I can later connect to a backend admin to control users/groups etc. Since I am sure this is not exactly new territory, I thought I would s

RE: [flexcoders] mx:HTTPService - relative url's - relative to swf vs relative to html wrapper

2006-07-10 Thread Tracy Spratt
We are not helping with the problem yet.   I do not know of a way to change the way the url resolves.  Since the location of the swf presumably does not change, you could pass the necessary url into the Flex app using flashvars in the wrapper.  Then, in the Flex app, you could use the

RE: [flexcoders] Re: WebService & Cairngorm 2 Example

2006-07-10 Thread Steven Webster
I don't necessarily agree here with Jesse; for me, a Command is most useful when it's an implementation of a single use-case, and when it executes in context, and handles it's results in context.  If there is functionality that is shared between commands, then I'd either move that function

[flexcoders] TextArea inline emoticons

2006-07-10 Thread tomkrcha
Hi, I have heard, that inline emoticons are on WISH LIST of FLEX. I would like to implement emoticons into my chat. Does anybody know, when it will be possible? Or is it alredy possible now to put images inline (one by one) now? Thanks Tom Yahoo! Groups Sponso

Re: [flexcoders] DAO Best Practices

2006-07-10 Thread jeremiah johnson
To answer your first question, I'd say that you should leave any checking logic out of your DAOs. For clarity, a DAO is where you do your DB querying; it returns Transfer Objects (TOs) as results, and accepts TOs as input for narrowing searches. They usually represent an object that you want s

[flexcoders] newb Q: running cf wiz :8500

2006-07-10 Thread Paul Ihrig
ok. so i have flex builder running on eclipse 3.2 i have looked at a few examples. running cf 7.02 tried to use the cf wizard just to do a master/detail on the ows.mdb from the wack 7 book. basicaly when i go to run it on http://127.0.0.1:8500/orange/bin/orange.html server says: Firefox can't esta

RE: [flexcoders] mx:HTTPService - relative url's - relative to swf vs relative to html wrapper

2006-07-10 Thread Carson Hager
This message managed to beat my first reply. This will make more sense when the other one finally hits.     Carson  Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com Email:  [EMAIL PROTECTED]Office:  866-CYNERGYMobile: 1.703.489.646

RE: [flexcoders] Re: Cairngorm Responder interface changes

2006-07-10 Thread Steven Webster
jesse,   sorry if you've covered this already; but what do you mean by commands supporting callbacks, in terms of an example usage of where you'd do this ?  can we rewind to the use-case, so I can make sure I understand what you're trying to achieve here ?   best,   Steven  

[flexcoders] How to change the selected row color in a Datagrid?

2006-07-10 Thread newtoflexworld
I need to change the color of the selected row in a datagrid on click of a button i.e. I need to highlight the already selected row in red. On the click event of the button ,I am using myGrid.setPropertiesAt(i, {selectionColor:0xFF}); where "myGrid" is the datagrid object and "i" is the i

[flexcoders] Re: How to get all Data Contained in a DataGrid:: Flex 1.5

2006-07-10 Thread augie3333
Hi all, I solved my problem. Here is the solution for anyone who might run into this in the future. for(var i:Number = 0; i < DataGridID.__dataProvider.length; i++){ trace(DataGridID._dataProvider.getItemAt(i).attributes.label); } Thanks, -Augie Marcello --- In flexcoders@yahoogroups.com, "augie

[flexcoders] Cairngorm ServiceLocator DataService support

2006-07-10 Thread Reynaldo Bernal
I would like to know if there is a way in the current Cairngorm framework to support DataService binding instead of RemoteObject binding. I have modified the original version of the basic Flex Phone sample to use a DataService java class in the web server instead of using ColdFusion, and it seems

[flexcoders] newbie needs best practices in looping thru XML

2006-07-10 Thread meathead
Hi all and thanks in advance, I have a combo box that fires off an HTTPService based on results from selection. From this HTTPService, I want to make a new pane for each record returned in an accordion. I was returning correct answers for multiple records, but not for results that numbered in

Re: [flexcoders] Pivot Tables

2006-07-10 Thread slangeberg
You can perform column sorts automatically on a DataGrid component. What kind of additional functionality are you looking for?ScottOn 7/6/06, digitalnovanet <[EMAIL PROTECTED]> wrote: Anyone ever seen a flex or flash based Pivot Table? If not, anyone have an

[flexcoders] RIA docs - Any suggestions?

2006-07-10 Thread Dmitry Miller
I am looking for a good diagram tool to document RIA design. Also, I did not find any articles or information on what should be documented when Flex app is being designed. Any suggestions? Thanks, --- Dmitry Yahoo! Groups Sponsor ~--> See what'

Re: [flexcoders] Re: Exiting or transferring out of Flash Player

2006-07-10 Thread JesterXL
Don't know JSP, but assume you can do the same thing. Just use an HTTPRequest (or WebService or RemoteObject if that's yo' thang). // server http://www.someurl.com";); ?> // client - make HTTPRequest to that page - the result will have the url var theURL:String = event.result; mx.core.Applic

[flexcoders] Re: Accessing a datagrid inside a different viewstate

2006-07-10 Thread Tim Hoff
Yeah, sorry to infer that you weren't conforming to Cairngorm. Any chance you could show us how you are using the command callback? I was thinking about doing something like this with eventListeners/dispatchers, observe or changeWatcher, but a responder class would be perfect. Not really sur

[flexcoders] Authentication

2006-07-10 Thread Dmitry Miller
Does anyone know what would be the best practice for authentication of FDS? I am planning to store some stuff on the back-end, so some sort of session notion should exist. Any suggestions? Thanks, --- Dmitry -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/fle

[flexcoders] Re: Exiting or transferring out of Flash Player

2006-07-10 Thread Libby
That was it. Thank you. Is it possible to send this command from the server side, through the flash gateway, in order not to have the URL coded in the client? --- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote: > > mx.core.Application.getURL ( "serverURL", "_self"); > > ...I

Re: [flexcoders] How to get all Data Contained in a DataGrid:: Flex 1.5

2006-07-10 Thread JesterXL
trace ( dataGrid.dataProvider ); ??? - Original Message - From: "augie" <[EMAIL PROTECTED]> To: Sent: Monday, July 10, 2006 4:21 PM Subject: [flexcoders] How to get all Data Contained in a DataGrid:: Flex 1.5 Hi all, Is anyone aware of a way to get all data(viewable and non-viewab

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

2006-07-10 Thread ben.clinkinbeard
Sorry, I guess I wasn't clear in what I was looking for- I am trying to figure out how to address deeply buried nodes without having to go one level at a time. Something like the .. operator, but that is compatible with namespaced XML (.. doesn't seem to be). The Web Services I am calling return da

Re: [flexcoders] Re: Accessing a datagrid inside a different viewstate

2006-07-10 Thread JesterXL
Everytime I started to answer, you pretty much identified exactly my response in your following paragraph. For some View's, sure, just bind it to a ModelLocator, and you're good. Others are too nested, and need context, which forces you to move the logic higher up to prevent too much coupling.

Re: [flexcoders] Text input live formatting

2006-07-10 Thread JesterXL
You can't really apply it to the field they are typing to. You could, if you removed the Validator in this example, but it moves the cursor, and is just unusable. You're welcome to try. Here's a modified example from the help docs. http://www.adobe.com/2006/mxml"; layout="vertical">

[flexcoders] How to get all Data Contained in a DataGrid:: Flex 1.5

2006-07-10 Thread augie3333
Hi all, Is anyone aware of a way to get all data(viewable and non-viewable) contained in a Data Grid? I found a way to get all of the data that is viewable on the screen: for(var i:Number = 0; i < DataGridID.__dataProvider.length; i++){ trace(DataGridID.listContent.["listRow"+i].tfList.fCell1.tex

Re: [flexcoders] Is anyone having trouble contacting Adobe and/or purchasing Flex?

2006-07-10 Thread Brendan Meutzner
Yeah, CC purchase works just great... however... when we originally phoned in to complete the purchase through the sales department with a proper PO number and such, we weren't able to get through David, I wasn't the one phoning in, but I can find out more details if you'd like... Anyway, we

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

2006-07-10 Thread Geoffrey Williams
Here's a couple: // namespace constant public namespace default_ns = "http://fmr.com/BackOffice/PseSearch";; // init test public function init () : void { var xml : XML = http://fmr.com/BackOffice/PseSearch";> fa

[flexcoders] Licensing question for charting components

2006-07-10 Thread Lance Linder
 I haven’t seen this question asked before and I don’t see any information on the Flex web sites about this so I am hoping that someone here can answer my question.   I need to purchase Flex builder for 5 developers and they all need to use the Flex charting components to develop appl

[flexcoders] Re: Accessing a datagrid inside a different viewstate

2006-07-10 Thread Tim Hoff
Ok, after a little more thought. Yes, you had me at encapsulation. But, "the View's shouldn't know about ModelLocator..", :: scratches head ::, but Views should be bound to the ModelLocator for state? I can see the logic working for the small DataProvider question that started this thread.

[flexcoders] intermittent code hints

2006-07-10 Thread jrjazzman23
The scenario is an .mxml file that is the sole includer of an .as file. Using the FB2 plug-in, sometimes, we get code hinting in the .as file, other times not. When we do get code hinting, all the variables from the enclosing .mxml are available. One of our developers is not getting any code hin

RE: [Junk E-Mail - LOW] RE: [flexcoders] Flex Configuration

2006-07-10 Thread Shannon Hicks
The web root that *should* work for you is:   X:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\   Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bacardi BryantSent: Monday, July 10, 2006 12:54 PMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] RE:

Re: [flexcoders] Accessing a datagrid inside a different viewstate

2006-07-10 Thread Joe Stramel
Thanks, I think I've got it!   - Original Message - From: JesterXL To: flexcoders@yahoogroups.com Sent: Monday, July 10, 2006 2:42 PM Subject: Re: [flexcoders] Accessing a datagrid inside a different viewstate Assume the Delegate is using a RemoteObject

[flexcoders] Re: Exiting or transferring out of Flash Player

2006-07-10 Thread Doug Lowder
You could use getURL() to navigate to a different location. In fact, you don't even need a server-side page, jsp or otherwise. --- In flexcoders@yahoogroups.com, "Libby" <[EMAIL PROTECTED]> wrote: > > Flex 1.5 > I know this is heresy to you guys : ) but I was wondering if there is > a way

Re: [flexcoders] Exiting or transferring out of Flash Player

2006-07-10 Thread JesterXL
mx.core.Application.getURL ( "serverURL", "_self"); ...I think it's _self... not sure. Anyway, try that. - Original Message - From: "Libby" <[EMAIL PROTECTED]> To: Sent: Monday, July 10, 2006 3:42 PM Subject: [flexcoders] Exiting or transferring out of Flash Player Flex 1.5 I know th

[flexcoders] Text input live formatting

2006-07-10 Thread Tom Fitzpatrick
Is there a way to apply number formatting (e.g., thousands separator) to a text input while the user is typing the number? Thanks. - Tom Yahoo! Groups Sponsor ~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.

Re: [flexcoders] Loading an external swf screws up the layout (f2)

2006-07-10 Thread JesterXL
I've had the same problem and couldn't figure out a fix. The problem is you can't talk to non-Flash 9 SWF's via conventual methods, so maybe build an API that you can call via LocalConnection, or wait for the Loader to load, and beat the loaded content into submission; there are some methods yo

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

2006-07-10 Thread ben.clinkinbeard
The struggle against XML with a default namespace continues... Here is my xml: http://fmr.com/BackOffice/PseSearch";> false 9 Cool Client GARY BUSEY CORE

Re: [flexcoders] Custom Window Component - Is this possible?

2006-07-10 Thread JesterXL
2 things. First, you cannot put stuff in a Container based component that already has stuff in it via MXML. You can via ActionScript. So, write your EditorWindow in ActionScript, and you'll be fine. Second, make the default width and height of it 400 width, and 300 height, not 100%. Percenta

[flexcoders] Exiting or transferring out of Flash Player

2006-07-10 Thread Libby
Flex 1.5 I know this is heresy to you guys : ) but I was wondering if there is a way to shut down the currently running Flex app without closing the browser (preferred), or programatically closing the browser from within the Flex app? Currently I am trying to redirect to a jsp, and I get an except

[flexcoders] Loading an external swf screws up the layout (f2)

2006-07-10 Thread rigidcode
Anyone who tries to use the Loader class to load a large (in pixels) Flash 7/8 swf into a Flex app would probably run into this. But I couldn't find it in the archives... If you load an external Flash 8 swf into a Flex 2 app, with the Loader class, it will spill out of whatever container you put

RE: [Junk E-Mail - LOW] [flexcoders] Flex 2: Problem binding data to a wsdl operation

2006-07-10 Thread Shannon Hicks
You get that error when you bind something that is not an ArrayCollection.   Convert your data to an ArrayCollection, and Flex will be much happier :)   If it's really not possible to convert to an ArrayCollection, you can always bind in actionscript, usually via an eventhandler.   Shan

[flexcoders] Custom Window Component - Is this possible?

2006-07-10 Thread Sascha Balkau
I'm trying to create a custom component in Flex2 based on TitleWindow that should be the base for a couple of windows that all have more or less different controls but also have several parts in common like an 'Ok' and a 'Cancel' Button that are at the bottom of every window. I've created a compon

[flexcoders] mx:Tree: itemRollOver unable to access node data

2006-07-10 Thread georgeriley
I've been pulling my hair out for the last couple of hours on what appears to be a bug with mx:Tree. I'd like to be able to show the "data" associated with a node on mouse rollover. The handler for the "itemRollOver" event can access the data like this: private function onTreeRollOver(event:

[flexcoders] flex2 beta3 Tilelist effect

2006-07-10 Thread Meenakshi_Makker
Hi, I want to add a move effect in a Tilelist when a child is added. I have a custom itemrenderer in Tilelist. Want to know the triggering event, addedeffect is not working??? neither in tilelist nor in row item when added there. Please help with an example.                 width="440"      

RE: [flexcoders] Using WebServers in Flex 2.0

2006-07-10 Thread Carson Hager
If your deployed application will sit on a different host from the web service implementations, the web services host will have to have a crossdomain.xml file allowing access from the host your app is downloaded from.  You can open it up to the world with * as well if you're not concerned

Re: [flexcoders] Using WebServers in Flex 2.0

2006-07-10 Thread JesterXL
How did you get around this issue in Flex 1.5? Flex 1.5's server had built-in proxying. Are you using this in Flex 2? If not: - utilize a proxy script. Usually just 1 line of code in PHP or even ASP for example. This server-side script resides on the same domain the SWF is on, and you call

RE: [flexcoders] Flex Configuration

2006-07-10 Thread Bacardi Bryant
Thanks Shan for the reply, but we are running a multi-server configuration. Do you know where the files would have been installed in that instance. Because I did a search and found flex-config.xml (flex-enterprise-services.xml was not found at all) in   X:\JRun4\servers\cfusion\cfusion

RE: [flexcoders] Flex 2: Problem binding data to a wsdl operation

2006-07-10 Thread Carson Hager
Did you declare bindingHandler as [Bindable]?   [Bindable] var bindingHandler:BindingHandler = new BindingHandler();   Carson  Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com Email:  [EMAIL PROTECTED]Office:  866-CYNERGYMobile: 1

Re: [flexcoders] Flex 2: Problem binding data to a wsdl operation

2006-07-10 Thread JesterXL
Put [Bindable] Above it if it's a property. If it's a class, put that above the class definition (not the package, the class). - Original Message - From: "efeminella" <[EMAIL PROTECTED]> To: Sent: Monday, July 10, 2006 1:48 PM Subject: [flexcoders] Flex 2: Problem binding data to a w

[flexcoders] Flex 2: Problem binding data to a wsdl operation

2006-07-10 Thread efeminella
I am trying to bind a class property to a wsdl opertion parameter but recieve the following warning: Data binding will not be able to detect assignments to "bindingHandler". - whereas "bindingHandler" is an instance of a custom class "BindingHandler" which I am callling a getter method on

[flexcoders] Using WebServers in Flex 2.0

2006-07-10 Thread efeminella
I am building an application in Flex 2.0 which requires loading a wsdl and calling methods on the wsdl. I have been doing this in Flex 1.5 for along time as well. When running locally the wsdl loads and I am able to call methods successfully but once deployed to a webserver outside of the domain o

Re: [flexcoders] Accessing a datagrid inside a different viewstate

2006-07-10 Thread JesterXL
Assume the Delegate is using a RemoteObject instead of a WebService, and it's exactly the same.  You'll notice that the View binds to the ModelLocator, and the Commands update it.   http://www.jessewarden.com/archives/2006/07/flex_2_webservice.html   - Original Message - From: Joe S

[flexcoders] About Integrating flex DS 2 with Flex builder 2 beta 3

2006-07-10 Thread Mr.Unlimited
Hi.. Im new to flex. could u ppl help me in integrating flex ds with the builder.?? M using Flex 2 beta 3 and FDS2.. in a standalone environment.. all i need is to get data from oracle database trhru java objects Please Help   Thanks and regards.. kris!! Yahoo! Messenger with Vo

  1   2   >