Meg A


Last active 2 months ago

  1. 4 years ago
    Sat Jul 9 02:19:38 2016
    M Meg A started the conversation Seeking Audio File.

    What would be the javascript code to fast forward an audio object?

    The "seek" event can just set the time to a specific time code. Essentially, I'm trying to make my own audio control buttons and want to make FF and RWD buttons so for example each one can forward (or rewind) the audio 10 seconds.

  2. Fri Jul 1 18:26:31 2016
    M Meg A started the conversation Different File Resolutions for Different Layouts.

    I'm currently working on my eBook.

    I decided to prepare all materials based on the new iPad resolution 2048x1536 and later on, down sample the assets for other lower resolution layouts.

    However, since I have lots of images in the eBook, most of them in PNG format, just switching to the lower res layout won't automatically lower the resolution and thus won't lower the files size after publishing. I noticed that it will just turn the "Zoom" parameter to something lower than 1.

    I'm ok to manually "Edit the Image" for each "Image" object in each paged that I have in the book. But:

    1- Things get impossible when it comes to "Animation" objects containing a series of PNG images. Should I/Can I replace every single frame with lower res files?

    2- Also, since I am using one image as BG for all the pages, I was wondering after switching to the lower res layout, can I simply replace this single BG image for all the pages, and not page by page.

    OR: there might be a simpler solution to automatically force PubCoder to render in lower res for the lower res layout?


  3. Sun Jun 26 23:29:03 2016
    M Meg A posted in Java Rotation with Ease.

    For anyone interested, found the solution. You can rotate the object using this javascript code

    $("#obj7031").animate({rotate: 180}, speed);

    where "speed" is in milliseconds.

  4. Thu Jun 23 23:30:30 2016
    M Meg A started the conversation Java Rotation with Ease.

    Hi all,

    I need to rotate an object, NOT using the Rotate action, but using Run Java action. Of course the java code for it would be:


    However, I was wondering if I can ease the rotation?

  5. Wed Apr 27 16:56:32 2016

    Thanks John,

    I'll look into it now.

  6. Wed Apr 27 05:04:46 2016

    I also thought of having a "Counter" object in the "Overlay" as a value holder so it will exist in all pages and I can read its value to trigger buttons, but unfortunately, within pages, I won't have access to the objects that are in the "Overlay".

  7. Tue Apr 26 19:38:06 2016
    M Meg A started the conversation Triggering a Button in Another Page.


    Trying to control the visibility of some objects in the whole eBook, I was wondering if there is a way to trigger a button in another page.

    The button ID is for example obj005 and it's sitting in page 4. Can I trigger it using a button in page 1? Something similar to this javascript:

    $("#obj005 ").trigger(PubCoder.Events.TouchUp);

  8. Tue Apr 26 17:21:33 2016

    Thanks Carlton,

    Yeah, by going through the Documentations, I got a sense of it, but your answer cleared that up.

  9. Mon Apr 25 23:47:49 2016
    M Meg A started the conversation Workspaces and Localization - Publishing.


    So this is my second eBook that I'm gonna make using PubCoder. This time, I've decided to consider multiple devices and also include multiple languages rather than just having an English eBook designed for just an iPad.

    Reading through the conversations here, I got a sense of how Workspaces and Localization works in PubCoder, but I still have some doubts.

    By reading the "Workspace Selection Per Device" topic in this forum, I learned that when I publish an eBook which has more than one workspace, the final EPUB file will contain all the workspaces. Depending on what device it has been downloaded on, it will load the closest workstation that matches to the device.

    However, to make sure, I made a file with two workspaces and two languages to test the result. Surprisingly, I found that whatever workspace and language that is active at the time of publishing, that specific workspace will be in the final file. Is that supposed to be as it is?

    If not, should I publish one file per workspace, per language for delivery, and leaving it up to the user to download the version that matches to their device?

    Two things that might be related to my current question:

    1- What does the "Package" tab in the "Project Settings" window do? I thought it might be my solution, but no matter how many workspaces I have in my file (even with one workspace), when I click on the "Package" button, it says "Including multiple workspaces in one single package is not supported in EPUB 3 format.

    2- Assuming that we can include multiple workspaces in one single epub file, then why the "Open Localization Menu" action gives me an error when trying to publish the book? I made a button to see if I can switch between multiple languages and it gives me this error when trying to output the ePub:
    "Open Localization Menu: Action is not supported on this format"

    Appreciate your helps

  10. Sun Apr 24 20:52:14 2016
    M Meg A posted in Workspace selection per device.

    Hi Giancarlo,

    Thanks for the detailed answer.

    On the same topic, I understand that the new generation of iPads are in 2048x1536 ppi. However, there is no such option in PubCoder.

    Should I go ahead and manually set the resolution and type in the numbers, and then create a 2nd workspace for 1024x768 for old iPads?

    If I do so, when switching to the 1024 workspace, I can see that all the BG images stay in place, but the "zoom" attribute changes to 0.5. How does this work in terms of ppi? Here is why I'm asking this:

    The BG images that I have for the book are JPG and PNG files, in the resolution of 2048x1356. The filesize is something around 6.5 MB. Now, in the 1024 workspace, the zoom attribute gets 0.5 (practically means scaling down to 50%). I wondered if this will also reduce the filesize on an old generation iPad, resulting in a faster load?