Saturday, November 06, 2010

Embedding arcgis.com Web Maps

It's so easy:


View Larger Map

Friday, May 28, 2010

Adding Ant to Flash Builder 4

Things have changed between Flash Builder 4 beta and Flash Builder 4 (final), so I figured just as well update my old blog post.

http://renaun.com/blog/2010/03/31/416/ tells the story. Here's the steps I had to do:

1. In Flash Builder, go to Help -> Software Updates...
1a. If you get a "No Updates Found" popup, press "Yes" to open "Available Software Sites". Note that both Flex Builder 3 and 4 Beta used to have some sites by default. Whatever, we'll just add one ourself.

1b. In "Available Software Sites", click "Add" on right side.
Add "Galileo" as the "Name:".
Add "http://download.eclipse.org/releases/galileo" as the "Location:".
Say "OK" :)

Step 1 - same
In Adobe Flash Builder 4, go to Help -> Install new software.

Step 2
In the first box ("Work with", pick the "Galileo".

Step 3
Below the search results, un-select the "Group items by category".

Step 4.
Among the search results, select "Eclipse Java Development Tools" and click "Next". Click "Next" again. Accept the license agreement and click "Finish".

Monday, April 19, 2010

ASDoc HTML elements - Flash Builder 4

When you update your Flex 3 code to Flex 4, you might also need to update the HTML you have inside your ASDoc.  How to specify HTML elements in asdoc have not changed much between Flex 3 and Flex 4, but still there are some minor things that might trick you up.


For reference, see http://livedocs.adobe.com/flex/3/html/help.html?content=asdoc_8.html and http://help.adobe.com/en_US/Flex/4.0/UsingSDK/WSd0ded3821e0d52fe1e63e3d11c2f44bc36-8000.html.


About Ampersand (&)

Flex 3 used "&".
Flex 4 uses "&" and the documentation says to not use the Flex 3 styled "&".


About non-breaking spaces

Both Flex 3 and 4 documentation was clear that you should use " ", but maybe for some reason, like us, you instead had " ". It worked fine in Flex 3 and still works fine in Flex 4 HTML documents. However, if you are in Flash Builder and taking advantage of "fat" swc (asdoc content for inline code hinting and the "asdoc" tab), then only " " works fine. Both " " and " " will show in Flash Builder as " ". So trust the documentation, stick with " " and you will be fine :)