[flexcoders] Emulating a failed validator

2008-05-23 Thread Josh McDonald
Guys, Say I have a textInput, and I need to emulate the failure of a validator, how do I go about it? I can't use the existing validator framework, because the decision on whether or not that field is valid is based on a calculated result rather than a simple validation of the textInput component

Re: [flexcoders] Populating Datagrid from Database

2008-05-23 Thread Fidel Viegas
On Fri, May 23, 2008 at 1:20 AM, kenny14390 [EMAIL PROTECTED] wrote: I am calling a PHP page, which reads my entire database and formats it to output as valid XML. How can I set this as the data provider for a Datagrid component? I know what the columns are, but not the number of rows nor the

Re: [flexcoders] Image

2008-05-23 Thread Manish Jethani
On 5/22/08, Laith Juwaidah [EMAIL PROTECTED] wrote: Sorry, I copied the wrong line, it's giving the error on loader.mouseEnabled = false; You have to set mouseEnabled on the contentHolder object. See the source of SWFLoader. Manish

[flexcoders] Data Grid issue

2008-05-23 Thread jitendra jain
Hi Alex, I read your blog : http://blogs.adobe.com/aharui/2008/03/datagrid_doubleclick_to_edit.html Have u tried dispatching an itemEditEnd event with different DataGridEventReasons for submit and cancel ? Please let me know as iam facing the same problem. Thanks in advance.

RE: [flexcoders] chart data change events

2008-05-23 Thread Sunil Bannur
When the dataprovider changes, each series's protected dataChanged function gets called. Also, you could access the chart's dataProvider as a ICollection and add an event listener to it to keep track of the data changes. Thanks -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL

Re: [flexcoders] Image

2008-05-23 Thread Laith Juwaidah
I'm getting confused, didn't we set loader to be contentHolder of Image in the previous line? On Fri, May 23, 2008 at 2:07 PM, Manish Jethani [EMAIL PROTECTED] wrote: On 5/22/08, Laith Juwaidah [EMAIL PROTECTED] ljuwaidah%40gmail.com wrote: Sorry, I copied the wrong line, it's giving the

[flexcoders] Re: ScriptTimeOut Issue

2008-05-23 Thread Subeesh
Thanks Alex, The setTimeout call in javascript solved the issue . Subeesh --- In flexcoders@yahoogroups.com, Subeesh [EMAIL PROTECTED] wrote: Hi Alex, Thanks for your reply . But I am not sure what are you trying to say . The error is thrown from flex , not from javascript , and how

[flexcoders] XML to Object

2008-05-23 Thread gaurav1146
Hi, I am using a HTTPService which has resultFormat as e4x. I need to convert the XML obtained to an ArrayCollection containing objects. I tried this: var ac:ArrayCollection = new ArrayCollection([(event.result.abc as XML).children()]); This gives me an array collection of XML objects. But, I

[flexcoders] Aamzon flash scrolly rotator

2008-05-23 Thread smccran
Hi all, I found this the other day, its Amazons flash driven rotating Item picker http://www.amazon.co.uk/b/ref=amb_link_62695165_1? ie=UTF8node=10917681pf_rd_m=A3P5ROKL5A1OLEpf_rd_s=ilmpf_rd_r=0ACZ4V8 V6PJSJ3K5HGZTpf_rd_t=101pf_rd_p=187921591pf_rd_i=266239 I really like the functionality, and

[flexcoders] Interesting XML performance discovery

2008-05-23 Thread polestar11
Hi there I'm busy crunching through xml data, stripping out nodes that don't have children. Perhaps its not the best way to do things, but I use a for loop that checks and deletes any item with no children. I've always found XML delete tricky and to do this I reference the parent which finds the

[flexcoders] Re: Interesting XML performance discovery

2008-05-23 Thread polestar11
... just discovered how terribly unoptimized code can be. Changed the delete code snippet from the below example to the following: delete body.children()[count]; // takes 53636ms and then the following: delete spans[count]; // takes 852ms Obviously constructing a child array each time in the

[flexcoders] custom event not added

2008-05-23 Thread dnk
Hi there, I have a controller that is adding my custom event listeners, but for some reason my event handler was not being fired. My original code was (snippet): (in controler) //constructor public function FlexbController() { //turn the key, start it

