A Flash Developer Resource Site

Results 1 to 17 of 17

Thread: Is it possible to do this page flip effect with Koolmoves?

  1. #1
    Member
    Join Date
    Oct 2004
    Posts
    70

    Question Is it possible to do this page flip effect with Koolmoves?

    Hello,

    I would like to know if is it possible to do this page flip effect with Koolmoves, and if there is a procedure, tutorial, instructions or component available. Links to this information is very much appreciated.

    http://www.pageflip.hu/

    Thanks and best regards
    joejac

  2. #2
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890
    Quote Originally Posted by joejac View Post
    Hello,
    I would like to know if is it possible to do this page flip effect with Koolmoves, and if there is a procedure, tutorial, instructions or component available. Links to this information is very much appreciated.

    http://www.pageflip.hu/
    Their implementation is awful, you don't need to pay anything and you don't need AS3 for that.
    Here are some AS1 samples:
    http://necromanthus.com/KoolMoves/BookFlip.html
    http://necromanthus.com/KoolMoves/PageFlip.html
    http://necromanthus.com/KoolMoves/PageFlip2.html

    have FUN.

  3. #3
    Member
    Join Date
    Oct 2004
    Posts
    70

    Thumbs up

    Hello necromanthus,

    Thanks a lot, very nice examples, by the way your daughter is very cute, I remember mine when was little, kids are lovely

    I loved PageFlip2. But when I saw the movie clip actions, ooh! my head spinned, amazing code.

    1.- Sorry but I do not know how can I feed the images, can I do it via passing parameters to the swf element? or via XML file?

    2.- Can I have some kind of indicator like: "page 1 of 15" ("página 1 de 15" in spanish) for example and back and forward buttons and a field to write the page number and jump to that page?

    3.- Can I change these parameters, and it will work fine?:
    pageWi = 200;
    pageHi = 300;
    ...
    maxPages = 8;


    I would like to have something easy to set up externally, that do not requires to "go to have FUN" and regenerate the .swf each time a picture is added or deleted.

    If this have a cost, well I understand, please let me know.

    Thanks a lot
    Best regards
    joejac

  4. #4
    supervillain gerbick's Avatar
    Join Date
    Jul 2000
    Location
    undecided.
    Posts
    18,986
    Great examples; however those examples are hard coded and don't really allow themselves to be dynamically populated though.

    I'm a huge AS3 fan, and now Koolmoves fan, and the expandable nature and ability that AS3 gives you is amazing.

    [ Hello ] | [ gerbick ] | [ Ω ]

  5. #5
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    Quote Originally Posted by joejac
    I would like to have something easy to set up externally, that do not requires to "go to have FUN" and regenerate the .swf each time a picture is added or deleted.
    Remus is right you don't need AS3 for such an effect. His great examples are showing that.
    If it's very important to you that it's XML based, you could take a look at MegaZine 3. It uses AS3 and XML and the source code is available. It is however not a KM solution. So no FUN there.

    Quote Originally Posted by gerbick
    I'm a huge AS3 fan, and now Koolmoves fan
    Nice to hear that

  6. #6

  7. #7
    Member
    Join Date
    Dec 2005
    Location
    Utah
    Posts
    98
    Wow. Very impressive!

  8. #8
    Member
    Join Date
    Oct 2004
    Posts
    70
    Thanks a lot w.brants for the link!

    That exactly what I was looking for, simply brilliant!.
    What a pity that we can not have it as a component in KM, we would have real FUN

    Best regards
    joejac

  9. #9
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    It would be a lot of work to create something with all that functionality.
    I think it should be possible if you create a KM AS3 movie to load it using the Loader class so you can use it inside your KM movie but I haven't tried it.

  10. #10
    Member
    Join Date
    Oct 2004
    Posts
    70
    Thanks Wilbert for your input.

    I have seen something that worries me a little and is the DTD inside their XML file:

    Code:
    <!DOCTYPE book SYSTEM "http://megazine.mightypirates.de/megazine.dtd">
    What would happens if their website is down, can I change it to my own web site?

    I have seen commercial applications very good, easy to use and not so expensive.

    Thanks a lot for the comments of everybody.

    Best regards
    joejac

  11. #11
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    I don't think a swf movie uses the doctype declaration when it loads a xml file but I'm not sure.

  12. #12
    up to my .as in code Chris_Seahorn's Avatar
    Join Date
    Dec 2004
    Posts
    4,389
    You can omit it


    From Adobe:


    The ActionScript XML parser is not a validating parser. The DOCTYPE declaration is read by the parser and stored in the XMLDocument.docTypeDecl property, but no DTD validation is performed.

    If no DOCTYPE declaration was encountered during a parse operation, the XMLDocument.docTypeDecl property is set to null. The XML.toString() method outputs the contents of XML.docTypeDecl immediately after the XML declaration stored in XML.xmlDecl, and before any other text in the XML object. If XMLDocument.docTypeDecl is null, no DOCTYPE declaration is output.

  13. #13
    Member
    Join Date
    Oct 2004
    Posts
    70
    Hello Chris_Seahorn,

    Sorry for my lack of knowledge in this area, but what does it means in lay man terms? Will work or no without the DTD inside their XML file?

    Thanks a lot
    Best Regards
    joejac

  14. #14
    Member
    Join Date
    Oct 2004
    Posts
    70
    I did the test and yes, it works without the DTD.
    Very weird.
    Thanks for the information.
    Best regards
    joejac

  15. #15
    Member
    Join Date
    Jul 2005
    Location
    Indiana, USA
    Posts
    79

    Parameter Changes

    Quote Originally Posted by joejac View Post

    3.- Can I change these parameters, and it will work fine?:
    pageWi = 200;
    pageHi = 300;
    ...
    maxPages = 8;

    joejac
    Yes, you can change these parameters keeping the same ratio on Wi & Hi. Necro's page flip works beautifully, IMHO.

    Example:

    http://www.michianaworldwide.com/Boo.../pamphlet.html
    Last edited by Phil1615; 05-03-2009 at 03:17 AM.
    The KoolMoves KoolExchange is one KoolPuppy.

    E-Z Websites

  16. #16
    Member
    Join Date
    Oct 2004
    Posts
    70
    Thanks a lot Phil1615,

    Your implementation of Necro's page Flip is wonderful!

    Honestly I prefer to use Koolmoves, I love it although I only scratch the surface of KM's huge possibilities.

    I have a few questions:

    1.- How can I provide the pages to Necro's page Flip via xml file, something like this, including the basic parameters:

    <book width="368" height="450" bgcolor="cccccc">
    <page url="pages/01.JPG"/>
    <page url="pages/02.JPG"/>
    <page url="pages/03.JPG"/>
    <page url="pages/04.JPG"/>
    <page url="pages/05.JPG"/>
    <page url="pages/06.JPG"/>
    <page url="pages/07.JPG"/>
    </book>

    2.- If somebody have done this, would be so kind and like to share it?

    3.- If someone likes to go to certain page, like page 15 for example, is there a way to provide the possibility to jump to that page?

    Best regards
    joejac

  17. #17
    Member
    Join Date
    Jul 2005
    Location
    Indiana, USA
    Posts
    79

    No xml

    Quote Originally Posted by joejac View Post
    1.- How can I provide the pages to Necro's page Flip via xml file, something like this, including the basic parameters:

    <book width="368" height="450" bgcolor="cccccc">
    <page url="pages/01.JPG"/>
    <page url="pages/02.JPG"/>
    <page url="pages/03.JPG"/>
    <page url="pages/04.JPG"/>
    <page url="pages/05.JPG"/>
    <page url="pages/06.JPG"/>
    <page url="pages/07.JPG"/>
    </book>
    No xml as far as I know.

    3.- If someone likes to go to certain page, like page 15 for example, is there a way to provide the possibility to jump to that page?
    I am kind of a purist about some things. For instance, I'm not sure I understand why one would go to the trouble to use a specific affect (page turning) and then want to opt for a button to bypass the affect. As far as I know this page flipping affect is as it is. Remus be the man on this one!
    The KoolMoves KoolExchange is one KoolPuppy.

    E-Z Websites

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center