xjsfl icon indicating copy to clipboard operation
xjsfl copied to clipboard

Snippet module on OSX and Flash CC

Open JoeDupuis opened this issue 11 years ago • 7 comments

The snippet module seems to be broken on OSX with flash CC.

All the scripts show as folders and they don't execute when clicking on them.

Not sure if the problem is OSX or Flash CC yet

JoeDupuis avatar Oct 11 '13 17:10 JoeDupuis

+1

ada-lovecraft avatar Jun 09 '15 19:06 ada-lovecraft

It also does not work in Adobe Animate.


=================================================================

           ██  █████ ██████ ██
           ██ ██     ██     ██
  ██ ██    ██  ████  █████  ██
   ███     ██     ██ ██     ██
  ██ ██ ████  █████  ██     █████

=================================================================

  The Rapid-Development Framework for Extending Adobe Flash

  @see licence at http://www.xjsfl.com/license

> xjsfl: INSTALLING xJSFL...
> xjsfl: loading proxy classes...
> xjsfl: loading xjsfl...

> xjsfl: LOADING CORE CLASSES...
> xjsfl: loading library: Globals
> xjsfl: loading library: Utils
> xjsfl: loading library: URI
> xjsfl: loading library: URIList

> xjsfl: LOADING SUPPORTING CLASSES...
> xjsfl: added 27 search paths for "c:/xxx/xxx/xJSFL/core/"
> xjsfl: loading library: JSFLInterface
> xjsfl: loading library: XUL
> xjsfl: loading library: File
> xjsfl: loading library: Class
> xjsfl: loading library: FileSystemObject
> xjsfl: loading library: Folder
> xjsfl: loading library: XML
> xjsfl: loading library: String
> xjsfl: loading library: SimpleTemplate
> xjsfl: loading library: XULControl
> xjsfl: loading library: XULEvent
> xjsfl: loading library: Output
> xjsfl: loading library: Table
> xjsfl: loading library: PropertyResolver

> xjsfl: REMOVING OLD FILES...
> xjsfl: removing "c:/xxx/xxx/AppData/Local/Adobe/Animate CC 2015.2/en_US/Configuration/Commands/xJSFL/"
> xjsfl: removing "c:/xxx/xxx/AppData/Local/Adobe/Animate CC 2015.2/en_US/Configuration/Commands/xJSFL/About.jsfl"
> xjsfl: removing "c:/xxx/xxx/AppData/Local/Adobe/Animate CC 2015.2/en_US/Configuration/Commands/xJSFL/Configuration.jsfl"
> xjsfl: removing "c:/xxx/xxx/AppData/Local/Adobe/Animate CC 2015.2/en_US/Configuration/Commands/xJSFL/Reload.jsfl"
> xjsfl: removing "c:/xxx/xxx/AppData/Local/Adobe/Animate CC 2015.2/en_US/Configuration/Commands/xJSFL/Update User Info.jsfl"
> xjsfl: removing "c:/xxx/xxx/AppData/Local/Adobe/Animate CC 2015.2/en_US/Configuration/Commands/xJSFL/View Folder.jsfl"
> xjsfl: removing "c:/xxx/xxx/AppData/Local/Adobe/Animate CC 2015.2/en_US/Configuration/Commands/xJSFL/View Log.jsfl"

> xjsfl: COPYING NEW FILES...
> xjsfl: creating folder "c:/xxx/xxx/AppData/Local/Adobe/Animate CC 2015.2/en_US/Configuration/Commands/xJSFL/"
> xjsfl: copying file to "c:/xxx/xxx/AppData/Local/Adobe/Animate CC 2015.2/en_US/Configuration/Commands/xJSFL/About.jsfl"
> xjsfl: copying file to "c:/xxx/xxx/AppData/Local/Adobe/Animate CC 2015.2/en_US/Configuration/Commands/xJSFL/Configuration.jsfl"
> xjsfl: copying file to "c:/xxx/xxx/AppData/Local/Adobe/Animate CC 2015.2/en_US/Configuration/Commands/xJSFL/Reload.jsfl"
> xjsfl: copying file to "c:/xxx/xxx/AppData/Local/Adobe/Animate CC 2015.2/en_US/Configuration/Commands/xJSFL/Update User Info.jsfl"
> xjsfl: copying file to "c:/xxx/xxx/AppData/Local/Adobe/Animate CC 2015.2/en_US/Configuration/Commands/xJSFL/View Folder.jsfl"
> xjsfl: copying file to "c:/xxx/xxx/AppData/Local/Adobe/Animate CC 2015.2/en_US/Configuration/Commands/xJSFL/View Log.jsfl"
> xjsfl: copying file to "c:/xxx/xxx/AppData/Local/Adobe/Animate CC 2015.2/en_US/Configuration/External Libraries/xjsfl.dll"
> xjsfl: copying file to "c:/xxx/xxx/AppData/Local/Adobe/Animate CC 2015.2/en_US/Configuration/Tools/xJSFL Loader.jsfl"
> xjsfl: copying file to "c:/xxx/xxx/AppData/Local/Adobe/Animate CC 2015.2/en_US/Configuration/Tools/xJSFL.ini"
> xjsfl: copying file to "c:/xxx/xxx/AppData/Local/Adobe/Animate CC 2015.2/en_US/Configuration/xJSFL/readme.txt"

