[flexcoders] Re: How to extract data from XML

2008-05-24 Thread wild.katana
OMFG the namespace was the problem. After I added that line I was able to call Alert.show(myXML.logo.toXMLString()); and it worked like a charm. Thanks now I can finally start doing stuff with my application. This snag has been holding me up for a few days. One last thing, how would I go about ex

[flexcoders] callLater, FPS, and lengthy background operations

2008-05-24 Thread Josh McDonald
Hi Guys, If I have a long list of things to process as a background task, I figure a good way to do it is a piece at a time with callLater(). However I'd like to be able to detect if I'm taking too long per block and running into the next frame. Also, I'd like to do more per cycle if my app finds

Re: [flexcoders] callLater, FPS, and lengthy background operations

2008-05-24 Thread EECOLOR
Framerates by default are set to 40 FPS. If you happen to have a reference to the stage, you can use the stage.frameRate property. That way you have a solution for all frame rates. I would use an enterFrame solution like callLater, then just check the time within a while loop. Greetz Erik On 5

Re: [flexcoders] AIR capabilities

2008-05-24 Thread EECOLOR
You can only open a socket if the server at the other hand has allows it on port 843. As far as I know you can only do simple requests and have no access to the response in terms of header and body. >If I can't do any of that, are there plans to allow AIR apps to be Java with a Flex / Flash >UI an

RE: [flexcoders] Re: Flash USB-API :)

2008-05-24 Thread Rick Winscot
There is an obvious solution: Flex/AIR -> Web Services (or similar) -> USB ... but _direct_ communication with USB? I'm stumped as to why you would even need something like this. What is your use case? Rick Winscot From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cato P

[flexcoders] Multiple ItemRenderers for a single DataGridColumn

2008-05-24 Thread dbronk
I have a DataGrid and one of the columns I need to be able to do the following based on the user security setting and the data in the column. So each row in the DataGrid for a single user may have different behavior and ItemRenderers. 1. Do not show any data and mark the cell not editable. Stil

[flexcoders] AS3 regexp doesnt implement lookbehind?

2008-05-24 Thread Janis Radins
Hey people! I'm playing here with some RegExp stuff. Should have learned it long time ago tho I started just recently. So, i was playing with syntax highlighter in AS3 and stumbled upon difficulties on how to match doc tag inside block comment. After several hours I came up with genius expression

Re: [flexcoders] custom event not added

2008-05-24 Thread dnk
fire? As in scrap and rewrite? dnk On 23-May-08, at 10:25 PM, Josh McDonald wrote: If you're getting a runtime error accessing Application.application you'll need fire to clean this up, methinks. -J On Sat, May 24, 2008 at 3:02 PM, dnk <[EMAIL PROTECTED]> wrote: That added an error: Acc

Re: [flexcoders] AS3 regexp doesnt implement lookbehind?

2008-05-24 Thread EECOLOR
It should have a look behind. I think you can find all your answers here: http://gskinner.com/RegExr/ There is also an Air version available. At the right side you can find the capabilities. Greetz Erik On 5/24/08, Janis Radins <[EMAIL PROTECTED]> wrote: > > Hey people! > > I'm playing here wit

[flexcoders] Why is this renderer so slow?

2008-05-24 Thread dbronk
I have created a checkbox renderer. My datagrid has 5 out of 8 columns that use it. The datagrid has only about 80 rows it it. When using this renderer the performance of the datagrid is horrible. Scrolling is extremely slow, click a checkbox is extremely slow. If I swap out and use a normal m

[flexcoders] Can a 'child' tell when its parents view state changed?

2008-05-24 Thread Grant Davies
I have a set of viewstates that are used many times. When the view state is changed, I would like the child to "reset" its view. I would like the child to know when it is "revealed" due to the state change of the parent. It seems that the child does not know when the parent changes view states a

[flexcoders] Re: callLater, FPS, and lengthy background operations

2008-05-24 Thread Tim Hoff
Hmm, I thought that the default was 24 fps. Not related to the question, but a little trick that you can use sometimes, to boost performance, is to set the frameRate to 99 in the Application tag. Makes the busy cursor go nuts, but it makes transitions smoother. -TH --- In flexcoders@yahoogro

