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
1 answer

Batch convert Flash to HTML5 canvas project and publish, jsfl

I want to batch convert Flash projects to CreateJS projects and publish them. I've converted some Flash projects to HTML5 canvas projects, but I have a lot to convert and it is tedious. When publishing, the MP3s generated are invalid and don't…
user120242
  • 14,918
  • 3
  • 38
  • 52
0
votes
2 answers

JSFL: Delete all strokes which match a specific color?

I'm looking for a jsfl function that can select all items on a frame and delete all strokes that match a specific color such as #0000ff Basically I make a lot of notes with the pencil tool using red pencil strokes. But when Im done I just want to…
Ibis
  • 13
  • 3
0
votes
1 answer

How do I open a JSFL file without running it?

When I open a jsfl file from Flash's file menu, it opens the code as a document that I can edit. But when I try to open a jsfl file from explorer and I specify Flash as the program I want to open it with, Flash just runs the jsfl code instead of…
Kyle Delaney
  • 11,616
  • 6
  • 39
  • 66
0
votes
1 answer

Drag/Drop movieclip event in JSFL? (Flash IDE)

Lately im trying to do some experimental things with JSFL, and i was wondering if it is possible to listener for an event when a component (that i have made) or movieclip is dragged from library on the stage. i want to create something that i'll get…
niels
  • 1
  • 1
0
votes
1 answer

How can I convert flash armature (ik) animation to frame-by-frame animation with jsfl

My objective is to paste together several ( a lot, actually ) armature animations, each in a separate symbol. I have no idea how to do it, armature layers are a bit... strange. So i see only one solution: convert it to a regular layer.
chif
  • 1
  • 2
0
votes
0 answers

Flash JSFL Extension - How can I disable Authortime Sharing for a given library item?

How can I disable Authortime Sharing for a given library item? I have tried the following: if (libraryItem.sourceLibraryName) libraryItem.sourceLibraryName = ""; if (libraryItem.sourceFilePath) libraryItem.sourceFilePath = ""; But I get this…
Dustin
  • 409
  • 1
  • 4
  • 17
0
votes
1 answer

How to trace the code that written in a .fla file on the Actions panel with jsfl?

Is there a way to reach the code that is on Actions panel in a flash file with jsfl? Thank you guys alot for any help.
Metin Ilhan
  • 120
  • 10
0
votes
1 answer

how to change font face to an imported font in jsfl

i'm writing a jsfl to change all textfields to an imported font, and i know how to change font face of textfield from this question JSFL - How to change the font of a text field? the problem is that, i can change the font into an installed font, but…
cloud
  • 505
  • 1
  • 8
  • 21
0
votes
1 answer

jsfl trace errors that appeared while exporting

I use this jsfl function to export fla files after changing some codes.it exports fla files and writes the results into results.txt .Sometimes a fla has an error it cant be exported and ı have only informaiton that it couldnt be exported. I want…
Metin Ilhan
  • 120
  • 10
0
votes
2 answers

How to refresh Document/Timeline with JSFL after executing a command

I'm looking for a Flash Pro CS6 solution. After modifying the timeline (ex: changing layer visibility or outline toggle) with a JSFL script, the user-interface doesn't seem to update right after its execution. Is there any commands / tricks that can…
chamberlainpi
  • 4,854
  • 8
  • 32
  • 63
0
votes
2 answers

Create keyframes from selected objects in Flash

I have let's say 40 bitmap images and i want to create a frame by frame animation from them. Is there a way to do it automatically, instead of moving the keyframes one by one. There is only an option: Distribute to layers. I'm looking for something…
Dusan
  • 3,284
  • 6
  • 25
  • 46
0
votes
1 answer

How can i create variables from my swfpanel that can be accessed by a jsfl tool in flash?

I'm looking to create a tool that places objects on the stage based on variables that the user specifies on an app that i created in the form of an swfpanel. I'm stuck, i cant seem to be able to get the two items to communicate with each other. Any…
0
votes
2 answers

How to debug SWC components in Flash pro?

I have complied my components into SWC and add it in Flash professional. If I want debug this SWC components, how to do this ? trace() and MMExecute() seems invalid. Thanks!
zzy
  • 1,771
  • 1
  • 13
  • 48
0
votes
1 answer

Flash JSFL ExternalInterface issue

I can’t get a call from JSFL to a SWFPanel to work via the ExternalInterface API. I am following the instructions here as follows: In the SWF Panel, in scene 1 action 1, I register a callback function with…
John Wright
  • 2,418
  • 4
  • 29
  • 34
0
votes
1 answer

Avoid escaping in xml

I read a xml file contains ]]> When I write back into file , it will become: <property id="SubClass"></property> How can I avoid it and write back the original string ? I mean just write…
zzy
  • 1,771
  • 1
  • 13
  • 48