;

PDA

Click to See Complete Forum and Search --> : v7-AS3 Is it possible to do this page flip effect with Koolmoves?


joejac
04-22-2009, 07:15 PM
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

necromanthus
04-23-2009, 05:23 AM
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.
:cap:

joejac
04-28-2009, 07:41 PM
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

gerbick
04-29-2009, 12:31 PM
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.

w.brants
04-30-2009, 03:36 AM
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 (http://megazine.mightypirates.de/). It uses AS3 and XML and the source code is available. It is however not a KM solution. So no FUN there. :(

I'm a huge AS3 fan, and now Koolmoves fan
Nice to hear that :)

Chris_Seahorn
04-30-2009, 08:34 AM
Very nice AS3 example Wilbert.

mvivit
04-30-2009, 03:33 PM
Wow. Very impressive!

joejac
04-30-2009, 08:49 PM
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

w.brants
05-01-2009, 01:04 AM
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.

joejac
05-01-2009, 11:41 AM
Thanks Wilbert for your input.

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

<!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

w.brants
05-01-2009, 11:59 AM
I don't think a swf movie uses the doctype declaration when it loads a xml file but I'm not sure.

Chris_Seahorn
05-01-2009, 12:47 PM
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.

joejac
05-02-2009, 12:23 PM
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

joejac
05-02-2009, 01:43 PM
I did the test and yes, it works without the DTD.
Very weird.
Thanks for the information.
Best regards
joejac

Phil1615
05-03-2009, 03:59 AM
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/Booklet-Websites/pamphlet.html

joejac
05-13-2009, 11:42 AM
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

Phil1615
05-13-2009, 12:47 PM
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!