Re: [flexcoders] custom event not added

2008-05-23 Thread Paul Andrews
addEventListener() does not return a value.. - Original Message - From: dnk [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, May 23, 2008 12:47 PM Subject: [flexcoders] custom event not added Hi there, I have a controller that is adding my custom event listeners, but

[flexcoders] Re: filterFunction problems being had

2008-05-23 Thread bredwards358
I kind of see what you're getting at, I'm thinking the ArrayCollection is probably not being returned as an associative array. I've double-checked and the col variable is containing the value of what I select in the comboBox yet value is not getting set equal to it so yeah value = item[col] works.

[flexcoders] Application crash due to Channel disconnected

2008-05-23 Thread Tuncay A.
Hi, I hope some of you guys can help me. I made my first company Flex application integrated into a webapplication using Java Dataservice to communicate to backend. On Windows machine it works properly. When deploying into a Linux machine it crashes almost all time when the application either

Re: [flexcoders] Aamzon flash scrolly rotator

2008-05-23 Thread Farid SALAH
Le 23 mai 08 à 13:09, smccran a écrit : Hi all, I found this the other day, its Amazons flash driven rotating Item picker http://www.amazon.co.uk/b/ref=amb_link_62695165_1? ie =UTF8node=10917681pf_rd_m=A3P5ROKL5A1OLEpf_rd_s=ilmpf_rd_r=0ACZ4V8

[flexcoders] Force redraw of a Linechart as seen on livedocs ?

2008-05-23 Thread Farid SALAH
Hi all ! I'm trying to implement the code found here http://livedocs.adobe.com/flex/3/html/charts_intro_7.html#225506 It's the last part with the multiple line series. My problem is that I'm updating the series based on a request instead of populating it in the creationComplete() The

[flexcoders] how to set handle focus?

2008-05-23 Thread odiel_leon
Hi. I have a panel, inside are some controls like buttons and texts fields. I want that when click on any panel region(inside, border, title) set focus of my panel and aply some style, and when the panel loose focus change the style. I know how to change the style. In other hand,I have a

[flexcoders] Re: Any one have info as to how to setup an AdvancedDataGridHeaderRender?

2008-05-23 Thread valdhor
The best articles I have seen on renderers are on Alex Harui's blog http://blogs.adobe.com/aharui/item_renderers/ --- In flexcoders@yahoogroups.com, jlopes151 [EMAIL PROTECTED] wrote: I'm looking for a walk through as to how to setup an AdvanceddataGridHeaderRender. Any one know of one?

Re: [flexcoders] Re: Flash Player 10 is in prerelease!

2008-05-23 Thread Tom Chiverton
On Wednesday 21 May 2008, Muzak wrote: From what I can tell, that's the standalone version, not the FP browser plugin (at least the win version). Ahh. Oh well, there's a Linux plugin :-) -- Tom Chiverton This email is sent for and on

Re: [flexcoders] Re: Securely Interfacing Between Flex and Databases

2008-05-23 Thread Tom Chiverton
On Wednesday 21 May 2008, Battershall, Jeff wrote: Yes, but we're talking on YOUR network where you have WebScarab or other such tool installed. It's not as though ALL your bank's transactions, regardless of intended recipient, are now visible to you. No, of course not. The OP asked /i/ can

Re: [flexcoders] Flex 3, Coldfusion wizard and internal build errors

2008-05-23 Thread Tom Chiverton
On Thursday 22 May 2008, neonblue wrote: I am, is there an issue with that? I can access the drive with no problems... There would appear to be an issue with that, if it works locally... you don't have an on-demand virus scanner running, per-chance ? -- Tom Chiverton

Re: [flexcoders] Flash USB-API :)

2008-05-23 Thread Tom Chiverton
On Thursday 22 May 2008, Cato Paus wrote: I realy hope we can have USB communication in AIR and Flash Player :) USB communication from a web site ? I think not... unless you want Joe Random reading all your data. For AIR this makes more sense. -- Tom Chiverton

[flexcoders] Re: TittleWindow ControlBar not showing up