[flexcoders] Re: Multiple ItemRenderers for a single DataGridColumn

2008-05-24 Thread Tim Hoff
Hi Dale, An itemRenderer is a component. You can use states within an itemRenderer; that are conditionally set. If you override the set data method, you can change the component's state there; to meet your needs. You could also use a viewStack in the itemRenderer and do the same thing. -TH

Re: [flexcoders] Can a 'child' tell when its parents view state changed?

2008-05-24 Thread leds usop
have you tried the added/removed events? usually hiding/showing children in viewstates using the design mode entail adding/removing the corresponding children rather than just hiding or setting the visibilities  unless you explicitly set them to be so in the source view.--- On Sun, 5/25/08, Grant D

Re: [flexcoders] Why is this renderer so slow?

2008-05-24 Thread leds usop
im just wondering why you think an ordinary check box wont retain it's selected state when scrolling? can you provide an example code that does that? maybe it will be more beneficial to approach the problem using that approach. Just a thought. --- On Sun, 5/25/08, dbronk <[EMAIL PROTECTED]> w

RE: [flexcoders] Can a 'child' tell when its parents view state changed?

2008-05-24 Thread Grant Davies
Thanks for the idea leds, The added event is fired when the child is first added (same time as creationComplete is fired), but when the child is made "visible" due to a state change by the parent the added is not fired again on the child. Cheers, Grant ..

Re: [flexcoders] Why is this renderer so slow?

2008-05-24 Thread Douglas Knudsen
ugh,yeah, CheckBox implements IDropInItemListRenderer (or whatever its called exactly) and can do the edit your data thing. Have you tried this? DK On Sat, May 24, 2008 at 2:25 PM, leds usop <[EMAIL PROTECTED]> wrote: > im just wondering why you think an ordinary check box wont retain it's >

[flexcoders] Flex + Cairngorm + ASSQL

2008-05-24 Thread Manu Dhanda
I am trying to use ASSQL in my sample application with Cairngorm. Now, am stuck at the point where my application will talk to the db and the responses returned by db. In my delegate class: public function getCategories( ): void { var call : AsyncToken = this.getCategoriesFromDB(); //ins

[flexcoders] how could I get certified by flex

2008-05-24 Thread Gustavo Duenas
Hi coders , I was wondering, where could I find a flex book to study for a flex certification and also where could I get that test . Regards, Gustavo Duenas

[flexcoders] XMLRPC for Actionscript

2008-05-24 Thread Steve Good
Looking for clear documentation / examples on how to use XMLRPC for Actionscript. Anyone have any links? I'm reading through the comments in the source, but it's just not sinking in. Thanks! -- Steve Good http://lanctr.com/

RE: [flexcoders] how could I get certified by flex

2008-05-24 Thread Rick Winscot
The 'Training from the Source' series is a good place to start... http://www.amazon.com/Adobe-Flex-3-Training-Source/dp/0321529189 Rick Winscot From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Duenas Sent: Saturday, May 24, 2008 5:41 PM To: flexcoders@yahoogroup

RE: [flexcoders] Flex + Cairngorm + ASSQL

2008-05-24 Thread Jim Hayes
>What should be the return type of this method so that my responder can handle >the results? Assuming you're using the standard cairngorm model and using the command that called the delegate as the delegates responder, then it's result method takes an Object as it's parameter. So it could be a

[flexcoders] Re: Back Button issues . . .

2008-05-24 Thread Tim Hoff
Hi, The history manager saves and loads state properties for registered components; not ModelLocator state variables. Each time that the selectedChild of the ViewStack changes, the history manager saves the ViewStack's selectedIndex. When the browser's back button is clicked, the history manager

Re: [flexcoders] how could I get certified by flex

2008-05-24 Thread Gustavo Duenas
Hi, I have adobe flex 2 training from the the source, once I got it finished where should I go have the test to be certified? Regards, Gustavo Duenas On May 24, 2008, at 5:55 PM, Rick Winscot wrote: The 'Training from the Source' series is a good place to start... http://www.amazon.com/

[flexcoders] Publish Flex dev application to Production problem!

2008-05-24 Thread guillaumeracine
Hi, my application in dev mode works fine with blazeDS. But when i put it on my web server i cannot access the blazeDS application (messagebroker) anymore from my flex client. in dev mode i access to my flex app like this http://192.168.1.101:8080/myapp/chidaca.html In production mode i use myapp

[flexcoders] Text Question

2008-05-24 Thread nihilism machine
Ok, this will probably sound stupid but ... How can I write a paragraph of text inside of an accordion? My example accordion that I am using uses

[flexcoders] Re: Amazon S3 + Flex Uploader // help!

2008-05-24 Thread artur_desig2dev
an AIR solution will not help me..since im not building an AIR app. has anyone successfully managed to Batch Upload ( and auto process ) files to S3? if so can u tell me how? are their libraries ? or classes out there? and should this be strictly done in PHP? or in the Flex App? thanks ---

[flexcoders] Re: Amazon S3 + Flex Uploader // help!

2008-05-24 Thread artur_desig2dev
i am aware of the app.. however its AIR. however - im not building an AIR app. and i cant use it. has anyone on this successfully connected and batch uploaded to S3? without using AIR? thanks artur

[flexcoders] Flex3---Reduced by size module doesn't show Button

2008-05-24 Thread dr_dumb99
Hi! I have compiled module with 'MXMLC' command. Its size is more than 100 K. It contains only one button. when I call this module in main application, it is called perfectly and button is showed on the screen. 2nd Time: Now I want to reduce the size of the module. And for this I do following

Re: [flexcoders] Re: Flash USB-API :)

