Lately, I've been using more Regular Expressions in JavaScript and ActionScript 3.0. projects. In AS3, RegExp can be useful for validating user entries or searching for matches. I found that you can test your the RegExp patterns using DreamWeaver's Find and Replace dialog by checking the "Use regular expression" option.
Tonight I built a RegExp Tester in Flash that kind of does the same thing. I'm sure it needs more tweaking to get better results and display the results more cleanly. You can test RegExp here:
http://www.jazzairwaves.com/Flash/RegExp/
The Regular Expressions Cookbook by Jan Goyvaerts and Steven Levithan, published by O'Reilly, offers great details on the subject.
I'm sure that becoming proficient at regex will improve my coding for text search and validation. Does it also increase my geek score? Yeah.
Aloha, Joe
Thursday, August 27, 2009
Tuesday, August 25, 2009
Audio Player and Twitter Outtage
Our audio player prototype is coming along well, and I was able to rebuild Ryan Berdeen's SoundTouch Demo using the CS4 Flash IDE (Integrated Development Environment) and ActionScript 3 (AS3). The player works pretty well to adjust rate, pitch, and tempo on an externally loaded MP3 file. The controls appear to be stable.
On the Twitter scene, I've found a lot of useful links by following key players who tweet in the info-spheres of technology. Technical discussions on a variety of blogs, forums, and discussion groups are linked via LinkedIn.com and Twitter. Unfortunately, Twitter seems to be suffering growing pains, and its servers are down again for some reason. Error 503, not a good sign for Twitter.
Aloha, Joe
On the Twitter scene, I've found a lot of useful links by following key players who tweet in the info-spheres of technology. Technical discussions on a variety of blogs, forums, and discussion groups are linked via LinkedIn.com and Twitter. Unfortunately, Twitter seems to be suffering growing pains, and its servers are down again for some reason. Error 503, not a good sign for Twitter.
Aloha, Joe
Thursday, August 20, 2009
Getting Flash Windows to Shake Hands
Have you ever needed to embed Flash movies in two separate windows, then get the two Flash windows to communicate with one another? With the ActionScript 3.0 ExternalInterface class, you can get the Flash objects to communicate with one another through their respective window clients.
Each of the Flash movies will include ExternalInterface call and addCallBack methods to relay function calls through JavaScript functions in their HTML pages. The pages need to be able to reference each other's window, which can be done using Window names.
Ok, I know I should post an example of two Flash windows talking to each other. It's doable, I assure you. Someday when there's less crunch at work and more time at home I'll be able to post such an example. Meantime... sorry, lame excuse.
Aloha, Joe
Each of the Flash movies will include ExternalInterface call and addCallBack methods to relay function calls through JavaScript functions in their HTML pages. The pages need to be able to reference each other's window, which can be done using Window names.
Ok, I know I should post an example of two Flash windows talking to each other. It's doable, I assure you. Someday when there's less crunch at work and more time at home I'll be able to post such an example. Meantime... sorry, lame excuse.
Aloha, Joe
Thursday, August 13, 2009
Flash CS3 to Flash CS4
I've been jumping back and forth between the two Flash IDEs lately. Most of my work is done in CS3, but I'm finding more and more effective solutions in CS4. As I look deeper, there are some amazing classes like the new Sound API for Flash 10 that provide more controls over audio. Of course, applying new animation and 3D effects are greatly improved in CS4.
I registered for one of Adobe's online eSeminars on CS4, and hope to get even deeper into the benefits of using Flash CS4.
My latest project applies the Flash 10 Sound API to create new audio controls. I've been previewing several audio libraries, including the NoteFlight StandingWave2 sound library by Joe Berkovitz, and Ryan Berdeen's SoundTouch library. I hope to discuss the results of these studies sometime soon.
A couple of great resources for additional Flash and ActionScript 3 references have turned up on Twitter and in LinkedIn.com groups. To better focus on my attention on programming, I'm trying to rebuild my Twitter network. Follow jazzairtech.
Aloha, Joe
I registered for one of Adobe's online eSeminars on CS4, and hope to get even deeper into the benefits of using Flash CS4.
My latest project applies the Flash 10 Sound API to create new audio controls. I've been previewing several audio libraries, including the NoteFlight StandingWave2 sound library by Joe Berkovitz, and Ryan Berdeen's SoundTouch library. I hope to discuss the results of these studies sometime soon.
A couple of great resources for additional Flash and ActionScript 3 references have turned up on Twitter and in LinkedIn.com groups. To better focus on my attention on programming, I'm trying to rebuild my Twitter network. Follow jazzairtech.
Aloha, Joe
Subscribe to:
Posts (Atom)