2008-05-23 Thread valdhor
From memory, the documentation says that the controlbar must be the last child added to the window. You are adding the controlbar to an Hbox that has already been added to the window. Try adding the controlbar directly to the window as the last item to be added. --- In

[flexcoders] Re: Flex 3, Coldfusion wizard and internal build errors

2008-05-23 Thread neonblue
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 22 May 2008, neonblue wrote: I am, is there an issue with that? I can access the drive with no problems... There would appear to be an issue with that, if it works locally... you don't have an

[flexcoders] Wipe effects with perElementOffset in State Transitions and RemoveChild

2008-05-23 Thread wavinboy31
Hi Trying to use a wipe transition effect when changing states. I want to use a perElementOffset so that the object wipes off and then gets removed. I've already set wipe.showTarget to false, but the component performs the wipe and then flicks back on? I'm pretty sure my code is solid, I can

[flexcoders] Re: Flash USB-API :)

2008-05-23 Thread Cato Paus
Hehe Totaly Agree with you on Joe Random, but I put my trust on Adobe to find a solution :) --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 22 May 2008, Cato Paus wrote: I realy hope we can have USB communication in AIR and Flash Player :) USB

[flexcoders] Re: chart data change events

2008-05-23 Thread netdeep
The problem with the events is that if I listen to changes in the array, I don't have access to the chart when the event fires. You can't pass arguments to the event so the only thing it will know about is the array which fires it. And as I said before, when I create custom events, I have

[flexcoders] Re: Aamzon flash scrolly rotator

2008-05-23 Thread valdhor
There are a number of these components around. Check these out: http://www.afcomponents.com/components/3d_carousel_as3/ http://theflashblog.com/?p=293 http://blogs.digitalprimates.net/codeSlinger/index.cfm/2007/10/28/Max-Presentation http://giles.roadnight.name/Carousel/Carousel.html --- In

[flexcoders] Re: Add New Item to Datagrid

