MORE COWBELL!
  • kritof

Cool Flash promos?

My boss has asked me to develop ideas for flash promotions for our design studio. Something that will showcase what we do or some of our work, but is still entertaining, possibly interactive.

Anyone know of some good examples of Flash promotions? I'm looking for inspiration. Thanks!
MORE COWBELL!
  • kritof

Flash actionscripting question

I'm trying to make a flash movie that consists of a grid of thirty squares (called boxes in my movie). Each box is a movie clip. In each box movieclip is 9 different image movie clips. Each image movie clip is animated so that it will fade in for 20 frames and fade out for 20 frames. A stop(); is coded for frame 1 and frame 20 of each image movie clip.

The code below is in my main movie. I want the boxes to randomly fade in with a random image, stay for a random amount of time, and then fade out. So that the end result is a grid of images that randomly fade in and out continuously. As of right now, it does not work. The movie is just blank.

Is my context bad? Am I going about it in the wrong way? Thanks everyone.

**Btw, randRange creates a random number between (and including) the two numbers you drop into it. I've used it before and know it works.

Collapse )
spiral
  • 0olong

Mobile Phone toys

Anyone here got a phone which runs Java? I've made a couple of MIDlets using Mobile Processing, based on my earlier applets Rosaly and Resonata - point your phone at oolong.notlong.com if you're interested - I won't include an image here, since I've probably linked to the applets before and also I don't have any handy...

Incidentally, does anyone have a clue why every LJ community concerning itself with J2ME or MIDlets is overwhelmingly dominated by Russian-speakers?
  • Current Music
    Bach
robots
  • fphunct

Love and Attraction System

There's still a bit of a computer scientist within me. When I went through an emotional crisis recently, all I could think about is how I'm just a mathematical object stuck on a 2D plane that is undergoing certain programmed behaviors. I'm a little bit disturbed by how I could simply trivialize an emotion but that's the mathematician in me. I always evaluate things on a logical basis.

One of the systems I was imagining is how love and attraction could be represented on a 2D plane. The system was designed with the following behaviors in mind:

1) Each person is either Male or Female
2) People who are single are in the dating scene
3) People who are coupled are outside the dating scene.
4) A male is always constantly searching for the perfect female partner
5) When a male encounters another female in the field, the female is analyzed. If the female is compatible with the male, the two of them gets coupled.
6) A coupled male will break-up with their partner if he encounters a more compatible single female.
7) Breaking up and going out are emotional stages that bursts with energy.

This translates to the following rules:

1) Each object is either Male or Female.
2) Each Male scrutinizes every female within a fixed N distance.
3) Each hookup is marked by an explosion of white.
4) Each breakup is marked by an explostion of black.
5) Couples' movements are synched and are not random.
6) A weak force gravitates single objects towards the center.
7) Coupled objects gravitates away from the center.
8) Couples are linked via a red line if they are outside the circle of dating.
9) Couples are linked via a uniquely colored line when they are in the circle.

Images generated weren't pretty but I think it represents that dynamics of attraction and love in a simple and graphical way. Here are some images:







Here's the link for the applet: TL

press 'c' to clear the image
press 'r' to break up relationships
  • Current Music
    Rivermaya - Balisong
robots

Accidents



Click to play.

---

The orange line follows your mouse. The green line follows the orange. The blue follows the green.

---

I was trying to code something else but a little mistake in the code set off this weird behavior whenever one of the lines come close to each other.