Create Instance Name using MC Name in Library

March 21st, 2008

After wishing for years that Flash would automagically insert the name of a newly made MC as its instance, I finally grew antsy and make this little JSFL command:

if (fl.getDocumentDOM().selection.length > 0){

for(i in fl.getDocumentDOM().selection){

path = fl.getDocumentDOM().selection[i].libraryItem.name;
mc_name = path.substr(path.lastIndexOf(“/”)+1);
fl.trace(‘clip = ‘+mc_name);
fl.getDocumentDOM().selection[i].name = mc_name;

}

}

Photoshop Plug-in Woes w/ Vista

July 21st, 2007

A friend of mine just bought a new system with Vista, but after installing CS3, all of his old Photoshop plugins just don’t work.  Hopefully it’s only a problem with the Data Execution Prevention.  We’ll find out soon enough.  Just in case, here’s some additional links to use for troubleshooting:

iPhone User Agent Spoof

July 12th, 2007

Here’s a nifty little trick I figured out, used in conjunction with the Firefox extension User Agent Switcher:

Description:    iPhone
User Agent:    Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en)
App Name:    AppleWebKit/420+ (KHTML, like Gecko)
App Version:    Version/3.0
Platform:    Mobile/1A542a Safari/419.3

Guides: My New Best Friend

July 7th, 2007

Y’know, I’m still amazed by how much Flash Professional has to offer, even after using it for almost a decade. Sure, I’d worked with rulers & guides in photoshop, etc, and I had forgotten they’re also in Flash too because I never really needed them.

This morning, I was looking for a good way to properly align elements inside of a MC without having to edit it within the stage’s context each time. Guess what? Those silly guides remain specific to each MC, not to the stage in general as I previously thought. Oh, Macromedia Adobe, what would I do without your geniuses? (I guess try an annoying workaround like I always do.)

Fix for Safari for Windows

June 15th, 2007

http://grupenet.com/2007/06/12/fix-font-issue-in-safari-for-windows/

It’s all Relative

April 12th, 2007
if (System.capabilities.isDebugger) {
this.loadMovie("external.jpg");
} else {
this.loadMovie("images/external.jpg");
}

trace(); – the sequel

March 1st, 2007

trace2 = function(s, r_all) {

if (!t_txt){    //create new textfield if none exists

this.createTextField("t_txt", 1, 0, 0, 1, 1);
t_txt.autoSize = true;    

}
r_all ? t_txt.text = s+"\n" : t_txt.text += s+"\n" ;

};

Directory Image Lister PHP -> XML

November 26th, 2006

Will be useful for an upcoming Flash gallery that dynaically loads images. I didn’t want to reinvent the wheel, but apparently I was too impatient to find the wheel. 😛

Read the rest of this entry »

Royalty Free Audio Sounds/Samples

October 31st, 2006

The Freesound Project

SoundDogs

Sonomic

Free Flash Extensions

October 17th, 2006

Flash-extensions.net/

FlashGuru Consulting – Flash Extensions/

Also, they have some cool tutorials

http://www.ghostwire.com/go/38

Airtight News – Useful Flash Extensions Roundup

sIFR 2.0

October 16th, 2006

Mike Davidson — sIFR 2.0: Rich Accessible Typography for the Masses

Tutorials

October 14th, 2006

Macromedia Flash Studies
http://jrgraphix.net/research/

Useful Drawing and Design Tutorials and Resources
http://www.kirupa.com/forum/showthread.php?t=13133

WinXP Password Recovery

October 10th, 2006

LoginRecovery + hash tweak + ophcrack = System Salvation

FITC Links

October 10th, 2006

Nikolai Cornell:

Mario Klingerman:

Grant Skinner: