Facebook API & Adobe Air/Flash Support - facebook

I'm currently struggling with a problem that has arose with using the Facebook Graph API and integrating it with Adobe Air.
I've tried everything. I've tried linkage with amfphp and I've tried classes. I've downloaded the Adobe/Facebook swc but I'm just wondering if anybody could point me in the right direction if I wanted to use the Flash CS6 timeline to link with the API (As most tutorials are using classes or .as files) and just using it in general in Flash CS6. It is an Air For iOS app so I want to use the Mobile api and I just want to be able to create it within the Flash timeline. Your support is greatly appreciated & any links that point to the right direction are greatly appreciated!

First of all you should know a bit how flash works (if you don't) and will be so easy to understand the differences between the code in timeline and the code structured in classes or .as files as you said. I left you a little resource i hope it helps.
https://www.youtube.com/watch?v=j3rlEMnBEHQ
With the flash API, you have to import the .swc library (in your case the GraphAPI_Mobile_1_8_1.swc) in your .fla document and after that you will be able to access to the functions of the library from your code doing the respective calls FB.login() etc etc.
Here there is a SO answer that explains you how to import the library:
How to properly use .SWC packages in Flash CS 4
I hope it helps you to solve your problems.
Greetings.

Related

Use of OSMF in example Flash templates for Google TV

I have been looking through the source code for the Flash-based Google TV example templates, available here:
https://developers.google.com/tv/web/docs/gtv-templates
I noticed that the OSMF doesn't appear to be used for the video player parts.. were there any reasons for this, was it a conscious design decision (or not)?
Thanks!
When these Templates were designed and developed, we had to support both HTML5 and Flash. Our partner Adobe recommended OSMF in their Flash optimization guide for Google TV: http://www.adobe.com/devnet/devices/articles/video_content_tv.html.
But due to resources constraint we did not include things like OSMF unfortunately. If you have working sample code that incorporates OSMF, please consider adding them to the Templates.
Thank you!

Panorama hotspot implementation

I've recently developed an application that view a panorama 360 image, using Panoramagl library for iPhone, and i wanna enhance it and make more features like hotspot.
I've tried to look at a javascript code that implement this feature, but it's useless.
I don't know from where to start implementing this feature and i don't understand the concept of the hotspot. can anyone put me on the right way to start implementing this feature ?
thx in advance.
I've ended up using a library called KRPano using it in UIWebView, it has a good support and has a lot of features.
PanoramaGL for iOS was updated recently to 0.1 r3 version. This new version support Spherical images 2048x1024 pixeles. And hotspots feature was added.
http://code.google.com/p/panoramagl
Please read wiki section
http://code.google.com/p/panoramagl/wiki/UserGuide

How to get the look as in itunes to display list of files

i wanted to display the list of files like it is done in itunes .how can it be done please help me out im a beginner
the screen shot is here
That thing you are referring to is called coverflow and there is open source library that provides such functionality
https://github.com/devinross/tapkulibrary
The CoverFlow API Apple uses is (I think) still private, there's open source implementations like OpenFlow, there's lots of resources on how to get started with it if you dig around on Google.

titanium iphone app dev

I have started working on titanium for iphone dev but i am bit confused about the file structure. The only file that i can see is app.js in Resources folder. Which is helpful in creating interface design.
For instance:
1- If i want to show the current time on my application main page, where i can initialize my code.
2- If i want to add some js functionality onload, how can i add that js file or call it on my application load.
I will be very thank full if any body give some helpfull links for learning as well.
Thanks,
Appcelerator recently added a "Getting Started" guide in the developer center. I highly recommend going through those articles. There's not much good documentation around Titanium but their getting better.
http://guides.appcelerator.com/en/getting_started.html
As for adding current time and listening to events... you can find some great examples in the KitchenSink application (https://github.com/appcelerator/KitchenSink) or Tweetanium (https://github.com/appcelerator/tweetanium). I usually keep these projects open on the side and search the code base for examples since the API docs on the website are a bit dated.
I hope that helps.

Three20 TTLauncherView Tutorial?

I'm attempting to use TTLauncherView from the Facebook Three20 project in my app, but I'm not having much luck (I'm a bit of a newbie at this). Does anyone have any good tutorials at using it that I could read?
FYI basically I need to pull images that a user chooses from the iPhone camera album, and display them as icons that when pressed lead to another view.
Thanks.
you can start studying TTCatalog sample project that comes with three20 library.
Right now I'm working with a improved version of the three20 made by Rodrigo Mazzilli, you can find it here (http://github.com/rodmaz/three20).
rodmaz's version is a fork from the original project and it comes with some improvements, specially in TTLauncherView. It has a new class called TTLauncherViewController which is easier to use, take a look at his demo project TTCatalog.
http:// three20.info/ is a good collaborative site with some tutorials, but it doesn't have much information about TTLauncherView at this moment.
Finally, you should join three20's google group at http:// groups.google.com/group/three20 where you find hundreds of developers using this library.
best
http://iosguy.com/2010/10/19/tthree20-a-brief-ttlauncherview-tutorial/