2008-05-24 Thread dorkie dork from dorktown
a couple of reasons, https://bugs.adobe.com/jira/browse/SDK-14000 http://bugs.adobe.com/jira/browse/SDK-13999 On Sat, May 24, 2008 at 6:35 AM, Rick Winscot <[EMAIL PROTECTED]> wrote: > There is an obvious solution: > > Flex/AIR -> Web Services (or similar) -> USB > > ... but _direct_ communica

[flexcoders] Re: Importing SWC Files in FLEX

2008-05-24 Thread Danny Venier
Hey Anuj, People tend to respond more to questions that have enough info to get to the root of the problem such as coding issues. This one is more of a system issue and perhaps I'm still missing some info because I don't understand exactly what you're trying to do, and it's tough to post your

[flexcoders] dataTipItems

2008-05-24 Thread shaishavk
I want to show multiple datatip items on the chart when user click a button. How it this possible? I read dataTipItems could be userful but never found any sample.

[flexcoders] Footer for AdvancedDataGrid

2008-05-24 Thread chigwell23
Appreciate suggestions for this ... are there any updates to the earlier solutions e.g. Alex's DataFooterGrid etc? Which are excellent but do not seem to work with grids which need grouped data from flat sources ... I don't think the DataFooterGrid inherits enough to do this - lot of properties not

[flexcoders] Re: Autherizing a computer using an AIR application

2008-05-24 Thread andrewwestberg
Currently in AIR, you can't do this. I believe it's a candidate for a future version of AIR though. -Andrew --- In flexcoders@yahoogroups.com, "vipinck" <[EMAIL PROTECTED]> wrote: > > Hi there, > > Does anyone knows a way to authorize a computer when an AIR > application runs for the first time

Re: [flexcoders] custom event not added

2008-05-24 Thread Josh McDonald
As in, I've got no idea what's going on :) Application.application should always point to the running instance of your On Sun, May 25, 2008 at 2:19 AM, dnk <[EMAIL PROTECTED]> wrote: > fire? As in scrap and rewrite? > > dnk > > > On 23-May-08, at 10:25 PM, Josh McDonald wrote: > > If you're ge

[flexcoders] Re: Why is this renderer so slow?

