Questions tagged [jsfl]

.jsfl files are used to add functionality in the Flash Authoring environment; they contain JavaScript code and access the Flash JavaScript API.

167 questions
0
votes
2 answers

How to get the currently selected point/vertex with JSFL

I am trying to write a JSFL command that works with the currently selected vertex/verticies point/points, I can't find any method to access the currently selected point or points.. I have searched through the JSFL Reference and the only method that…
vidhill
  • 13
  • 1
  • 4
0
votes
1 answer

JSFL - Batch export PNG at different sizes

I'm using Flash CS6 and I need to save a 32 bit PNG from a vector graphic in 9 different sizes. 16 32 36 48 72 114 128 150 480 How to write a batch export script for that in JSFL? JSFL Docs (PDF)
Matt
  • 2,981
  • 5
  • 23
  • 33
0
votes
1 answer

How to access the selection of xmlui targetlist from JSFL in Flash?

I have a simply xml ui: How can I get the result of once…
George Profenza
  • 50,687
  • 19
  • 144
  • 218
0
votes
0 answers

Debugging Flash SWF panel

Does anyone think it could be possible to create a custom debugger for swf files using a socket, able to support breaking points and step through code functionality? I know there are swf debugger's out there but I have not found one that can step…
user2071276
  • 113
  • 6
0
votes
1 answer

JSFL How do I add an instance of a Library item to a different Library item?

Lets say that I have a MovieClip with the name of "Face" inside the library. I also have a different MovieClip in the same library called "Eyes". How can I make an instance of "Eyes" and add it to the "Face" MovieClip? var mainFla =…
user1059939
  • 1,613
  • 2
  • 20
  • 37
0
votes
1 answer

Redundant transparent border while exporting PNG sequence

I try to export movie clips into PNG sequence using Flash CS6. Movie clips contain other movie clips. So, result PNG images contain strange redundant transperent border. As I figured out it appears when inner movie clip(or any other object) is…
eleven
  • 6,779
  • 2
  • 32
  • 52
0
votes
2 answers

How can I get the alpha value on an Instance (in JSFL)?

If I use simple Alpha color effects on an instance on the stage, how do I access it via JSFL? An instance's *.colorAlphaAmount and *.colorAlphaPercent doesn't access the above illustration's value. It's only useful for "Advanced Color" effects. It…
chamberlainpi
  • 4,854
  • 8
  • 32
  • 63
0
votes
1 answer

How to read / write to the Clipboard with JSFL (Flash IDE)

Is there a certain JSFL class that can be used to access the Clipboard's data? I've called this method which copies the newer Motion Object tweens selected on the timeline: timeline.copyMotionAsAS3(); But I haven't found anything yet that can…
chamberlainpi
  • 4,854
  • 8
  • 32
  • 63
0
votes
1 answer

How to start Flash from Java on Mac OS X?

I am creating a cross platform script in Java that will start Flash and execute some JSFL scripts. I found this article Executing JSFL from the Command Line on OS X Works from command line osascript -e 'tell application "Flash" to open posix file…
mizi_sk
  • 1,007
  • 7
  • 33
0
votes
3 answers

Select various frames over different layers and convert to MovieClip while retaining layers?

How can I select a range of frames across different layers on the timeline, convert them into a symbol(MovieClip) and once converted the arrangement of layers and frames remains intact. Much the same as After Effects 'pre-compose' for layers. The…
Kayo
  • 702
  • 3
  • 10
0
votes
1 answer

JSFL: Add Blur Filter To Symbol But Change Blur Amount

I'm trying to create JSFL script so I can set hotkeys for different types of blur filters. I copied the following code out of history. Yet, when this code is used it will use default values: blurX=5, blurY=5. The "Extending Flash" documentation was…
Patrick
  • 23
  • 1
  • 3
0
votes
1 answer

When building custom panels for Flash CS4 IDE, is there a way to attach callbacks to workspace events?

Is there a way for a custom panel for Flash CS4 to register for IDE events? I've built a custom panel for the CS4 IDE, and now I'd like to get a callback anytime the current selection on the stage changes. Is this possible? My backup plan is to…
Matt W
  • 371
  • 1
  • 4
  • 13
0
votes
1 answer

extending Flash CS4: How can I display info about my current selection in my Custom Panel?

I'm building a Flash CS4 custom panel extension, and while I can call jsfl from actionscript fine, I can't figure out how to get info from the jsfl queries back to my custom panel. MMExecute() seems like a one way street. Specifically, I want to…
Matt W
  • 371
  • 1
  • 4
  • 13
0
votes
1 answer

regex check for [a-z] range in loop

I'm doing this in jsfl, which uses the javascript syntax. I want to check for mp3 or wav files which are not the first in a sequence. A loop feeds a variable 'audioFile' the following values (---a.mp3, -----b.mp3, ----c.mp3). I then check the…
shawn caza
  • 342
  • 2
  • 13
0
votes
1 answer

Turn off the "save changes" popup on modified files in Flash CS5.5 (JSFL)

I'm using a jsfl script to run export to swf on about 200 fla files, this opens the fla file runs the commands from the jsfl then exports to SWF, however this modifies the FLA file and when it want to close the file from flash it asks me if I want…
Dorana
  • 311
  • 1
  • 4
  • 12
1 2 3
11
12