Posts tagged Flex 3
I faced an issue while working with an xml file in Flash. I was unable to parse the xml data using the normal E4X syntax such as xml.node1.node2. It would give an error. The only thing different about this particular xml is that it has a lot of namespaces declared in it. After going through the documentation I found out a way to handle this issue. Let’s consider the following code:
var xml:XML = <Workbook xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:x="urn:schemas-microsoft-com:office:excel"> <ss:Worksheet ss:Name="Sheet1"> <Table ss:StyleID="ta1"> <Row ss:AutoFitHeight="0" ss:Height="13.4064"> <Cell> <Data ss:Type="String">Preview</Data> </Cell> <Cell> <Data ss:Type="String">unicode</Data> </Cell> <Cell> <Data ss:Type="String">htmlcode</Data> </Cell> <Cell> <Data ss:Type="String">htmlalt</Data> </Cell> <Cell> <Data ss:Type="String">utfcode</Data> </Cell> <Cell> <Data ss:Type="String">utfalt</Data> </Cell> </Row> </Table> </ss:Worksheet> </Workbook>
Lately I had some interesting conversations with few of my developer friends regarding their opinions on which technology will rule the Rich Application Interfaces websites in the future. My strong believe is that there’s room for all four of these as per my experience and actual trends. More over, all these will have a separate slice of the market but overlap at only few areas. Let’s take AJAX as example – it is widely popular for creating rich user experience community building apps, portals, mash-ups and so on. On the other hand, Flex is used more for multimedia rich requirements, interactive maps for example, photo albums, portfolios, games etc. Another technology, Silverlight, is a direct competition to Flex, but its presence is more dominant in the Enterprise applications market.
Adobe’s Flex has a big advantage of running on the Flash platform, inheriting a very wide reach on the internet and having also an integrated support from other Adobe products, like Photoshop, After Effects, Fireworks, Flash, Illustrator. Also some near future upcoming products – Catalyst, Thermo, Cocomo, and more will be closely integrated with the legacy platform. All these are reliable, proven technology in web industry, being leading tools for creating visually rich media, no matter that is composed from images, animations or videos. Besides all, the new AIR version brings even more value by having a desktop version of an app that is integrated with the online one. (more…)
Adobe Flex 3 has a very interesting component : LocalConnection. The idea behind is that the modules (which runs on client side) might change some data. The exchanged data is not limited at all to simple forms, but can be from a simple String to a XML or Arrays.
Few things must be known from the start, but as any technology, only after you learn it everything becomes easy.
- First of all, the communication can be restrained to a certain domain, let’s say by example www.radupoenaru.com .
- You can’t have bidirectional communication from a single LocalConnection. One module acts as a server and another one as a client.
- Server module opens a connection to which client connects. If the client loads but the server don’t, then an error occurs in client module.
- Be very careful to the name of the procedure called by server – should be the same in server as in client module. (more…)
While working at Fraunhofer FIT, I had few small projects to develop internal modules for extending the interaction between researchers. The technologies were set from the start to Flex 3 and ActionScript.
As starter in Flex, but not ActionScript, I was quite anxious to begin coding in this interesting tool. But after I created my new Workspace (seems that now everyone creates its own paradigm for Project) and wrote some code, I hit a wall: the Flex IDE debugger interface raised an error that he couldn’t connect to the Flash debugger:
Starting today, I work as a Student Helper in Fraunhofer Institute for Applied Information Technology. The branch from Sankt Augustin, which I joined, is focused on the research of human-centered computing in a process context. I will activate in the Cooperation and Community Support department, which deals with the research and development of community portals, (mobile) communities and cooperation, Internet-based groupware, cooperative knowledge management, application service providing for cooperative work and virtual teams, rating and recommender systems and cooperative learning environments.
The head of the department is Prof. Wolfgang Prinz, PhD and I will work closely with Mr. Nils Jeners, researcher in FIT. I had the pleasure of attending Mr. Prinz course, CSCW and Groupware, while being student in the Media Informatics Master, held by RWTH Aachen University. CSCW stands for Computer Supported Collaborative Work.
My first task is to study the Twitter community, applications based on it and the actual phenomena. My work should help in better understanding the aspects of human behavior, social interaction between humans and in particular the tools and services used for microblogging. This will allow also to discover ways to extract patterns in the context of this technology, who is changing the ways that people interact and socialize over the Internet.