Archives

Archive for July, 2005

Dump library extension

( JSFL )

Here’s a simple command that will dump the content of the library, including AS2 class name and linkage ids into the output window. Run from Commands > [ced] Dump library. Wil output something along those lines:

+++ Buttons   +++ pillButtons     |- mcgreenPillButtonlabel (movie clip)        | Linkage identifier: mcgreenPillButtonlabel     |- mcgreenPillButtonlabel2 (movie clip)   […]

null !== undefined

Here’s a little test code:

trace(null === undefined); //traces false!  

I was under the impression that null and undefined are the same thing for the Flash player. Nope. Ran into the issue while trying to find a way to emulate the Flex childrenCreated event in Flash. More news on this later.

AMFPHP layout contest winner

( News and Remoting and PHP )

It’s been on the site for a while but the AMFPHP layout contest winner is… (drumroll please) Enrique Chavez with the entry no.3. The winner was chosen by a quasi-unanimous decision by none other than myself, Aral Balkan, Jesse Warden and her majesty, Will (the guy who’s directly responsible for the Seattle fiasco ;) […]

Getting the download status for pageable recordsets

Looking at the docs for mx.remoting.RecordSet, you see a bunch of functions that you might think will help you find what the download status is for a pageable recordset. In particular:

RecordSet.isLocal(); RecordSet.isFullyPopulated(); RecordSet.getLocalLength(); RecordSet.getRemoteLength(); RecordSet.getLength();  

In fact the first two will always return false for a remote recordset and the two last aren’t of any help either. The thing is […]

Symbol swapper extension

( JSFL )

Jesse wrote an extension a while ago to swap items on screen to something else in the library, but I didn’t care much for how it worked (required writing the full library item names in two textfields). So I ripped a part of the code and repackaged it to this version. Select the items on […]