[Flashcoders] jsfl

2013-05-02 Thread [p e r c e p t i c o n]
been a long time since i posted... qwik ques.. what's wrong with this MMExecute(fl.runScript(fl.configURI + 'Javascript' + '/browse_optimize_dirs.jsfl', 'batchOptimize', + iTxt + , + oTxt + );); error is: SyntaxError: missing ) after argument list TIA percy -- . :

Re: [Flashcoders] jsfl

2013-05-02 Thread erik mattheis
Looks like you're building your string wrong. Try putting one + per line to discover your mistake: str = fl.runScript( + var1 + , + ... etc. On Thu, May 2, 2013 at 11:33 PM, [p e r c e p t i c o n] percepti...@gmail.com wrote: been a long time since i posted... qwik ques.. what's

[Flashcoders] JSFL create a dialog and set focus

2011-04-13 Thread Jeremy Hicks
I have a JSLF document that creates an xmlPanel() and displays the dialog in my xml file. It shows a textbox and everything works well. When the dialog opens there is no focus set on it or the textbox. I've tried different methods of setting the focus but nothing works. Is there anyway to set

[Flashcoders] JSFL question on shapes and strokes.

2010-06-01 Thread Jiri
Hello, I am trying to convert some drawings on stage into a movieclip via jsfl. It works when all the elements on stage are separatly grouped. JSFL doesnt seem to 'see' non grouped drawings as seperate entities. To clearify, I have on frame on the main timeline. In this frame I have three

[Flashcoders] JSFL dynamic textfield antialiasing question...

2009-11-17 Thread Chris Foster
Hi, I'm using JSFL to modify a bunch of FLAs created by a designer. I need to change the antialiasing on a large number of textfields from 'bitmap' to 'antialias for animation' but the only parameters I can see are 'standard', 'device', 'bitmap', 'advanced' and 'customThicknessSharpness'.

Re: [Flashcoders] JSFL dynamic textfield antialiasing question...

2009-11-17 Thread jared stanley
hmm good question - i don't know if that's accessible from jsfl. you could probably just loop through everything on the stage, and if it's a text field then select it - that dropdown will affect all selected textfields. not exactly what you're looking for though, maybe someone else has a better

Re: [Flashcoders] JSFL dynamic textfield antialiasing question...

2009-11-17 Thread Latcho
Did a quick test. I think Stanley is wright: not possible. My ASV swf decompiler creates JSFL to reconstuct a FLA. I created a bunch of different textfields, compiled to swf and decompiled with ASV. Got ASV creating JSFL rebuild script for recreating a FLA. For antialias for readability fields

RE: [Flashcoders] JSFL dynamic textfield antialiasing question...

2009-11-17 Thread Chris Foster
: [Flashcoders] JSFL dynamic textfield antialiasing question... Did a quick test. I think Stanley is wright: not possible. My ASV swf decompiler creates JSFL to reconstuct a FLA. I created a bunch of different textfields, compiled to swf and decompiled with ASV. Got ASV creating JSFL rebuild script

Re: [Flashcoders] JSFL dynamic textfield antialiasing question...

2009-11-17 Thread Latcho
As found in http://www.scribd.com/doc/3939992/Flash-Javascript-API My best guess is that to represent antialias for animation you would use text.fontRenderingMode - standard text.fontRenderingMode - static Latcho Chris Foster wrote: Hi, I'm using JSFL to modify a bunch of FLAs created by

Re: [Flashcoders] :: JSFL ..this possible?

2008-10-15 Thread Dennis - I Sioux
Sent: Wednesday, October 15, 2008 2:23 AM Subject: [Flashcoders] :: JSFL ..this possible? hey, was wondering if its possible for JSFL to : create MClips from a css text file ( or xml file ) and put them on the timeline with keyframes. ie, green length=3 MyText /length /green

[Flashcoders] :: JSFL ..this possible?

2008-10-14 Thread artur
hey, was wondering if its possible for JSFL to : create MClips from a css text file ( or xml file ) and put them on the timeline with keyframes. ie, green length=3 MyText /length /green thanks -- *artur :.* - *www.artur.com* - [EMAIL PROTECTED] - *ph:646.797.3320*

