[flexcoders] Event.EXITING and Event.CLOSING

2011-12-10 Thread Derrick Anderson
I am using the Flex 4.6 SDK setup in Eclipse and I cannot use either of these 2 constants. Does anyone here know what I need to do to make these work? Error: Access of possibly undefined property EXITING through a reference with static type Class.

[flexcoders] air html component, simulate LocationChangeEvent.LOCATION_CHANGING

2011-09-11 Thread Derrick Anderson
The docs state that this event is dispatched before the location of an html component changes. I know that it only actually works on the StageWebView component for android. How can I achieve the same effect? I want to intercept and approve and possibly cancel any location change before the

[flexcoders] flex 3.5 air 2.7.1 - need LocationChangeEvent to work

2011-09-04 Thread Derrick Anderson
Can anybody see what I'm doing wrong here? I want to intercept a location change on an HTML component, the LOCATION_CHANGING event never seems to fire. //These are custom versions of HTMLLoader and HTMLHost classes [Bindable] public var l:BrowserLoader = new BrowserLoader(); [Bindable] public

[flexcoders] air html control, get selection source

2010-04-26 Thread Derrick Anderson
Hi, Does anyone know of a way to get the source of a selection when using the AIR html control, similar to how you can do it in firefox? thanks derrick

[flexcoders] removing event listeners for safe module reloading

2009-12-14 Thread Derrick Anderson
Hi, I'm having what seems to be an all too common problem with modules. I have split my app into 3 separate modules, and listeners created in 1 instance of a module get duplicated the second time a module loads. Events defined in mxml are a big problem mx:ButtonBar id=listButtons

Re: [flexcoders] flexbuilder 3 won't compile modules

2009-11-16 Thread Derrick Anderson
Adobe Systems Inc. http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Derrick Anderson *Sent:* Friday, November 13, 2009 4:23 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] flexbuilder

[flexcoders] flexbuilder 3 won't compile modules

2009-11-13 Thread Derrick Anderson
hello everyone, i have a large flex app that i have recently split into modules. All of a sudden today, the modules won't compile when I build the project- the only ways to get them to build are to do a 'clean/recompile' or export a release build. either of those options forces them to compile,

[flexcoders] setRemoteCredentials timeout?

2009-07-10 Thread Derrick Anderson
Hi, when you setRemoteCredentials on a RemoteObject- is there a timeout for that? I do not use sessions with my back-end, i pass credentials with every request- but it seems after a certain period of time the RemoteObject stops sending those credentials. Is there any way to get around that?

[flexcoders] nested viewstack problem

2009-02-22 Thread Derrick Anderson
hi, my app is primarily made up of 2 nested viewstacks and I want to be able to navigate to a child of the inner viewstack from the main application file. I know about the creationPolicy which right now I have set to 'all' to be able to do this- but my app is getting too big for that, it's about

Re: [flexcoders] [Req] What do you (love|hate|wish for) about (mx.*|Cairngorm|PureMVC|Mate|Prana|BlazeDS)?

2009-02-22 Thread Derrick Anderson
I gotta put in another good word for Mate, best framework I've used so far. d. On Sun, Feb 22, 2009 at 4:10 AM, Josh McDonald j...@joshmcdonald.infowrote: Just want to thank everybody for their feedback and posts! -Josh On Tue, Feb 17, 2009 at 11:30 PM, alberto.acevedo

Re: [flexcoders] Re: sending vo to CF from Flex throws error

2009-01-02 Thread Derrick Anderson
and CF8? It looks like the type on the Flex end is DecisionFileVO and the type on the CF8 end is DecisionBlockVO. HTH Steve --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Derrick Anderson no.way.this.is.in@... wrote: I have a flex 3 app talking to CF8 over

Re: [flexcoders] sending vo to CF from Flex throws error

2009-01-02 Thread Derrick Anderson
: Derrick Anderson wrote: the error is: Could not find the ColdFusion Component or Interface API.winn.portal.1_0.callingApplication.vo.DecisionFileVO. Ensure that the name is correct and that the component or interface exists. It definitely exists, but it always throws this error- any

[flexcoders] sending vo to CF from Flex throws error

2009-01-01 Thread Derrick Anderson
I have a flex 3 app talking to CF8 over RemoteObject calling CFC's. Whenever I send a VO as an argument to a cfc function CF throws an error saying it can't find the VO as a datatype, here is an example- cffunction name=deleteBlock displayname=Delete Block access=remote output=false

Re: [flexcoders] Rich text editor customization

