Mambo 4.6.5 Ticker Tape Component

A recent client wanted some extensions to their website and as such i made a Mambo CMS component. The component is a ticker tape for headlines on a website.

The ticker tape takes two strings
Headline - split by ;
URL's - split by ;

The component requires on jQuery being present for the animation/fading.

CSS is embedded in the index.tpl file.

All feedback welcome!

Enjoy!

(P.S. The component has only been tested on 4.6.5.)

 

Click here to download:
mod_ticker_tape.zip (2 KB)

Posted
 

Safari 5 Extensions

Today apple released Safari 5.0.1 with proper extension support and the extension gallery on the website

Extensions are looking amazing, all HTML5, JS and CSS build they have a lot of potential.

Day 1, my fav is:

Download it here: http://extensions.apple.com/#productivity

Now, what extension can I make! :)

Posted
 

AS3: Accessing symbols with strings as names

Whilst working on a clients flash movie in actionscript 3 I came across the requirement to access a symbol (and manipulate it!) with a variable passed into the flash file.

Having loaded all the info I needed using the loader class, I started my code, tried wrapping in eval(), MovieClip() and addressing direction hoping that flash would just somehow work it out! Sadly not, the solution is quite simple though.

You can access like array cells, like this: 

- if on the stage you have a symbol called Symbol1. Simple use: this["Symbol1"].property

- If you have a symbol on the stage and know part of the name already you can concatenate, like this: this["namePartOne" + stringVariable].property (let's assume that stringVariable is instantiated above)

- Finally if you only have the variable name, simply: this[stringVariable].property  

Below is a sample fla I made to demonstrate this code, hope it's useful!

Happy coding!

Click here to download:
Sample_string_symbol_names.fla (71 KB)

Posted
 

Web and software tips and tricks

More to follow, including tech tips, video help and tutorials!

Greyspot Web Solutions Ltd
http://www.greyspot.co.uk

Posted