August 11th, 2007

Silent error using Return statment in ActionScript

A friend of mine was having problem with some ActionScript code on a frame and couldn't figure out why part of it was working and then it just stopped working. I took a quick look at this code and immediately saw a "return" statement where it shoudn't be. It was outside of a function and probably something that got copied-n-pasted from somewhere else.

So here is a puzzler, Flash didn't throw an error about this return being outside of a function and I have no idea where the flow of the code would return to. I did a quick test of it in a AS3 file and got the same behavior.

Is this something Flash should be throwing an error on? If not, why?

Here is a quick code snippet:

Actionscript:

  1. trace ("fe fi fo");
  2. return;
  3. trace("fum");
  4. // traces fe fi fo, but no fum

July 8th, 2007

Mac Pro — When will we see a new video cards?

With new video cards coming out all the time on the PC side, when will Apple release some new video cards? I got my MacPro w/ the stock nVidia card hoping Apple would be releasing a new card at some point.  Well.. almost one year later and nothing.   It is by far the one thing that really is a huge P.I.T.A. about being a Mac user.    I don't mind paying a little more but I just can't see paying $399 for the ATi X1900 which is already extremely dated.

April 21st, 2007

[OT] Digging my new ride

My new truck came in and I just got back from picking it up at the Toyota dealership. I ordered it about a month ago from Toyota and had some accessories added on while at the factory.

2007 Tacoma

April 9th, 2007

Illustrator Plugin Needed - Easy Transparent Gradients

I'll admit, it's been a while since I used Illustrator. I used to use it exclusively many years back, but I moved over to Fireworks for my Flash work and I never looked back. With CS3 coming soon and its better integration with Flash, I figured I'd dust off Illustrator. I think the second thing I tried to do was create a gradient that went from 100% opacity to 0%.. this is something I have been doing since I started with Fireworks. I can't believe Illustrator doesn't have this. I have to create an opacity mask? Crazy.

Someone needs to create a plugin for this...if they haven't already.

April 6th, 2007

Dx3 Conference cancelled?

I just happened to swing by the Dx3 conference page and saw this:

Due to unforseen circumstances, D×3 has been cancelled.

For further inquiries, please contact: registration@dx3conference.com

Wow! I had just gotten approval at work to attend this conference too. Maybe we'll find out more in the next few days. I hope they re-schedule because the conference looked awesome and had all the right people and topics that mattered to me.

March 18th, 2007

Apollo alpha is on Adobe Labs

Get it while its hot. Apollo is now out in the wild.
http://labs.adobe.com/technologies/apollo/

Guess I know where my time will be spent tomorrow at work.

March 5th, 2007

Las Vegas CS3 Launch Event

Our local Adobe Users Group is going to have a special CS3 Launch Event meeting at 7 PM on March 27th. If you're in the LV area, you'll want to be there. I know I will be.

http://www.vegasaug.org/

Please join other Las Vegas designers for this official CS3 Launch event!

If you work with any of the Adobe Creative Suite products, or the formerly Macromedia Studio products, this meeting is for you! Please be sure to forward this meeting announcement to all who you think may be interested.

This will be a special joint meeting of the Las Vegas Adobe Users Group (VegasAUG.org) and the Las Vegas Dreamweaver Users Group (LVDUG.com). The meeting will include presentations by Adobe executives, CS3 product demonstrations, and a chance to win one of the first copies of the new CS3 suite when it starts shipping!

Adobe has been providing demonstrations of the CS3 products for several months (including here in Las Vegas at MAX last fall). And Adobe has also provided a public beta of Photoshop CS3 at labs.adobe.com since December. Please join us to learn and discuss details of the official CS3 release!

A new era in creative expression is about to unfold, freeing us to color outside the lines, to think in multiple dimensions, to engage audiences like never before.

If you have further questions, please contact info@VegasAUG.org

March 4th, 2007

Hacking Democracy Movie

I watched the Hacking Democracy movie tonight. If you haven't seen it or heard about it, it's a very interesting movie that explores the security vulnerabilities of electronic voting machine software, in particular, the software from Diebold. I'm not much into the whole conspiracy theory stuff, but I was very intrigued by the exploration into securing our votes or how insecure they really are.

In the case of the Diebold software, it seems like the voting card (looked like a compact flash card?) seems to be easy enough to be tamper with. Not to mention, the voting information is stored in on a central polling machine in a Access database which can be easily modified -- or so it seemed from the movie (they really didn't cover the actual specifics on how they tampered). The movie didn't cover the security measures that surround the voting memory card and how it is cleared prior to a vote or how it is transferred from a voting location to the central tallying machine, but I'd imagine it doesn't include Brinks Security and an armed escort. These systems are being used by lots of counties all over the U.S. and its probably regular people like you and me.

The possibility of tampering with votes has been an issue since probably the first time we ever took a formal vote. And it's only a matter of time before electronic voting moves from the current physical electronic boxes to using the internet so we can all vote from the comfort of our home or office. So how do we really insure the integrity of the data ... voting data or other? How do we ensure the public that our votes are really being tallied correctly? Maybe we can't? Maybe the further we get removed from the vote and the counting system, the less sure we are that our votes are being tallied correctly. Seems like we still have a lot of work to do.

Anyhow... it was an interesting movie and will definitely make me think during my job.

[Update]I wanted to add that I found it extremely humorous during the movie when the representative from Ohio voted to reject the Ohio vote and then we saw statements from several other senators, etc basically saying in Congress we shouldn't question the system that elected them. I couldn't agree more. If we are going to question the system that elects people, we really shouldn't have those to stand to gain/lose the most to investigate.

February 26th, 2007

USPTO needs an overhaul

Over the last few years, there has been a horrible, ever-increasing trend, of companies patenting, or buying companies that hold patents that are vague and generic and then going after the people with money who have already implemented technologies.
Read the rest of this entry »

February 11th, 2007

Anyone using WP and iG:Syntax Hiliter plugin?

The iG:Syntax hiliter plugin for WordPress wants to swap out my > (greater than), < (less than) symbols for > and <. I haven't posted code in awhile, so I'm not sure if this is something that popped up after I upgraded to WP 2.1 (from 1.5) or from the recent updating of the iG plugin.

Anyone have any suggestions? I found the line of code in the PHP doing the swap, but don't want to hack it if I can figure out whats going on.

[UPDATE]
Well.. I fixed it for now. I just turned off the visual editor for my WP profile. Users > Your Profile > Use the visual editor when writing.