[flexcoders] Custom mouse cursors including the system cursor?

2009-01-12 Thread Josh McDonald
Hey guys, I'm wondering how I create a custom mouse cursor that will include the system cursor, the way DragManager does with the halo mouse cursors? Any "pointers" (groan) much appreciated! Cheers, -Josh -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." Like the c

Resending : [flexcoders] Flex MenuBar rolling over HTML Page.

2009-01-12 Thread sachin kothe
Please let me know if anyone has idea on this.. --- On Mon, 1/12/09, sachin kothe wrote: From: sachin kothe Subject: [flexcoders] Flex MenuBar rolling over HTML Page. To: flexcoders@yahoogroups.com Date: Monday, January 12, 2009, 6:18 PM Hi All,    I have an use case where any HTML p

[flexcoders] regular expression tester says it works, but it doesnt????

2009-01-12 Thread flexaustin
pattern = new RegExp('(?<=\"name\":\").*(?=\",\"\w*:)', 'i'); var resultArr:Array = pattern.exec(data); resultArr ends up equaling null; But if you check this: (?<=\"name\":\").*(?=\",\"\w*:) using http://gskinner.com/RegExr/ it says it works using this data "error":32,"count":47,"group":true,"

[flexcoders] Timer Solution

2009-01-12 Thread vinod kumar
I am a newbie in flex. can you please send the code --- On Mon, 12/1/09, Manish Jethani wrote: From: Manish Jethani Subject: Re: [flexcoders] Timer Solution To: flexcoders@yahoogroups.com Date: Monday, 12 January, 2009, 6:51 PM On Mon, Jan 12, 2009 at 11:09 AM, vinod k

RE: [flexcoders] Mouse wheel scrolling past entries in combobox

2009-01-12 Thread Alex Harui
Build a simple test case and if it fails there, file a bug. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of kaleb_pederson Sent: Monday, January 12, 2009 3:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Mouse wheel scrolling past entries in combobox

RE: [flexcoders] the tilelist will be winking when the data is refreshing.

2009-01-12 Thread Alex Harui
You might want to use SuperImage from quietlyscheming.com to cache images on the client so they don't get downloaded every time. You might also need to prevent invalidation of the TileLIst when the progress bar is changed. That can be done by overriding invalidateSize and invalidateDisplayList

RE: [flexcoders] AIR and SQLLite

2009-01-12 Thread Kevin Benz
What are you asking? Are you wanting to synchronize all client sqlite db's from a common back-end db? Are you wanting to replicate the client data on the server? Air doesn't provide any facilities to help with either although both could be accomplished with a non-trivial development effort

[flexcoders] regex

2009-01-12 Thread flexaustin
Does anyone know how to write a regular expression that says find a pattern in a String that contains 0 or more letters, numbers, or spaces, but not a ", (one double quote and a comma). TIA

RE: [flexcoders] the tilelist will be winking when the data is refreshing.

2009-01-12 Thread Scarlet.H
maybe I found some threads in override data function I set the image source value with Progressbar value together as is: thumbCom.img_thumbnail.source = spt; thumbCom.progress_upload.setProgress(data.current, data.total); it will be not flash when I remove "thumbCom.img_thumbnail.source = spt;

[flexcoders] AIR and SQLLite

2009-01-12 Thread bonny_us
Hi All, Any one have idea of SQLLite and AIR Synchronization. I want to create one POC using SQLLite. If any one have any example regarding this then please let me know. it will be very helpful to me. Thanks, Bonny

RE: [flexcoders] the tilelist will be winking when the data is refreshing.

2009-01-12 Thread Scarlet.H
Alex, Sorry, I don't know how to description the issue in English. the progressbar that show upload progress will be refreshing when user select many photos to upload. All data will be reload again when one data is refreshing Every time , it will lead the interface flash continually. Alex Har

Re: [flexcoders] GPS in Flex

2009-01-12 Thread [p e r c e p t i c o n]
Hi Doug,Is it ok if i ask you a blackberry question off list? thanks percy On Thu, Jan 8, 2009 at 4:47 PM, Doug McCune wrote: > Check out Andy Powell's post about using Merapi and GPS: > http://www.infoaccelerator.net/blog/post.cfm/live-gps-visualizations-with-air-merapi > > I have a small app

Re: [flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread Nate Beck
Hey... now that's cool, I didn't realize scale also affects text size. http://www.adobe.com/2006/mxml"; layout="absolute"> Thanks Alex. On Mon, Jan 12, 2009 at 3:02 PM, Alex Harui wrote: >xscale = yscale = someScaleFactorGreaterThanOne? > > > > *From:* flexcoders@yahoogroups

[flexcoders] Mouse wheel scrolling past entries in combobox

2009-01-12 Thread kaleb_pederson
I have a ComboBox which displays five entries at a time. When I first click on the ComboBox, it displays items 1-5, which is as expected. As soon as I scroll down one click with the mouse wheel, it displays items 13-17 -- skipping items 6-12. How can I change the scroll wheel behavior so that it

[flexcoders] Re: Instantiating a class from a dynamically loaded swf

2009-01-12 Thread dustyjewett
For Posterity, the solution is to call the 'getDefinition()' function on the loader's ApplicationDomain... swfLoader.loaderContext.applicationDomain.getDefinition('className'); No need to implement your own function, it's already there :-D --- In flexcoders@yahoogroups.com, Alex Harui wrote:

RE: [flexcoders] Multiple selection in dataGrid by dragging Mouse with left mouse key

2009-01-12 Thread Alex Harui
Should be doable, but I don't know of any examples From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dharmendra Chauhan Sent: Saturday, January 10, 2009 10:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Multiple selection in dataGrid by dragging Mouse w

RE: [flexcoders] get rowIndex in datagird's mouseOver Function

2009-01-12 Thread Alex Harui
mouseEventToItemRenderer From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dharmendra Chauhan Sent: Saturday, January 10, 2009 10:34 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] get rowIndex in datagird's mouseOver Function My requiremnt is to get rowI

RE: [flexcoders] the tilelist will be winking when the data is refreshing.

2009-01-12 Thread Alex Harui
Not sure what you mean by wink issue, but the renderer could be told to stay invisible for a bit longer if that helps From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Scarlet.H Sent: Sunday, January 11, 2009 8:54 PM To: flexcoders@yahoogroups.com Subject: [flexco

RE: [flexcoders] Anti-aliasing of device fonts in Flash player 10

2009-01-12 Thread Alex Harui
Hmm. I thought it always anti-aliased, even in FP9. It might be better in FP10 with the new text engine. Flex doesn't support that right now. You could grab a Gumbo build and see if it is any different. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Sreejit

[flexcoders] Re: Generating random colors, excluding others

2009-01-12 Thread gr33neye501
Thankyou Sunil for replying to my question. your example uses flash player 10, i can not view the example or the code for it. as it breaks my Flex builder, (still using Flex 3.0) I'm at a delicate stage of my project and can't afford Flex builder breaking and having to reinstall it all! Do you

RE: [flexcoders] DataGrid selectAll problem

2009-01-12 Thread Alex Harui
How small a test case can you build? I think it is time to see how you're trying to wire this up. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Glenn Jones Sent: Monday, January 12, 2009 9:21 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] DataGri

Re: [flexcoders] Stupid Question - Flex width and height

2009-01-12 Thread Wally Kolcz
Thanks, didn't know that! From: "Wesley Acheson" Sent: Monday, January 12, 2009 2:08 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Stupid Question - Flex width and height On Mon, Jan 12, 2009 at 9:48 PM, Wally Kolcz wrote: This is probably

RE: [flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread Alex Harui
xscale = yscale = someScaleFactorGreaterThanOne? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nate Beck Sent: Monday, January 12, 2009 2:15 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Expanding size of panel, and its contained objects. Wh

RE: [flexcoders] Re: Styling Alert box default button

2009-01-12 Thread Alex Harui
And note that the default button has emphasized=true From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of valdhor Sent: Monday, January 12, 2009 7:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Styling Alert box default button Checkout graphical skin

[flexcoders] Re: How to register a dynamicEvent in an Actionscript class

2009-01-12 Thread flexcoder2008
In case this helps anyone else - I got this to work. Had to reference the moduleLoader through the application - so when I dispatch the dynamicEvent from inside the CairgormCommand's execute method it looks like this: initCompleteEvent = new DynamicEvent("initCompleted",true); Application.applica

Re: [flexcoders] How to create universal event handler?

2009-01-12 Thread Paul Andrews
- Original Message - From: "Dan" To: Sent: Monday, January 12, 2009 6:24 PM Subject: [flexcoders] How to create universal event handler? >I have class MyEvent extends flash.events.Event. > I also have a second class MyEventChild extends MyEvent. > Both classes define string constants t

Re: [flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread Nate Beck
What Wesley is saying seems like a good starting point. I haven't heard of this type of behavior before. But a uniform scaling of all components and all of their text at the same time will be a challenge... sidenote: I'm on a mac, so if I can't read something, I just use the Command+Option+8 shor

RE: [flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread Tim Rowe
Sorry, it sounds like I've misunderstood what you were saying - I thought they were saying the 80 column display they already had wasn't large enough and that was the reason for your re-write. Nevermind :) From: flexcoders@yahoogroups.com [mailto:flexcod...@yaho

Re: [flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread Wesley Acheson
For all the children try using percentage widths and heights, I don't really know about the font of things. Maybe you could increase the font size by giving everything a font size attached to a variable. Or try using CSS to benefit from Cascading rules? Regards, Wesley Acheson On Mon, Jan 12,

Re: [flexcoders] Stupid Question - Flex width and height

2009-01-12 Thread Wesley Acheson
On Mon, Jan 12, 2009 at 9:48 PM, Wally Kolcz wrote: > This is probably a dumb question but... > > I am trying to do a Flex app primarily in AS. In the constuctor I am trying > to create an ApplicationControlBar that is the same as this: > > > I am having a problem with trying to create the same

[flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread aceoohay
Tim: I am not sure I understand? What I need is the ability to expand a panel, and all of its contained objects such as textinputs, labels, comboboxes and the like. Paul --- In flexcoders@yahoogroups.com, Tim Rowe wrote: > > It won't run in 40 column mode? > > I feel evil suggesting this wh

RE: [flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread Tim Rowe
It won't run in 40 column mode? I feel evil suggesting this when 1280x1024 is the norm these days. --Tim From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of aceoohay Sent: Tuesday, 13 January 2009 8:59 AM To: flexcoders@yahoogroups.

[flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread aceoohay
Actually, I have. Unfortunately the system they are coming from is a unix character based system where an 80 character by 24 line screen takes up their entire monitor. A number of the users are complaining that they can't read the default font sizes, and while I told them that's all I can do,

Re: [flexcoders] Flex 3 Dialog Boxes ...

2009-01-12 Thread Wesley Acheson
Looks like an issue with Java SWT to me. Do you have a recient JDK installed? On Sat, Jan 10, 2009 at 8:22 AM, SJF wrote: > Hello All, > > I'm using Flex 3 and working on pure actionscript projects (i.e: File > New > > ActionScript Project). > > I often have issues with numerous dialog boxes a

Re: [flexcoders] Data Grid with dynamic columns ignoring % width or right style.

2009-01-12 Thread Wesley Acheson
On Mon, Jan 12, 2009 at 7:45 PM, Manish Jethani wrote: > On Sun, Jan 11, 2009 at 3:51 AM, wesley.acheson > wrote: > > > I've a problem with the DataGrid ignoring the % width, while using > > Canvas as the parent. When I dynamically create columns it stretches > > to beyond the origional area. T

Re: [flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread Nate Beck
After thinking about it for a minute... now I'm understanding what you're saying. You want to actually ZOOM in, make them larger. Have you tried taking the easy way out and telling the people to change their monitor resolution? :D On Mon, Jan 12, 2009 at 1:47 PM, Nate Beck wrote: > ... If you're

Re: [flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread Nate Beck
... If you're using constraint based layout... how is there a problem? A component taking 100% of the width of it's container will always scale to fit that container. On Mon, Jan 12, 2009 at 1:27 PM, aceoohay wrote: > While that example does allow you to maximize a panel, it does not > expand

[flexcoders] Re: geting info of a user who has loged in

2009-01-12 Thread valdhor
I use PHP and WebORb for PHP so anything I show will use that. Please do not ask for a tutorial using something else. There should be enough here for you to extrapolate for use with any language. This is a quick and dirty example that hard codes things. In a real application I would loosely couple

Re: [flexcoders] Re: How to create universal event handler?

2009-01-12 Thread Howard Fore
Nope, I meant the process described here: http://livedocs.adobe.com/flex/3/html/help.html?content=createevents_3.html But I think Manish's answer is the easier approach. On Mon, Jan 12, 2009 at 1:55 PM, Dan wrote: >> Create a custom event that uses your current event type string as a >> variable

[flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread aceoohay
While that example does allow you to maximize a panel, it does not expand the contained objects. If it did what I need the buttons and would become much larger than they were originally when the maximize button was clicked. I should have mentioned that I have done searching, and can find the

[flexcoders] How to avoid red borders created by validators at page loading

2009-01-12 Thread b.kotireddy
Hi, In my page i have textInput's and Combo Box fields. When my page loads Text Input fields are not having any red borders, but all Combo Boxes are with red borders with "This Field is required". I think these because of Validations. Is their any way that i can avoid that red borders with text.

[flexcoders] Re: How to register a dynamicEvent in an Actionscript class

2009-01-12 Thread flexcoder2008
Thanks Nate, Tried that but it still doesn't work. I'm basically trying to dispatch a dynamicEvent from a Cairngorm event and then trying to get a module to listen for that event. I don't want this event to be a CiarngormEvent to be handled by the FrontController and the Command object. In othe

[flexcoders] Re: ExternalInterface erros

2009-01-12 Thread flexaustin
Here is the string being passed. The JSONEncoder encodes the object into a string (data var in this case) then passes it over using externalInterface. data:String = {"error":0,"requests":0,"group":true,"model":"userdefined","count":0,"name":"\"\\error\\Something\" YOU $ 'FBar'","connection":0,"wa

Re: [flexcoders] VO and LabelField Problem

2009-01-12 Thread Berkay Unal
Nothing happens. I got it working if i cast the evt.result to ArrayCollection but when i cast it, in the flex debugger i see the result.events as an nativeObject not VO Objects. Best, Berkay UNAL berkayu...@gmail.com On Mon, Jan 12, 2009 at 18:06, Alex Harui wrote: >What happens when you

Re: [flexcoders] Stupid Question - Flex width and height

2009-01-12 Thread Alan K
It would seem to me that "Application.application.stage.width" only exists when using the Flex framework. Without Flex your just dealing with the 'default' Flash display list. Alan On Jan 12, 2009, at 3:48 PM, Wally Kolcz wrote: Application.application.stage.width

[flexcoders] Stupid Question - Flex width and height

2009-01-12 Thread Wally Kolcz
This is probably a dumb question but... I am trying to do a Flex app primarily in AS. In the constuctor I am trying to create an ApplicationControlBar that is the same as this: I am having a problem with trying to create the same effect as right="5" and left="5". I assume that

Re: [flexcoders] Re: How to register a dynamicEvent in an Actionscript class

2009-01-12 Thread Nate Beck
Events don't bubble by default. So if you're depending on the Cairngorm Front Controller to pick them up, and the object dispatching the event isn't directly below the Application, you need to enable event bubbling. new DynamicEvent("myType", true); Cheers, Nate On Mon, Jan 12, 2009 at 11:48 AM,

[flexcoders] Re: How to register a dynamicEvent in an Actionscript class

2009-01-12 Thread flexcoder2008
Well, I want to dispatch the dynamicEvent from the actionscript class (which is a Cairngorm command) and I want my module to listen for that event. Since the module event handler code is not being hit, I thought I might need to register this event with the compiler (perhaps my terminology is wro

[flexcoders] Re: How to register a dynamicEvent in an Actionscript class

2009-01-12 Thread kylewburke
What do you mean by "register"? Do you want to listen for that event or dispatch one? --- In flexcoders@yahoogroups.com, "flexcoder2008" wrote: > > I have seen numerous examples of registering a dynamicEvent in a > component's mxml such as: > > [Event (name="rowSelected", type="mx.events.Dynami

[flexcoders] Re: How to register a dynamicEvent in an Actionscript class

2009-01-12 Thread flexcoder2008
Hmmm, this is the way I have done it - but my event handler is not firing. I am dispatching my DynamicEvent from a Cairngorm command - in the execute method I have: var evt:DynamicEvent = new DynamicEvent("initCompleted"); dispatchEvent(evt); in my module's creationComplete handler I have this

Re: [flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread Nate Beck
Doing a quick google search for, "flex maximize, minimize panel" Returns loads of examples of what you're trying to do I think... http://www.comtaste.com/DashboardExample/DashboardExample.html and http://blog.comtaste.com/2008/12/how_to_use_the_flex_dashboard_1.html Right? On Mon, Jan 12, 2009

Re: [flexcoders] How to register a dynamicEvent in an Actionscript class

2009-01-12 Thread Nate Beck
It's exactly the same as a standard Event. As you can see in the Language Reference ( http://livedocs.adobe.com/flex/3/langref/mx/events/DynamicEvent.html): var event:DynamicEvent = new DynamicEvent("credentialsChanged"); event.name = name; event.passsword = password; // misspelling won't be

Re: [flexcoders] Re: ExternalInterface erros

2009-01-12 Thread Ralf Bokelberg
Why do you want to use JSON? You can pass in plain objects instead, e.g. ExternalInterface.call("someJSMethod", { a: 1, b: { c: true, d: "hello"} } ); Ralf. On Mon, Jan 12, 2009 at 7:55 PM, flexaustin wrote: > I can't really post the code. The issue is either I think is either > one of two thin

RE: [flexcoders] Re: Release a child .... again

2009-01-12 Thread Gordon Smith
Did I understand correctly that you create child2 dynamically? If so, I would use the following pattern in the parent's script: // Create and add child2: child2 = new Whatever(); addEventListener(...); addChild(child2); --- // Remove child2: removeEventListener(...); removeChild(child2); Gordo

[flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread aceoohay
Hello? Is anyone out there? Any ideas? Paul --- In flexcoders@yahoogroups.com, "aceoohay" wrote: > > The systems that I write are traditional data entry types of systems. > I do everything within panels within modules. I have had users ask if > they could expand the size of the panel in or

Re: [flexcoders] Re: Cairngorm and ChangeWatcher

2009-01-12 Thread claudiu ursica
I don't know if that is indeed the best practice but for now if it suit your needs just do it. The main idea is that the model drives the view, and at the same time it represent the current state of the up. Having a view bound to that model makes the view display the current state for the app. N

[flexcoders] Re: How to create universal event handler?

2009-01-12 Thread Dan
> Create a custom event that uses your current event type string as a > variable. Then your handler can look at the variable value to decide > what to do. > You mean when I do dispatchEvent, I always use the same type string, like this? dispatchEvent(new MyEvent(MyEvent.MY_EVENT) dispatchEvent(ne

[flexcoders] How to register a dynamicEvent in an Actionscript class

2009-01-12 Thread flexcoder2008
I have seen numerous examples of registering a dynamicEvent in a component's mxml such as: [Event (name="rowSelected", type="mx.events.DynamicEvent")] If I have an actionscript class that dispatches a dynamicEvent, what is the syntax for this? I want to dispatch a dynamicEvent from an actionscri

Re: [flexcoders] Loading Images Using CSS

2009-01-12 Thread Manish Jethani
On Mon, Jan 12, 2009 at 1:31 AM, Dan Vega wrote: > main.mxml > > > stylesheet > .logo { > source: "assets/images/robp/rocketfm_logosmall.png"; > } > TypeError: Error #1009: Cannot access a property or method of a null object > reference. You have to use ".logo" (as opposed to "logo") in yo

[flexcoders] Re: ExternalInterface erros

2009-01-12 Thread flexaustin
I can't really post the code. The issue is either I think is either one of two things, but I can't seem to resolve either of them. #1. I am passing data to a javascript function in json format, which contains escaped " & \. #2. This is the issue. http://joshblog.net/2008/01/03/flash-player-exte

Re: [flexcoders] Timer Solution

2009-01-12 Thread Manish Jethani
On Mon, Jan 12, 2009 at 11:09 AM, vinod kumar wrote: > I want an urgent help. From metadata information i got the frame rate as 15. > So between every second i want to display the values 1 to 15 using timer. You can listen for the enterFrame event and do it there. Manish

Re: [flexcoders] How to create universal event handler?

2009-01-12 Thread Manish Jethani
On Mon, Jan 12, 2009 at 11:54 PM, Dan wrote: > If I do addEventListener(MyEvent.Evt1, handleEvt), I will handle only > that specific MyEvent.Evt1 event. I need to be able to handle > MyEvent.Evt2 and MyChildEvent.Evt1 and my FutureChildEvent.EvtX. > How can this be achieved? You have to add a l

Re: [flexcoders] Data Grid with dynamic columns ignoring % width or right style.

2009-01-12 Thread Manish Jethani
On Sun, Jan 11, 2009 at 3:51 AM, wesley.acheson wrote: > I've a problem with the DataGrid ignoring the % width, while using > Canvas as the parent. When I dynamically create columns it stretches > to beyond the origional area. This behaviour has been reported as a > bug. http://bugs.adobe.com/j

Re: [flexcoders] How to create universal event handler?

2009-01-12 Thread Howard Fore
Create a custom event that uses your current event type string as a variable. Then your handler can look at the variable value to decide what to do. On Mon, Jan 12, 2009 at 1:24 PM, Dan wrote: > I have class MyEvent extends flash.events.Event. > I also have a second class MyEventChild extends MyE

[flexcoders] How to create universal event handler?

2009-01-12 Thread Dan
I have class MyEvent extends flash.events.Event. I also have a second class MyEventChild extends MyEvent. Both classes define string constants that are used as event type. How can I add event listener to handle any of MyEvent or MyChildEvent events? If I do addEventListener(MyEvent.Evt1, handleEv

[flexcoders] Re: get selected datagrid dynamically

2009-01-12 Thread Jason B
It's funny after i posted i tried that but then it still threw an error, it wasn't until you posted the same thing i went back and seen i had a lowercase I in selecteditem instead of selectedItem :( i need some coffee --- In flexcoders@yahoogroups.com, "Tracy Spratt" wrote: > > Bracket notation

RE: [flexcoders] Re: geting info of a user who has loged in

2009-01-12 Thread Tracy Spratt
We will not write your application for you. Well I will, at my hourly rate, contact me off list if you want to hire me. If you want any more help from me you will need to show what you are doing. To start with, post your login HTTPService declaration code and your result handler code.

RE: [flexcoders] E4X with RegExp

2009-01-12 Thread Tracy Spratt
Put that logic in a function that returns a Boolean, so you can debug it. Then use the function in the e4x expression. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] O

RE: [flexcoders] Re: get selected datagrid dynamically

2009-01-12 Thread Tracy Spratt
Bracket notation replaces dot notation, so try: create_test.text = parentApplication.reftables_grid.selectedItem[fieldname]; Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.

Re: [flexcoders] Re: Using dispatchEvent ?

2009-01-12 Thread Manish Jethani
On Mon, Jan 12, 2009 at 8:59 PM, biosmonkey wrote: > The dispatched event needs to be heard by any component, anywhere, by > setting an event listener for it at the application level. So > bubbling up to the app is critical. Since your component has nothing to do with UI, strictly speaking, mak

Re: [flexcoders] DataGrid selectAll problem

2009-01-12 Thread Glenn Jones
I've tried setting just selectedIndices - same result In my CheckBoxDataGrid.selectAll() method, I tried calling invalidateProperties/invalidateList/validateNow - same result. In my CheckBoxHeaderRenderer.clickHandler, I tried using callLater to execute CheckBoxDataGrid.selectAll() - same result.

Re: [flexcoders] Tweening VBox or List IndexChangedEvent

2009-01-12 Thread Manish Jethani
On Mon, Jan 12, 2009 at 10:03 PM, kylewburke wrote: > I've implemented a ButtonSkin for CheckBox. I have several of them in > a VBox. I'm trying to tween during the IndexChangedEvent via the > childIndexChange event, to move the selected CheckBox up to the top. Well, actually, you can just set

[flexcoders] Re: ExternalInterface erros

2009-01-12 Thread Anthony DeBonis
-What browser are you using - or does it happen in all browsers - Can you get something simple to work like this ExternalInterface.call("alert('TEST')"); -Can you post the code?

[flexcoders] Tweening VBox or List IndexChangedEvent

2009-01-12 Thread kylewburke
I've implemented a ButtonSkin for CheckBox. I have several of them in a VBox. I'm trying to tween during the IndexChangedEvent via the childIndexChange event, to move the selected CheckBox up to the top. I'm wondering if VBox is the right way to go or is a subclass of List better? Also not su

[flexcoders] Re: Styling Alert box default button

2009-01-12 Thread Jason B
--- In flexcoders@yahoogroups.com, "achegedus" wrote: > > I have a custom styled alert box with two buttons (ok and cancel), I'm > trying to make the default button look slightly different, but I can't > figure out how to do this. Does anyone know? The default style can > achieve this. > have y

[flexcoders] Re: Using dispatchEvent ?

2009-01-12 Thread biosmonkey
I see. I think the part I was missing was the fact that the class object needed to be a child of the application to be in its display list, instead of instantiated to a variable. I could convert my class to a component I suppose, and place it in my MXML but frankly I don't mind dispatching from m

RE: [flexcoders] Error: Access of undefined property

2009-01-12 Thread Alex Harui
Change the class name, maybe it is colliding with mx.utils.StringUtils From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of freak182 Sent: Saturday, January 10, 2009 6:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Error: Access of undefined property Hel

RE: [flexcoders] Re: Make Enter work as Tab in Flex DataGrid

2009-01-12 Thread Alex Harui
DataGrid disables focusmanager when passing tab through the cells. You could override DG, trap the keyDown for ENTER, call stopImmediatePropagation so the DG doesn't see it, and dispatch a fake keyFocusChange event instead From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On

[flexcoders] Re: recompiling framework shared library?

2009-01-12 Thread Darrell Loverin
The reason you are having a problem is because of the "first in wins" rule that applies to loading classes. Your monkey patched VideoPlayer class is in your swf file, but in frame 2. The framework swz file is loaded in frame 1, so its definition of VideoPlayer wins. The way to work around this

RE: [flexcoders] DataGrid selectAll problem

2009-01-12 Thread Alex Harui
I would not set both selectedItems and selectedIndices. Probably just selectedIndices because it should be faster. I don't think selectItem will be called if the item is already selected. Due to the way invalidation works, maybe it hasn't been de-selected yet. Sometimes, callLater can help

RE: [flexcoders] Re: Wierd error 1067 on extended DefaultDataDescriptor

2009-01-12 Thread Alex Harui
Worthy of a bug if you have the time. I agree it is inconsistent From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Amy Sent: Sunday, January 11, 2009 5:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Wierd error 1067 on extended DefaultDataDescripto

RE: [flexcoders] VO and LabelField Problem

2009-01-12 Thread Alex Harui
What happens when you use labelField=”courseName”? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Berkay Unal Sent: Sunday, January 11, 2009 9:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] VO and LabelField Problem Hi, When trying have dataprovid

[flexcoders] ExternalInterface erros

2009-01-12 Thread flexaustin
Anyone know why I am getting this error when making an externalinterface call? missing ) after argument list [Break on this error] try { __flash__toXML(Glide.onSelect(43,4... YOU $ 'FBar'\",\"connection\":0

[flexcoders] Browser and embeded Flex scrolling together

2009-01-12 Thread bffoley
Currently I'm working on a Flex app for a client that has a VBox with a vertical scrollbar on it. Inside of the VBox is a long list of custom components (based on HBox) that can be viewed by scrolling up and down on the scrollbar. The issue is this application is embeded within a HTML page that h

Re: [flexcoders] How to remove labels from a chart with ActionScript

2009-01-12 Thread Julien BALMONT
And FYI, the Axis Renderer was defined explicitly. Thanks again On Mon, Jan 12, 2009 at 4:57 PM, Julien BALMONT wrote: > You're a chief!!! > I had forgotten the [0] ;( > > Thanks for your help, now it works > > Julien > > > On Mon, Jan 12, 2009 at 4:54 PM, Sam Lai wrote: > >> >> AxisRenderer(m

Re: [flexcoders] How to remove labels from a chart with ActionScript

2009-01-12 Thread Julien BALMONT
You're a chief!!! I had forgotten the [0] ;( Thanks for your help, now it works Julien On Mon, Jan 12, 2009 at 4:54 PM, Sam Lai wrote: > > AxisRenderer(myBarChart.horizontalAxisRenderers[0]).setStyle("showLabels", > false); > > should work. How have you defined your chart in MXML? Did you > ex

Re: [flexcoders] How to remove labels from a chart with ActionScript

2009-01-12 Thread Sam Lai
AxisRenderer(myBarChart.horizontalAxisRenderers[0]).setStyle("showLabels", false); should work. How have you defined your chart in MXML? Did you explicitly define a horizontal axis renderer, or are you using the internal one? Maybe try defining one explicitly, and that way you can set an ID and re

[flexcoders] Re: Flash Remoting Options

2009-01-12 Thread Amy
--- In flexcoders@yahoogroups.com, Alan K wrote: > > Resonably - there are no options regarding AMFPHP. > > PHP 4 is really old. Your host should offer an upgrade to at least > PHP 5. I think it has to do with the framework they use to provide PHP on Windows accounts. I'm thinking maybe I

[flexcoders] Re: CategoryAxis category order

2009-01-12 Thread Amy
--- In flexcoders@yahoogroups.com, "Maciek Sakrejda" wrote: > > Ok, so it looks like a (reasonably simple) way to do this is to set the dataProvider of the CategoryAxis to originalDataProvider.toArray ().reverse() on every update of originalDataProvider. A ListCollectionView to wrap originalDat

Re: [flexcoders] Re: Using dispatchEvent ?

2009-01-12 Thread Sam Lai
The event listener attached to the Application is not reacting to the event fired from your custom class because your custom class instance is not attached to the Application DisplayList. It is just an object in memory. If you want the event from your custom class instance to bubble up to the Appli

[flexcoders] Re: Styling Alert box default button

2009-01-12 Thread valdhor
Checkout graphical skinning. A couple of places to start: http://livedocs.adobe.com/flex/3/html/help.html?content=skinning_4.html http://userflex.wordpress.com/2008/03/13/button-image-skinning/ --- In flexcoders@yahoogroups.com, "achegedus" wrote: > > I have a custom styled alert box with two b

[flexcoders] Re: Using dispatchEvent ?

2009-01-12 Thread biosmonkey
The dispatched event needs to be heard by any component, anywhere, by setting an event listener for it at the application level. So bubbling up to the app is critical. --- In flexcoders@yahoogroups.com, "Manish Jethani" wrote: > > On Mon, Jan 12, 2009 at 11:42 AM, biosmonkey wrote: > > > In

[flexcoders] Re: Using dispatchEvent ?

2009-01-12 Thread biosmonkey
Actually, I did think about that and tried changing from EventDispatcher to extending UIComponent but it still does not work. I even tried Canvas and it still does not catch it. As an experiment, though, I tried dispatching the same event from one of my components elsewhere in the application just

[flexcoders] Re: get selected datagrid dynamically

2009-01-12 Thread Jason B
also tried create_test.text = parentApplication.reftables_grid.selecteditem.this[fieldname];

[flexcoders] Lazy Loading Tree example posted

2009-01-12 Thread Amy
Several people on here have asked for example code for lazy loading data intended for a Tree component. I've posted the example here: http://flexdiary.blogspot.com/2009/01/lazy-loading-tree-example-file- posted.html Hope this helps someone :-) -Amy

[flexcoders] Re: Flash Remoting Options

2009-01-12 Thread valdhor
A shot in the dark: WebORB for .NET --- In flexcoders@yahoogroups.com, "Amy" wrote: > > Hi, all; > > I built a great little example file using AMFPHP. It works great on my > local installation of WampServer, but when I uploaded it to my web > host, the Service Browser for AMFPHP wouldn't wor

[flexcoders] get selected datagrid dynamically

2009-01-12 Thread Jason B
Im trying to get the selected item value from the parent app but i cannot seem to put the name as a variable? var fieldname:String = columnData.field; create_text = new TextInput(); create_text.percentWidth = 80; create_text.id = "inputtex

Re: [flexcoders] Using dispatchEvent ?

2009-01-12 Thread Manish Jethani
On Mon, Jan 12, 2009 at 11:42 AM, biosmonkey wrote: > In my main app, I instantiate an instance of this class. I also > create an event listener at the application level. > > Here's the problem: > > * If I use dispatchEvent(...) inside MyClass, the event listener in > the main app never fires (t

Re: [flexcoders] Multiple selection in dataGrid by dragging Mouse with left mouse key

2009-01-12 Thread Manish Jethani
On Sat, Jan 10, 2009 at 11:55 PM, Dharmendra Chauhan wrote: > Is it possible to select multiple rows in data grid by just > dragging mouse over It. I know this can we achieved with combination > of sift key and mouse. [...] > Please let me know whether it is possible in flex or not and if it

[flexcoders] Re: Namespace declaration problem

2009-01-12 Thread valdhor
It is not uncommon for someone to code something that requires someone else's code but they can't (or won't) include that code because they don't want to go through any licensing. They should have told you that it was required and where to go and get it. Was there ANY documentation to that effect?

  1   2   >