Jul12

Working with Embedded Assets in AS3

I've been working with embedding SWFs in a pure AS3 project using the Flex 3 IDE and I ran across a little problem. All the examples just embed a SWF or JPG and use them directly on the stage. While this is fine for most instances, I needed to change the value of the TextField in my symbol. Embedding just a SWF won't allow you to do this. You have to use a symbol within an embedded SWF. All you pretty much have to is add the symbol property into the metadata line, like so.

 [Embed(source="assets/icon.swf", symbol="number")] private var Icon:Class
Jul06

Big Stack

So I was playing a little bit of Texas hold'em yesterday and I was doing ok until the friend that rode with me got a little sick. Knowing that time was against me I decided it was time to use my hurry-up offense which is coincided with me getting a bunch of good hands. I was on a roll and quickly became the big stack at the table and then everyone decided to cash out. Another hour and I would of had everybody's cash. At least I still made money.

Jun29

Rough Month

Thank goodness June is almost over. Its been been an emotional roller coaster caused by the actions of friends and family. Besides that I've had numerous and expensive car issues. I want a new car, but I'm holding back beause I really need to move first before I take on any more debt. Which of course brings up my long commute to work (140 miles round trip). It really hasn't bothered me until this month. That two plus hours everyday that I could be doing something else plus I'm in an awkward position in my social life too. I can't do too much down in Richmond cause I need to get home so I can leave early to get back down there. But there is only so much to do in Fredericksburg on the weekends. And I've already blown off two parties down in Richmond cause I don't want to drive down there on the weekend. Plus I've been extremely unlucky this month. Earlier this month I locked myself out of my house, I could of drove to my parents (I had my car keys) to get my spare, but I was in a hurry so I just kicked the door to the garage in (I have a little bit of an anger issue). So now I need to fix that.

But it hasn't been all bad. I finally had some time to work on my website and I have a little bit of freelance work coming my way. At my company's quarterly meeting pretty much every project shown I had a hand in. Getting credit is always a nice feeling; especially since I don't brag about my work enough. And I'm sure some other good things happen, but I can't think of anything else at the moment.

P.S. Yes I have notice that a lot of my posts have been complaining about driving and working late. Work isn't bad its just that the drive compounds any late nights at work.

Jun23

Updates are on there way

Yes I haven't updated in a while, but that's because I've been putting the final touches on an entire site redesign. So comments are coming back and all of my old articles from my WordPress blog should be viewable once again (after some much needed spell checking). I almost forgot my RSS will be back too.

Speaking of updates is anyway else excited that ZFS is going to be in Max OS X Snow Leopard? Finally, a real man's file system.