Archive for the ‘actionscript’ Category

I’m back ! welcome to the new site

Wow, over 8 months, and my site is now back online, at a brand new domain, mattpollitt.co.uk. Over the next two weeks, I’m hoping to get back to posting and put some of things i have been up to lately on here, including a few conferences, work @ ustwo , and as recently announced, some details into the work we have been doing on notus.

This was originally a test post to see if i could get flash working ok in wordpress. Since it looks nice, i have decided to leave it here.

This is actually a little fun particle generator i knocked together on the plane to Torronto, on my recent trip to FITC Mobile to run on a high end fl3 device. The motion is code generated, and the particles are a mix of minimal code and pre-made timeline tweens, including the colour shift. At the end of each particle motion, the clip deletes it’s self and frees up memory . The combination also means the processor is not bombarded by multiple instances and movies.

I have multiplied the number of particles created by 3 for the desktop version though, and added motion on 3 axis using a basic sine calculation.

Get Adobe Flash player

Flash Lite Distributable Player – eSeminar recording available

Hey all,

Thanks for the great turn out for the eSeminar, hope you enjoyed it and were
excited about some of the announcements we covered.

The recording is now available, and I have posted the link on the UK MaD
adobe.groups page as well as a full summary.

http://groups.adobe.com/groups/e5ecd800f7/summary

On the blog post, there are also answers from mark doherty to some of the
questions would could not answer for you on the night. Hopefully these
responses will clear everything up for you, but if you have any other
questions, I know mark views this list, and will be more than happy to
answer them for you.

I have also included the link to the new RSS feed off the blog on the UK
Adobe groups site, please feel free to subscribe, as we are trying to update
this as much as possible.

http://groups.adobe.com/resources/1bef7dc8f6/feed

New Adobe Dev Center article : Working with Flash Lite 3 and Flash Media Server video

hi all,

there is a great new article on the adobe M&D dev center , Working with Flash Lite 3 and Flash Media Server video written by Nick Hippe from Adobe.

In this article I’ll cover two scenarios for streaming Flash video from the Flash Media Server to Flash Lite 3. The first is the simplest possible example. In the second example, I’ll use script-based bandwidth detection to determine the bandwidth available to the device, and then stream the appropriate video based on that information.

This is a really cool article, and i found the bandwidth detection very useful.

Matt

Adobe Mobile podcast series

podcast

Just got an interesting email form Kathy at adobe,

John Agger from the Adobe Mobile & Devices team launched a mobile podcast series last year in the fall. There are some cool videos relating to mobile development with the flashlite platform.

click on the links below to go straight to the M&D sections.

Watch or listen to this podcast series aimed at creative professionals new to mobile, as Adobe host John Agger walks you through tutorials on mobile content creation. The Adobe Mobile Podcast series is created in partnership with Terry White’s Creative Suite Video podcast < http://creativesuitepodcast.com/> and includes the following episodes:

Why mobile is important < >
Mobile & Devices Part 2 <>
Getting started with mobile <>

Matt

Code based Matrix screensaver Fl2.0

matrix screen saver

Was reading through Foundation Flash Applications for Mobile Devices this weekend, and found the flash lite 1.1 matrix screensaver example. Thought i would try making it in fl2.0, and using actionscript to randomly animate the characters in each code bar, falling code bar position on the screen, alpha and scale.

Really happy with the way it works and even managed to add a white char to 1 in 20 falling code bars created.
you can have about 5-10 bars falling at any time without (too much) slow down, and the memory consumption is not to bad. Have tested it on 5300 works fine, and have made a nokia n95 version too.
The real advantage of using fl2.0 though, was been able to utilize the Tween class for the movement.

hopefully going to try and get this one on handago along with the blossoms wallpaper. Also exploring the nokia market place, but have not heard back yet…..

matt

Flash lite tutorial – Battery and signal indicator

via alessandro,

phil has added a new tutorial to his blog, showing how to create re-usable graphical elements to display battery and signal levels. Really handy bit of script, and probaly something that can be used in many projects.

Matt

This weeks favourite line of code — this._lockroot = true;

actionScript

this._lockroot = true;

Great little one liner that has saved me a load of stress this week. By placing this line in the main timeline of any SWF loaded into a another app, this step ensures that any references to _root in the loaded swf–or any SWF file loaded into a holder_mc — refers to its own timeline, not to the actual root timeline of main application.

Guess you should aways try and use a relative path though….

Matt.

Return top

Matt who?

I have been working in the mobile application industry for the last 4-5 years, initially cutting my teeth on some early Flash Lite based applications back in 2005. After a couple of years working for my self, and a number of other clients, i moved to London, and became part of the team @ ustwo™, a creative UX / UI mobile design and development studio. This is my own personal blog, and as such , all of the opinions here are my own, and in no way representative of ustwo™