Re: [flexcoders] Flex 3 (SDK3.6) to Flex 4 (SDK 4.6) Migration
Hi Sachin, Transition from 3.6 to 4.6 is not very complex nor its too easy what I mean to say is that there are somethings that you need to consider while you are moving to higher end versions of Flex SDK. 1. Flex 4 supports a spark skinning architecture which may sound complex for anyone new to it , if you are largely depending upon css based development/tweaking of your custom or native flex components then you it may not help you alot though you can use css also but there are some components in flex where css rules may not apply like Group/VGroup/HGroup as in skinning where you have the full liberty to change the full UI of the built-in components under Adobe's terms and conditions at the same time you may find it quite complex in maintaining your skins if you have no prior knowledge of skinning so I should recommend you that you should get some knowledge on it first. You might need to change or configure your themes accordingly like Halo , Spark etc etc. 2.Regarding your service layer things may remain the same as they are currently with your current SDK version you may have to change one or two things but nothing very much is required at this end. 3. Data model will also not get much effected in transition but you will need to be careful while using advance data components of Flex like Advanced Data Grid OLAP datagrid. 4. Good support with backward compatibility and earlier versions of flex. Flex 4 supports full backward compatibility of your components you may only need to change the Application tag of your project according new Flex 4 based and rest is good to go. 5. Localization- this would almost remain same no special things required. Note: These were a few things that I considered or encountered in my experience while I was taking my product to higher level SDK in flex but these are not all the things you may need to do some more Google on it. As these are some things that are normally considered on first priority in transition phase but remember they are not the all. You can further read these 2 very informative and good articles http://www.adobe.com/devnet/flex/articles/flex3and4_differences.html http://www.adobe.com/devnet/flex/articles/migrating-flex-apps-part1.html Regards. On Thu, 11/27/14, sachin sharma hey_sac...@yahoo.com [flexcoders] flexcoders@yahoogroups.com wrote: Subject: [flexcoders] Flex 3 (SDK3.6) to Flex 4 (SDK 4.6) Migration To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Date: Thursday, November 27, 2014, 7:35 PM Hi FlexCoders, Has any one done migration from Flex 3 to 4, If so could you please share your experience where as I need to know what things need to be taken care of during migration and where to start? Regards--Sachin a href=http://messenger.yahoo.com/edit/send/?.target=hey_sachin; img border=0 src=http://opi.yahoo.com/yahooonline/u=hey_sachin/m=g/t=9/l=us/opi.jpg; /a
[flexcoders] Drag and rotate around center on mouse movement in Flex
Hi All, Hope every one is doing great . I am facing a small issue while try to achieve drag and rotate around center on mouse movement. I have achieved how to drag rotate around center of an object (ui component) on mouse movement but it rotates around top left corner which is the default behaviour. I used matrix transformation concept also by looking at many solutions out there on google but my problem is that i want to rotate the component aroun center with a speed that is synchronized with mouse movement and also the component would be rotating around center either clockwise or anti-clockwise movement of the mouse pointer... Using matrix transformation the issue is that it rotates on a constant speed and also I have no way to rotate it either clockwise or anti-clockwise based upon mouse movement , The only i could achieve it using the matrix concept is by placing a check for event.ctrlKey and then only i could rotate it around center either clockwise or anti-clockwise I know I am doing something silly in what I am trying to achieve but please any help or suggestion in right direction would be greatly appreciated oh and sorry for my bad english. Thanks all in advance. Regards Anas.
Re: [flexcoders] Report in Excel format
Hi Jairo, I think your solution is in using as3xls library. Please check out the below mentioned links hope this helps you out. https://code.google.com/p/as3xls/ https://code.google.com/p/as3xls/wiki/Tutorial https://github.com/djw/as3xls/ Regards Anas. On Wed, 7/10/13, Jairo França (TGI) ja...@tgi.inf.br wrote: Subject: [flexcoders] Report in Excel format To: flexcoders@yahoogroups.com Date: Wednesday, July 10, 2013, 4:55 PM Hi,I generate my reports in Flex using AlivePDF.Now I need to generate the same report in Excel format. Does anyone solve such a problem? Any conversion tool or Excel library with layout options? Thanks in advance.
Re: [flexcoders] Need Help
Hey Usman, Anas here hope you are doing great I also agree to Alex's solution for your problem. Thanks and Regards Anas.Parallel-Programming Evangelist. --- On Tue, 5/7/13, Mohammad Usman Ashraf m.usmanash...@yahoo.com wrote: From: Mohammad Usman Ashraf m.usmanash...@yahoo.com Subject: [flexcoders] Need Help To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Date: Tuesday, May 7, 2013, 8:14 PM Hi everyone. Can anyone provide me solution for this facing problem: I am using dropdownlist in flash 4.6 , where I have applied custom skin. custom skin contained on button , label, Datagroup. So, I want to change the color of specific item from list, as given option is only to change contantBackgroundColor but not contant color. Help me please If anyone have its solution. ---Best Regard:Muhammad Usman Ashraf.Sr.Software EngineerCell# +92-312-7070895 Skype : m.usmanashrafpk.linkedin.com/in/usmanashrafpk
Re: [flexcoders] Help needed regarding image vectorization in flex reference in details
Thanks Alex(Flex) I would definitely try what you suggested and would come up with some results Regards Anas. --- On Mon, 2/11/13, Alex Harui aha...@adobe.com wrote: From: Alex Harui aha...@adobe.com Subject: Re: [flexcoders] Help needed regarding image vectorization in flex reference in details To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Date: Monday, February 11, 2013, 9:44 AM I think you want to read up on image edge detection. On 2/9/13 10:37 PM, anas naeem maverick_0...@yahoo.com wrote: Hi everyone, I need help/guidance regarding image vectorization in flex . As a reference its shown here http://www.streetshirts.com/creation.aspx and by clicking on the add Image there an selecting Yes i want to Vectorise to see what i am talking about ... Any help would be really appreciated as uptill now i have wasted a lot of time Googling out this but of no luck Thanks in advance and best Regards Anas -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui
[flexcoders] Help needed regarding image vectorization in flex reference in details
Hi everyone, I need help/guidance regarding image vectorization in flex . As a reference its shown here http://www.streetshirts.com/creation.aspx and by clicking on the add Image there an selecting Yes i want to Vectorise to see what i am talking about ... Any help would be really appreciated as uptill now i have wasted a lot of time Googling out this but of no luck Thanks in advance and best Regards Anas
[flexcoders] Flex Application expire's the user's session
Hi everyone out there hope all of you would be doing great. I have 2 flex applications that use Flash Media Server to stream videos the issue i am facing is described as follows. One application is a player that is embeded into a website made in Php the other application is a recorder that is embeded also in the same Php website what happens is when the user logs into his account using a login page made in php he/she see's the player after successful login and could play videos that are pre-recorded and after logging into the website a session is maintained for the user , now if lets say a user loaded the recorder or clicked a link on the page and open's a url to record a video then as soon as the user open's that url for recording the video the session of the user is expired and i am talking about the same session which was maintained once the user was successfully logged in and saw the player. We removed the recorder from our php application and when we opened the same url in which we have the recorder the session was not expired but when we again added the recorder in the application the session was expired again i have searched it alot on Google but i haven't got any fruitful solution to it. One thing more to mention here is my both flex pps are accessing the same url or the same server for recording or playing the videos which could be like this. Any help would be highly appreciated and please i have a deadline on coming Monday any quick and helpful response would be highly appreciated. rtmp://examplesite.rtmphost.com/recorder Once again i request for quick and helpful response from the great flex coders group Best Regards Anas.
[flexcoders] urgent Help needed regarding loading time please
Hi Guys hope everyone is doing great firstly i am not a native English speaker so apologies for any language mistakes any ways, this is my third post for help needed regarding an error in my Flex application and no one had replied ever to my first 2 posts either i hope i get some help this time I am working on a real time flex application related to stock exchange domain and i am using LightStreamer's flex api . Its a browser based application.So the issue i am facing is whenever i launch my application as soon it is launched in the browser it gets stuck on sometimes 1% , sometimes 7% and sometimes between 20 and 25% for about 27 seconds approximately. I have tried to fix it using the Flash Builder profiler but I don't got something informative about the cause of the error. I have also switched between RSLs and by merging into code from the Flex Build Path but it either not helped me One thing more I localized my application recently and afterwards i am getting this error but I removed all my localization code from the project and tested it but the problem persisted there as it is... Please I have to deliver a build by this Friday evening so I request that please figure me out what am I doing wrong and where should be corrected ? i also Googled the error but the solutions aren't matching for my specific problems Thanks alot in advance.
[flexcoders] Help regarding positioning image in Text Layout Framework
Guys any help would be appreciated alot alot Regards Anas From: anas naeem maverick_0...@yahoo.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Tuesday, March 27, 2012 7:05 PM Subject: [flexcoders] Help regarding positioning image in Text Layout Framework Hello guys Hope every one is doing great. i am a bit new to Text Layout Framework although developing in flex since flex 4 , now my issue is that i want to position an image in a newspaper type layout . Actually i have to place it in a way that for instance if i am having 4 columns then the image should be placed on the top of 2nd and 3rd column and also first and the last columns should remain as it is as if any one had seen times reader (AIR) application in which the image is spanned only on the top of center columns and the columns on both the sides maintain there complete page height. Only the centered columns change their height and width according to image dimensions. The problem's second part is that when i am going to resize the page or change my monitor's screen resolution to different numbers then the image should remain in place i.e it should then also be placed only on the top of 2nd and 3rd column. My Incomplete Solution to the problem I have done the image resizing on the page resizing event and also on switching between different resolutions. The only thing that is annoying me is image positioning on page resizing and switching between diff resolutions. On thing more i am not handling image as inline graphic element i had made a separate container in which i am placing the image on my first page's container (Sprite). So it would be quite helpful for me that you guys suggest me something regarding my problems domain. Although i tried to achieve this thing through inline graphic element but i didn't reached any acceptable solution. I came across Platus Talk's blog and saw his work but that solution wasn't helpful for me completely as he is not dividing his text into linked containers like i am doing. Also i tyepcast my containers column into column state object and after which further type cast it to get the specified column and from there i get a rectangle whose height , width i have to change but if i change its height or width nothing happens to it not a single word even changes its position. Thank you very much in advance. One final thing guys i have only 3 to 4 days left with me regarding my problem and to submit it to the client so i need a solution somehow soon Any type of help will be highly appreciated. With Best Regards Anas Happy Coding. From: Alex Harui aha...@adobe.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Monday, March 26, 2012 7:35 PM Subject: Re: [flexcoders] Re: Tempermental URLLoader.load() Use a network monitor and see what is going on underneath. On 3/25/12 11:49 PM, nagaofthesea nagaofthe...@yahoo.com wrote: Howdy Alex- Yes, everything works as expected when it does work including all the calls with the listeners. In the projects it does NOT work all fails silently!! What the heck could THAT be? -Naga --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@... wrote: Maybe you are adding listeners to the wrong thing? Because you should get those events when it does work. On 3/24/12 4:00 PM, nagaofthesea nagaofthesea@... wrote: Howdy All- PROBLEM: Strange URLLoader.load() behavior: sometimes it works; sometimes it doesn't. Can't step through airglobal.swc to see what's wrong. DETAILS: I am using the latest SDK in several versions of an AIR project. The core code is identical across versions of the project. Most changes are just in the presentation of the data. I am a Cairngorm nut and I have extended it to suit my coding style. I have a master AbstractCommand that addresses everything including listener add/remove, SQLite management, remote services, and File reading/writing. I just override certain functions as needed. In this project I read RSS beginning with the following: override public function execute(event:CairngormEvent):void { trace(LoadFeedCommand.execute() called); var rsso:RSSObject = LoadFeedEvent(event).feedObject; var urlRequest:URLRequest = new URLRequest(rsso.url); loader = new URLLoader(); addListeners(loader); try { loader.load(urlRequest); trace(loader.load() called); } catch(error:Error) { trace(problem with loader.load()); } tModelLocator.displayModel.selectedRSSObject = rsso; } In some of the projects URLLoader.load() works as expected. In others with IDENTICAL code it does not. URLLoader.load() fails into nothingness. The catch clause does not throw an Error. I have added the following listneres in overrided .addListeners() and nothing gets called
[flexcoders] Help regarding positioning image in Text Layout Framework
Hello guys Hope every one is doing great. i am a bit new to Text Layout Framework although developing in flex since flex 4 , now my issue is that i want to position an image in a newspaper type layout . Actually i have to place it in a way that for instance if i am having 4 columns then the image should be placed on the top of 2nd and 3rd column and also first and the last columns should remain as it is as if any one had seen times reader (AIR) application in which the image is spanned only on the top of center columns and the columns on both the sides maintain there complete page height. Only the centered columns change their height and width according to image dimensions. The problem's second part is that when i am going to resize the page or change my monitor's screen resolution to different numbers then the image should remain in place i.e it should then also be placed only on the top of 2nd and 3rd column. My Incomplete Solution to the problem I have done the image resizing on the page resizing event and also on switching between different resolutions. The only thing that is annoying me is image positioning on page resizing and switching between diff resolutions. On thing more i am not handling image as inline graphic element i had made a separate container in which i am placing the image on my first page's container (Sprite). So it would be quite helpful for me that you guys suggest me something regarding my problems domain. Although i tried to achieve this thing through inline graphic element but i didn't reached any acceptable solution. I came across Platus Talk's blog and saw his work but that solution wasn't helpful for me completely as he is not dividing his text into linked containers like i am doing. Also i tyepcast my containers column into column state object and after which further type cast it to get the specified column and from there i get a rectangle whose height , width i have to change but if i change its height or width nothing happens to it not a single word even changes its position. Thank you very much in advance. One final thing guys i have only 3 to 4 days left with me regarding my problem and to submit it to the client so i need a solution somehow soon Any type of help will be highly appreciated. With Best Regards Anas Happy Coding. From: Alex Harui aha...@adobe.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Monday, March 26, 2012 7:35 PM Subject: Re: [flexcoders] Re: Tempermental URLLoader.load() Use a network monitor and see what is going on underneath. On 3/25/12 11:49 PM, nagaofthesea nagaofthe...@yahoo.com wrote: Howdy Alex- Yes, everything works as expected when it does work including all the calls with the listeners. In the projects it does NOT work all fails silently!! What the heck could THAT be? -Naga --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@... wrote: Maybe you are adding listeners to the wrong thing? Because you should get those events when it does work. On 3/24/12 4:00 PM, nagaofthesea nagaofthesea@... wrote: Howdy All- PROBLEM: Strange URLLoader.load() behavior: sometimes it works; sometimes it doesn't. Can't step through airglobal.swc to see what's wrong. DETAILS: I am using the latest SDK in several versions of an AIR project. The core code is identical across versions of the project. Most changes are just in the presentation of the data. I am a Cairngorm nut and I have extended it to suit my coding style. I have a master AbstractCommand that addresses everything including listener add/remove, SQLite management, remote services, and File reading/writing. I just override certain functions as needed. In this project I read RSS beginning with the following: override public function execute(event:CairngormEvent):void { trace(LoadFeedCommand.execute() called); var rsso:RSSObject = LoadFeedEvent(event).feedObject; var urlRequest:URLRequest = new URLRequest(rsso.url); loader = new URLLoader(); addListeners(loader); try { loader.load(urlRequest); trace(loader.load() called); } catch(error:Error) { trace(problem with loader.load()); } tModelLocator.displayModel.selectedRSSObject = rsso; } In some of the projects URLLoader.load() works as expected. In others with IDENTICAL code it does not. URLLoader.load() fails into nothingness. The catch clause does not throw an Error. I have added the following listneres in overrided .addListeners() and nothing gets called! override public function addListeners(target:Object):void { target.addEventListener(Event.COMPLETE, onComplete, false, 0, true); target.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS, onHTTPStatus, false,0, true); target.addEventListener(IOErrorEvent.IO_ERROR, onIOError, false, 0, true);
Re: [flexcoders] I am finally became Boss...
Another one From: srikanth reddy srikanthli...@yahoo.co.in To: anjaneyare...@yahoo.com anjaneyare...@yahoo.com; bits_vi...@yahoo.co.in bits_vi...@yahoo.co.in; flexcoders@yahoogroups.com flexcoders@yahoogroups.com; haribabun...@hotmail.com haribabun...@hotmail.com; jagdish...@yahoo.com jagdish...@yahoo.com; jagdish_redd...@rediffmail.com jagdish_redd...@rediffmail.com; r_kiran_2...@yahoo.com r_kiran_2...@yahoo.com; kishoremmre...@yahoo.com kishoremmre...@yahoo.com; manjuki...@yahoo.com manjuki...@yahoo.com; narala_ravire...@rediffmail.com narala_ravire...@rediffmail.com; raja.datamat...@gmail.com raja.datamat...@gmail.com; sridhar.errabe...@cmcltd.com sridhar.errabe...@cmcltd.com; srikhar...@yahoo.co.in srikhar...@yahoo.co.in; sujendr...@rediffmail.com sujendr...@rediffmail.com; vtc...@rediffmail.com vtc...@rediffmail.com; pvams...@yahoo.com pvams...@yahoo.com; vidyavard...@yahoo.com vidyavard...@yahoo.com; vikramredd...@yahoo.com vikramredd...@yahoo.com Sent: Sunday, January 22, 2012 10:42 PM Subject: [flexcoders] I am finally became Boss... Hola! I was told that id never be able to bounce back from my debt I was able to get back on my feet with this I needed money fast! http://geodeta.narozny.eu.interia.pl/lastnews/87StephenWilson/ these days I stay on top of my game just give it a try no pressure!
[flexcoders] making background colour of textInput Control transparent in Flex 4.5 ?
Can anyone please tell me that how can I make the background color of textInput control as tranparent in flex 4.5 i had googled but not still not found any good example for it. Thanks in advance. Anas