> xjsfl: REGISTERING MODULE "SAMPLE MODULE"
> xjsfl: added 6 search paths for "c:/xxx/xxx/xJSFL/modules/Sample Module/"
> xjsfl: assets are already up to date

> xjsfl: REGISTERING MODULE "SNIPPETS"
> xjsfl: added 10 search paths for "c:/xxx/xxx/xJSFL/modules/Snippets/"
> xjsfl: assets are already up to date

> xjsfl: FINALIZING INSTALL...
> xjsfl: writing xjsfl.uri file
> xjsfl: copying user config file
> xjsfl: copying file to "c:/xxx/xxx/xJSFL/user/config/xjsfl.xml"

> xjsfl: INSTALLATION COMPLETE!

> xjsfl: Restart Flash to start using xJSFL
> xjsfl: loading library: Folder
> xjsfl: loading library: JSON
> xjsfl: loading library: SimpleTemplate
> xjsfl: loading library: URI
> xjsfl: loading library: XML
> xjsfl: loading library: Class
> xjsfl: loading library: URI
> xjsfl: loading library: Class
> xjsfl: loading library: FileSystemObject
> xjsfl: loading library: Folder
> xjsfl: loading library: URI
> xjsfl: loading library: Utils
> xjsfl: loading library: Table
> xjsfl: loading library: Utils
> xjsfl: loading library: File
> xjsfl: loading library: URI
> xjsfl: loading library: Utils
> xjsfl: loading library: PropertyResolver
> xjsfl: loading library: Utils

> xjsfl: WARNING - File load error:

    TypeError: xml.get is not a function
    ----------------------------------------------------------------------------------------------------

        0 > ([object XML])

            path: c:/xxx/xxx/xJSFL/core/jsfl/libraries/ui/
            file: XUL.jsfl
            line: 491

        1 > ([object XML])

            path: c:/xxx/xxx/xJSFL/core/jsfl/libraries/ui/
            file: XUL.jsfl
            line: 1266

        2 > ("//core/ui/install.xul")

            path: c:/xxx/xxx/xJSFL/core/jsfl/libraries/ui/
            file: XUL.jsfl
            line: 1580

        3 > install([object Window])

            path: c:/xxx/xxx/xJSFL/core/install/jsfl/
            file: install.jsfl
            line: 220

        4 > 

            path: c:/xxx/xxx/xJSFL/core/install/jsfl/
            file: install.jsfl
            line: 227



markknol avatar Aug 18 '16 13:08 markknol

TBH I don't really support the project any more, but I would like to leave it in a state where it works with the latest Adobe incarnation of Flash if I can find the time. Not sure when that will be, though.

davestewart avatar Aug 18 '16 18:08 davestewart

@markknol Issue #13 was created to specifically deal with the Adobe Animate issue. Maybe you could remove the 'output' log from your post because it's unrelated to the 'snippets' not working.

I am looking into the Snippets issue while my trial version of Adobe Animate is still active.

haysclark avatar Dec 17 '16 21:12 haysclark

Maybe I'll set aside a day over Christmas to look into all this again as well.

Snippets on Mac is currently broken, I think mainly due to the FileSystem library not properly recognising some paths under OSX.

Looking over 5-year old code is going to be interesting!

davestewart avatar Dec 17 '16 21:12 davestewart

@davestewart You commented your code really well, so it was pretty easy to hop in even if the workflow (provided by Adobe) is pretty clunky.

haysclark avatar Dec 18 '16 08:12 haysclark

Haha, yes, informative commenting is something I feel very strongly about, even if it doesn't appear to be fashionable these days!

davestewart avatar Dec 18 '16 10:12 davestewart