{
  "submission_id": "983409",
  "keywords": [
    {
      "keyword_id": "57",
      "keyword_name": "bunny",
      "contributed": "f",
      "submissions_count": "112708"
    },
    {
      "keyword_id": "3506",
      "keyword_name": "flash",
      "contributed": "f",
      "submissions_count": "3784"
    },
    {
      "keyword_id": "165",
      "keyword_name": "male",
      "contributed": "f",
      "submissions_count": "1201854"
    },
    {
      "keyword_id": "32153",
      "keyword_name": "male/solo",
      "contributed": "f",
      "submissions_count": "35330"
    },
    {
      "keyword_id": "186",
      "keyword_name": "rabbit",
      "contributed": "f",
      "submissions_count": "139508"
    },
    {
      "keyword_id": "257",
      "keyword_name": "scarf",
      "contributed": "f",
      "submissions_count": "8546"
    },
    {
      "keyword_id": "300",
      "keyword_name": "shorts",
      "contributed": "f",
      "submissions_count": "10841"
    },
    {
      "keyword_id": "7985",
      "keyword_name": "tutorial",
      "contributed": "f",
      "submissions_count": "607"
    }
  ],
  "hidden": "f",
  "scraps": "f",
  "favorite": "f",
  "favorites_count": "141",
  "create_datetime": "2015-12-08 21:37:31.354453+00",
  "create_datetime_usertime": "08 Dec 2015 22:37 CET",
  "last_file_update_datetime": "2015-12-08 21:32:41.163853+00",
  "last_file_update_datetime_usertime": "08 Dec 2015 22:32 CET",
  "username": "Oob",
  "user_id": "236515",
  "user_icon_file_name": "75618_Oob_icon.gif",
  "user_icon_url_large": "https://nl1.ib.metapix.net/usericons/large/75/75618_Oob_icon.gif",
  "user_icon_url_medium": "https://nl1.ib.metapix.net/usericons/medium/75/75618_Oob_icon.gif",
  "user_icon_url_small": "https://nl1.ib.metapix.net/usericons/small/75/75618_Oob_icon.gif",
  "file_name": "1349411_Oob_tutorial.swf",
  "file_url_full": "https://nl1.ib.metapix.net/files/full/1349/1349411_Oob_tutorial.swf",
  "file_url_screen": "https://nl1.ib.metapix.net/files/screen/1349/1349411_Oob_tutorial.swf",
  "file_url_preview": "https://nl1.ib.metapix.net/files/preview/1349/1349411_Oob_tutorial.swf",
  "thumbnail_url_huge": "https://nl1.ib.metapix.net/thumbnails/huge/1349/1349411_Oob_tutorial.jpg",
  "thumbnail_url_large": "https://nl1.ib.metapix.net/thumbnails/large/1349/1349411_Oob_tutorial.jpg",
  "thumbnail_url_medium": "https://nl1.ib.metapix.net/thumbnails/medium/1349/1349411_Oob_tutorial.jpg",
  "thumb_huge_x": "150",
  "thumb_huge_y": "150",
  "thumb_large_x": "150",
  "thumb_large_y": "150",
  "thumb_medium_x": "120",
  "thumb_medium_y": "120",
  "files": [
    {
      "file_id": "1349411",
      "file_name": "1349411_Oob_tutorial.swf",
      "file_url_full": "https://nl1.ib.metapix.net/files/full/1349/1349411_Oob_tutorial.swf",
      "file_url_screen": "https://nl1.ib.metapix.net/files/screen/1349/1349411_Oob_tutorial.swf",
      "file_url_preview": "https://nl1.ib.metapix.net/files/preview/1349/1349411_Oob_tutorial.swf",
      "mimetype": "application/x-shockwave-flash",
      "submission_id": "983409",
      "user_id": "236515",
      "submission_file_order": "0",
      "full_size_x": null,
      "full_size_y": null,
      "screen_size_x": null,
      "screen_size_y": null,
      "preview_size_x": null,
      "preview_size_y": null,
      "initial_file_md5": "fd8c7852f6dd2c404143c3aede789b43",
      "full_file_md5": "fd8c7852f6dd2c404143c3aede789b43",
      "large_file_md5": "",
      "small_file_md5": "",
      "thumbnail_md5": "c286b0bb6faebc055254d83e19fa42eb",
      "deleted": "f",
      "create_datetime": "2015-12-08 21:32:30.923303+00",
      "create_datetime_usertime": "08 Dec 2015 22:32 CET",
      "thumbnail_url_huge": "https://nl1.ib.metapix.net/thumbnails/huge/1349/1349411_Oob_tutorial.jpg",
      "thumbnail_url_large": "https://nl1.ib.metapix.net/thumbnails/large/1349/1349411_Oob_tutorial.jpg",
      "thumbnail_url_medium": "https://nl1.ib.metapix.net/thumbnails/medium/1349/1349411_Oob_tutorial.jpg",
      "thumb_huge_x": "150",
      "thumb_huge_y": "150",
      "thumb_large_x": "150",
      "thumb_large_y": "150",
      "thumb_medium_x": "120",
      "thumb_medium_y": "120"
    },
    {
      "file_id": "1349412",
      "file_name": "1349412_Oob_tutorial.png",
      "file_url_full": "https://nl1.ib.metapix.net/files/full/1349/1349412_Oob_tutorial.png",
      "file_url_screen": "https://nl1.ib.metapix.net/files/screen/1349/1349412_Oob_tutorial.png",
      "file_url_preview": "https://nl1.ib.metapix.net/files/preview/1349/1349412_Oob_tutorial.jpg",
      "mimetype": "image/png",
      "submission_id": "983409",
      "user_id": "236515",
      "submission_file_order": "1",
      "full_size_x": "808",
      "full_size_y": "3368",
      "screen_size_x": "441",
      "screen_size_y": "1840",
      "preview_size_x": "72",
      "preview_size_y": "300",
      "initial_file_md5": "0726d3d53af4c1ad6418aca3a99e8df1",
      "full_file_md5": "d3faeeb006f967f8178bdb4a57c12664",
      "large_file_md5": "bf20b0db8c3f93d4d2c06ad759097a90",
      "small_file_md5": "8ebf577ea03c83040a4df162faa50fd8",
      "thumbnail_md5": "f649301f17ff9859b28e82cdf1cbf7a4",
      "deleted": "f",
      "create_datetime": "2015-12-08 21:32:41.163853+00",
      "create_datetime_usertime": "08 Dec 2015 22:32 CET",
      "thumbnail_url_huge_noncustom": "https://nl1.ib.metapix.net/files/preview/1349/1349412_Oob_tutorial.jpg",
      "thumbnail_url_large_noncustom": "https://nl1.ib.metapix.net/thumbnails/large/1349/1349412_Oob_tutorial_noncustom.jpg",
      "thumbnail_url_medium_noncustom": "https://nl1.ib.metapix.net/thumbnails/medium/1349/1349412_Oob_tutorial_noncustom.jpg",
      "thumb_medium_noncustom_x": "29",
      "thumb_medium_noncustom_y": "120",
      "thumb_large_noncustom_x": "48",
      "thumb_large_noncustom_y": "200",
      "thumb_huge_noncustom_x": "72",
      "thumb_huge_noncustom_y": "300"
    }
  ],
  "pools": [],
  "description": "This is just a small something for a couple of people that asked me about it. I used a small doodle from a  while ago and tried to really summarize the steps that I go through when making my dress up flashes.\n\nI'm not sure how well I explained everything but you might need some minimal knowledge of flash and ActionScript so that you're not just completely confused. Also some things might be slightly different between flash versions, and the code is specifically for ActionScript 3.\n\nIf you don't know programming well, I recommend putting the buttons either on the right or bottom, because using this method will place all the layers on the top left corner (though it's not hard to specify a different position if you look up the AS commands).\n\nI don't think there are any tags to make the code keep the indentation or to even collapse it, but I'll keep it in the comments in case something happens to the above link.\n\n[code]\npackage Classes {\n\t\n\timport flash.display.*;\n\timport flash.events.*;\n\t\n    import flash.net.*;\n    import flash.utils.ByteArray;\n    import com.adobe.images.PNGEncoder;\n\t\n\n\tpublic class Engine extends MovieClip {\n\t\t\n\t\tvar scf:Bitmap = new Bitmap(new scarf());\n\t\tvar sho:Bitmap = new Bitmap(new shorts());\n\t\t\n\t\tpublic function Engine() : void {\n\t\t\t\n\t\t\tstage.addChild(sho);\n\t\t\tstage.addChild(scf);\n\t\t\t\n\t\t\tscf_button.addEventListener(MouseEvent.MOUSE_DOWN, scf_function);\n\t\t\tsho_button.addEventListener(MouseEvent.MOUSE_DOWN, sho_function);\n\t\t\tsav_button.addEventListener(MouseEvent.MOUSE_DOWN, sav_function);\n\t\t\t\n\t\t\tscf.alpha=0;\n\t\t}\n\t\t\n\t\t\n\t\tfunction scf_function(event:MouseEvent):void {\n\t\t\tif (scf.alpha==1) {\n\t\t\t\tscf.alpha=0;\n\t\t\t} else {\n\t\t\t\tscf.alpha=1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfunction sho_function(event:MouseEvent):void {\n\t\t\tif (sho.alpha==1) {\n\t\t\t\tsho.alpha=0;\n\t\t\t} else {\n\t\t\t\tsho.alpha=1;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\tprivate var fileReference:FileReference;\n\t\t\n\t\tpublic function sav_function(evt:MouseEvent):void {\n\t\t\tvar b:BitmapData = new BitmapData(350, 550);\n\t\t\tb.draw(stage);\n\t\t\tsave(b);\n\t\t}\n\t\t\n\t\tpublic function save(b:BitmapData):void {\n\t\t\ttry {\n\t\t\t\tvar pngBytes:ByteArray= PNGEncoder.encode(b);\n\t\t\t\tfileReference=new FileReference();\n\t\t\t\tfileReference.save(pngBytes,\"tutorial.png\");\n\t\t\t} catch (e:Error) {\n\t\t\t\ttrace(e);\n\t\t\t}\n\t\t}\n\t\t\n\t}\n}\n[/code]\n",
  "description_bbcode_parsed": "<span style='word-wrap: break-word;'>This is just a small something for a couple of people that asked me about it. I used a small doodle from a&nbsp;&nbsp;while ago and tried to really summarize the steps that I go through when making my dress up flashes.<br /><br />I&#039;m not sure how well I explained everything but you might need some minimal knowledge of flash and ActionScript so that you&#039;re not just completely confused. Also some things might be slightly different between flash versions, and the code is specifically for ActionScript 3.<br /><br />If you don&#039;t know programming well, I recommend putting the buttons either on the right or bottom, because using this method will place all the layers on the top left corner (though it&#039;s not hard to specify a different position if you look up the AS commands).<br /><br />I don&#039;t think there are any tags to make the code keep the indentation or to even collapse it, but I&#039;ll keep it in the comments in case something happens to the above link.<br /><br /><br />package Classes {<br />\t<br />\timport flash.display.*;<br />\timport flash.events.*;<br />\t<br />&nbsp;&nbsp;&nbsp;&nbsp;import flash.net.*;<br />&nbsp;&nbsp;&nbsp;&nbsp;import flash.utils.ByteArray;<br />&nbsp;&nbsp;&nbsp;&nbsp;import com.adobe.images.PNGEncoder;<br />\t<br /><br />\tpublic class Engine extends MovieClip {<br />\t\t<br />\t\tvar scf:Bitmap = new Bitmap(new scarf());<br />\t\tvar sho:Bitmap = new Bitmap(new shorts());<br />\t\t<br />\t\tpublic function Engine() : void {<br />\t\t\t<br />\t\t\tstage.addChild(sho);<br />\t\t\tstage.addChild(scf);<br />\t\t\t<br />\t\t\tscf_button.addEventListener(MouseEvent.MOUSE_DOWN, scf_function);<br />\t\t\tsho_button.addEventListener(MouseEvent.MOUSE_DOWN, sho_function);<br />\t\t\tsav_button.addEventListener(MouseEvent.MOUSE_DOWN, sav_function);<br />\t\t\t<br />\t\t\tscf.alpha=0;<br />\t\t}<br />\t\t<br />\t\t<br />\t\tfunction scf_function(event:MouseEvent):void {<br />\t\t\tif (scf.alpha==1) {<br />\t\t\t\tscf.alpha=0;<br />\t\t\t} else {<br />\t\t\t\tscf.alpha=1;<br />\t\t\t}<br />\t\t}<br />\t\t<br />\t\tfunction sho_function(event:MouseEvent):void {<br />\t\t\tif (sho.alpha==1) {<br />\t\t\t\tsho.alpha=0;<br />\t\t\t} else {<br />\t\t\t\tsho.alpha=1;<br />\t\t\t}<br />\t\t}<br />\t\t<br />\t\t<br />\t\tprivate var fileReference:FileReference;<br />\t\t<br />\t\tpublic function sav_function(evt:MouseEvent):void {<br />\t\t\tvar b:BitmapData = new BitmapData(350, 550);<br />\t\t\tb.draw(stage);<br />\t\t\tsave(b);<br />\t\t}<br />\t\t<br />\t\tpublic function save(b:BitmapData):void {<br />\t\t\ttry {<br />\t\t\t\tvar pngBytes:ByteArray= PNGEncoder.encode(b);<br />\t\t\t\tfileReference=new FileReference();<br />\t\t\t\tfileReference.save(pngBytes,&quot;tutorial.png&quot;);<br />\t\t\t} catch (e:Error) {<br />\t\t\t\ttrace(e);<br />\t\t\t}<br />\t\t}<br />\t\t<br />\t}<br />}<br /><br /></span>",
  "writing": "",
  "writing_bbcode_parsed": "<span style='word-wrap: break-word;'></span>",
  "pools_count": 0,
  "title": "Dress-up Tutorial",
  "deleted": "f",
  "public": "t",
  "mimetype": "application/x-shockwave-flash",
  "pagecount": "2",
  "rating_id": "0",
  "rating_name": "General",
  "ratings": [],
  "submission_type_id": "6",
  "type_name": "Shockwave/Flash - Animation",
  "guest_block": "f",
  "friends_only": "f",
  "comments_count": "17",
  "views": "3588",
  "latest_file_name": "1349412_Oob_tutorial.png",
  "latest_mimetype": "image/png",
  "latest_file_url_full": "https://nl1.ib.metapix.net/files/full/1349/1349412_Oob_tutorial.png",
  "latest_file_url_screen": "https://nl1.ib.metapix.net/files/screen/1349/1349412_Oob_tutorial.png",
  "latest_file_url_preview": "https://nl1.ib.metapix.net/files/preview/1349/1349412_Oob_tutorial.jpg",
  "latest_thumbnail_url_huge_noncustom": "https://nl1.ib.metapix.net/files/preview/1349/1349412_Oob_tutorial.jpg",
  "latest_thumbnail_url_large_noncustom": "https://nl1.ib.metapix.net/thumbnails/large/1349/1349412_Oob_tutorial_noncustom.jpg",
  "latest_thumbnail_url_medium_noncustom": "https://nl1.ib.metapix.net/thumbnails/medium/1349/1349412_Oob_tutorial_noncustom.jpg",
  "latest_thumb_medium_noncustom_x": "29",
  "latest_thumb_medium_noncustom_y": "120",
  "latest_thumb_large_noncustom_x": "48",
  "latest_thumb_large_noncustom_y": "200",
  "latest_thumb_huge_noncustom_x": "72",
  "latest_thumb_huge_noncustom_y": "300"
}