{"id":13744053,"url":"https://github.com/mitya777/FWLog","last_synced_at":"2025-05-09T02:32:17.030Z","repository":{"id":2695848,"uuid":"3689129","full_name":"mitya777/FWLog","owner":"mitya777","description":"Actionscript library for easier logging in your Custom Fireworks Panels","archived":false,"fork":false,"pushed_at":"2012-03-11T23:59:48.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-15T15:41:51.074Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"k9mail/k-9","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mitya777.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-03-11T19:38:58.000Z","updated_at":"2014-05-05T06:38:30.000Z","dependencies_parsed_at":"2022-09-14T19:20:44.091Z","dependency_job_id":null,"html_url":"https://github.com/mitya777/FWLog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitya777%2FFWLog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitya777%2FFWLog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitya777%2FFWLog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitya777%2FFWLog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitya777","download_url":"https://codeload.github.com/mitya777/FWLog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253177786,"owners_count":21866401,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T05:01:02.107Z","updated_at":"2025-05-09T02:32:16.788Z","avatar_url":"https://github.com/mitya777.png","language":"ActionScript","funding_links":[],"categories":["Frameworks"],"sub_categories":["Logger Framework"],"readme":"FWLog - Fireworks Logging\n\nThis library is intended to make developing custom panels for Adobe Fireworks a little bit easier. \nIt provides a library of actionscript functions to do logging for the custom panels you develop while they execute inside the Fireworks javascript execution environment.\nThis is a library of actionscript loggin functions which wrap javascript logging functions.\n\n\nGet Started\n\nReference the FWLog.swc contained in the bin folder from your Flash Builder project.\nInstantiate the FireworksFileIO project like so:\n\n\tvar message = \"hello Fireworks\";\n\n\tvar fw:FireworksLog = new FireworksLog(\"console.log\");\n\tfw.log(\"message: \", message);\t\t\t\t\t\t\t\t\t//at the moment, the log function can take a maximum of two arguments\n\t\nThe API is below:\n\n\tpublic function log(message:String, value:String = \"\"):void\n\t\n\t\nThe Problem\n\nFireworks has a 2-tiered development workflow. \nPanels must be written in actionscript. At the same time the Fireworks API provided by Adobe to manipulate and extend Fireworks is javascript.\nTo execute that javascript, panels must pass it as a string argument to the MMExecute function, eg. MMExecute('alert(\"hi\");');\n\nBesides the development workflow challenges this creates, there are also problems when passing strings as arguments to the javascript functions you will be executing.\nThis 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:\n\nactionscript...\n\n\tvar greeting = \"hello\";\n\tMMExecute('alert(\"greeting: ' + greeting + '\");');\n\nthe string being passed to MMExecute is javascript.\n\nThis 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.\nThis library takes care of all that for you and lets you just call a log function with the variables and strings you want output.\n\n\nReleased under the BSD License.\t\t\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitya777%2FFWLog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitya777%2FFWLog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitya777%2FFWLog/lists"}