2008-05-24 Thread dbronk
Fill up the yourCollection with a bunch of objects or xml with a field named yourBooleanField. Run it and they will initially display fine. Select some, unselect others. Scroll them off the page the scroll them back into view and their state will not be kept. I posted a question about that

RE: [flexcoders] Flex3---Reduced by size module doesn't show Button

2008-05-24 Thread Alex Harui
Normally, you use -link-report on the main app, not the module, and use load-externs on the module using the main apps link-report From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dr_dumb99 Sent: Saturday, May 24, 2008 7:13 AM To: flexcod

RE: [flexcoders] Why is this renderer so slow?

2008-05-24 Thread Alex Harui
Updating the dataprovider is costly. Make sure it only happens when required (that is isn't happening during scrolling), and maybe avoid dispatching an event to do it. I'm not sure who's listening and what they will do in response. If you change the dataprovider, the DataGrid will do a lot of wor

RE: [flexcoders] Can a 'child' tell when its parents view state changed?

2008-05-24 Thread Alex Harui
A state change may create components, add them to the display list or show them if hidden. The corresponding events are creationComplete, addedToStage, and show. You may need to listen to all three From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Restricting SWFLoader Content to its Dimensions

2008-05-24 Thread Alex Harui
In theory, if you set scaleContent=false and fix the size of the SWFLoader, it should clip From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Miller Sent: Friday, May 23, 2008 9:00 AM To: flexcoders@yahoogroups.com Subject: [flexcoder

RE: [flexcoders] Data Grid issue

2008-05-24 Thread Alex Harui
No, I haven't. What happened when you tried it? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jitendra jain Sent: Friday, May 23, 2008 3:52 AM To: flex group flex Subject: [flexcoders] Data Grid issue Hi Alex, I read your blog :

RE: [flexcoders] Row Height of DataGrid in CSS

2008-05-24 Thread Alex Harui
Not really. You could subclass and have it pull from a custom style From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of linko27 Sent: Friday, May 23, 2008 1:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Row Height of DataGrid i

RE: [flexcoders] Re: Button down event

2008-05-24 Thread Alex Harui
Flex is pretty good, but not perfect. We design for 80% cases and do not always handle the 20% case. We have code size and developer resource restrictions. The 80% case is that some button should be activated on ENTER pretty much no matter what control has focus. It would seem to me to be a

RE: [flexcoders] Trees backed by ListCollectionView with singlenode

2008-05-24 Thread Alex Harui
I think ArrayUtil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Maciek Sakrejda Sent: Thursday, May 22, 2008 5:42 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Trees backed by ListCollectionView with singlenode Actual

RE: [flexcoders] Datagrid cell editing question

2008-05-24 Thread Alex Harui
You may need to detect that you're at the last row and column and not call preventDefault. You can always call setFocus on those controls as well. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pratima Rao Sent: Thursday, May 22, 2008

RE: [flexcoders] Multiple ItemRenderers for a single DataGridColumn

2008-05-24 Thread Alex Harui
In Flex3, we added a createColumnItemRenderer method that in theory will let you return different renderers per-row. Might be worth a try. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dbronk Sent: Saturday, May 24, 2008 6:45 AM To:

RE: [flexcoders] callLater, FPS, and lengthy background operations

2008-05-24 Thread Alex Harui
There's a post on my blog you may find useful: http://blogs.adobe.com/aharui/2008/01/threads_in_actionscript_3.html From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Saturday, May 24, 2008 3:36 AM To: flexcoders@yahoogr

RE: [flexcoders] custom event not added

2008-05-24 Thread Alex Harui
Who's dispatching and how? When does the control get instantiated? Could it be after creationComplete? If the controller is not a UIComponent, it will not get a creationComplete. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of d

Re: [flexcoders] callLater, FPS, and lengthy background operations

2008-05-24 Thread Josh McDonald
Thanks Alex, that is useful :) On Sun, May 25, 2008 at 1:59 PM, Alex Harui <[EMAIL PROTECTED]> wrote: >There's a post on my blog you may find useful: > http://blogs.adobe.com/aharui/2008/01/threads_in_actionscript_3.html > > > -- > > *From:* flexcoders@yahoogroups