Sad Code Monkey

Sad, yes, but also brilliant.

 

Sad Code Monkey is a place where we document new-found techniques and code snippets, and share our knowledge with other code monkeys.

Archive for the 'Flash' Category

Loading an SWF movie in Flash

Tuesday, September 27th, 2011

Let’s keep this one simple. There are different ways to code loading a SWF into the main movie depending on where you are. Here are the two scenarios:

Read the rest of this entry »

OK, you’ve attached a nice library item in Flash, or loaded a SWF movie over your main movie. You go to test, and, crap!, all of the buttons below the loaded movie are still active. You roll over the stage and your cursor seems to turn into a hand at random. Fear not! Simply create [...]

Read the rest of this entry »

Flash Play/Pause button

Friday, April 9th, 2010

When presenting flash movies and animations to clients, it is a huge advantage to be able to pause and play your flash file.

Read the rest of this entry »

Passing SWF variables in Dreamweaver code

Tuesday, December 29th, 2009

When passing variables from a web page created in Dreamweaver to an SWF file, make sure you add the variable name to the path as outlined below.

Read the rest of this entry »

Drop down menus over Flash content

Wednesday, August 26th, 2009

A lot of display problems can arise when you have Spry menus (or any other type of drop down menu) in your navigation, and the drop down displays over a flash movie.

Read the rest of this entry »

Masks with alpha transparency in Flash

Tuesday, July 14th, 2009

When building a flash movie with simple transitions, an easy solution is always to make a mask. However in Flash, using a mask means it is either on, or it’s off, there are no gradient values, no gradual transitions.

Read the rest of this entry »