2008-12-18 Thread Derrick Anderson
the RTE is a Panel w/ TextArea written in MXML, so open up the source and see how it functions. Specifically, the setTextStyles and getTextStyles functions- I have not customized it for images, but Image is a supported tag in the htmlText property. d. On Wed, Dec 17, 2008 at 11:35 PM, Mayank

Re: [flexcoders] Re: fp10, fb 3, and profiling

2008-11-26 Thread Derrick Anderson
this message too after upgrading to Flash 10. Usually trying to launch the application a couple of times or switching to another browser to profile in fixes it. Jamie On Tue, Nov 25, 2008 at 6:29 AM, Derrick Anderson [EMAIL PROTECTED] no.way.this.is.in.use%40gmail.com wrote: The error I get

Re: [flexcoders] Re: richtexteditor focusOut event

2008-11-26 Thread Derrick Anderson
: rte.textArea.addEventListener(FocusEvent.FOCUS_OUT, onFocusOut); function onFocusOut(event:FocusEvent):void { * // add code here* } Hope this helps! -Nathan D. --- In flexcoders@yahoogroups.com, Derrick Anderson [EMAIL PROTECTED] wrote: Hi, so I noticed that the RTE does not have a focusOut event

Re: [flexcoders] Re: supertabnavigator component and reordering tabs

2008-11-25 Thread Derrick Anderson
%40yahoogroups.com, Derrick Anderson [EMAIL PROTECTED] wrote: Hi, I understand that is when it 'should' be dispatched, but my problem is that I have a listener function that is never getting called when I reorder the tabs. I'm listening for the event like

[flexcoders] fp10, fb 3, and profiling

2008-11-25 Thread Derrick Anderson
Hi, I recently upgraded to flash player 10 and I got the most recent FB updater- and now I notice that I cannot profile anymore. The console gives me a socket error. Does FP10 not work with profiler? thanks, d.

[flexcoders] Re: fp10, fb 3, and profiling

2008-11-25 Thread Derrick Anderson
The error I get is Profiling can only be performed on the debug version of an application. I have flashplayer 10r12_36 debug version installed. thanks, d. On Tue, Nov 25, 2008 at 9:25 AM, Derrick Anderson [EMAIL PROTECTED] wrote: Hi, I recently upgraded to flash player 10 and I got the most

Re: [flexcoders] How to set reference to parent?

2008-11-25 Thread Derrick Anderson
i think it's parentDocument, any time i've ever had to use it I've opted to use events however. d. On Tue, Nov 25, 2008 at 10:35 AM, markflex2007 [EMAIL PROTECTED]wrote: Hi, I added a component to a container like this: container1.addChild(component1); now I want to change the property

[flexcoders] richtexteditor focusOut event

2008-11-25 Thread Derrick Anderson
Hi, so I noticed that the RTE does not have a focusOut event that it dispatches. I want to dispatch an event whenever somebody blurs the RTE the same way I can with the focusOut event on regular text fields. Is this possible? I have tried the 'change' event and 'valueCommit', but both of these

Re: [flexcoders] login system with flex and coldfusion

2008-11-24 Thread Derrick Anderson
here is one http://www.brucephillips.name/blog/index.cfm/2007/3/16/Developing-A-Login-System-For-A-Flex-Application-With-A-ColdFusion-and-Database-Backend-Part-1 d. On Mon, Nov 24, 2008 at 8:02 AM, stinasius [EMAIL PROTECTED] wrote: hey guys i really need help on this, i would like a simple

Re: [flexcoders] Flex frameset simulator: does this exist or did I dream it?

2008-11-24 Thread Derrick Anderson
Are you talking about mx:HDividedBox? d. On Mon, Nov 24, 2008 at 12:06 PM, Ryan [EMAIL PROTECTED] wrote: I feel like I have seen this type of functionality before, but may have imagined it: I need to create Flex app with two components which, together, take up 100% of the page. One is on

Re: [flexcoders] Re: supertabnavigator component and reordering tabs

2008-11-24 Thread Derrick Anderson
. On Mon, Nov 24, 2008 at 2:46 PM, valdhor [EMAIL PROTECTED] wrote: From looking at the code and the example, this event is fired when you drag and drop a tab from one position to another. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Derrick Anderson [EMAIL PROTECTED] wrote

[flexcoders] supertabnavigator component and reordering tabs

2008-11-23 Thread Derrick Anderson
Hi, Does anyone familiar with the SuperTabNavigator in FlexLib know how to capture the tab reorder event? I looked in the code and I see that it dispatches the event TabReorderEvent, but when I listen for that event like so: surveyPages.addEventListener(SuperTabBar.TABS_REORDERED,

[flexcoders] nested containers, forcing inner contents to scroll

2008-11-20 Thread Derrick Anderson
hi everyone, i have a few parts of my app where there are composite components that create their own children, when i use an accordion for example (but it happens in many places), and create the children with script- the container holding the accordion scrolls, not the accordion children

Re: [flexcoders] nested containers, forcing inner contents to scroll

2008-11-20 Thread Derrick Anderson
Of *Derrick Anderson *Sent:* Thursday, November 20, 2008 11:49 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] nested containers, forcing inner contents to scroll hi everyone, i have a few parts of my app where there are composite components that create their own children, when i

Re: [flexcoders] Re: adding (none) option to comboboxes

2008-11-05 Thread Derrick Anderson
copy function, to make a deep copy of the collection; to be used for the ComboBox with none added. -TH --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.commailto: flexcoders%40yahoogroups.com flexcoders%2540yahoogroups.com, Derrick Anderson no.way.this.is.in.use@ wrote

[flexcoders] adding (none) option to comboboxes

2008-11-03 Thread Derrick Anderson
(segmentsChanged)); } the problem is that same segmentList arraycollection is used in the place I manage segments, and it puts a (none) option in there and it doesn't make sense there. thanks, derrick anderson