2008-05-23 Thread David C. Moody
Well I came in this morning and was beginning to start debugging and I don't believe it but the stupid thing is working now?!?!?!? Here's what my code ended up being: private function generateObject():Object { return { ap_trans: } } private function isObjectEmpty(obj:Object):Boolean {

[flexcoders] Parsing ISO8601 date

2008-05-23 Thread cesarerocchi
Hi, AFAIU there is no support to parsing ISO8601 dates in Flex. Does anybody have a clue or pointer to some library? Thanks, -c. -- http://spreadingfunkyness.com/posty

[flexcoders] Center/Shrink To Fit

2008-05-23 Thread Richard Rodseth
I'm looking to find or create a component which would scale (not resize) its contents smaller if they were larger than this component's bounds, and center them if they're smaller. I could imagine extensions to support expand to fit as well, but that's not needed currently. The contents can be a

[flexcoders] Re: Add New Item to Datagrid

2008-05-23 Thread David C. Moody
I did some more testing to figure out what was causing this to work/not work. What I found is that if the evt.result is a mysql/mysqli result set, it fails to load data sent. However if you put the mysql data into a separate array, and return that array. The data shows up. However if you set

[flexcoders] Chart Using WebService

2008-05-23 Thread ajesing
Hello, I am completely new to Flex, I am looking for a sample code for building a chart using a webservice. Could someone kindly provide some example or a sample code? I would really appreciate that. Thanks a lot.

Re: [flexcoders] Emulating a failed validator

2008-05-23 Thread Charlie Griefer
On Thu, May 22, 2008 at 11:12 PM, Josh McDonald [EMAIL PROTECTED] wrote: Guys, Say I have a textInput, and I need to emulate the failure of a validator, how do I go about it? I can't use the existing validator framework, because the decision on whether or not that field is valid is based on a

[flexcoders] Question regarding DataGrid

2008-05-23 Thread Kenny
Hello. In the following code, I would like to be able to reference the data field called fn from within the item renderer for the last column, which contains the RollOverButton. Can someone tell me how I can do this? What I want to do is have the button be visible in some cases, but not others.

RE: [flexcoders] Re: How to extract data from XML

2008-05-23 Thread Tracy Spratt
Ok, you may have a namespace problem. They can be a PITA. I'm not an expert and you should reveiw the docs/google if this doesn't work but try putting this in the declarations section of your app/component(instance scope level): default xml namespace = http://www.w3.org/2005/Atom;; There

[flexcoders] How to run a sample from docs

2008-05-23 Thread markgoldin_2000
How can I open and run in Flex the following sample: installation_dir\frameworks\javascript\fabridge found at: http://livedocs.adobe.com/flex/3/html/help.html? content=ajaxbridge_2.html Thanks

[flexcoders] DataGrid placement

2008-05-23 Thread David C. Moody
Is there a particular way to place a user in a certain cell? Like I have a check one one row, and if that check comes back invalid, I want to place the user back in that cell. If its valid I want the user to go to the next cell. A setFocus for a dataProvider is what I'm looking for I guess.

[flexcoders] AIR Relative URL Requests

2008-05-23 Thread Robert Stehwien
I had a web based Flex app and I've extracted common code to use in an AIR app. The Web application makes HTTPService and source=XXX requests using relative paths to the web application like this: mx:HTTPService id=imagesXML showBusyCursor=true url=config/images.xml

[flexcoders] Restricting SWFLoader Content to its Dimensions

2008-05-23 Thread Aaron Miller
Hello, I have a SWFLoader in my app that loads various SWF files created by other developers. They are supposed to create them in the specified dimensions, but I keep running into problems with them going outside the bounds. Is there any way I can just clip the content in Flex to ensure they

[flexcoders] Re: XML to Object

2008-05-23 Thread Tim Hoff
Hi Gaurav, This is kind of a pain, but you can convert XML to an ArrayCollection of Objects like this: public function result( event : Object ) : void { public var abcAC : ArrayCollection = new ArrayCollection(); var abcXMLList : XMLList = XMLList(XML(event.result).abc); for

[flexcoders] Re: How to use WebServices in Flex 3?

2008-05-23 Thread JWOpitz
--- In flexcoders@yahoogroups.com, barry.beattie [EMAIL PROTECTED] wrote: Well I prefer not to mess with the generated code, for the maintenance sake. Robert dumb question time... how do you guys usually manage the generated code when the webserver target moves from, say,

[flexcoders] Re: How to use WebServices in Flex 3?

2008-05-23 Thread JWOpitz
forgot to give the link - http://code.google.com/p/appcorelib/ --- In flexcoders@yahoogroups.com, barry.beattie [EMAIL PROTECTED] wrote: Well I prefer not to mess with the generated code, for the maintenance sake. Robert dumb question time... how do you guys usually manage the

[flexcoders] Re: filterFunction problems being had

2008-05-23 Thread Tim Hoff
Yep, the devil is in the details. Glad that you worked it out. :) -TH --- In flexcoders@yahoogroups.com, bredwards358 [EMAIL PROTECTED] wrote: I kind of see what you're getting at, I'm thinking the ArrayCollection is probably not being returned as an associative array. I've double-checked

RE: [flexcoders] Re: Async Concurrent Requests with AMF for BlazeDS or LCDS

2008-05-23 Thread Seth Hodgson
Hi Jay, You could fork the endpoint code and build your own custom AMF filter chain to do something like this, but the problem remains that when you receive a single HTTP request, you have to return all your results in a single HTTP response. Say you have 3 batched calls with average execution

[flexcoders] Re: XML to Object

2008-05-23 Thread Tim Hoff
Wow, don't know why the formatting messed up so much, but here's the rest of these lines: [EMAIL PROTECTED](); [EMAIL PROTECTED](); [EMAIL PROTECTED](); -TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi Gaurav, This is kind of a pain, but you can convert XML to

[flexcoders] Re: XML to Object

2008-05-23 Thread Tim Hoff
Ok, maybe with spaces: abc.Name = [EMAIL PROTECTED](); -TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Wow, don't know why the formatting messed up so much, but here's the rest of these lines: [EMAIL PROTECTED](); [EMAIL PROTECTED](); [EMAIL PROTECTED]();

[flexcoders] Re: XML to Object

2008-05-23 Thread Tim Hoff
Unbeleivable; last try: abc.Name = abcNode [EMAIL PROTECTED] .toString(); -TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Ok, maybe with spaces: abc.Name = [EMAIL PROTECTED](); -TH --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: Wow, don't

RE: [flexcoders] Re: Async Concurrent Requests with AMF for BlazeDS or LCDS

2008-05-23 Thread Seth Hodgson
Hi Tim, Yeah, it's the same issue. With proxied calls though, it's a bit more complicated to solve. In the remoting case, your remote object method is generally just doing some local computation on the server and maybe hitting a database. It's simple to wrap this up in a Runnable and execute

[flexcoders] Re: How to run a sample from docs

2008-05-23 Thread valdhor
The documentation on that page actually tells you: To run the samples: 1. Browse to the files found within the installation_dir\frameworks\javascript\fabridge 2. Place the src and samples folders side by side on any HTTP server. 3. Open a web browser to

Re: [flexcoders] Re: Async Concurrent Requests with AMF for BlazeDS or LCDS

2008-05-23 Thread Douglas Knudsen
Seth, where is this documented? Been looking for info on if the player batches calls up or not. So it does, but only for AMF? DK On Thu, May 22, 2008 at 2:34 PM, Seth Hodgson [EMAIL PROTECTED] wrote: There is a single thread that advances through SWF frames and runs your ActionScript

[flexcoders] Re: How to run a sample from docs

2008-05-23 Thread markgoldin_2000
Well, yes, but I want to get it open/run inside of Flex Builder so I can learn how it works. --- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote: The documentation on that page actually tells you: To run the samples: 1. Browse to the files found within the

RE: [flexcoders] Question regarding DataGrid

2008-05-23 Thread Tracy Spratt
Should be data.fn; Note, you must set this for every case, ie, always set the visibility on data change. Renderers are recycled and will not keep any state. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kenny Sent:

[flexcoders] Re: AIR Relative URL Requests

2008-05-23 Thread Robert Stehwien
Sorry about the sending without the complete question. The cat jumped on the keyboard and managed to hit the gmail code to send the mail. Anyway the question is this: Can I set the base URL for an AIR app so all relative requests for an HTTPService, Image, Movie, etc go to the given location?

Re: [flexcoders] Importing SWC Files in FLEX

2008-05-23 Thread anuj sharma
Hi Guys I am just wondering if I am doing something wrong here. Iam a new member of this list and to the world of Flex and in the past i posted lots of requests for helping me out but i did not get any reply at all. I am also the member of Flash Coders list. I am just wondering if this list is

[flexcoders] Tree node height problem on initial load

2008-05-23 Thread burttram
I have a component I'm developing to, among other things, accept an XMLListCollection as a dataProvider (the data is being supplied via a remote object call, which is why I've elected to extend a component to handle the reopening /dragdrop, etc). Best I can tell I've got working great, vice one

