Sliders for iBook's widget built in iAd producer
I am attempting to build a widget that features sliders (general object) for iBooks in iAd producer. I added sliders in iAd Producer; have a minimum setting of 0.0, maximum of 10, and moving at increments of 0.5. I tested them in the preview funciton in iAd and the knobs on the sliders can be dragged up and down (at increments 0.5 becuase that is what I set it at), but when I export to a widget and drop it into an iBook and preview it, I lose the funciotnality of the knobs in the sliders. I can't drag the knobs back and forth anymore. Does anyone know why? Perhaps I missing an action...?
Works for me. Have you hooked in any code that may be causing a problem?
I dropped a slider and a label on a page then selected the slider and clicked the code button then selected to overrride the Did Change Value event handler and added the follwoing code:
this.onControlValueChange = function (event) {
// Code here for the "Did Change Value" event.
var label = this.viewController.outlets.label;
label.text = this.value;
I can slide the knob and the label updates as expected. I did need to tap the widget before I could intereact with it in an iBook but otherwise it works the same for me in an iBook on the device as it does in preview.
Any other clues?
-Mark
Similar Messages
-
How can I use WebGLview in the iBook widget template in iAd producer?
Recently I am trying to use iAd producer to create a iBook Author widget. What I need is to show a 3D .obj file in it. How can I do that? Is WebGL supported in the iBook Author template?
Per iAd Producer help (https://help.apple.com/iadproducer/mac/5.0/index.html?localePath=en.lproj#/iade7 39fa44):
Available in ad projects only.
It was noted during an iBooks Author / iAd Producer seminar I attended that iBooks had not enabled WebGL content, so I encourage you to request support from Apple:
http://www.apple.com/feedback/ibooks.html
Alternatively, iBooks Author can present .obj files natively in their own widget:
http://www.apple.com/ibooks-author/gallery.html#gallery-interactive-3d
Obviously, the presentation is limited to the object and not any of the other interesting things you might be able to do with HTML and a WebGL object.
Does that help? -
How to create an "exit widget" button on iAd producer.
I am creating a widget for a children's book and would like to create a simple "exit button" (an X the reader can touch to close the widget). Thus far I have created the object, but i can't seem to find an an 'action' to associate with the "activated" event that will close the widget and return to the iBook. I realise that a widget can alternatively be closed with a two-finger gesture, but for simplicity in view of my target audience prefer to have the "exit button". Note: I am relatively new to iBooks Author, and totally new to iAd producer. Unfortunately I don't know how to script in Java or HTML yet, but am willing to learn. Can anyone please give me some pointers?
Thanks! The button didn't appear in the preview in iAd producer, so I didn't realize it was there. But I tried my widget in iBooks Author and the button is there. Thanks again!
-
Exporting Video for iAd Producer
I was wondering what to use to export video for use in iAd Producer. I have quicktime 7 and also premiere pro. I am trying to go by the specs that I get in iad blue prints, but I can't seem to find the correct way to make it work.
TIA!The spec document attached to any downloaded iAd Blureprint project contains the requirements for video you'll include in iAd Producer projects. The settings you'll use to export to these requirements will vary based on the tools you're using but knowing the specs is the hard part.
Cheers,
-Mark -
After installing Itunes Producer when I try to open I get this message: “iAd Producer.app” because it may be damaged or incomplete.
Whats the problem?
Thanks
JosefHi,
Just for clarification. Did you have iAd Producer already installed on your system? If so, which version? Then you installed iTunes Producer? And when you launch iTunes Producer, you get a message saying that iAd Producer is damaged/incomplete?
Thanks,
-Takayasu -
Creating a youtube widget in iAd Producer for Ibooks Author
Hello,
I am trying to create a widget in iAd Producer to add to my iBooks Author template featuring a youtube video.
I am able to create and save the widget but when I place it into iBooks Author template I get a large gray box with a small black box in the center (the video).
Is there a way to correct this?
How can I eliminate the outer frame?
Any other suggestions on adding a youtube video to iBooks Author?
Thank you.See my answer in:
https://discussions.apple.com/message/24985089 -
I would like to embed interactive widgets in iBooks using iBookAuthor. The widgets in question started life in Java but GWT has allowed them to be converted to javascript and to run on web pages (for example, http://softoption.us/content/node/437 scroll to the bottom). In theory, iBookAuthor can bring in most html5, and much javascript. The technique is to wrap the html in a folder, with 2 extra files, a plist and a default png and then change the extension of the folder to ‘.wdgt’. This is the technique for making Dashboard widgets for the Mac, and Apple even have the Dashcode software to do it. So what you really do is to make a Dashboard widget, then iBookAuthor can import it. So far, so good. And some folk have been doing this, for example http://www.prweb.com/releases/2012/2/prweb9242432.htm http://www.panophoto.org/forums/viewtopic.php?f=64&t=10417&p=158330#p158423 However, if you start with GWT and create a single page with one button and a Hello World, compile it, and get the WAR file (I use Eclipse here)… the Safari browser and others will run it properly (even on an iPad). Then if you wrap it, a proper Dashboard widget is created, which runs properly on a Mac. Then if you go to iBookAuthor and put a custom widget in the Text, then drag it in. It is accepted by the text and shown as being there. However, if you use Preview to look at it on an iPad, it is gone (or was never there in the first place). Anyone any ideas on this? [And iBook Author seems to give no warnings.] The widget is at https://dl.dropbox.com/u/46713473/Test6.wdgt.zip I have bells and whistles that I’d like to get into an iBook!
Thanks for any insights.
MartinI do have a little to add, which might help someone. Indeed, opening a blank page and dragging the widget straight in seems good in difficult cases. But, actually, I was also able to insert successfully from the Toolbar especially to blank pages. So, it may have been something to do with the columns and stuff like that. Anyway back then the insertion would show in iBooks Author but not in the Preview on the iPad. I moved on to actual Google Web Toolkit output javascript. Basically I had three at hand to try: a Hello World with a button which went straight it, one of moderate complexity, (for example with a built in Lisp interpreter), which also went straight in, and finally a more complex one that initially was rejected by iBook Author. Author complained that there was an unsupported media file (of course, Author does not tell you which one it is, that would be too easy). [Remember, this was a proper working Dashboard widget which could be installed on a Mac]. Among other things I had read remarks about .gif files. When looking through the GWT war directory at the actual javascript etc files, I noticed there were two gifs there one called ‘clear.cache.gif ‘ and a second one called ‘0F89659FF3F324AE4116F700257E32BD.cache.gif’. (Now, there is obfuscation so the numbers here may be different from case to case.) The clear.cache.gif did not seem to be anything special. But the other one is an animation. It is three little boxes that twinkle (rather like a waiting spinning cursor). So, I opened that file and saved it to itself (that picks the top frame of the animation and saves only that, leaving you with an unanimated gif). The resulting widget drags and drops into iBooks Author (and seems to work properly at a quick glance). So, if you are having trouble with ‘unsupported media files’ converting animated gifs into unanimated gifs might help in some cases.
-
IAd Producer and iBooks widget help
Hello!
I'm trying to use iAd Producer to create a drawing widget for an iBooks project. So far, I've been able to customize the standard drawing object and it works flawlessly on the iAd Producer Preview and in Safari, but not on the iOS Simulator nor the iPad.
In the widget, there are 2 brush sizes available (small and large) and I'm trying to give visual feedback to the user, letting them know which one they selected. Initially I started with buttons but that didn't work because buttons don't have a style for on/off to let the user know that that button is selected.
I switched to radio buttons, which works great on the preview but not the actual device. Here's the code I'm using:
HTML:
<label class="brushFrame">
<input id="smallBrush" class="brush" type="radio" name="brush" value="small"><img src="assets/brush.png" />
</label>
<label class="brushFrame">
<input id="largeBrush" class="brush" type="radio" name="brush" value="large"><img src="assets/brush.png" />
</label>
CSS:
label.brushFrame > input.brush {
display:none;
label.brushFrame > input.brush + img {
cursor: pointer;
width: 50%;
height: auto;
position: relative;
z-index: 1;
transition: all 0.1s ease-in-out;
label.brushFrame > input.brush:checked + img {
opacity: 0.75 !important;
z-index: 10 !important;
Basically, the brush should become transparent when the user selects it and because it's a radio button, it will stay transparent until the user selects the other brush. The iOS Simulator and iPad are able to render all the CSS correctly, except for when the radio button is ":checked". Background: This is my first widget and I'm very comfortable with CSS but not JavaScript.
How can I make this work?Many thanks for your reply patixa. Apologies for my incorrect typing of IDs, in my iAd code they do match.
I have managed to resolve the problem as follows:
All of my iAd content was originally on the Background layer. Placing the content on Page1 has resolved the problem.
I'm not certain as to why the project worked in iAd producer preview/Safari/Widget preview but not in iBooks but no matter, switching to Page 1 solves it completely.
I notice from a few of the problems people have posted that they have a similar situation and wonder if this might be something that would help them. I've not posted replies but wonder if someone more experienced might offer a view.
Many thanks again to patixa, your kindness is greatly appreciated. -
Compose Email from iAd Producer iBooks Widget
I am looking for a simple way to email the content of my text fields/forms from my widget I am creating from the new iAd Producer. I've read that there is a "compose email" action, however, in the iBooks Author Widget creator I can't seem to find it. Any help would be appreciated.
I've since found that the compose email action is available for the iOS but not for the iBooks author?
-
HTML5 audio widget for iBooks Author
Hello!
I'm creating a HTML widget for iBooks Author and I want to add a audio tag of HTML5 in my HTML file. When I do this, I test in Safari Browser and the audio sounds good, so I add my widget with the HTML file, sounds, Default.png and Info.plist and I do a Preview for see in iPad. When I open the widget in iPad the sound doesn't work and it show me a message like this:
"cannot play audio file"
The audio have a .m4a extension. I don't know what can I do...
Someone can help me, please?
Thanks!Hi Crisiii,
I have the same problem. However, in my case it does work if I test the widget in an new empty book. When I add the widget to the real book it does not work. mabe you should do the test to troble-shoot and have a better idea of what is wrong in your case.
I will try to find a fix to the problem and let you know if I do. Please do the same if you find what the problem is.
Thank you. -
Hey all!
Just wondering if there's a widget that opens up the itunes store.
If there are ones for free online or if they need to be built in xcode etc.
Any thoughts, suggestions, and comments are much appreciated.
Thanks!iAd Producer 4.0 can do this for you. Create a new iBooks Author Widget, start with the HTML template, and paste the following between the div:
<iframe src="https://itunes.apple.com/us/app/xcode/id497799835?mt=12" width="100%" height="100%"></iframe>
…substituting the iTunes Store URL you want. For more information, see iAd Producer's help:
http://help.apple.com/iadproducer/mac/4.0/#iade083c9723 -
I've created a series of HTML Widgets using Hype and iAd Producer for my iBooks. However, on trying to upload it to iTunes Bookstore I received this message: WARNING ITMS-9006: "Study_it_2.ibooks : data-anchor-ref = danchor-gallery-0" at Book (MZitmspBookPackage)
I'm not sure what this means and would love some clarification. Please note that the book has been approved (so far), and the name of the book is Study it 2.
Thanks in advance!Same problem a few minutes ago. Almost same error:
WARNING ITMS-9006: "Adobe_Publishing_Suite_Final.ibooks : data-anchor-ref = danchor-framethumb-3" at Book (MZitmspBookPackage)
My book also have a Hype 2 widget and one Gallery Widget (and several video widgets)
I can´t see so far the book on iTunes Connect. There was a 1 GB upload.
Update: The Book is on iTunes Connect, so the warning should not be so important as to block the book.
Message was edited by: Carlos Burges -
Looking for iBooks Author vendor
Looking for iBooks Author vendor to create multiple books based on an existing template. The books are operative techniques for the orthopaedic surgery industry. Need an idea of cost to outsourse. Here are the specs:
7 chapters
the first page of each chapter is an overview of the chapter that includes hyperlinks to each step in the operative technique
total of 44 pages
each page has at least one video widget (some pages have two), a photo gallery widget plus a static image and text
glossary index with 100 entries that include text and photos (would love to find someone who can program including collada 3-D images into the glossary. but that is a nice to have, not a need to have)
all images require resizing for the ibook (they are print images)
all videos require compression for the ibook
half of the pages have 3-d collada files
heavy typesetting is required
three pages include large interactive images with 20 labels
Looking for estimates to present to the company on the cost to outsourse as well as find possible vendors to talk to and provide more detail.
thanks.i apologize. here is my contact email if anyone is interested in talk more about this.
[email protected] -
Can I rotate iBooks Author widgets?
Hello,
I wonder it is possible that I can rotate iBooks Author widgets? For an example, can I rotate Gallery widget?
Thanks,I don't think so, sorry. They're locked in place to support default navigation.
What reason(s) do you have for wanting to rotate?
Ken -
I use iBooks for Spanish books. On my iPad I easily associate iBooks with a built-in Spanish dictioinary. This must exist in my new Mavericks Mac operating system but I cannot see how to load it. Also, my iBooks are not sychronized between iMac and iPad. Any ideas?
Thanks, Tom - this is helpful. However, the selection this app gives me is four English-language dictionaries when I select "All": New Oxford American Dictionary, Oxford American Writer's Thesaurus, Apple Dictionary and Wikipedia. I know there are dictionaries in other languages lurking in there somewhere, and they are readily available on iPad. But where do I find them in Mavericks?
Maybe you are looking for
-
Hard drive crash - Merge mail datbase
Hi guys, Very urgently need help! Last night my hard drive crashed running 10.4.11 Server, on a dual 2.0 Mac G5... I tried Disk Utility and Drive Genius - which both report the disk being fine. But upon startup the drive just freezes about 5 minutes
-
When sharing photos the titles are not showing although under the Shared tab View->Metadata->Titles is checked (greyed out). When checking the info of the shared photo it says "No Title" and the field is not editable. Does anyone know how to make the
-
The need to compress to max 1GB is obsolete. You can not determine what and how the space provided on iDisk can be used. You provide it or NOT. If you DO, then let US free, if you don't, then TELL us WHY, so we can choose to go public elsewhere. The
-
When I try to open a PDF file in a synchronized folder of my PC (running Windows 7) this error apperars " Can´t open file. File not found" I´ve tried several Adobe reader versions with identical result. If I try to open a PDF in any other network fol
-
I am trying to update apps. I click where it says "Updates available" in itunes. Then I get an error: we could not complete your itunes store request. the network connection was terminated unexpectedly" over and over. But if I go to "itunes store" I