[flexcoders] Re: adding (none) option to comboboxes

2008-11-03 Thread Derrick Anderson
nevermind, i discovered the 'prompt' property :) On Mon, Nov 3, 2008 at 3:04 PM, Derrick Anderson [EMAIL PROTECTED] wrote: hi, i know this is probably a simple question- but what's the best way of adding a (none) label to a combobox. i have a setter for the dataprovider where I add

Re: [flexcoders] flex ui customization

2008-10-04 Thread Derrick Anderson
www.scalenine.com On Sat, Oct 4, 2008 at 5:58 AM, stinasius [EMAIL PROTECTED] wrote: hi guys i am a developer(flex/cf) but my ui skill suck alot. i find my self spending alot of time trying to come up with a good looking ui. any resources on flex ui design (minus adobe.com) that a really

Re: [flexcoders] What would be the equivalent asp.net script of this PHP one (to upload a file)

2008-09-30 Thread Derrick Anderson
do u know where u posted this? On Tue, Sep 30, 2008 at 1:16 PM, gilbert_mizrahi [EMAIL PROTECTED] wrote: I have been playing around uploading files from Flex/AIR to php with this script: ?php $tempFile = $_FILES['Filedata']['tmp_name']; $fileName = $_FILES['Filedata']['name'];

Re: [flexcoders] inline script ignored if source is specified.

2008-09-23 Thread Derrick Anderson
i dont get it, why don't you use 2 mx:script tags? d. On Tue, Sep 23, 2008 at 7:38 AM, Tapan Ghia [EMAIL PROTECTED] wrote: Hey.. In a mxml file some part of my action script lies in the mx:Script tag. i also want to place some of my action script in a .as file which i am trying to specify

Re: [flexcoders] Data flow visualization

2008-09-20 Thread Derrick Anderson
maybe this would be helpful http://lab.kapit.fr/display/diagrammer/Diagrammer d. 2008/9/20 Janis Radins [EMAIL PROTECTED] Hey people! I'm currently trying to think of some way how to solve task brought up by my new project. In that project I have to display data flow between

[flexcoders] form libraries

2008-09-09 Thread Derrick Anderson
does anyone know of any good forms libraries out there? i would like one that has something like Ely's IPE controls as well as allow a more flexible layout. i'll try to build it myself but figured i'd ask before re-inventing something. thanks, d.

Re: [flexcoders] foreign keys in value objects

2008-09-05 Thread Derrick Anderson
in your server code. Just make your SQL return the all the (flat) data properly and while interating over it create both the Employee instance and the Department instance. DK On Tue, Sep 2, 2008 at 2:23 PM, Derrick Anderson [EMAIL PROTECTED] wrote: well it has a department ID, not another

[flexcoders] foreign keys in value objects

2008-09-02 Thread Derrick Anderson
Hi, I've been going thru my app now that I know the magic of VO's and converting most things to value objects- loading my VO's into datagrids, forms, all is great. I do have 1 question though, let's say I have a 'employee' value object that has the property 'departmentID'. Is it common practice

Re: [flexcoders] How to Blink Browser tab?

2008-09-02 Thread Derrick Anderson
you are talking about the taskbar window right? if you want to make that blink like when a prog needs your attention, I'm afraid I don't think you can do that. I'm not 100% sure, but I think the only way you can do that is by throwing up a javascript alert or something when new messages come in