RE: [flexcoders] Populating Datagrid from Database

2008-05-23 Thread Tracy Spratt
Here is a simple example. It actually uses a Timer to poll the HTTPService, but you can ignore that part. http://www.cflex.net/showFileDetails.cfm?ObjectID=560 Also note that if your data is deeply nested in the xml nodes, you may need to use labelFunction to display it. There is an example

RE: [flexcoders] DataGrid placement

2008-05-23 Thread Tracy Spratt
DataGrid.editedItemPosition Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David C. Moody Sent: Friday, May 23, 2008 11:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid placement Is there a particular way

[flexcoders] Re: Question regarding DataGrid

2008-05-23 Thread Kenny
Oh! Now see, I knew it would be something simple. :o) Ok, so that helped me with another problem I was having elsewhere too, so double thanks for that one! I have read about the render handlers not keeping state, but I'm not sure how to handle this situation. How can I set it for each case, as

[flexcoders] Re: Question regarding DataGrid

2008-05-23 Thread Kenny
I'm guessing it will involve the dataChange event? Kenny --- In flexcoders@yahoogroups.com, Kenny [EMAIL PROTECTED] wrote: Oh! Now see, I knew it would be something simple. :o) Ok, so that helped me with another problem I was having elsewhere too, so double thanks for that one! I have

RE: [flexcoders] Re: Async Concurrent Requests with AMF for BlazeDS or LCDS

