Posts Tagged flex

Flex RTE and the obscure getTextField() function

Because of issues with the YUI Rich Text Editor, I’ve convinced the bosses that we should use a modified version of the flex RTE control. Though flex has some weird htmlText quirks, the subset of HTML it renders (bold, italic, underline, font sizes/colors, and a few more) are almost exactly the subset of HTML we want our users to have access to. The downside is that the built-in RTE also uses a bunch of markup which is completely bogus, so I’ll have to do some regexp replacements to get it to spit out actually-usable HTML. These are the modifications that I’ll (hopefully) be making: Read the rest of this entry »

,

1 Comment

Nibblets

To make a long story short, not every game I cook up and prototype turns out to be a winner. Some of them don’t even make it past an early prototype. This idea, though, I really really liked. It just seemed (in my head) that it should be fun. The concept, in a nutshell: Nibblets (link opens pop for more sizey goodness). Read the rest of this entry »

, ,

1 Comment

YUI + SWFobject: Play Nice!

I found a bevy of links explaining why you had to set an embedded SWF’s wmode property to either “opaque” or “transparent” to get a div placed on top of it to show properly, but yesterday at work I was experiencing another strange error. First, the setup: on one of our pages, we’ve got a pretty prominent SWF taking up the majority of the page (embedded in a div via SWFobject). Below the SWF is some text and a few places for user-entered data. Rather than linking away from the SWF page, my goal yesterday was to AJAXify everything and keep it all one one page. Since we were already using the YUI Rich Text Editor elsewhere, I decided to give their dialog code a shot. It worked just as expected, with one…major…snag. Read the rest of this entry »

, ,

No Comments

Physics, Sprites, etc…

I had an idea for a pretty complex game the other night, and I was doing some preliminary sketches for it last night. It’s sort of an Arkanoid/Breakout variant, but there are some other things I want to experiment with. I’ve done a lot of really simple collisions systems in the past–and even a few non-trivial ones. Most of my previous systems used circle-circle or rect-rect collision, though, and so I thought it’d be fun to spend a few days looking into circle-rect collision algorithms. Read the rest of this entry »

,

No Comments

Timelines in Flex

For work, I needed to add a timeline to a chart. After first investigating the Timeline stuff Adobe is working on, I decided I’d be better off just building my own. Though the adobe version will probably be useful at some point, the amount of wrangling I would’ve had to do just to get it to display a simple one-line timeline seemed a bit odd. Also, on top of a normal timeline, I had need of a specialized timeline renderer which would display a certain step-value over time. This was a value that could change from day to day, but would most likely remain constant for large periods of time. Read the rest of this entry »

,

2 Comments

Custom Axis

While at work, I ran across a scenario where none of the pre-built Flex charting components would suffice. We’re still in stealth, so I can’t talk too much about it–but basically we needed a non-LinearAxis. Much of the LinearAxis code is designed to space the axis labels perfectly in the proper unit of measure. I needed to have an axis label for the third Friday of every month in my data set…which isn’t a linear value. My original solution was a hack suitable for getting the job done at the time, but it wasn’t exactly reusable. We’re between dev cycles right now, so I’ve been tinkering around and decided to actually write the component so that it would be usable outside our code base. Read the rest of this entry »

,

No Comments

Ruby on Rails

The 4th of July isn’t really a resolution-type holiday, but I’ve been neglecting my desire to play around with ruby on the side.  So, now that the food coma has worn off (mmm, barbeque), I’m going to try to spend at least one night a week playing with Flex/Ruby just for fun.  Read the rest of this entry »

,

No Comments

Bonds vs Ruth Chart

I saw this over on Yahoo! Sports today: a chart comparing Bonds’ home run totals by year with Hank Aaron’s. I know it’s Flash 9, and I’m assuming they did it with Flex Charting. This is the kind of fun little chart that really shows the potential, I think.

2 Comments

Billster… well, sort of.

At work, I’ve been spending a ridiculous amount of time with Flex’s charting components. Eventually I want to move in to doing more of the Ruby on Rails stuff, too, though–so I’ve been trying to think of projects I could do on the side as a kind of warm-up diversion. Being new at the whole making money thing, I thought it would be cool to make a little finance-tracking tool with a few basic features… Read the rest of this entry »

,

No Comments

Eclipse vs NetBeans for Flex2 Development

Today’s been interesting from an IDE point of view. After doing a little research, I saw lots of references to how to set up Eclipse to compile a Flex project–but only one for NetBeans. Not having either one installed on my work machine, I went with Eclipse. I like it okay, but I’m not a big fan of the Ant integration (NetBeans seems much more natural in this regard). I had an idea I wanted to test when I got home (more on this in a day or two probably), so I set out to reproduce my work setup. Only I didn’t have Eclipse on my home PC (versus my work Mac) and I did already have NetBeans installed. Read the rest of this entry »

,

No Comments