Re: [flexcoders] foreign keys in value objects

2008-09-02 Thread Derrick Anderson
need your VO to be flat for say easy DG only use or some such. DK On Tue, Sep 2, 2008 at 5:01 AM, Derrick Anderson [EMAIL PROTECTED] wrote: Hi, I've been going thru my app now that I know the magic of VO's and converting most things to value objects- loading my VO's into datagrids

Re: [flexcoders] Using view stack to link to mxml

2008-09-02 Thread Derrick Anderson
I agree with Nate and Tracy, that doesn't sound like a good use for modules. Everything you mention can be done very easily in 1 swf. Consider your 'pages' as 'views' instead, I know this sounds nitpicky but the sooner I got away from the 'page refresh' mentality the sooner the rest made sense.

Re: [flexcoders] How to upgrade Flex 3 to 3.0.1?

2008-08-19 Thread Derrick Anderson
i ran the update and it's working perfectly (so far :) ) d. On Tue, Aug 19, 2008 at 12:15 PM, Matt Chotin [EMAIL PROTECTED] wrote: There were some bugs on the Windows version of auto-update but we think we cleared the Akamai caches and things should work now. Matt On 8/19/08 8:32 AM,

[flexcoders] how to: custom composite components and dataproviders?

2008-08-15 Thread Derrick Anderson
hi, i am building a logic editor of sorts and I imagine it will be comprised of a bunch of custom composite components. I want to be able to use a large arrayCollection of VO's as the dataprovider for 1 composite component, and let nesting handle creating the children (pass children objects to

[flexcoders] permission based ui

2008-07-30 Thread Derrick Anderson
handle permissions in mxml layout? i have many examples of this, form sections that are permission based and such, I don't know the best way to handle it. thanks, derrick anderson

[flexcoders] what happened to asfusion.com?

2008-07-23 Thread Derrick Anderson
hi everyone, for weeks i've not been able to get to this site and I have started to use the mate framework for one of my projects. the framework is very well documented, but everytime i try to get to the docs, the site is down. does anybody reading this have a downloaded copy of the docs and or

Re: [flexcoders] Who is using FlexReport?

2008-07-16 Thread Derrick Anderson
amen brother, to be honest I like FlexReport- but it's not ready for an enterprise app. it's a good starting point, but I really need something much more robust. i'm in the same boat, would love to provide all the great reportability and UI that has been touted but more and more i see people

Re: [flexcoders] Re: Where can I find the source for the Rich Text Editor?

