Archive for the ‘Dynamic content’ Category

Newer Entries >


Javascript forms – textarea word count April 5th, 2010

Happy Easter loyal readers (or possibly reader). Here’s a nice simple piece of JavaScript that counts down the number of words remaining in a restricted text field as you type. When you hit your limit and the counter hits zero you will no longer be able to type any words untill you delete some. There is no restriction here on characters and words are defined by spaces only. The example below shows it in action.

Textfield is limited to 50 words.

words remaining: 50

File’s attached as usual here – so download them, use them and together we can make HTML forms fun! (as long as you don’t have JavaScript disabled…)

Tags: , , , , ,
Posted in Dynamic content, Forms, HTML, Javascript | 1 Comment »


Javascript image carousel February 9th, 2010

Here we have a Javascript image carousel, the first completed element of the all new, currently (and probably indefinately) under construction, LANDRICAM! (v 3.0).


The Javascript is pretty customisable – allowing you to set things like image and font sizes and animation speed. Although this is hardly exhaustively tested, it seems to be pretty flexible. Now no doubt some of you will be asking ‘Why not just use one of the much prettier, robuster and more customisable JQuery modules instead of wasting countless hours cobbling this together’, well I ask you – where’s the fun in that?

Files are here – so download and spin!

Tags: , , , , , , , , ,
Posted in Dynamic content, Gallery, HTML, image, Javascript | No Comments »


Flash countup / countdown February 2nd, 2010

It’s February, and if i’m not mistaken a little milder. So with that and other positive thoughts in mind here’s a constant reminder of the age of this blog (at the time of writing pretty new), and therefore the age of its creator – me (at the time of writing not) in the form of a Flash (AS2) countup. Slowly ticking off the seconds into oblivion.

The files are here so download them and get counting, the possibilties are endless - as long as they're in some way related to counting.

UPDATE: Due to popular demand here are the files in CS3 format...

Tags: , , , , , , , ,
Posted in Actionscript 2, Actionscript 3, Birthday, Dynamic content, Flash | 4 Comments »


Flash Actionscript 3 drawing app January 19th, 2010

Happy New Year and all that. Bit of a delay between posts there I know, I did say that I wouldn’t keep up the pace though. Here’s an AS3 sketching gadget I made a while ago, feel free to create some masterpieces, save them off and if you like you can send them to me – if they’re any good, i’ll publish them in a future entry.
Note: you’ll need to allow pop ups from this site before you can save your image. Annoying I know but i’ll sort out a fix when i get a minute.

To edit and use this you’ll need the ActionScript 3 Core Library as the JPEG creation utilises one of it’s classes. It also uses a bit of PHP on the back end, just to call the image saving dialogue so you can save the image to your PC. Most of the functions in this are pretty basic and it has a few faults – most notably the eraser doesn’t work on the text. You’ll need to clear the whole screen to get rid of it. If anyone has the time or inclination to fix it send me the new files and i’ll upload them here. Anyway the files are here so download them and go crazy!

Tags: , , , , , , , , ,
Posted in Actionscript 3, Drawing, Dynamic content, Flash, PHP | No Comments »


Flash dynamic page titles December 15th, 2009

Here’s something I knocked up for a client to keep intranet page titles in the corporate font. It’s a simple bit of Flash and AS3 embedded with some javascript. The Flash file has the relevant font embedded in a dynamic text field and the javascript passes colour and size and the word or sentence as Flashvars to render. Below is an example in Christmasy red Helvetica Neue.

The script also incorporates the AC_OETags javascript from the Adobe Flash player detection kit to replace the SWF with the specified text rendered as normal HTML if flash is not present on the users system. Download the source files and have a play.

Tags: , , , , , , , , , , , , , ,
Posted in Actionscript 3, Christmas, Dynamic content, Flash, Font, Javascript | No Comments »


Newer Entries >


Latest tweets from @scriptic