[Flashcoders] JSFL open WindowSWF

2008-04-27 Thread Keith
Is there a way to open a WindowSWF IDE panel with JSFL? -- Keith H -- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] JSFL Add a new font

2008-03-27 Thread Leon
, 2008 4:05 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] JSFL Add a new font Hello FlashCoders, With a JSFL 1 - I want to : in an opened document. 2 - Create a new Font Symbol in my opened document library. 3 - Set his parameters. Is it possible !? Leon /* var lib

Re: [Flashcoders] JSFL Add a new font

2008-03-27 Thread Steven Sacks
You can do anything you want in C++. Read the JSFL docs on how to use C++ to do more complex JSFL stuff. Hopefully, the time and cost it takes to research it, write the C++, debug and deploy your solution will be less than the time and cost savings of importing a Font into a Flash library.

[Flashcoders] JSFL Add a new font

2008-03-25 Thread Leon
Hello FlashCoders, With a JSFL 1 - I want to : in an opened document. 2 - Create a new Font Symbol in my opened document library. 3 - Set his parameters. Is it possible !? Leon /* var lib = fl.getDocumentDOM().library; lib.addNewItem('FontItem'); */

RE: [Flashcoders] JSFL Add a new font

2008-03-25 Thread Michael Randolph
I wish...no way to do this afaik -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leon Sent: Tuesday, March 25, 2008 4:05 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] JSFL Add a new font Hello FlashCoders, With a JSFL 1 - I want

Re: [Flashcoders] JSFL Add a new font

2008-03-25 Thread Steven Sacks
Here's the #1 way of knowing what's not possible in JSFL. Open your History Panel (CTRL+F10). Do something. If the something you did has a red X in the lower right corner, you can't do it in JSFL. x (Create New Font Symbol) You can't do this with JSFL, unfortunately.

[Flashcoders] JSFL Stringpanel

2008-03-11 Thread Dennis - I Sioux
Hey, Has anyone got tips/ideas how to automate settings in the stringpanel? With kind regards, Dennis Isioux ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] jsfl aligning movieclip symbols to top left

2008-02-15 Thread Some Dude
Does anybody know what the jsfl would look like to automate the process of aligning movieclips to the top left as opposed to centered? I have a cs3 fla with lots of symbols that need to be aligned top left. Thanks if anybody can help. ___ Flashcoders

Re: [Flashcoders] jsfl aligning movieclip symbols to top left

2008-02-15 Thread Dennis - I Sioux
Sent: Friday, February 15, 2008 3:13 PM Subject: [Flashcoders] jsfl aligning movieclip symbols to top left Does anybody know what the jsfl would look like to automate the process of aligning movieclips to the top left as opposed to centered? I have a cs3 fla with lots of symbols that need

[Flashcoders] JSFL and Stringpanel

