Archive for September, 2011

How we use your content in Flex and Flash Builder documentation

This post is intended for those of you who create articles, tutorials, and videos related to Flex and Flash Builder (although it will be useful to everyone). Apologies in advance for the bland title, but try as I might, I couldn’t think of a snappy one…


Observant readers will have noticed that over the last few years, we at Adobe have been working to identify and link to content that you, the community, create. Whether it’s an article, a video, a code example… whatever, we want to integrate with great community content. And I think this is a great thing for everyone:

  • Viewers – From our pages on help.adobe.com, readers have easy access to useful, hand-picked content.
  • You/Bloggers – Links from our pages on adobe.com boost your site’s page rank, making it even more likely that searchers will find your content in the future.
  • Us/Adobe – Scanning the community for content helps us learn what’s important for customers and identify who’s who in the community.

I don’t know whether or not you’ve noticed, but lately we’ve given even more visibility to your links, moving them to the top of the page, sometimes placing the link inline, along with the related discussion. Also, we are applying some visual treatments to highlight these links:

Pages that link to your content

Here is a partial list of the authors and articles we link to:

We’re always looking for articles, tutorials, and videos, so if you have something, please let us know by adding a comment to this page with your e-mail and a URL.

Thanks!

-Randy

Migrating from Flex 3 to Flex 4/4.5

There are lots of benefits to be had from migrating from Flex 3 to Flex 4.5, but it can be a pretty daunting task if you have a large or complicated application. We’ve collected a list of good resources that can help you:

-Matthew J. Horn
Flex doc team

From Flash Builder to the Amazon App store

Adobe evangelist, Andrew Trice posted a great tutorial on getting your Flex/AIR applications onto the Amazon App store. This tutorial gives a detailed workflow on getting your APK file on Flash Builder into the Amazon App store.

From Flash Builder to the Amazon App store

Courtesy of: Andrew Trice

Improving Flash Builder’s performance

For those of you who are having performance issues with Flash Builder, it could be that the Java heap-size settings are too low. Here is a quick and easy fix, which should make Flash Builder easier to use. People on Twitter who have tried this modification report better leverage of their hardware and overall improved performance.

For Windows:

  1. Navigate to your FlashBuilder folder – C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\
  2. In a text editor, open FlashBuilder.ini (for Windows) and Adobe Flash Builder 4.5.ini within Contents/MacOS/folder (for Mac OSX) .
  3. Find the lines that says “Xms40m” and “Xmx512m” (Please note: the numbers may already be configured).
  4. Replace these two lines with “Xms256m” and “Xmx512m” respectively.
  5.  Save the file and restart FlashBuilder.

For Mac OSX:

  1. Open a Terminal window
  2. Navigate to Applications/Adobe Flash Builder 4.5/Adobe Flash Builder 4.5.app/Contents/MacOS (you may need to enclose these folder names in quotes).
  3. In a text editor, such as vi or emacs, open Adobe Flash Builder 4.5.ini.
  4. Find the lines that says “Xms40m” and “Xmx512m” (Please note: the numbers may already be configured).
  5. Replace these two lines with “Xms256m” and “Xmx512m” respectively.
  6.  Save the file and restart FlashBuilder.

 

Hope that helps,

Justin

Courtesy of: polygeek and dougrdotnet

 

 

Workaround for Flash Builder & Zend installation problems (for Windows 7 64-bit edition)

Very recently, I was reviewing a tutorial for a Flex and PHP integration and ran into an issue in Flash Builder that got me stuck for a little while. I first installed Flash Builder for PHP and Zend (with phpMyAdmin) and load Zend with a sample database. I then created a Flex server (PHP) project and make a connection on my file with a PHP data service (select Data–> Connect to PHP from the menu bar). Going through the PHP service configuration wizard, I didn’t have an existing PHP class and asked Flash Builder to generate one instead. Using the login information from phpMyAdmin, I encounter the following error:

Click to enlarge

The error is currently reported as a bug: http://bugs.adobe.com/jira/browse/FB-31693.  This issue only occurs in Windows 7 64-bit edition because under the C drive, Windows contains two program file folders: “Program Files” and “Program Files (x86)”. Since Windows sets the default installation path for non-64-bit programs to be “C:\Program Files (x86)\”. Zend returns an error when it encounters the ” ( ” in the directory.

If you’re currently running into this issue, please uninstall Zend from your computer completely and follow the steps below.

  1. Install the latest version of Zend (currently version 5.5).
  2. In the installation wizard and when selecting a web server, be sure to specify your destination folder to be outside of “Program Files (x86)”. i.e. “C:\”.
  3. After installation, Flash Builder should be able to interact with Zend without any further issues.

Thiis issue has a number of variations, so please feel free to ask questions about this workaround.

Justin

Adobe Cookbooks – Recipe Request Challenge

Write some Flex code and get a chance to win a Samsung 10.1 tablet.

With the help of the user community and several Adobe employees, we have identified a list of recipe requests that we feel would be valuable contributions to the Adobe Cookbooks as well as for the larger Adobe community.  All that these requests need now are answers…and that’s where the challenge comes in!

For every recipe request below, the community member who provides the solution will receive:

  1. An Adobe Developer Connection t-shirt
  2. A chance at a Samsung 10.1 tablet

Adobe Cookbook recipes are snippets of code that are shared by community members to assist fellow developers in overcoming specific development issues; example here.  If a developer cannot locate a recipe to solve their issue they may submit a recipe request, where they outline the issue they are having in the hopes that someone else in the community may have a code snippet to share.  When a recipe request gets answered, it gets published as a regular recipe, same as the example linked above.

See this page for more information: Adobe Cookbooks – Recipe Request Challenge

 

Stephen Gilson
Flex Doc Team