mitya777 / fwlog Goto Github PK
View Code? Open in Web Editor NEWActionscript library for easier logging in your Custom Fireworks Panels
Actionscript library for easier logging in your Custom Fireworks Panels
FWLog - Fireworks Logging This library is intended to make developing custom panels for Adobe Fireworks a little bit easier. It provides a library of actionscript functions to do logging for the custom panels you develop while they execute inside the Fireworks javascript execution environment. This is a library of actionscript loggin functions which wrap javascript logging functions. Get Started Reference the FWLog.swc contained in the bin folder from your Flash Builder project. Instantiate the FireworksFileIO project like so: var message = "hello Fireworks"; var fw:FireworksLog = new FireworksLog("console.log"); fw.log("message: ", message); //at the moment, the log function can take a maximum of two arguments The API is below: public function log(message:String, value:String = ""):void The Problem Fireworks has a 2-tiered development workflow. Panels must be written in actionscript. At the same time the Fireworks API provided by Adobe to manipulate and extend Fireworks is javascript. To execute that javascript, panels must pass it as a string argument to the MMExecute function, eg. MMExecute('alert("hi");'); Besides the development workflow challenges this creates, there are also problems when passing strings as arguments to the javascript functions you will be executing. This is because those javascript functions are also being passed as a string, so you get into a nested string situation and all the annoyances that this entails like having to escape characters, and writing things like this: actionscript... var greeting = "hello"; MMExecute('alert("greeting: ' + greeting + '");'); the string being passed to MMExecute is javascript. This nested string situation is a little bit nightmarish, especially when you have to start dealing with multiple variables, and newlines, which have to be encoded and escaped on their journey through this string maze. This library takes care of all that for you and lets you just call a log function with the variables and strings you want output. Released under the BSD License.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.