Re: [flexcoders] Removing an item from a sorted ArrayCollection?
Hello All, I want to be Flex Certified. from where i can get the Demo Test Papers. Thanks Ashish On Fri, Nov 21, 2008 at 10:51 PM, bjorn [EMAIL PROTECTED] wrote: I experienced some problems with ArrayCollection's removeItemAt(). It seemed to work... randomly. Tucked away in the documentation i found this little gem: Note: If you use the ICollectionView interface to sort or filter a collection, do not use the IList interface to manipulate the data, because the results are indeterminate. My problem, of course, was that I had a sort on the ac, and that I used IList's removeItemAt(). I don't understand the rationale behind this, maybe someone can explain to me why it's difficult to implement removeItemAt() on a sorted ArrayCollection ... I mean, I _am_ working with sorted data here, so when I say index 11 I mean index 11 on the sorted data. That's the data I see, that's the data I'm using, I don't need to know anything about the underlying Array and the element's _real index_ the ArrayCollection knows which element this refers to in the underlying Array, so there shouldn't be a problem ...? Anyway, given the restraints we're working with here - what is the best way to approach this? I need to be able to remove items from a sorted ArrayCollection - any best practices? Bjørn -- == http://www.juicability.com - flex blog http://www.expressionengine.no - ExpressionEngine; the world's most flexible cms
Re: [flexcoders] Directory selection in FLEX
I don't think so that you can do the same from FLEX application since Browser security sandbox won't allow you for the same. but same you could using AIR with javascript. Best, Ashish On Tue, Dec 16, 2008 at 3:29 PM, shruti shety shruti.she...@yahoo.comwrote: Hi, I need a way in my FLEX application which allows the user to create/select the directory from the file system. File reference class doesn't help me this. I can do this in ADOBE AIR, but i want to know i can integrate this into my Flex web application. Please suggest is there any other way to achieve this functionality. Thanks, Shruti
Re: [flexcoders] Directory selection in FLEX
As per my information there is only one way to that which is you could create directory using Javascript API but within Temp Internet folder by using External Interface or the FA Bridge. Best, Ashish On Tue, Dec 16, 2008 at 4:35 PM, shruti shety shruti.she...@yahoo.comwrote: Yeah looks like, but was just hoping against hope to see if there is any other way of doing it from FLEX apps. --- On *Tue, 12/16/08, Ashish Verma verma.lu...@gmail.com* wrote: From: Ashish Verma verma.lu...@gmail.com Subject: Re: [flexcoders] Directory selection in FLEX To: flexcoders@yahoogroups.com Date: Tuesday, December 16, 2008, 4:31 PM I don't think so that you can do the same from FLEX application since Browser security sandbox won't allow you for the same. but same you could using AIR with javascript. Best, Ashish On Tue, Dec 16, 2008 at 3:29 PM, shruti shety shruti.sheety@ yahoo.comshruti.she...@yahoo.com wrote: Hi, I need a way in my FLEX application which allows the user to create/select the directory from the file system. File reference class doesn't help me this. I can do this in ADOBE AIR, but i want to know i can integrate this into my Flex web application. Please suggest is there any other way to achieve this functionality. Thanks, Shruti
Re: [flexcoders] Button with Icon and two labels one with Left align while Other with right Align
I tried the same. but how to fine tune all the methods like meaure, update list, label properties with this new textfield. and main problem is that the alignment is apply only for button not for textfield. please provide some work around. Best, Ashish On Sat, Dec 20, 2008 at 1:03 AM, Manish Jethani manish.jeth...@gmail.comwrote: On Fri, Dec 19, 2008 at 5:36 PM, Ashish Verma verma.lu...@gmail.comverma.lucky%40gmail.com wrote: I am creating a button in flex. which would have an icon and two labels. The First label will contain the command text while other could contain shortcut key. I want all the shortcut keys should be right aligned.it should retain it's state while I drag the component. Any work around on the same. I would consider subclassing Button and adding another label (TextField), which would be right-aligned. It shouldn't be too hard: you'll have to override the standard createChildren, updateDisplayList, etc. Manish
[flexcoders] Flex 3 Certification
Hello All, I want to give Flex 3 certification exam. I know the details about the promatic center and all. what I want to know from where I can download the sample question papares for flex 3 if not available could you tell me site for flex 2 at least. Regards, Ashish
Re: [flexcoders] Flex 3 Certification
I have this link but what I am asking about for demo papers with more questions. On Wed, Dec 24, 2008 at 10:43 AM, Rick Winscot rick.wins...@zyche.comwrote: The study guide for the exam: http://partners.adobe.com/public/en/ace/ACE_Exam_Guide_FlexAIR.pdf Rick Winscot On 12/23/08 11:38 PM, Ashish Verma verma.lu...@gmail.com wrote: Hello All, I want to give Flex 3 certification exam. I know the details about the promatic center and all. what I want to know from where I can download the sample question papares for flex 3 if not available could you tell me site for flex 2 at least. Regards, Ashish
Re: [flexcoders] Re: Flex 3 Certification
In these above links nothing is special there. Please provide some content or links so that I can check myself whether I am capable to give flex 3 Exam. On Wed, Dec 24, 2008 at 7:07 PM, valdhor valdhorli...@embarqmail.comwrote: Googling this, I found the following links: http://flexcertification.wordpress.com/ http://flexblog.faratasystems.com/?p=328 http://office.realeyesmedia.com/blogs/jun/?p=22 http://www.pxldesigns.com/attest/ --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, r.den...@...@... rdene2...@... wrote: Hi Ashish, I also Want flex 3 sample Question Papers. Please kindly let me know. Sended Request in Gtalk , Add me for any doubts and Queries in Flex. Regards, R.Denesh Kumar rdene2...@... ,rden...@... --- On Wed, 12/24/08, Ashish Verma verma.lu...@... wrote: From: Ashish Verma verma.lu...@... Subject: Re: [flexcoders] Flex 3 Certification To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Date: Wednesday, December 24, 2008, 11:45 AM I have this link but what I am asking about for demo papers with more questions. On Wed, Dec 24, 2008 at 10:43 AM, Rick Winscot rick.wins...@...wrote: The study guide for the exam: http://partners.adobe.com/public/en/ace/ACE_Exam_Guide_FlexAIR.pdf Rick Winscot On 12/23/08 11:38 PM, Ashish Verma verma.lu...@... wrote: Hello All, I want to give Flex 3 certification exam. I know the details about the promatic center and all. what I want to know from where I can download the sample question papares for flex 3 if not available could you tell me site for flex 2 at least. Regards, Ashish
[flexcoders] Birthday Please
Hello I am creating a birthday calendar for myself. Can you please click on the link below and enter your birthday for me? http://www.birthdayalarm.com/bd2/84448129a626903632b1454856004c699364312d1386 Ashish
[flexcoders] AIR Application is not Appearing
Hello All, I created an AIR Application which was previously based on AIR 1.0 and I am some more features in that application and compiling with the update of Flex 3 and targeting it for AIR 1.5. After making air file I am putting it onto sever to access by users. But when any user trying to run it after uploading it's not displaying any window only showing task-bar button and doing noting. When I use the task-bar context to move command I can see the dotted rectangle on the desktop. I also checked for the installation folder of the application in C:\Documents and Settings\username\Local Settings but there was no any folder for it. Please help me out. Best, Ashish
[flexcoders] In AIR Application fonts getting distort
Hello All, Facing a strange problem. Actually I made an application using Flex - 3.0 later I build it Flex SDK 3.2 now on MAC system the font is getting distort what is wrong with application. I can see only the font with bold weight getting distort. Please advice me. Best, Ashish
Re: [flexcoders] VBox question
Using percentWidth and percentHeight proerties you cam set in ActionScript. On Thu, Feb 26, 2009 at 12:20 PM, elevight i...@pilby.us wrote: In MXML, you set a VBox's width to 100% by: mx:VBox width=100%/ But if you instantiated a VBox in actionscript as in: var vbox:VBox = new VBox(): How do you set its width to 100%? Thanks.
Re: [flexcoders] Reading the output of an AIR application in C#
I think there is AxInterop.ShockwaveFlashObjects.dll that would be useful On Thu, Feb 26, 2009 at 4:46 PM, akila_ksri akila_k...@yahoo.co.in wrote: Hi, I have an Air application which is launched from a C# application using System.Diagnostics.Process.Start(myAirApp.exe). I need to be able to return some results from the Air app back to my C# app. Is there any way to do this? Any help regarding this would be greatly appreciated. Thanks in advance, Akila
Re: [flexcoders] Flex RAM memory use - (probably a question for the player engineers?)
For the first problem I don't have clue but for second problem I can say that it's due to weird behaviour of Flash Garbage Collector. On Thu, Feb 26, 2009 at 2:48 PM, nwebb neilw...@gmail.com wrote: Hi, we're having 2 issues with memory in Flex: 1) Part way through our Flex application we open an external HTML page (3rd party page). The user selects items from this page and then closes the page the control is then returned to the Flex application. This 3rd party page is heavy in terms of memory, and that memory is never getting released once the page is closed. Is it at all possible that Flex is holding on to a handle to that page and if so is there any way to release it, or is this definitely not a Flex problem, and more a browser issues or issue with the external page as I expect? 2) The Flex app is one part of a much larger website. When we proceed past the Flex app (ie the user proceeds to a page where the app isn't embedded), again much of the memory Flex was using doesn't seem to be getting released. A browser issue? Needless to say IE seems to be much more of a memory hog, but we've been looking at this in both IE and FireFox. Any help much appreciated. Cheers, Neil
Re: [flexcoders] How to find the actual type of a custom flex component?
You can use is operator to compare that object with your desired set of classes using if - else if conditions Best, Ashish On Thu, Feb 26, 2009 at 3:30 PM, Gregor Kiddie gkid...@inpses.co.uk wrote: I think describeType() gives the inheritance list. You could pick it out of that. It certainly gives the baseclass Gk. *Gregor Kiddie* Senior Developer *INPS* Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact is.helpd...@inps.co.uk -- *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *pmotzfeldt *Sent:* 26 February 2009 07:41 *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] How to find the actual type of a custom flex component? Hi, I am wondering if anybody knows how I can find the actual class type of a custom component? By that I mean I create a custom component that is a VBox, but I call it MyCustomBox, and whenever I call className on that it returns MyCustomBox, but I want to get the class VBox by any means. Appreciate any help, thanks!
Re: [flexcoders] SWF in a Panel
And also if you want to access properties of Panel from the SWF use parentApplication.propertyName from SWF file On Fri, Feb 27, 2009 at 3:38 PM, christophe_jacquelin christophe_jacque...@yahoo.fr wrote: Hello, How to draw an existing SWF file into a Panel ? Thank you, Christophe,
Re: [flexcoders] accessing flex functions from outside an app
You can take advantage of following things 1. navigateToURL() - fro calling javascript function from Flex check browser comptability 2. flash.netExternalInterface - with call () and callable () to call function flex to javascript and vis versa 3. FA Bridge - Flez AJAX bridge : wraped ExternalInterface to provide simplicity to call function from flex java JS and JS to flex. Best, Ashish On Fri, Feb 27, 2009 at 3:42 PM, el_koose euroko...@yahoo.co.uk wrote: hi guys, i'm fairly new to flex but ok with my as3. have built an app with all functionality enclosed but in the real life version part of the nav will not be flex, perhaps HTML. What, if any, are the best ways to trigger state changes and functions from outside a flex app? is this possible? i have looked around for answers but it seems to be a fuzzy thing to search for. hope you can help, el_koose
Re: [flexcoders] Dynamic Advanced Datagrid
May be helpful to you http://prosameer.googlepages.com/MasterGrid.html Best, Ashish On Fri, Feb 27, 2009 at 7:22 PM, Adrian Williams adri...@familytreedna.comwrote: Venkat, More details about what you want to do would help elicit a better response. Adrian venkat eswar wrote: How to do Dynamic tree inside advanced datagrid
Re: [flexcoders] Re: Error #1034: Type Coercion failed: cannot convert JSON Data
You can use code like this // Update the waiting window status splashWindow.msgForUser =Perparing Wixi Desktop Folder Structure ...; // taking the evet's current targate tempURLLoader = URLLoader(event.currentTarget); // taking dataString = String(tempURLLoader.data); dataFromWixi = JSON.decode(dataString); dataFromWixi = Object(dataFromWixi); wixiFoldersXMLString = new String(); if ( dataFromWixi ) { //wixiFoldersXMLString = DestinationNode.getParentXML(dataFromWixi[0].name.toString(),dataFromWixi[0].URL.toString()); wixiFoldersXMLString = DestinationNode.getParentXML(Desktop,dataFromWixi[0].URL.toString()); if ( dataFromWixi[0].children ) { prepareSubfoldersWixiStructure(dataFromWixi[0].children); } wixiFoldersXMLString = wixiFoldersXMLString + DestinationNode.getParentXMLEnd(); } tempByteArray = new ByteArray(); tempByteArray.writeUTF(wixiFoldersXMLString); tempByteArray.position = 0; wixiFoldersXMLString = tempByteArray.readUTF(); Best, Ashish On Wed, Mar 4, 2009 at 11:38 AM, Tracy Spratt tspr...@lariatinc.com wrote: Then if you trace the length of rawArray, what do you get? I do not know JSON, but there are techniques to figure out exactly where a problem lies. Tracy -- *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Keisha Lexie *Sent:* Tuesday, March 03, 2009 11:08 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Re: Error #1034: Type Coercion failed: cannot convert JSON Data Yes, I have it like this: private function updatedPHPDataResult(event:ResultEvent):void { lblStatus.text = String(event.result); } --Keisha -- *From:* Tracy Spratt tspr...@lariatinc.com *To:* flexcoders@yahoogroups.com *Sent:* Tuesday, March 3, 2009 5:33:05 PM *Subject:* RE: [flexcoders] Re: Error #1034: Type Coercion failed: cannot convert JSON Data Is your data in event.result? Tracy -- *From:* flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] *On Behalf Of *keishalexie *Sent:* Tuesday, March 03, 2009 5:29 PM *To:* flexcod...@yahoogro ups.com *Subject:* [flexcoders] Re: Error #1034: Type Coercion failed: cannot convert JSON Data Here's where it is trying to decode from the project I have private function getPHPData(event: ResultEvent) :void { var rawArray:Array; var rawData:String = String(event. result); rawArray = JSON.decode( rawData) as Array; dataArray = new ArrayCollection( rawArray) ; } It's like it is just blocked and the information that is in the tables from mysql cannot get processed into my flex data tables properly. --- In flexcod...@yahoogro ups.com flexcoders%40yahoogroups.com, Anggie Bratadinata anggie.bratadinata @... wrote: Have you decoded the JSON data ? Here's a snippet from a project I'm working on: public function resultHandler( e:ResultEvent) :void{ var rawString:String = String(e.result) ; var json:* = JSON.decode( rawString) ; var players:Array = json as Array; _model.leaders = new ArrayCollection( players); } I use the AC as a dataProvider for some list component. hth, -- Anggie Bratadinata | www.masputih. com | Indonesia On Tue, Mar 3, 2009 at 7:58 PM, keishalexie keishalexie@ ... wrote: Hi Everyone, I am fairly new to Flex and am doing a project using Flex 3, the as3corelib, and a PHP file that is sending json data. The json data is not being displayed in my data table and what is coming through is valid (I checked in the JSON Validator). I really am not sure where the problem is: the mxml, php, as3corelib, or what? Any suggestions and I will post code if need be.
Re: [flexcoders] Credit card processing in Flex
I think you have to integrate with some Payment Gateway. Contact with Paypal or other CC service provider they could give you sample account for testing and URL also on their you could redirect you payment request from Flex using navigateURL() or ExternalInterface. Best, Ashish On Wed, Mar 4, 2009 at 8:39 PM, Scott h...@netprof.us wrote: Anyone have a website or information that references how to process credit cards through flex? Thanks Scott
Re: [flexcoders] Flex Interview Questions
They could ask you about the followings: Advanced Datagrid functionalities Basic Operators like is, typeof, instanceof, , ===, !== Basic function and constants like random(), Nan, indexOf() Datatypes: Array, Number Architecture: Cairngorm, PureMVC, Event Delegation Model: bubble, traget and capture DisplayList Custom Components MXML AS RSL, SWC Best, Ashish On Mon, Mar 9, 2009 at 1:57 PM, claudiu ursica the_bran...@yahoo.comwrote: There was a topic like this a few moths ago, check the archives .. you'll find some nice stuff in there ... Claudiu -- *From:* Shyam Prasad khtsh...@yahoo.com *To:* flexcoders@yahoogroups.com *Sent:* Sunday, March 8, 2009 5:47:27 PM *Subject:* [flexcoders] Flex Interview Questions Hi, Can anyone provide any website for the Interview Questions for Flex ? Thanks Prasad
[flexcoders] Holi Hai ...............................
[image: http://www.bindaaspoll.com/festivals/images/holi-greeting5.jpg] [image: http://www.bindaaspoll.com/festivals/images/holi-greeting1.jpg] [image: http://www.bindaaspoll.com/festivals/images/holi-greeting2.jpg] [image: http://www.bindaaspoll.com/festivals/images/holi-greeting3.jpg] [image: http://www.bindaaspoll.com/festivals/images/holi-greeting4.jpg] [image: http://www.bindaaspoll.com/festivals/images/holi-greeting6.jpg] -- Regards Vineet Jaiswal [Software Engineer] Dataman Computer Systems Pvt. Ltd.
[flexcoders] Component with Text and Image in sameline
Hello All, Want to make a component in Flex 3: Here is the specification of the application – 1. We need to develop a windows/web application in which we want to have a component which can accommodate images in line with the text. 2. We can move/drag the images/text in that component using mouse. The text or images adjust themselves inline while moving. 3. We can cut / copy / paste the text not the images. 4. We can also write text in between the images. 5. You have to use the following XML to load this component. You can have the images where you will find the braces. You have to use different images for {0} and {1}. @xml version=”1.0” encoding=”utf-8” ? text This is {0} a windows application {1} in which we want to have text between the images text /xml Any Help would be appriciate.
RE: [flexcoders] Flying text or passing text??
The very simple trick to do that. Place the label at the bottom of the Canvas and take the label text in string. Here is the source code: ?xml version=1.0 encoding=utf-8? mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=(scrollTextHorizontaly()) mx:Script ![CDATA[ private var timerObject:Timer; [Bindable] private var scrollText:String = Welcome to My World. Come here for any query and solution... ; private function scrollTextHorizontaly():void { scrollText = lblText.text; timerObject = new Timer(500); timerObject.addEventListener(TimerEvent.TIMER,dotheScrolling); timerObject.start(); } private function dotheScrolling(event:TimerEvent):void { var tempString:String; tempString = scrollText.substr(1,scrollText.length); scrollText = tempString + scrollText.charAt(0); } ]] /mx:Script mx:Label id=lblText bottom=5 text={scrollText} fontWeight=bold fontSize=12 textAlign=center / /mx:WindowedApplication Best, Ashish From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Vivian Richard Sent: Wednesday, June 17, 2009 11:54 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flying text or passing text?? Where can I view those examples? I have used move effect for canvas and panel. The way I used it was - I made the x or y coordinate of the moving element to some thing so that it is not visible at all and once some event is triggered I just move it in using move effect. Are you suggesting that same thing for this text effect? On Wed, Jun 17, 2009 at 12:29 AM, Tracy Spratttr...@nts3rd.com mailto:tracy%40nts3rd.com wrote: One way to do this is to use a canvas of fixed width and inside that have a lable that is the length of the text, and use a Move effect to move the label over the canvas. There are examples available. Tracy Spratt, Lariat Services, development services available From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of hworke Sent: Wednesday, June 17, 2009 1:04 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Flying text or passing text?? Hi, I am trying to create an effect using text. I do not know what to call it - flying text or passing text!! At the bottom of the TV screen we always see Headline news or stock market info text are moving from right to left - I want to do something like that. What is the best option for me? Regards..
[flexcoders] PureMVC
Hello All, I am very new for PureMVC architecture. After reading about Model, View and controller and their progressive actor proxy, mediator and command I am looking for some big demo application in PureMVC. Please provide me link, archive or something similar. Best, Ashish