2008-05-23 Thread Seth Hodgson
Right, only for AMF, and I'm not aware of any documentation on that. If there was, it would be regarding NetConnection.call(...). URLLoader doesn't do any batching - it just hands off HTTP requests to the browser to send. But when using URLLoader, you need to be aware that browsers impose

[flexcoders] Re: How to run a sample from docs

2008-05-23 Thread valdhor
If you have a look in the fabridge/samples/srcview directory you will find app.mxml and EmptySwf.as. These work with the HTML files as well as the Javascript file. --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: Well, yes, but I want to get it open/run inside of

[flexcoders] Issue with PopupButton in full screen

2008-05-23 Thread sudha_bsb
Hi, I have an issue with popup button in full screen. I have a horizontalList in the popup window of the popup button. In Normal Screen mode the popup window comes up. But in Full Screen mode, the popup window doesn't turnup. Once u came from full screen mode to normal mode..even then the popup

[flexcoders] Re: Question regarding DataGrid

2008-05-23 Thread Kenny
I figured it out!! Thanks again for the help. :o) Kenny --- In flexcoders@yahoogroups.com, Kenny [EMAIL PROTECTED] wrote: Oh! Now see, I knew it would be something simple. :o) Ok, so that helped me with another problem I was having elsewhere too, so double thanks for that one! I have

[flexcoders] Re: How to run a sample from docs

2008-05-23 Thread markgoldin_2000
I have created a project within this location, tried to run it but was getting an error at this line: fab:FABridge xmlns:fab=bridge.* / --- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote: If you have a look in the fabridge/samples/srcview directory you will find app.mxml and

[flexcoders] Re: Question regarding DataGrid

2008-05-23 Thread Tim Hoff
Hi Kenny, Just for a little more background info that others may find beneficial. You can think of the data object as a single record (or row) in the DataGrid's dataProvider (dataset). Every column's itemRenderer in a DataGrid has access to all of the fields in the record (data object);

[flexcoders] Automation libraries kill my app

2008-05-23 Thread Geoffrey
I'm trying to use FunFX(http://funfx.rubyforge.org/) to do some automated testing of our GUI. I noticed that after I add the automation libraries to the compiler options of my main project, I can no longer interact with various parts of the UI using the mouse. This includes textinput, textarea,

[flexcoders] CSS inheritance?

2008-05-23 Thread Dennis Falling
I'm trying to find a cleaner way of doing css. Right now I have a common border style used frequently throughout my app, and a couple common container styles (background, padding, width, etc.). I'd like a way to have the different container styles reference the border style, instead of

RE: [flexcoders] Application crash due to Channel disconnected

2008-05-23 Thread Seth Hodgson
Hi, What version of Data Services are you using and what Linux distro? I'd suggest turning on server-side logging in services-config.xml, with at least the Endpoint.RTMP and Protocol.RTMP categories enabled. The RTMP connection between the client and server is closing while the client has an

[flexcoders] question for cairngorm with .net webservice?

2008-05-23 Thread markflex2007
Hi, I have a question how to pass VO(valuse object) from Flex to .net web service. I also need pass object back to flex with .net web service. I am using framework now. Do you know where I can find a Demo how to do this things. I do not have idea about the data match between .net and Flex.

[flexcoders] Re: ASP.NET RSS proxy?

2008-05-23 Thread Craig
Hey Tracy, this looks pretty easy, I am using ASP.NET with Flex 3.0 and but when I create an aspx page I get an error with the code below... I don't use code behind and put it on one page and try to access the page itself. Do I need to access the page some other way or modify code? the RSS is an

[flexcoders] Re: Importing SWC Files in FLEX

2008-05-23 Thread Danny Venier
Hi Anuj, You can try Import/FlexBuilder/Artwork and point to a swf or swc? Or..you can add a swc to your project by adding the swc to your project properties build path. (use project/properties/FlexBuild Path and open the Library path tab, then add swc.) Not sure what environment

[flexcoders] Help me understand how to manipulate dataProviders

2008-05-23 Thread bredwards358
After doing some research which consisted mainly of searching through this forum, I noticed a mantra along the lines of manipulate the dataProvider, not the controls it populates. It makes sense, especially since without directly manipulating the primary key of the very first entry in a database ,

[flexcoders] Re: Question regarding DataGrid

