by Daniel | Jan 23, 2010 | actionscript, Tools
This FLV Info tool enables you to view embedded MetaData without needing to play the video. Just like the SWFInfo tool I blogged about last year, using this tool you select your FLV file using the FileReference class and then you can view all you need to know about your Flash video : duration, width, height, videodatarate, framerate, videocodecid and stereo values.
It works by converting the loaded FLV data into a ByteArray and then searching for the string values associated with each metadata value. Then it reads either a double-precision (64-bit) floating-point number from the ByteArray, or in the case of ‘stereo’, a Boolean value. Also it will tell you how the videocodecid number translates into an understandable string value (i.e. VP6, H263 or AVC).
duration, width, height, videodatarate, framerate, videocodecid, stereo
by Daniel | Jan 20, 2010 | actionscript
Twitter has different crossdomain.xml policy files for the root domain and the ‘search’ subdomain. This is great news for Flash developers wanting to use their data.
http://twitter.com/crossdomain.xml
http://search.twitter.com/crossdomain.xml
by Daniel | Jan 17, 2010 | actionscript
I just managed to get TortoiseSVN connecting via SSH to my new subversion repository but it wasn’t easy (MediaTemple (gs), Windows XP).
Once the repo had been set-up I could connect via PuTTY without any problems, however trying to get TortoiseSVN to connect proved more difficult.
Here is a great tutorial “How to use TortoiseSVN to access Mediatemple subversion over svn+ssh”, however everything worked for me apart from gaining access via TortoiseSVN. Every time I tried to connect I would get this error message: “Network connection closed unexpectedly.”
Eventually I discovered that the PuTTY Configuration ‘Default Settings’ must not have any user entered data stored in it. The only way I could get this to work is to create a new Saved Sessions value and store my data in there. Also rather than putting my username in with the address (as done in the example above), I entered my username into Connection -> Data -> Auto-login username.
i.e. Settings for new Saved Session:
Session -> Host Name (or IP address) : s#####.gridserver.com (##### your gs number)
Connection -> Data -> Auto-login username : serveradmin@yourdomain.com
Then using PuTTY + Pageant I was able to connect using TortoiseSVN.
by Daniel | Jan 16, 2010 | actionscript
Here is a brilliant post ‘Zooming in Flash & Flex’ on how to use the transform Matrix to zoom and rotate DisplayObjects. Daniel Gasienica writes well and has some great examples demonstrating to correct way to apply these transformations to your clips.
Using this method saves you messing around with the Point class and localToGlobal / globalToLocal methods. This solution is elegant and efficient.
http://gasi.ch/blog/zooming-in-flash-flex/
by Daniel | Jan 16, 2010 | actionscript
I’ve just launched my new portfolio site. This is v3.0 of sitedaniel.com, and takes a more minimalist approach to the design than the previous versions. This site is powered by ActionScript3.0 and XML, and uses some fun BitmapData effects.
link
Recent Comments