Archive for the ‘Flex’ Category

Finding Page URL using ActionScript

Tuesday, January 27th, 2009

How can I find the url of the page my flash is embedded in? This may seem really simple but I cant count how often I find js functions which pass this value into the flash. ExternalInterface allows access to a wide variety of js and should not be over looked. The below line of code will call the javascript “window.location.href.toString” and return the url as a string.

navigateToURL and popup blockers

Monday, March 3rd, 2008

AS3 has brought a lot of new functionality and complexity to flash development. It has also brought some new problems.

Pop up blocking is simple principle where only user initiated events can open a new window. In the case of AS2 when creating a link it had to be triggered from an onRelease/Click event. Other wise in AS2 “getURL” was adequate in any browser. Unfortunately “navigateToURL” in AS3 does not seem to be useful across all browsers as even on Click it can still be pop up blocked.

In my mission to get a flash only solution for opening URLs that don’t get pop up blocked, I found ExternalInterface call to “” works as long as its available in the browser. The basics of the code I used is below.

FDT 3.0

Monday, July 16th, 2007

Well after working with flex for a little I started to get a little nostalgic. I was in eclipse, I was writing ActionScript so what was missing I thought to my self. FDT was what I was missing. Checked out the site and FDT 3.0 is nearly out. They are currently on an unplanned second round of closed beta release. The open beta will be out soon wouldn’t mind taking a peak at that. Flex, Apollo and FDT are all eclipse based so i am real keen to see if FDT can still hold its ground as a leading AS editor.

Flex Going Open Source

Thursday, April 26th, 2007

Well this came out of no where. Flex going open source. Sounds good to me look at how far Firefox has gotten with a solid developer community behind it. Now ActionScript developers are some of the most devoted I know so I think we are going to see some very interesting things over the next few months. Between this and the affects it will have on Apollo development only time can tell how far it can be taken.

Press Release