tag:blogger.com,1999:blog-37767302008-08-20T00:44:20.567-07:00THE PASZ.COM BLOGadampasznoreply@blogger.comBlogger119125tag:blogger.com,1999:blog-3776730.post-41270777980050318332008-02-21T07:00:00.001-08:002008-02-21T07:08:58.482-08:00Red Carpet Oscars ChallengeHere's another project, my first for Facebook:
http://apps.facebook.com/peopleredcarpet/
Pick your Oscar choices and compare results with your friends after the Oscars this weekend...
You need to be logged into Facebook for this link to work.
adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-33598312632574488542008-02-18T09:05:00.000-08:002008-02-18T09:12:43.648-08:002D BarcodesHere's a fun site I worked on for Sprint, that explains their 2D barcode technology. 2D barcodes can contain a lot more (n^2) information than a standard linear barcode. The neat thing is, you can scan the codes directly into your phone and access the data.
I was the technical lead on the project, and also created the 3D Environment using Papervision. The concept was developed by Goodby, adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-34439397375983144292007-10-31T17:04:00.001-07:002007-10-31T17:08:40.453-07:00A Happy Halloween Mix Tape from FuzzHere's a custom tape created using the Deck-o-Rator we released last week on Fuzz.com. Nice work!
adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-86197750529785165112007-10-22T12:59:00.000-07:002007-10-22T15:30:02.242-07:00Mix Tape Creator at Fuzz.comA project I've been working on with Cog1 just went live today at fuzz.com and we got a nice write-up in the Tech section of today's San Francisco Chronicle.
The site lets you create and share music "mix tapes" featuring artists from the Fuzz music library. The tape animations are created using the Papervision 3D library, which has been taking the Flash world by storm. The tape and case are adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-28355959726495259352007-09-26T07:36:00.000-07:002007-09-26T07:38:36.535-07:00ActionScript Gotcha #345: Recursive GetterHere's a great way to create an infinite loop, and crash the Flash player with a stack overflow:
public function get myVar(): MovieClip
{
return myVar;
}
Yes, that should be:
public function get myVar(): MovieClip
{
return _myVar;
}
A single missing underscore leads to disaster!adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-73949548680499890502007-08-03T08:34:00.000-07:002007-08-03T08:44:31.106-07:00Darkon Name GeneratorHere's one of a couple of projects I've been busy on lately. It's a Flash activity to promote the new film Darkon from IFC -- a documentary about live-action role playing gamers.
It was coded for Flash 8, entirely using FlashDevelop. Art and animation were created by Cog1.
Enjoy!adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-14617492826584835862007-06-24T14:30:00.000-07:002007-06-24T14:35:00.378-07:00CommentsI spent today reviewing my blog, and -- in addition to a bunch of comment spam -- there were a couple of interesting comments on some of my older posts. Thanks to search engines, it looks like old posts will sometimes bubble to the top and keep getting hits. I tried to go back and reply to questions where appropriate. I want to encourage people to comment, and I'll do my best to read them.
adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-84972306558814057492007-06-21T12:51:00.000-07:002007-06-21T12:51:56.041-07:00OmniGraffle, Where Have You Been All My Life?It's not often one opens an application and immediately falls in love with it. Finally having decided that I need to mhttp://www.blogger.com/img/gl.link.gifove on from GModeler, I started searching for a solid UML diagramming tool -- preferably a free one. Though OmniGraffle is not free, after playing around with it for less than an hour, I plunked down almost $150 on the professional version adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-45119316487892443932007-06-17T07:48:00.001-07:002007-06-17T08:04:35.735-07:00Using FlexBuilder to Program for Flash CS3This is probably completely obvious to some people, but there's a scarcity of information out there about Flash/Flex workflow, so I thought I'd post.
Here's the scenario:
You've been hired to work with a design company that only uses the Flash CS3; they have no interest in learning Flex. However, you don't want to program in Flash CS3 or some other text editor because you're comfortable with adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-72008263524442055372007-06-14T22:32:00.000-07:002007-06-14T22:45:22.826-07:00Some Ugly Flash CodeThis code truly encapsulates some of the worst features of the ActionScript 2 APIs. Guess what it does...
var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(null);
var stream_ns:NetStream = new NetStream(connection_nc);
video_1.attachVideo(stream_ns);
stream_ns.play("1.flv");
attachAudio(stream_ns);
var audio_sound:Sound = new Sound(this);
audio_sound.setVolume(0);
adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-84403724207085914852007-06-14T06:55:00.000-07:002007-06-14T07:01:57.846-07:00Preloading Images in JavaScriptOk, this may be old news for some people, but since I'm working in Flash about 90% of the time these days, I'm always looking for tricks to make my life easier when I have to do JavaScript stuff. Here's a function that will preload an array of images:
function imagePreLoad(images)
{
var image = new Array();
for (var i = 0; i < images.length; i++)
{
image[i] = new Image();
adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-53442585810278067302007-06-11T08:18:00.000-07:002007-06-11T08:32:37.065-07:00Improved Full Screen Mode in Flash 9There is certainly an abundance of riches on Adobe Labs this morning. But perhaps lost in the shuffle is news from the Flash Player team about an improved full screen mode that uses hardware acceleration to improve performance. Hopefully this will improve video performance in full screen mode. Perhaps it is also a small step toward getting 3D hardware acceleration into Flash.
Kaourantin.net adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-50065085835887997862007-05-22T08:46:00.000-07:002007-05-22T09:02:07.478-07:00Haxe, AS2 and AS3 all in one happy place...Okay, this to me is almost as exciting as the StarCraft 3 news. :)
FlashDevelop 3 Alpha has been released. You can now create HaXe and AS3 projects without additional annoying configuration. And now that you can generate AS3 code from HaXe, and also generate AS3 code from AS2, the disparate worlds of the Flash development universe are really starting to converge!
While this release is still adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-13961084355861946342007-05-19T09:43:00.000-07:002007-05-19T09:46:13.683-07:00Battlecruiser OperationalBlizzard has announced Starcraft 2.
Geek fit in progress...adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-18644733093677209402007-05-06T19:18:00.000-07:002007-05-06T18:45:23.937-07:00setIntervalI often see questions about setInterval on flashcoders, so I thought I'd share my comments here. This applies to both Flash and JavaScript programming...
Intervals are not a problem as long as you use them correctly. Just make sure for every setInterval() call you have a corresponding clearInterval() call. Usually the clearInterval() is within your interval event handler function, so once theadampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-53286762759215111312007-05-04T17:16:00.000-07:002007-05-04T17:23:18.726-07:00"It's not Raw, it's Rare"If you're at all interested in digital photography, I highly recommend listening to This Week in Media, episode 51, with guest Bill Crow from Microsoft. Know the difference between Raw and JPEG? Nikon Raw vs. Canon Raw? JPEG vs. JPEG 2000? JPEG vs. TIFF? Ever wondered about better ways to capture and convert analog image data? Check out this podcast, which is chock full of interesting info.adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-29760160065947784672007-05-03T08:36:00.000-07:002007-05-04T17:14:49.587-07:00Adobe Bridge & Flash CS3 - Initial ImpressionsI received my Flash CS3 Upgrade (Windows version) in the mail yesterday. Unfortunately, I had dinner plans, so I only had time to install and play around with it a little bit. I'll post more detailed comments later. I'm especially interested to see how the Flash/Flex workflow goes...
In addition to the install DVD, you get a CS3 Video Workshop disk, which has training videos (i.e. commercials)adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-62980232855649185162007-05-01T06:56:00.000-07:002007-05-01T06:59:27.213-07:00No More Long-Winded Event DispatchingThis is great. It always annoyed me that it took so much messy code to dispatch an event. I wish I'd thought of it. This more concise approach can be applied to other event-handling models as well, not just Cairngorm.adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-11166210579444456842007-04-28T08:51:00.000-07:002007-04-28T08:51:10.995-07:00HTTPS + Flash + IE + Dynamic XML = BugHow was web development done before Google? A site we're releasing just got hit with this IE bug that occurs when you're running Flash through https. The full description of the problem can be found here.
I was able to find a solution in about an hour. Before internet search it probably would have taken days to get to the bottom of the problem, and might even adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-85963272126973601872007-04-26T10:33:00.000-07:002007-04-26T10:50:20.752-07:00Yahoo! ActionScript APIsI've been playing around with the Yahoo! ActionScript 3 APIs, which are pretty cool. You can access Maps, Search, and a number of other services. The documentation is so-so, and it took a bit of trial and error to get things working, but here's a simple search tool I created. The search is restricted to Pasz.com. You can right-click and do "View Source" to see the ActionScript and MXML code.adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-41695435407006624352007-04-23T11:46:00.000-07:002007-04-23T11:51:37.781-07:00Samurai Kittens is an Award WinnerSorry for the lack of posts lately. Getting married has taken up a lot of my time. :)
I'm told Samurai Kittens has picked up a couple of awards, including a Silver Addy award for interactive media. I can't believe it's been a year since we launched. That project was a blast!adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-71246206353083722342007-03-28T22:42:00.000-07:002007-03-28T22:53:47.518-07:00One Thing I'm Loving About Apollo...Okay, this is not earth-shattering by any means, but Apollo has turned out to be a great testing platform. Though, eventually, I plan to release my application in a browser, during development, testing in a browser is annoying.
Specifically, Apollo provides the following benefits:
1. I can leave my browser open in the background while testing, and not be distracted by multiple windows/tabs adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-1163263462754416362007-03-21T07:54:00.000-07:002007-03-21T08:45:03.536-07:00Function Proxy for ActionScript 3In all my AS2 work, I depend heavily on Person 13's Proxy Class, which allows you to create a reference to a function and pass in a dynamic number of arguments. This technique is very useful for setting up event handlers and callback functions in situations where you don't want to deal with the overhead of setting up an event listener architecture for your application.
As I'm transitioning to adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-87587276141657117832007-03-16T18:11:00.000-07:002007-03-16T18:17:35.736-07:00Reporting from Apollo CampI'm writing this in the middle of Kelly Lynch's keynote, jacked up on caffeine -- it's been a long week. He's going over a lot of stuff that was covered at Flex 360. The most exciting part is definitely getting my hands on the Apollo CD. Mike Chambers made it sound like they've really been burning the midnight oil to get this ready for today's event. Interesting that it's not up on Labs yet.adampasznoreply@blogger.comtag:blogger.com,1999:blog-3776730.post-56246205301358654762007-03-09T18:23:00.000-08:002007-03-09T18:31:34.151-08:00Flex Builder TipsA few notes I took during David Zuckerman's Flex Builder Secrets panel at 360 Flex.
KEYBOARD SHORTCUTS
ctrl-shift-P - Find matching bracectrl-shift-T - pop-up list of every type in projectctrl-click on a class to open and jump into the file for it.ctrl-o - brings up outline viewctrl-shift-o organize imports
OTHER NEAT FEATURES
Use the history arrows in the toolbar to navigate between files adampasznoreply@blogger.com