2008-07-16 Thread Derrick Anderson
i just type out mx:RichTextEditor into a file in flexbuilder, hold control key and click on that tag- it opens up the source for you. d. On Wed, Jul 16, 2008 at 2:45 PM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tracy Spratt [EMAIL

[flexcoders] anybody have mate docs?

2008-06-19 Thread Derrick Anderson
hi, the asfusion.com site seems to be down now and i think has been since yesterday. i just started using this framework for a project and i need to get at the docs- does anybody here know what's up with that site, or have the mate docs on hand? i'm really in a bind without them. thanks, d.

[flexcoders] anybody have mate docs?

2008-06-19 Thread Derrick Anderson
hi, the asfusion.com site seems to be down now and i think has been since yesterday. i just started using this framework for a project and i need to get at the docs- does anybody here know what's up with that site, or have the mate docs on hand? i'm really in a bind without them. thanks, d.

[flexcoders] flex+coldfusion8 w/blazeDS integrated --docs?

2008-06-19 Thread Derrick Anderson
i can't find any documentation that shows how to setup applications for BlazeDS when BlazeDS is integrated with CF8... Everything always assumes I have the turnkey installed. On my development box, I'm trying to create a Flex project that uses BlazeDS but have no idea what to put for the

[flexcoders] can someone help with blazeds integrated with CF8? all i get are JRun errors.

2008-06-19 Thread Derrick Anderson
Hi, I have followed the instructions on adobe labs for integrating blazeds with CF8 to the letter and restarted everything, /flex2gateway still works so i'm trying to run Chris Coenraets example collaberation mortgage app to make sure everything is working right-

[flexcoders] working with forms in flex

2008-06-17 Thread Derrick Anderson
hi everyone, what do you guys use for advanced form controls? basically, I need my forms to have a view/edit functionality that I control with permissions- so I was looking into Ely's IPE controls, but i cant get them to work with flex 3. also, in most of the popular JS libraries- there is some

Re: [flexcoders] Flex builder compiler line

2008-06-16 Thread Derrick Anderson
the compiler comes with the SDK, you would not send that argument to the compiler, that's what tells FB what compiler to use. pretty sure anyways. On Mon, Jun 16, 2008 at 10:22 AM, jamalwally [EMAIL PROTECTED] wrote: Is there a way to see the compiler command that Flex builder 3 uses? For

Re: [flexcoders] how do you guys manage your CFC's?

2008-06-13 Thread Derrick Anderson
: Derrick Anderson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, June 12, 2008 10:40:02 AM Subject: [flexcoders] how do you guys manage your CFC's? hi, currently, i have a coldfusion backend and I put my CFC's in the bin folder of the project as it seems natural and I can

[flexcoders] how do you guys manage your CFC's?

2008-06-12 Thread Derrick Anderson
hi, currently, i have a coldfusion backend and I put my CFC's in the bin folder of the project as it seems natural and I can call them with their path from BIN and not have to setup a CF mapping to those CFC's. however, everytime I edit a CFC- FB prompts me because it thinks it is a derived

[flexcoders] not sure why COLLECTION_CHANGE listener is not firing.

2008-06-11 Thread Derrick Anderson
Hi, I'm using the Guasax framework in my application- and in my model I am adding a collection change event listener, but it is never getting fired- here is my code (is there something with adding event listeners in a constructor maybe??) *EmployeesModel.as* package com.winn.model { import

Re: [flexcoders] not sure why COLLECTION_CHANGE listener is not firing.

2008-06-11 Thread Derrick Anderson
to the original collection looks like. When you receive your data, try using removeAll(), addItem() or ICollectionView. OR set the 'source' property on the collection you added the listener to. Mike On Wed, Jun 11, 2008 at 9:56 AM, Derrick Anderson [EMAIL PROTECTED] wrote: Hi, I'm

[flexcoders] right way to bubble 'show' event in nested viewstacks

2008-06-11 Thread Derrick Anderson
hi, i have a tabnavigator in a viewstack, my tabnavigator children control a menu parented by the main application. the 'show' event is what i'm using to setup the menu. so that means that each time the outer viewstack changes, i need to pass the 'show' event down to the current item in the

Re: [flexcoders] new to VO's, why won't this cast?

2008-06-10 Thread Derrick Anderson
@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Derrick Anderson *Sent:* Monday, June 09, 2008 2:12 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] new to VO's, why won't this cast? coldfusion, but i don't think it matters- i'm trying to take an actionscript object

[flexcoders] new to VO's, why won't this cast?

2008-06-09 Thread Derrick Anderson
hi, i am trying to incorporate value objects into my programming- i have a very simple one set up [Bindable] public class EmployeeVO { public var employeeID:uint; public var roleID:Number; public var employeeTypeID:Number; public var

Re: [flexcoders] new to VO's, why won't this cast?

2008-06-09 Thread Derrick Anderson
? thanks, d. On Mon, Jun 9, 2008 at 2:07 PM, Jon Bradley [EMAIL PROTECTED] wrote: On Jun 9, 2008, at 1:54 PM, Derrick Anderson wrote: var testVO:EmployeeVO = DataGrid(event.currentTarget).selectedItem as EmployeeVO; Maybe this will help: var testVO:EmployeeVO = EmployeeVO

Re: [flexcoders] new to VO's, why won't this cast?

2008-06-09 Thread Derrick Anderson
employeeTypeID = 1 mx_internal_uid = D3C roleID = 3* On Mon, Jun 9, 2008 at 2:39 PM, Sherif Abdou [EMAIL PROTECTED] wrote: can you give me a bit of code and I'll look at it so i can compile the examples - Original Message From: Derrick Anderson [EMAIL PROTECTED] To: flexcoders

Re: [flexcoders] new to VO's, why won't this cast?

2008-06-09 Thread Derrick Anderson
Abdou [EMAIL PROTECTED] wrote: Ok i think you can't do that since I am looking at Adobe Flex Professional 2.0 wrox book and they have a similar example and what they did was EmployeeVO.employeeID = objectName.employeeID; - Original Message From: Derrick Anderson [EMAIL PROTECTED

Re: [flexcoders] new to VO's, why won't this cast?

2008-06-09 Thread Derrick Anderson
actually, the link was http://casario.blogs.com/mmworld/2007/04/casting_a_datag.html it's a very simple example of exactly what I'm trying to do. d. On Mon, Jun 9, 2008 at 3:09 PM, Derrick Anderson [EMAIL PROTECTED] wrote: i've seen other examples of this working.. http://casario.blogs.com

Re: [flexcoders] new to VO's, why won't this cast?

2008-06-09 Thread Derrick Anderson
the RemoteClass metadata? - Original Message From: Derrick Anderson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, June 9, 2008 2:12:48 PM Subject: Re: [flexcoders] new to VO's, why won't this cast? actually, the link was http://casario. blogs.com/ mmworld/2007

[flexcoders] FlexReport not showing report first time in tab navigator

2008-06-02 Thread Derrick Anderson
I know there are many here who use FlexReport library so I hope somebody here can help with this. I am loading reports into a tab navigator, the reports do not show content until i switch tabs, then come back to that one. I suspect the 'show' event being dispatched does something to the content

Re: [flexcoders] FlexReport not showing report first time in tab navigator

2008-06-02 Thread Derrick Anderson
, 2008 at 10:53 AM, Derrick Anderson [EMAIL PROTECTED] no.way.this.is.in.use%40gmail.com wrote: I know there are many here who use FlexReport library so I hope somebody here can help with this. I am loading reports into a tab navigator, the reports do not show content until i switch tabs

[flexcoders] dragging tree item to canvas- the drag proxy location is off

2008-06-02 Thread Derrick Anderson
i am using the script below on my 'dragStart' handler of a tree. the problem is the drag proxy i'm passing to DragManager.doDrag looks fine on screen except for it's position is equal to that of the source tree, not my mouse pointer. how do i get the drag proxy to sync up location with my mouse?

Re: [flexcoders] dragging tree item to canvas- the drag proxy location is off

2008-06-02 Thread Derrick Anderson
); -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Derrick Anderson *Sent:* Monday, June 02, 2008 1:33 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] dragging tree item to canvas- the drag proxy location is off i am using