2008-05-23 Thread Kenny
Thanks Tim. That's the code I'd seen before. (but was too lazy to go look for g) Here's how I accomplished it. A bit different, but it works. Any comments on this would be appreciated. Kenny CODE == public function init():void {

RE: [flexcoders] Re: ASP.NET RSS proxy?

2008-05-23 Thread Tracy Spratt
What do you see if you hit that aspx page directly from a browser? You can get better error reporting that way. I don't see anything wrong, though I would have to verify that outerXML was a property of XMLDocument. Might have to get documentElement. Tracy

[flexcoders] Re: Question regarding DataGrid

2008-05-23 Thread Tim Hoff
Not always a purist, I'd say that if it works, cool. Adding un- necessary event listeners can sometimes effect application performance though. Another .02. -TH --- In flexcoders@yahoogroups.com, Kenny [EMAIL PROTECTED] wrote: Thanks Tim. That's the code I'd seen before. (but was too lazy to

[flexcoders] Re: ASP.NET RSS proxy?

2008-05-23 Thread Craig
That is what I see from the browser to the web page. I have not gotten around to accessing it from within Flex application yet. CS --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: What do you see if you hit that aspx page directly from a browser? You can get better

RE: [flexcoders] Help me understand how to manipulate dataProviders

2008-05-23 Thread Tracy Spratt
Let me say this again, very clearly: Do not use the index of the datagrid to identify records in the database. Suppose someone deletes record 3 from the DB? The keys will then be 0,1,2,4,5... When you put that in a data grid you will have: Key DGIndex 0 0 1 1 2

RE: [flexcoders] Re: ASP.NET RSS proxy?

2008-05-23 Thread Tracy Spratt
Do you control the server? Can you turn on verbose errors? That is in the web.config file. Can you debug the aspx page? Step through in Visual Studio to see where the error is. If for some reason you can't do that, comment out all the code until you get no error, uncomment a

[flexcoders] Very simple - Convert XML = ArrayCollection = DataProvider

2008-05-23 Thread flexawesome
I was trying to covert the XML file into ArracyCollection, but I had a problem for binding with DataGrid. It was showing the same record in twice on the DataGrid. The sample file was simple http://www.privatepaste.com/2c1WhD4jvj Would you pls take a look? Have a nice weekend

[flexcoders] Re: Very simple - Convert XML = ArrayCollection = DataProvider

2008-05-23 Thread Tim Hoff
Hi, Your problem is that you have both items in the dataProvider referenceing the same object. Remove private var authorObj:Object = new Object(); and add: var authorObj:Object = new Object(); right above: authorObj.name = author.name; This will create a new object for each node in the

[flexcoders] Re: ASP.NET RSS proxy?

2008-05-23 Thread Craig
I did turn on the tracing and de-bugging where I could find it and it gave the following information. It highlighted Line 13 below in RED. However, I can access this RSS feed just fine in a browser. I am running this from within Visual Studio 2005 not on an actual web server, but I do believe it

[flexcoders] Re: ASP.NET RSS proxy?

2008-05-23 Thread Craig
Tracy, I did play with de-bugging a little more and this error came up with I came to the line below - one line at a time. The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. Only one

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

2008-05-23 Thread artur_desig2dev
greetings..oh wise list. my 1st post. im trying to find a way ( a class/library ) to BATCH upload from FLEX using fileReference() to Amazon S3. is there some code/samples one is kind enough to share that will automatically via Keys - generate and attach 64-based policies, signatures, etc. and

Re: [flexcoders] Very simple - Convert XML = ArrayCollection = DataProvider

