Hacker News new | past | comments | ask | show | jobs | submit | ascw's comments login

That is something I'd love to do. Create a gallery of examples where each one also had a blank template with the different panels laid out and labeled, then people would be able to download the template and know that when they upload their modified version, that it'll be folded perfectly.

What I really need is someone that knows the design side of this to help me make that a reality.


Here are also some of the things my users have created: http://gofoldit.com/gallery

It turns out that print design is quite behind technologically in a few areas, and providing clients with an interactive demo of what a folded brochure was gonna look like is one of them. I was told that the current state-of-the-art in this area was to print out a Black-and-White version of the PDF, to fold it, and then record a video of it being unfolded and emailing it to the client.


I know that the prototype syntax is available in as2, but I think it was removed in as3. I agree that the prototype syntax is more elegant, but I really believe Adobe was trying to appeal to Java and .NET developers.


"but I think it was removed in as3"

Wrong. I was curious so i tested it (i've been experimenting with Flex 2). The following code outputs "blah blah":

var foo:Function = function() {}

foo.prototype.someMethod = function() { trace("blah blah"); }

new foo().someMethod();

I think the prototype syntax was kept to maintain backwards compatibility.


Thats cool, does it work with creating classes that way as well?


im assuming the above code is equivalent to:

class foo {

  public function someMethod() { trace("blah blah"); }
}

new foo().someMethod();

just different approaches to the same problem


Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: