gskinner.com: gBlog: FlashMX 2004 source code, news, reviews and opinions
Back to gBlog Main gskinner.com website: source code, portfolio, etc. contact Grant Skinner

Syndication
RSS 1.0
RSS 2.0


Subscribe
Enter your email address to be notified when posts are added.

Search

Resources
Conference Session Notes

Flash Blogs
Waxpraxis
Philterblog
W3Blog
Jonas Galvez
Josh Dura
Quasimondo
Flashguru
Sean Voisen
Colin Moock
Flazoom
Greg Burch
Pope De Flash
Peter Hall
Glyn Thomas
actionscript.com
Princess Pegg


Aggregators
Flog
FullAsAGoog
MXNA
Hall of Justhese


« MAX introNetwork: GLIC in action. | Back to Main | New gskinner.com site launches »

October 18, 2004


IMPORTANT NOTE: This is an old archive. It is only here to support outdated external links. To view the updated version of this archive, please go to the blog index, and search for the title of this document using the search form.

JSFL: Open Bound Class(es)
Posted by Ryan

This is a little JSFL script I put together the other day after being inspired by a similar idea from Tony at Teknision.

The purpose of this script is to launch any AS2 classes bound to the selected items in your library. Comes in super handy if bound to a keyboard shortcut.

The concept is pretty simple so there isn't much to explain, two things to look out for:
1) There is a variable (var classPath) in the script that you may (or may not) have to change to reflect yer own development enviroment.
2) Right now it only works relative to the .fla, so like /classPath/com/gskinner/etc ..

I do have some idea's for more/better functionality, but I'm not sure it's quite possible in this iteration of JSFL.

The script can be downloaded from here, and if you have any comments/suggestion for improvement or whatnot please leave a comment.

Hope you enjoyed my first gBlog post, stay tuned for more.

Posted @ 03:19 PM by Ryan | TrackBack


Comments

(link to zip is dead)

But the post is of better quality than the usual trash we see on here, eh Grant ;-)

Posted by: Peter Hall at October 18, 2004 04:43 PM

Link fixed.

Posted by: Ryan at October 18, 2004 04:53 PM

if this script is to be used on a mac you will need to change the following on line 26:

var cPath = String(dLoc + classPath + cLoc).split(":").join("|");

to

var cPath = String(dLoc + classPath + cLoc).split(":").join("/");

please note the | replaced by / in the join call.

cheers, Julian

Posted by: julian (aka dr.swank) at October 19, 2004 03:25 AM

I found a jsfl that delete the not used clips of library. I'm sorry, my english is very bad

Posted by: Andoni at October 19, 2004 10:42 AM

Julian,

I'll have to look into that, cause if I change that line, it will break on pc for sure.

Posted by: Ryan at October 19, 2004 10:46 AM

sorry for a JSFL question:
i can use fl.runScript() to run a JSFL script ,but i cannot find out some way to run a custom panel(swf in WindowSWF folder) .:(
because i wrote an extension demo to display all the commands and panels in a panel,so i wonder some way to run these SWF in WindowSWF folder as a panel ,not open them directly.

here could download my extension demo:
http://www.xfykzz.com/blog/blogview.asp?logID=248

this website is simplified Chinese.

thanks! i am waiting for your answer!

Posted by: xfykzz at October 26, 2004 05:45 AM


Hosting by NetKeepers.ca | Powered by Movable Type 2.661
The text content of this blog is licensed under a Creative Commons License. Graphics are ©2003 Grant Skinner.