2008-05-23 Thread Sherif Abdou
public function displayauthor (authors:XMLList):void { for each (var author:XML in authors) { /ADD THIS, remove the Private one on top var authorObj:Object = new Object(); authorObj.name = author.name;

[flexcoders] Back Button issues . . .

2008-05-23 Thread srieger_1
Hi All, I am having an issue with the ViewStack when the user clicks the back button. The browser takes them back a page however, my Flex application doesn't recognize the change thus none of my links work on the previous page. Let me give an example as that sounds confusing. The user is viewing

[flexcoders]How do I tell if a component is in the Design View or in the browser?

2008-05-23 Thread dorkie dork from dorktown
In Flash there was a property called livePreview. Is there something that will tell me my component is in the design view? dorkie dork from dorktown

Re: [flexcoders] Emulating a failed validator

2008-05-23 Thread Josh McDonald
Mate you're a legend, they're both great ideas :) Just went with the errorString for now, but next time (we're in a rush) I'll build an AlwaysFailValidator or something and bind enabled. -J On Sat, May 24, 2008 at 1:07 AM, Charlie Griefer [EMAIL PROTECTED] wrote: On Thu, May 22, 2008 at

[flexcoders] Re: ASP.NET RSS proxy?

2008-05-23 Thread Craig
I am going to try to use the RSS PHP Proxy on this example...(below) I am using the Flex3 code to load and parse the RSS files from the Flex3 documentation... it looks the same as most of the code from the as3syndicationlib that is on Mike Chambers blog (also below). This PHP proxy looks fairly

[flexcoders] Re: Center/Shrink To Fit

2008-05-23 Thread Richard Rodseth
Is there a way to set the scale of a component without triggering invalidateSize() ? My initial effort to create a ScaleToFit component involved setting scaleX and scaleY in updateDisplayList. But that results in some recursion. Perhaps this is the wrong place to set the scale. I notice that

[flexcoders] flex certification

2008-05-23 Thread Gustavo Duenas
any ideas about a good book to start studying for the flex certification? and also where should I get the test to be certified? Regards, Gustavo Duenas

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

2008-05-23 Thread Peter Connolly
Take a look at the Salsa sample application. It's an AIR app that manages files on Amazon S3.

Re: [flexcoders] Parsing ISO8601 date

2008-05-23 Thread Josh McDonald
YMMV :) //ISO date format - SOAP static public const ISO_DATE : RegExp = /^([0-9]{4}-[0-9]{2}-[0-9]{2})T([0-9]{2}:[0-9]{2}:[0-9]{2})(\.[0-9]+){0,1}(.*)$/ ; //Parses ISO dates (from SOAP etc) - probably only works with valid ISO dates, innit. static public function parseIso(dateStr : String) :

Re: [flexcoders] Parsing ISO8601 date

2008-05-23 Thread Josh McDonald
FYI The parse(Date) method just calls Flex's built in parser and returns null if the result's no good. -J On Sat, May 24, 2008 at 10:41 AM, Josh McDonald [EMAIL PROTECTED] wrote: YMMV :) //ISO date format - SOAP static public const ISO_DATE : RegExp =

[flexcoders] AIR capabilities

2008-05-23 Thread Josh McDonald
Hey guys, Apologies if this is an FAQ but I can't seem to find straight answers via google. I'm about to start work on an app, and I'd prefer to use AIR over Swing or JavaFX - I'm just wondering exactly what capabilities you get on top of Flex with AIR besides file read/write. Specifically, a few

Re: [flexcoders] custom event not added

2008-05-23 Thread dnk
ok, well that explains that part, however either my event is not added, or my event handler is never called. My trace statements never show up So I guess I still am wondering if anyone has any ideas dnk On 23-May-08, at 4:56 AM, Paul Andrews wrote: addEventListener() does not

Re: [flexcoders] custom event not added

2008-05-23 Thread Josh McDonald
What's the event dispatch code look like? On Sat, May 24, 2008 at 11:01 AM, dnk [EMAIL PROTECTED] wrote: ok, well that explains that part, however either my event is not added, or my event handler is never called. My trace statements never show up So I guess I still am wondering if

[flexcoders] Re: Very simple - Convert XML = ArrayCollection = DataProvider

2008-05-23 Thread flexawesome
right, I didn't aware of it thanks you all of you have a nice long weekend --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: public function displayauthor (authors:XMLList):void { for each (var author:XML in authors) {

[flexcoders] Re: Async Concurrent Requests with AMF for BlazeDS or LCDS

2008-05-23 Thread MyoT
Jira issue has been created for this: https://bugs.adobe.com/jira/browse/BLZ-184 Please vote if you want it get fixed. Thanks everyone. --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: Right, only for AMF, and I'm not aware of any documentation on that. If there was,

  1   2   >