Implement an HTML page into a quartz composition - quartz-composer

I would like to show a web page through a quartz composition, is this possible? The HTML must be able to call and use other external files like a JS.
Thanks in advance for any help!

The CoGeWebKit plugin may be helpful.
From its documentation:
CoGeWebKit is a Quartz Composer plugin that leverages WebKit to allow offscreen rendering of web technologies including interactive Flash and Java content. Control mouse input, browse normally and post process rendered web pages in Quartz Composer.

Related

Facebook AS3 api - mobile login window missing cancel button

I am using this, somewhat outdated, library.
When i log in a webview loads the following url
https://graph.facebook.com/oauth/authorize?client_id=123456789&display=touch&redirect_uri=https://www.facebook.com/connect/login_success.html&type=user_agent&scope=publish_actions,user_friends
I get a working login page, but there is no cancel button. Am I using the wrong address, or is this something the library would be responsible for adding?
Regards,
Jacob
Do not use this library. It is not maintained any more, and wasn't updated since oct. 2011 ... It is broken.
I use the Facebook API in AIR using HTMLLoaders and URLLoaders. All the flow is documented on the facebook developper's pages. But it's not that easy.

Creating an Ipad app with static html,css & javascript

Let me explain the scenario first.
I have a simple static dashboard html page with 5 simple charts created with HTML5, CSS
and javascript.
It renders data from a static Json to display the charts.
Its is not online and running in my local system.
There are no back end code which connects to a database.
Now I want to convert this to an Ipad app where I can see the dasboard page without out internet connection.
Kindly provide me a best way to do this.
Regards,
Shanmugam
You can use Apache Cordova (or phonegap) for building native web applications for all major platforms using HTML 5 , CSS and JavaScript.
You can refer to this Blog post on how to easily port existing HTML5 based application to iOS and Android.
Additionally you can also check this link for some more insights.

Polymer in a Chrome packaged app

With the new Material Design released by Google and Polymer being one of the best, if not only, libraries to create such a design with ease, is there anyone to develop a Chrome Packaged App using the library to get the Material Design look it provides? Currently, it gets scripted block by Google's very strict CSP
Check out Vulcanize: http://www.polymer-project.org/articles/concatenating-web-components.html
It's a build tool for crushing HTML imports into a single file. It also has a --csp option that moves <script> into its own file. This will make CSP happy.
We're working on a template for Polymer Chrome App in the Chrome Dev Editor:
https://github.com/dart-lang/chromedeveditor
I'll update this thread once the template is available. This should make Polymer dev in a Chrome app a lot easier.
Here is another option.
If you're big fan of Dart language, you can use https://github.com/sunglim/csp_fixer package.
This package has a function to strip <script/> and create external js file.
Investigating ebidel response about vulcanize, I found that polybuild could be even more easy if you dont want so many extra options.
https://www.polymer-project.org/1.0/docs/tools/advanced#build
Also found this project on github that uses vulvanize with --csp option.
https://github.com/PolymerLabs/polymerchromeapp

WP8 WebBrowser - Play music in the background

Is there a way by which we can play music in the background when it is launched through a WebBrowser control of Windows Phone 8 (using HTML5 "audio" element)?
I am aware that background tasks are not supported for WebBrowser, but is there a workaround?What are the other options of launching Html and JavaScript code, if not a WebBrowser control? Can it be done using XAML / C# / WPF?
Thanks.
I am assuming that you want to open a audio file from webserver / site and want to play it in background on windows phone.
You can use AudioPlayerAgent for do that and another thing I found is for steaming audio file from server is this.
Check out either of these options. Due to some limitation over more lines of code and code complexity, I can not put code blocks here.
For launching getting javascript event back to C# , you can use Browser_ScriptNotify and InvokeScript. Other things depend on you business logic. I do not know how your web server is behaving while managing audiofiles.
As an alternate to using HTML5/JS, you can use AudioStreamingAgent
https://code.msdn.microsoft.com/windowsapps/Background-Audio-Streamer-e85b8deb
or
You can use BackgroundAudioPlayer, here is
downloadable sample code: http://go.microsoft.com/fwlink/p/?LinkId=219073
I strongly suggest you to read this page first, because it includes best practices to follow when you implement background audio in your app:
Background audio overview for Windows Phone 8
Then you should check this page, it has very detailed explanations and the complete source code for the example applications, where you can see not only the full apss but every piece of code behind every functionality. This should be all the information and source code you need.
How to play background audio for Windows Phone 8
Of course if you have a more specific question please provide more information and i will provide a detailed explanation.

Failed to Load swf on a facebook iframe application

I'm currently learning how to make facebook apps, and I've hit a problem.
Usually when I make flash applications, I can use the index.html and run the swf from a webserver.
However, I tried to make a facebook iFrame app using the same setup, all I get is the Alternative Content Text.
Any experienced flash/facebook developer help would be greatly appreciated by this newbie.
Below is what happen to my tutorial app.
http://apps.facebook.com/jeffcheetest/
Do you have filled the field "App Namespace" in the Developer Application Settings? I think it could be the problem...
Are you using FBML? If so, it may be easier to switch to iframe in order to have the swf work in the .html page as you expect it to work. Otherwise, you will need to implement your swf through fbml tags or fbjs code.