Archive for August 1st, 2007

01
Aug

Adding ActionScript cue points using the CuePointManager

I was just playing around with the VideoDisplay.cuePointManager property, and made a pretty crude FLV player. The FLV URL is hard-coded, so it really isn’t very useful, but it shows how you can use the cuePointManager property and addCuePoint() method to add ActionScript cue points to an FLV.

Full code after the jump.

Continue reading ‘Adding ActionScript cue points using the CuePointManager’

01
Aug

Using the TextRange class to hightlight text

I was working on a mini-app the other night, and was trying to figure out how to color only certain words in a text-based control. After a bit of poking around, I discovered that the TextRange class seems to be the right tool for the job.

Full code after the jump.

Continue reading ‘Using the TextRange class to hightlight text’