[flexcoders] black and white print preview

2008-05-15 Thread Derrick Anderson
hey list, i was just working on a reporting app and had a thought. would it be possible to give a 'black and white' preview of a ui component? i realized that many of the reports I'm creating have many colors in the charts and backgrounds, but that most of the prints are going to be done on

[flexcoders] nvmd blackwhite, how can i make this a fade transition

2008-05-15 Thread Derrick Anderson
i found a cool post on flexamples.com about how to convert an image to bw with ColorMatrixFilter mx:Number id=rLum0.2225/mx:Number mx:Number id=gLum0.7169/mx:Number mx:Number id=bLum0.0606/mx:Number flash.filters:ColorMatrixFilter xmlns:flash.filters=flash.filters.*

Re: [flexcoders] How to create .doc files (Word files) with Flex ?

2008-05-14 Thread Derrick Anderson
this site may help as well http://openxmldeveloper.org/ d. On Wed, May 14, 2008 at 9:51 AM, Daniel Freiman [EMAIL PROTECTED] wrote: Office 2003 has files defined in XML. (This isn't the default file format but it is available). I don't know if the spec is published but you could alway

Re: [flexcoders] a bit of information about Iframes

2008-05-13 Thread Derrick Anderson
i don't know what specific issues you are having with this, but I can only be helpful in maybe helping you find the information you need. people here tend to respond to posts that don't make them 'think' too much about what the problem really is, nobody has time for that. They also seem to prefer

Re: [flexcoders] SOT: ColdFusion backend for Flex, what the heck am i doing wrong...

2008-05-03 Thread Derrick Anderson
thanks guys, One of the main things I do in my shared apps (same code/different db per client) is to store the DSN names in session on the server side. I agree on setting remoteobject credentials and making sure each call is authenticated, i'll check into that. The only other option is to put

[flexcoders] SOT: ColdFusion backend for Flex, what the heck am i doing wrong...

2008-05-01 Thread Derrick Anderson
i see nothing in the CF community about this and since many here have CF for their back-end apps I figured I'd give it a try. I'm using CF7 standard on the backend and communicating to my CFC's with remote object. The problem I've had for months now is every now and then the onApplicationStart

Re: [flexcoders] Flex IDE? url not what i changed it to

2008-04-30 Thread Derrick Anderson
maybe u can let us see the generalhttprequest function? d. On Wed, Apr 30, 2008 at 10:44 AM, Jason B [EMAIL PROTECTED] wrote: im using the flex IDE trial and ive for over an hour tried to change the url param's. i have them as mx:Button x=254 y=90 label=Search

Re: [flexcoders] Question for creationComplete event?

2008-04-29 Thread Derrick Anderson
just a stab in the dark here but I've noticed that the first child of a viewstack does not dispatch it's 'show' event. I guess it's because of what Alex said earlier, if it's never 'hidden', there is no show event to dispatch. that might be why you are expecting 'show' to do something and it's

