Where can i download AppleWidget.js ?
my request is simple as should be Apple product
Want to highlight a helpful answer? Upvote!
Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >
Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >
my request is simple as should be Apple product
Isn't it included with a Dashcode installation?
You can try this direct link to https://developer.apple.com/downloads/ - search there for Dashcode.
let me see, i got a Dashcode 3.02 in my HD,
i'm running Snow Leopard and had installed XCode 4.2 for SL,
but spotlight not find any AppleWidget.js...
Nothing like this in : /System/Library/WidgetResources/AppleClasses/
and yes i'm running iBooks Author 1.1 under Snow Leopard
So, where is it ? on Lion only ?
anybody can share ?
Thankx
yep,
that was i mean
Set your Dashboard widget to load the Apple javascript library:
<script type="text/javascript" src="AppleClasses/AppleWidget.js"> </script>
i'm looking for this file to achieve this tutorial...
anybody can help ?
i'm trying to fix the Flash effect when you click on a widget inside a iBook,
see : Flash during HTML initialization when they open the widget in iBooks in :
http://support.apple.com/kb/HT5068
i need a working example or the AppleWidget.js file,
my boss want i finish the project for yesterday,
Please, Thanks
bump !
Just curious, do you get an error message if you just go ahead with the instructions. Maybe its a basic, hidden file?
I still got the white flash screen before my widget fullfill the screen, so i guess it's not working yet,
If somebody has a fixed example of an html Widget without the "flash" initialisation,
I will be very interested to see it.
so i finaly get this famous file mentioned in : http://support.apple.com/kb/HT5068 ,
Apple provide a tutor without providing the file to achieve it.., did you said amateurish ?
So, i find it decompiling the iBooks.app,
go on your iTunes/Mobile Applications/ Folder,
duplicate the iBooks.ipa,and rename it with .zip extension and decompress the archive,
in iBooks Folder, open Payload folder and right-click on iBooks app to show package content,
you'll find an AppleWidgetController.js file,
despite the name, this is the AppleWidget.js mentioned in tutor because inside there the function i need (and others really interesting)
So, i should be able to achieve the tutorial now to fix the white flash effect,
well, in fact, the step 3 is confusing :
daxx wrote:
Set your Dashboard widget to let iBooks know when the HTML initialization begins, and iBooks can switch from showing the Default.png file to displaying the running HTML widget by calling (in javascript):
widget.notifyContentIsReady()
i've tried to setup this at different places, but the widget going fullscreen stay in white flash state now,
so if somebody can provide the last step, it will be helpful
Thanks
a working example, please, please, (i'm down on my knees) 🙂
Thanks
Hi,
Did you try to put this line of code:
widget.notifyContentIsReady()
as the content of your AppleWidget.js file?
Rana
Ya, i did it but with no success,
Wait for a working example, anybody ?
well, 1 month before i asked a simple mere question,
because a tutorial was so cleverly written that nobody can use it in real-life,
i'm still waiting because nobody can show/give a working example of it,
where the multi-touch .iba samples created by Apple with tons of Widget inside no flashing while entering fullscreen ?
i can see it in demo video promoting iBooks author but not found nowhere...
what a waste of time....
This is the snippet of code you want: https://gist.github.com/049292b42e0a650ca435
Thank you,
but it's still flashing 😕
could you provide a .zip with working wigdet example ?
then i can pinpoint my error...
---
looks like you've modified the : http://support.apple.com/kb/HT5068
too fast , as the .2 is now :
Set your Dashboard widget to load the Apple javascript library:
and nothing more.....
---
hope i can get something worth soon, thank you.
Where can i download AppleWidget.js ?