2008-02-15 Thread Dennis - I Sioux
Hey, I have automated publishing of files (we have alot of those:) ). I was wondering though if someone found out a way to change the stage language in the stringpanel using jsfl.. Then i can publish swf`'s for every language with one press on the button aswell. With kind regards, Dennis

Re: [Flashcoders] jsfl aligning movieclip symbols to top left

2008-02-15 Thread Adrian Park
I've just been writing a tonne of JSFL scripts for a project so have done a lot of this. Here's a few generic lines grabbed form some of my scripts... code var focussedDoc = fl.getDocumentDOM(); var targetLibrary = focussedDoc.library; var selectedItems = targetLibrary.getSelectedItems(); for( i

Re: [Flashcoders] jsfl aligning movieclip symbols to top left

2008-02-15 Thread Steven Sacks
Open the Flash History panel. Align a movieclip to top left. Look at the History panel for the JSFL it used to do that. Now you know what it looks like. Some Dude wrote: Does anybody know what the jsfl would look like to automate the process of aligning movieclips to the top left as opposed

[Flashcoders] JSFL - How to creater a folder layer within a folder layer

2007-08-17 Thread Mark Lapasa
This is pretty easy making to layers. fl.getDocumentDOM().getTimeline().addNewLayer(My Outer Folder, folder, false); fl.getDocumentDOM().getTimeline().addNewLayer(My Inner Folder, folder, false); However, I want to next the inner into the outer. For the life of me, I can't figure this one

RE: [Flashcoders] JSFL - How to creater a folder layer within a folderlayer

2007-08-17 Thread Danny Kodicek
This is pretty easy making to layers. fl.getDocumentDOM().getTimeline().addNewLayer(My Outer Folder, folder, false); fl.getDocumentDOM().getTimeline().addNewLayer(My Inner Folder, folder, false); However, I want to next the inner into the outer. For the life of me, I can't figure

Re: [Flashcoders] JSFL - How to creater a folder layer within a folderlayer

2007-08-17 Thread Mark Lapasa
Thx Danny, that worked great! Danny Kodicek wrote: This is pretty easy making to layers. fl.getDocumentDOM().getTimeline().addNewLayer(My Outer Folder, folder, false); fl.getDocumentDOM().getTimeline().addNewLayer(My Inner Folder, folder, false); However, I want to next the inner

Re: [Flashcoders] JSFL Experts! -- Video Import (Access UI elements of Video Import XUL Dialog Window)

2007-06-25 Thread keith
- Original Message - From: keith [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, June 24, 2007 9:13 PM Subject: [Flashcoders] JSFL Experts! -- Video Import (Access UI elements of Video Import XUL Dialog Window) INFO: I have a JSFL script

[Flashcoders] JSFL Experts! -- Video Import (Access UI elements of Video Import XUL Dialog Window)

2007-06-24 Thread keith
INFO: I have a JSFL script that calls importFile() to import FLVs into my documents. This opens the Import Video dialog window with input fields and radiobuttons. Here is the Video Import window I'm talking about... http://keith-hair.com/web/photos/videoimport.jpg QUESTION: (1.)Is there

Re: [Flashcoders] JSFL Experts! -- Video Import (Access UI elements of Video Import XUL Dialog Window)

2007-06-24 Thread Muzak
] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, June 24, 2007 9:13 PM Subject: [Flashcoders] JSFL Experts! -- Video Import (Access UI elements of Video Import XUL Dialog Window) INFO: I have a JSFL script that calls importFile() to import FLVs into my documents. This opens

[Flashcoders] JSFL: folder names start with numbers

2007-06-15 Thread Helmut Granda
For those who have used JSFL, have you run into the issue of browserForFolderURL and browserForFileURL fail to recognize the whole path if there is a number in the name structure? for example file/file/12312/file/file/file.fla will return file/file/ I am aware that when naming

[Flashcoders] JSFL not getting along with Swedish characters

2007-06-13 Thread Steven Sacks
There is an issue with JSFL not being able to open an FLA using fl.openDocument(path) where path contains a special character, a Swedish vowel. It seems that the vowel is being removed from the string. This is how the path is generated: FLfile.listFolder() is used to target a folder, which

Re: [Flashcoders] JSFL not getting along with Swedish characters

2007-06-13 Thread Muzak
- Original Message - From: Steven Sacks [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, June 13, 2007 7:02 PM Subject: [Flashcoders] JSFL not getting along with Swedish characters There is an issue with JSFL not being able to open an FLA using fl.openDocument(path) where

[Flashcoders] JSFL Executer [WAS] Create MXI/MXP with External JSFL

2007-04-09 Thread Muzak
Since a JSFL topic came up I thought I'd dig up my JSFL Executer command. It's a command that pops a Dialog (XUL) with a simple mulitline textbox. You can fill in some jsfl code, hit ok and the jsfl will be executed. Comes in handy for quickly testing pieces of code. There's two files, one jsfl

[Flashcoders] jsfl, removing interval-frames

2007-04-02 Thread Martin Klasson
Hi Coders, I would believe it is possible, as well as I have seen the jsfl-script somewhere, but I can not find it. It was a jsfl-script which could take selected layers, and remove every other frame from the timeline. Because I have long timelines with lotes of ONLY keyframes with lots

Re: [Flashcoders] jsfl, removing interval-frames

2007-04-02 Thread Snepo - Arse
I have a double frame script here: http://blog.snepo.com/articles/category/flash-jsfl You could easily modify it to remove every other frame (I'd give it a shot but don't have Flash in front of me). Keep in mind that it will not preserve tweens if you remove a key. Arse www.snepo.com

[Flashcoders] JSFL - Saving FLAs

2007-04-02 Thread ChrisRM
Hey Everyone, I'm in the unfortunate position of developing in an environment where not everyone has the same version of Flash and remembering to Save As gets overlooked. Some have Studio 8, others have MX 2004. Is there a way to check the version of the FLA? I know there is fl.version, but

RE: [Flashcoders] JSFL - Saving FLAs

2007-04-02 Thread Holth, Daniel C.
, April 02, 2007 9:01 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] JSFL - Saving FLAs Hey Everyone, I'm in the unfortunate position of developing in an environment where not everyone has the same version of Flash and remembering to Save As gets overlooked. Some have Studio 8

RE: [Flashcoders] JSFL - Saving FLAs

2007-04-02 Thread ChrisRM
Is that what your looking for? -DC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ChrisRM Sent: Monday, April 02, 2007 9:01 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] JSFL - Saving FLAs Hey Everyone, I'm in the unfortunate

RE: [Flashcoders] JSFL - Saving FLAs

2007-04-02 Thread Steven Sacks | BLITZ
The version is located in the XML Publish Settings file. It's been reported that changing this value using JSFL does not work (a bug). However, you CAN read it. Refer to my blog entry regarding the XML Publish settings file to see how to get the version number out of it.

RE: [Flashcoders] JSFL - Saving FLAs

2007-04-02 Thread Derek Vadneau
Sent: Monday, April 02, 2007 1:37 PM Subject: SPAM-LOW: RE: [Flashcoders] JSFL - Saving FLAs The version is located in the XML Publish Settings file. It's been reported that changing this value using JSFL does not work (a bug). However, you CAN read it. Refer to my blog entry regarding the XML

RE: [Flashcoders] JSFL - Saving FLAs

2007-04-02 Thread Steven Sacks | BLITZ
Maybe I'm confused about what you're trying to do. Are you concerned with the published (swf) version or the source (fla) version? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] JSFL - Saving FLAs

2007-04-02 Thread Hershell Bryant
Sent: Monday, April 02, 2007 11:33 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] JSFL - Saving FLAs The version of the FLA is in the XML Publish Settings file? I don't think that's the case. Afaik, there is no way to get this information from JSFL. JSFL implementation

Re: [Flashcoders] JSFL - Saving FLAs

2007-04-02 Thread Derek Vadneau
be interested in creating this for the community, so we'll see. Derek Vadneau - Original Message - From: Hershell Bryant To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, April 03, 2007 3:19 PM Subject: RE: [Flashcoders] JSFL - Saving FLAs I believe that the whole point

RE: [Flashcoders] JSFL - Saving FLAs

2007-04-02 Thread ChrisRM
with a v8 install. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Derek Vadneau Sent: Monday, April 02, 2007 11:33 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] JSFL - Saving FLAs The version of the FLA is in the XML Publish

Re: [Flashcoders] JSFL - Saving FLAs

2007-04-02 Thread ChrisRM
- From: Hershell Bryant To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, April 03, 2007 3:19 PM Subject: RE: [Flashcoders] JSFL - Saving FLAs I believe that the whole point is that the person wants to ensure that his FLAs are saved for version MX, so that the coder using only MX can

RE: [Flashcoders] JSFL - Saving FLAs

2007-04-02 Thread Derek Vadneau
. If they still save as Flash 8, then that's something to yell at them about. Derek Vadneau - Original Message - From: ChrisRM To: flashcoders@chattyfig.figleaf.com Sent: Monday, April 02, 2007 4:06 PM Subject: SPAM-LOW: RE: [Flashcoders] JSFL - Saving FLAs You're correct, Hershell. I have users

Re: [Flashcoders] JSFL - Saving FLAs

2007-04-02 Thread Muzak
That's another bugger that gets me too. You open a MX 2004 file in Studio 8 and when you go to save, it saves it as version 8. That's not the default behavior. The default behavior is to prompt you that you're trying to save an older format to a newer format. If it doesn't it means it has been

[Flashcoders] JSFL: Converting contours to symbols

2007-01-17 Thread Max Kaufmann
The age-old problem, finally hacked: /* Symbolize Contours By Max Kaufmann */ function copy_array(src,dest) { for (var i=0; isrc.length; i++) dest[i] = src[i]; } fl.outputPanel.clear(); var doc = fl.getDocumentDOM(); var tl =

RE: [Flashcoders] JSFL writing a (Unicode) encoded text file

2007-01-08 Thread Danny Kodicek
Is it possible to write a Unicode encoded text file with JSFL? Yes, absolutely. Except that there's no such thing as a 'Unicode encoded text file' - there are a number of different encodings all of which refer to Unicode mappings in different ways, the most common of which is probably UTF-8.

Re: [Flashcoders] JSFL writing a (Unicode) encoded text file

2007-01-08 Thread Hans Wichman
Hi, you could also search for a commandline tool but i dont know if that is what you need. There are some commandline script out there such as ascii2Uni.vbsetc. I use them to process xml files on the commandline now and then and it works great. greetz JC On 1/8/07, Danny Kodicek [EMAIL

Re: [Flashcoders] JSFL writing a (Unicode) encoded text file

2007-01-08 Thread keith
Thanks the replies gave me the direction I need. -- Keith H -- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf

[Flashcoders] JSFL writing a (Unicode) encoded text file

2007-01-07 Thread keith
Is it possible to write a Unicode encoded text file with JSFL? If so how can I do it? -- Keith H -- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] JSFL Saving a created document

2006-12-11 Thread Steven Sacks | BLITZ
Hm. That's odd because my script saves as many files as I need it to with whatever path and filenames I want without prompting me. I wonder what's different. Are you using Flash 7 or Flash 8? ___ Flashcoders@chattyfig.figleaf.com To change your

Re: [Flashcoders] JSFL Saving a created document

2006-12-11 Thread Chris W. Paterson
Using Flash 8... on a Mac. - Original Message From: Steven Sacks | BLITZ [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, December 11, 2006 12:25:16 PM Subject: RE: [Flashcoders] JSFL Saving a created document Hm. That's odd because my

Re: [Flashcoders] JSFL Saving a created document

2006-12-09 Thread Chris W. Paterson
] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, December 8, 2006 6:32:19 PM Subject: RE: [Flashcoders] JSFL Saving a created document You should download the JSFL documentation file. fl8_extending.pdf Not sure what the URL is but search Adobe's site and you'll find

[Flashcoders] JSFL Saving a created document

2006-12-08 Thread Chris W. Paterson
Hi all, I've been lurking for a long time and decided to join up! I'm working on a little project with JSFL. I want to create a JSFL script that automates setting up a project for me, including creating the directory structure and project file and a starter FLA file that has some actions on

RE: [Flashcoders] JSFL Saving a created document

2006-12-08 Thread Steven Sacks | BLITZ
You should download the JSFL documentation file. fl8_extending.pdf Not sure what the URL is but search Adobe's site and you'll find it like I did. Here's a taste of the functions that handle it. Check my blog for the entire script where I am creating templates. http://www.stevensacks.net/

[Flashcoders] JSFL - Finding all textfields in movieclips in the library

2006-09-26 Thread Remco Hoff
Hi all, To be able to easily add characters to all the textfields in my fla (not only those allready on stage), I want to find all the textfields in all movieclips in the library. To find all the library items I use this script: var result = ; var myItem; for (var i = 0; i fl.getDocumentDOM

RE: [Flashcoders] JSFL - Finding all textfields in movieclips in thelibrary

2006-09-26 Thread Danny Kodicek
Hi all, To be able to easily add characters to all the textfields in my fla (not only those allready on stage), I want to find all the textfields in all movieclips in the library. To find all the library items I use this script: var result = ; var myItem; for (var i = 0; i

Re: [Flashcoders] JSFL - Finding all textfields in movieclips in the library

2006-09-26 Thread Arse @ Snepo
Remco, I recently posted some jsfl on my blog that shows how to recursively find all textfields and adjust font usage at a character level: http://blog.snepo.com/articles/2006/09/04/flash-jsfl-swap-font should be an easy step to modify it to your needs. Arse http://www.snepo.com

[Flashcoders] jsfl - loop through all textfields?

2006-09-07 Thread Peter O'Brien
Hi guys, Could anyone sample a jsfl script that will loop through all textfields that sit on a FLAs stage (many frames). I want to change the font and the anti-alias on all of them. Have tried google but can't find what I'm looking for. I have Extending Flash MX 2004 which is pointing me to

RE: [Flashcoders] jsfl - loop through all textfields?

2006-09-07 Thread Danny Kodicek
Here's one I used before. It exports the text itself rather than the fields (I was using it to get the text into a spreadsheet), but you should be able to adapt it to your needs. function findAllText(tTimeline, tPath) { var tArray=new Array() var tText= var tRuns=0

Re: [Flashcoders] jsfl - loop through all textfields?

2006-09-07 Thread Peter O'Brien
Danny, thanks very much you have saved me alot of time and frustration, and jsfl has too! Heartfelt thanks to you both! On 9/7/06, Danny Kodicek [EMAIL PROTECTED] wrote: Here's one I used before. It exports the text itself rather than the fields (I was using it to get the text into a

[Flashcoders] JSFL: Can I set the htmlText property?

2006-08-30 Thread Edu Emece
Hello, I'm using JSFL with a SWF on a XMLUI. The SWF has a TextField with htmlText property set to on. I create a Text Object with JSFL, but I donĀ“t know how can I populate/set the htmlText that I have on the SWF-XMLUI TextField . currentDoc.addNewText({left:0, top:0, right:100,

RE: [Flashcoders] JSFL: Can I set the htmlText property?

2006-08-30 Thread Steven Sacks | BLITZ
Have you tried setting renderAsHTML before you setTextString? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software

Re: [Flashcoders] jsfl - set all bitmaps in library to photo compression

2006-08-30 Thread James Deakin
This will come in very handy. Just one thing though. I have no Idea where to put this file. And how to exicute it. Could you please point me in the right direction. Kind regards James Deakin On 8/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I had a project recently that was originally

Re: [Flashcoders] jsfl - set all bitmaps in library to photo compression

2006-08-30 Thread Chris Hill
You put it in the Commands folder in your user configuration folder. For example: C:\Documents and Settings\MyUserName\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\Commands You might need to show hidden files. Here's my image settings command, while we're sharing:

[Flashcoders] jsfl - set all bitmaps in library to photo compression

2006-08-25 Thread Tor.Kristensen
I had a project recently that was originally developed as a CDROM by a 3rd party, but then had to be migrated to the web. Many of the lib items (1000's of items) had been set with specific compression values or Lossless. This ended up with a 60MB swf file. Ick. So I brewed up this little JSFL

[Flashcoders] JSFL add a MovieClip Name to my created mc

2006-08-06 Thread Zikey Han
Hi,list, now,i'm the fresh man to use JSFL.I want to ask a simple question.Now I have used JSFL to create a movieclip,so i want to name it,and then use fl.getDocumentDOM().getTimeline().layers[0].frames[0].actionScript = _mc.onPress = function(){trace('onPress!!')}.Can i do that? --

Re: [Flashcoders] JSFL: Can I set the swf publish path?

2006-08-04 Thread John Grden
If you use Flasc, you can designate the final SWF output ;) On 8/1/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: I've solved it. I export the publish profile. I read that file in and swap out the values of the nodes. I save that string to the drive (overwriting the old one). I import the

[Flashcoders] JSFL: Can I set the swf publish path?

2006-08-01 Thread Steven Sacks | BLITZ
Hello, I'm trying to figure out a way to set the Publish path of the SWF of the current document using JSFL. Does anyone know how to accomplish this? Thanks! --- Steven Sacks Senior Flash Developer [EMAIL PROTECTED] Ph: 310-551-0200 x209 Fax: 310-551-0022 BLITZ | 405 S Beverly Drive, 3rd

RE: [Flashcoders] JSFL: Can I set the swf publish path?

2006-08-01 Thread Steven Sacks | BLITZ
Just to clarify, I don't want to exportSWF(), I want to change the publish path of the SWF file and then save the FLA with that set path. This is so I can create template FLAs and have them all publish themselves to ../deploy/FILENAME I can import and export publish profiles, but I want to

Re: [Flashcoders] JSFL: Can I set the swf publish path?

2006-08-01 Thread eric dolecki
I have a build script used to produce SWFs from FLAs in one location, and deposit the SWFs in another location - which I believe is what you want? It indeed uses JSFL and its a dream. If this is what you need, I can dig it up. - e.dolecki On 8/1/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:

Re: [Flashcoders] JSFL: Can I set the swf publish path?

2006-08-01 Thread eric dolecki
thats a whole lotta work, but glad that works for you. On 8/1/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: I've solved it. I export the publish profile. I read that file in and swap out the values of the nodes. I save that string to the drive (overwriting the old one). I import the new

[Flashcoders] JSFL targetlist in component inspector

2006-03-01 Thread Manuel Saint-Victor
is it possible to have one of the fields in the component inspector open up a targetlist. Sort of like the one that is used by buttons and MovieClips when doing relative and absolute path assignment. I've seen it mentioned as doable in dialogs but wonder if it can be embedded in the component's

[Flashcoders] JSFL File I/O: Install Package

2006-02-16 Thread eric dolecki
Is anyone aware of a JSFL Command to ease installation of packages into the Flash 8 IDE? I'm going to research File I/O a little bit, perhaps that will be enough to whip one up quickly. Perhaps one exists already. Unsure. Would be quite useful though. -edolecki

Re: [Flashcoders] JSFL File I/O: Install Package

2006-02-16 Thread Johannes Nel
an mxp should do the trick, no? On 2/16/06, eric dolecki [EMAIL PROTECTED] wrote: Is anyone aware of a JSFL Command to ease installation of packages into the Flash 8 IDE? I'm going to research File I/O a little bit, perhaps that will be enough to whip one up quickly. Perhaps one exists

Re: [Flashcoders] JSFL File I/O: Install Package

2006-02-16 Thread eric dolecki
Something where I download a .zip and its got the package there, no MXP, etc. Perhaps I make my own package and I just wanna quickly install it. That kind of use case. I can always drag drop the folder on a shortcut icon, but it would be nice to do it within the IDE. -edolecki On 2/16/06,

Re: [Flashcoders] JSFL File I/O: Install Package

2006-02-16 Thread Johannes Nel
aah. i think what you want to look at is claspaths, instead of copying the resource to your project folder for every project. i suspect you can set classpaths with jsfl, but could be wrong. this could be quite a handy little extension and i have some ideas how that could be inmplemented :) On

Re: [Flashcoders] JSFL File I/O: Install Package

2006-02-16 Thread Johannes Nel
hi eric i have a file and folder browser i wrote as a windowSWF panel. now how this kind of extension can work is. you add a known class path to your lists of classpaths, by browsing to the folder where it is located. you obviously see a list of all the classpaths you have specified before, and

Re: [Flashcoders] JSFL File I/O: Install Package

2006-02-16 Thread eric dolecki
My original thinking was this: 1. Download someone's package containing a bunch of classes 2. Easily install that package (folder its contents) into your C:\Documents and Settings\user\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\Classes directory. Perhaps make it work for

Re: [Flashcoders] JSFL File I/O: Install Package

2006-02-16 Thread eric dolecki
I started whipping something up based on something like this (JUST started though...( var folderURI = fl.browseForFolderURL(Please select your package.); var folderContents = FLfile.listFolder( folderURI, directories ); var bInstall = confirm(Install the package: + folderURI + ?); if( bInstall

Re: [Flashcoders] JSFL File I/O: Install Package

2006-02-16 Thread eric dolecki
Have gotten further - but there seems to be no easy way to easily specify a single folder (maintaining all its sub-directories files) and copying that to this location: var packageDestinationLocation = fl.configURI + Classes; Hmm. Any JSFL-mavens out there? -edolecki On 2/16/06, eric

Re: [Flashcoders] JSFL File I/O: Install Package

2006-02-16 Thread Johannes Nel
i am putting together a recursive copying script for you. i have already come to where you are now On 2/16/06, eric dolecki [EMAIL PROTECTED] wrote: Have gotten further - but there seems to be no easy way to easily specify a single folder (maintaining all its sub-directories files) and

Re: [Flashcoders] JSFL File I/O: Install Package

2006-02-16 Thread eric dolecki
Cool :) I have this so far: var folderURI = fl.browseForFolderURL(JSFL PACKAGE INSTALATION\n\n\nPlease select the class package (folder) you wish to install:); if( folderURI == null ){ alert( Aborting Installation ); } else { continueProcess(); } function continueProcess(){ var

Re: [Flashcoders] JSFL question

2006-01-27 Thread Danny Kodicek
I have an animation of a person standing up. It consists of a movieclip with 20 consecutive keyframes all on one layer - each keyframe has a unique vector drawing. (This is a stopframe animation rather than a tween, exported from a 3D program).The drawings are stylised so they only contain about

Re: [Flashcoders] JSFL help

2006-01-16 Thread Johannes Nel
I need to create some templated swf's and would like the text fields in the swf to be populated either by a human being whois not a flash developer (e.g. enter data into a panel and it puts the data into the correct text field variables). Or to have swf's generated from a text file, say coma

[Flashcoders] JSFL help

2006-01-15 Thread grant
I've never used JSFL and found a book at borders that was supposed to teach but looks more like a dump of the API to a book. I need to create some templated swf's and would like the text fields in the swf to be populated either by a human being whois not a flash developer (e.g. enter data into

[Flashcoders] JSFL textfield recognition issue

2005-12-13 Thread Karthik
Hi, I just ran into an issue with a JSFL script where static/dynamic textfields that are used in motions tweens on the stage aren't recognised correctly. I've uploaded a test fla and test JSFL script here: http://rapidshare.de/files/909/test.rar.html Essentially, the script acknowledges

[Flashcoders] JSFL and Component Definition

2005-11-08 Thread Dan Wood
Hi Is there any way I can set the AS2 class in the component definition of a symbol via JSFL? I've had a look through the docs and I can only see how to set the linkageClass. This is not enough for what I'm trying to do unfortunately. I'm writing a script which will turn a textfield into a

RE: [Flashcoders] JSFL and Component Definition

2005-11-08 Thread Julian Dolce
Dolce Senior Creative Technologist Fuel Industries, INC [ p ] 613-224-6738 x241 -Original Message- From: Dan Wood [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 7:13 AM To: Flashcoders mailing list Subject: [Flashcoders] JSFL and Component Definition Hi Is there any way I

Re: [Flashcoders] jsfl and xml

2005-11-08 Thread Danny Kodicek
Can't you use a flash panel to parse it for you then execute the JSFL based on that? Ah - that makes sense. I knew there was some value in those windows! :) Danny ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] JSFL and Component Definition

2005-11-08 Thread Dan Wood
Damn. There goes that idea then. On 08/11/05, Muzak [EMAIL PROTECTED] wrote: Nope :/ - Original Message - From: Dan Wood [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, November 08, 2005 1:12 PM Subject: [Flashcoders] JSFL

Re: [Flashcoders] jsfl and xml

2005-11-08 Thread Alan Queen
ok i got it now.. makes more sense anyway.. so i can have a ui to choose the xml file, then let flash parse it and execute jsfl commands using MMExecute... On 11/8/05, Danny Kodicek [EMAIL PROTECTED] wrote: Can you guys elaborate on that one? We're talking about creating a separate window