[flexcoders] add flash settings manager to my website

2008-04-25 Thread Derrick Anderson
i always use this url for deleting my flash cache among other things http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.html does anybody know where i can get that swf to include in my own application? thanks, d.

Re: [flexcoders] Passign action script into flex

2008-04-25 Thread Derrick Anderson
http://livedocs.adobe.com/flex/2/langref/mx/rpc/http/HTTPService.html#send() check out the send method, it takes 1 argument which could be an object or xml of name-value pairs for arguments. something like this maybe (not tested) private var _uName:String; private var _pwd:String; // Going to

Re: [flexcoders] Passign action script into flex

2008-04-25 Thread Derrick Anderson
.hash(_pwd); ConfirmLogin.send({uName:_uName, uPass: _pwd}); } On Fri, Apr 25, 2008 at 1:27 PM, Derrick Anderson [EMAIL PROTECTED] wrote: http://livedocs.adobe.com/flex/2/langref/mx/rpc/http/HTTPService.html#send()http://livedocs.adobe.com/flex/2/langref/mx/rpc/http/HTTPService.html#send%28%29

Re: [flexcoders] Re: currentState question

2008-04-25 Thread Derrick Anderson
i'm with ghus32, if you only have 2 states, why not just use the currentState = 'statename' ? do you still get an error with that? d. On Fri, Apr 25, 2008 at 1:22 PM, Nicolas Boulet-Lavoie [EMAIL PROTECTED] wrote: Hello guys, Thank you for your quick reply. I'm still getting the 2006

Re: [flexcoders] Style for Alert box?

2008-04-24 Thread Derrick Anderson
you can apply the style to all alerts: mx:Style Alert { ... } /mx:Style or to a single alert: mx:Style .box1 { ... } /mx:Style var alert:Alert; alert=Alert.show(asdf); alert.styleName=box1; Derrick Anderson On Thu, Apr 24, 2008 at 3:29 PM, markflex2007 [EMAIL PROTECTED] wrote: Hi, I

[flexcoders] how to access current xml node name

2008-04-22 Thread Derrick Anderson
i have a function which accepts XML as an argument, how can i retrieve the root node name for that XML? so if the xml was node2 attrib1=asdf... i need to get the 'node2' value. thanks, d.

Re: [flexcoders] how to access current xml node name

2008-04-22 Thread Derrick Anderson
thanks, i also found .localName() On Tue, Apr 22, 2008 at 10:31 AM, Daniel Gold [EMAIL PROTECTED] wrote: should just be able to do xmlObj.name(); On Tue, Apr 22, 2008 at 8:58 AM, Derrick Anderson [EMAIL PROTECTED] wrote: i have a function which accepts XML as an argument, how can i

[flexcoders] easiest way to instantiate a class from xml data

2008-04-22 Thread Derrick Anderson
say i have an xml node like class property1=blah / what's the easiest way to convert that to: myClass = new class(); myClass.property1 = blah; i've seen it done with regular objects and VO's just by casting, but not with XML. this is dynamic in nature, so I'm wondering how i can convert the

Re: [flexcoders] easiest way to instantiate a class from xml data

2008-04-22 Thread Derrick Anderson
@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Derrick Anderson *Sent:* Tuesday, April 22, 2008 9:33 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] easiest way to instantiate a class from xml data say i have an xml node like class property1=blah / what's the easiest

Re: [flexcoders] easiest way to instantiate a class from xml data

2008-04-22 Thread Derrick Anderson
also, attributes() only get's me the attribute values, not the name=value pairs, how can i get both the attribute names and the values? d. On Tue, Apr 22, 2008 at 1:43 PM, Derrick Anderson [EMAIL PROTECTED] wrote: hey Alex, yes, there are about 10 different classes that can be called

Re: [flexcoders] easiest way to instantiate a class from xml data

2008-04-22 Thread Derrick Anderson
-- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Derrick Anderson *Sent:* Tuesday, April 22, 2008 10:43 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] easiest way to instantiate a class from xml data hey Alex, yes, there are about 10

Re: [flexcoders] file indexing

2008-04-21 Thread Derrick Anderson
use a server technology like ColdFusion to get the directory lists, then use RemoteObject to call the server for the directories. d. On Mon, Apr 21, 2008 at 12:13 PM, ghus32 [EMAIL PROTECTED] wrote: Hello Everyone, is it possible to show a file directory/tree on my server in a flex tree

[flexcoders] custom component dataprovider

2008-04-18 Thread Derrick Anderson
hey everyone, i'm trying to build a custom component based off of a Panel, but the trick is that I would like the panel to accept xml as a dataprovider. where are there any good tutorials on building custom components with dataproviders? btw, the goal is to take an xml node in the dataprovider

Re: [flexcoders] custom component dataprovider

2008-04-18 Thread Derrick Anderson
this and it can be a bit complex, but is not hard. Tracy -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Derrick Anderson *Sent:* Friday, April 18, 2008 1:16 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] custom

Re: [flexcoders] any flex image editor control?

2008-04-16 Thread Derrick Anderson
i found this one after some short googling http://www.geocities.com/j_c_desai/ImageEditing/ImageEditing.html d. On Tue, Apr 15, 2008 at 10:40 PM, slee_usa [EMAIL PROTECTED] wrote: I am looking for a flex control which allows photo or image editing. It should be very light, and I need to

Re: [flexcoders] RegExp searching for [ and ], are they reserved?

2008-04-16 Thread Derrick Anderson
on with the ^ and the ? What is supposed to match against letters like E, m, p, l, etc.? Gordon Smith Adobe Flex SDK Team -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Derrick Anderson *Sent:* Tuesday, April 15, 2008 1:23 PM *To:* flexcoders

Re: [flexcoders] Re: mx:List with itemRenderer

2008-04-16 Thread Derrick Anderson
check out this post http://blog.flexmonkeypatches.com/2008/03/24/nested-item-renderers-with-scrollbars-and-drag-and-drop-enabled-scroll-dont-drag-please/ it describes a similar problem and i think it might help with what you are trying to do. the idea is to use stopImmediatePropogation() to not

Re: [flexcoders] RegExp searching for [ and ], are they reserved?

2008-04-16 Thread Derrick Anderson
just bumping this one up there, it is critical for my app to do this and I see no way past it. anybody ever needed to find content with regex that contained [] characters? thanks, d. On Wed, Apr 16, 2008 at 10:01 AM, Derrick Anderson [EMAIL PROTECTED] wrote: hey i'm not a regex pro by far

Re: [flexcoders] RegExp searching for [ and ], are they reserved? SOLVED

2008-04-16 Thread Derrick Anderson
i think i figured it out, the [ and ] characters have to be double-escaped like so new RegExp(\\[[^]*\\],igm); d. On Wed, Apr 16, 2008 at 2:17 PM, Derrick Anderson [EMAIL PROTECTED] wrote: just bumping this one up there, it is critical for my app to do this and I see no way past

Re: [flexcoders] i-frames on flex2

2008-04-15 Thread Derrick Anderson
http://www.themidnightcoders.com/blog/2006/12/mixing-html-and-flex-using-iframe.html On Tue, Apr 15, 2008 at 10:42 AM, Gustavo Duenas [EMAIL PROTECTED] wrote: I heard about i-frames in order to load html pages inside flex, anyone knows a good tutorial about that? Regards Gustavo

[flexcoders] pulling my hair out with e4x!!!

2008-04-15 Thread Derrick Anderson
can someone please explain why this does not return an XMLList? public var debugModel:XML = mergefields display=Merge Fields employees display=Employees node display=Employee First Name data=Employee_234234-234234-234234-234234 / node display=Employee

Re: [flexcoders] pulling my hair out with e4x!!!

2008-04-15 Thread Derrick Anderson
weird, because it does not work for me. i don't understand. On Tue, Apr 15, 2008 at 12:06 PM, Daniel Gold [EMAIL PROTECTED] wrote: worked for me using this: debugModel.employees.node.(@display == Employee First Name) On Tue, Apr 15, 2008 at 10:43 AM, Derrick Anderson [EMAIL PROTECTED

Re: [flexcoders] pulling my hair out with e4x!!!

2008-04-15 Thread Derrick Anderson
with this??? d. On Tue, Apr 15, 2008 at 12:29 PM, Derrick Anderson [EMAIL PROTECTED] wrote: weird, because it does not work for me. i don't understand. On Tue, Apr 15, 2008 at 12:06 PM, Daniel Gold [EMAIL PROTECTED] wrote: worked for me using this: debugModel.employees.node.(@display

Re: [flexcoders] pulling my hair out with e4x!!!

2008-04-15 Thread Derrick Anderson
= debugModel.employees.node.(attribute(display) == Employee First Name); trace(fieldNode); } ]] /mx:Script /mx:Application --- code On Tue, Apr 15, 2008 at 11:43 AM, Derrick Anderson [EMAIL PROTECTED] wrote: can someone

  1   2   3   >