Iphone :: Adding GameCenter Functionality With Adobe AIR?
Jan 23, 2012
I am writing a game in actionscript3 and adobe AIR for the iphone4. Is there a way to connect to iphone's gameCenter in actionscript3, or is that not possible and I am forced to use xcode and objective-C? If this is not possible, are there any alternatives to gameCenter that I can program with actionscript3 and AIR? For example openFeint?
View 3 Replies
Similar Posts:
Jul 4, 2011
I just finished with developing my application by Adobe Flash Professional CS5 and I wonder if this will be visible to iPhones 4 because support for Retina displays was added since CS5.5.
There is section in my info.plist:
<key>UIDeviceFamily</key>
<array>
<string>1</string>
</array>
View 1 Replies
Jul 14, 2011
Can an iphone app developed with Adobe AIR (version 2.6/2.7) play a streaming sound when it is in background? Only native application can play in background? I have not found a clearly response to this question on documentation. PS: i'm using the Adobe AS3 class Sound to play a shoutcast streaming.
View 2 Replies
May 1, 2010
How to compile your flex (Flash Builder) application for Iph*ne Using Adobe Flash CS5? A User can Install an app having it as compiled binary?
View 1 Replies
Jan 18, 2012
I want to create an iPhone game with Adobe AIR, and I want that game to be able to store the players details in a MySql server.
What would be the best way to do that? Is it possible to use a standard URLRequest in AS3, and have the iPhone use that to communicate to the PHP on the server, and receive back data?
View 1 Replies
Jun 9, 2009
I've struggled to get my animation working the way it is currently and now the functionality has been requested to change and quite frankly I just don't think I would be able to work it out as I'm not a Flash developer.[URL]It's a sliding image gallery. There are 13 images and when you roll your mouse over an image a set of filters are applied (to the movieclip wrapping the image) that gives it a glow/drop shadow effect.The images move based on the mouse position.
1. The animation still needs to move on the mouse position, but also the when the animation loads it should automatically move in one direction (images moving left across the stage) but when the user rolls their mouse over the animation then the mouse position takes control. Once the user rolls their mouse away from the animation then the images need to keep moving in the last direction (at a set speed)
2. When the user rolls their mouse over an image it needs to get bigger - but wont some of the images then overlap, so each movieclip would then have to dynamically move to the top of the stack to make sure they overlap the other images correctly
3. The animation needs to loop!?
View 3 Replies
Jul 19, 2006
Anyone know how to add keyboard (up and down arrows) functionality to move the scroll up and down? And clicking the scroll bar area to move the scroll?
View 1 Replies
Mar 18, 2010
I wish to extend upon a basic Google Map. What need to do is make a submit field where people can enter in their postcode and it directs to a preset destination by defining a route upon the map. My test map is here if you wish to view it: [URL]
The Google Map that I have so far has been created by following an excellent tutorial by tunevision: [URL]
Here is the code that I have used including most of the comments:
[Code]....
View 3 Replies
Dec 28, 2010
So I've been trying to add tooltip functionality, but I'm getting some strange behavior. e.g. duplicate clips appearing, clip not loading completely, clip not fading in correctly.
Goal: Tooltip box that quickly fades in after a short delay. Must resize to accomodate varying number of lines and line lenghts.
Structure: The tooltip movieclip holds three other clips in this layer order:
1) clip with a texbox
2) clip with the yellow box background
3) clip with a black box for the border (this box is 2 pixels larger than the box background, effectively leaving a 1 pixel border.)
These clips exist transparent on a timeline for about a half second, then start to fade in to full opacity by the last frame. So, the button code consists of assigning some text to a variable, then calling a function to make the tooltip visible via rollOver, and a hide function on rollOut. The idea is:
RollOver
1) use startDrag to place the clip by the mouse
2) Assign the text to the text box
3) Resize the background and border to match the size of the current text
4) Make the tooltip clip _visible = true
5) Play the tooltip clip, causing the delay and then fade in. (stop at last frame)
RollOut
1) make tooltip clip _visible = false
2) gotoAndStop(1); (reset clip)
Now for the problems:
1) Improper (loading?)
Upon opening the flash file, If I do anything that causes the tooltip move to stop playing, or if the showTooltip() function get called before that playback is done, the clip will no longer play. And it will be stuck at whatever frame it was on at the time of interrupt everytime the tooltip is shown thereafter.
2) Duplicate clips
If my main timeline has more than one frame, and extra instance of the tooltip appears from 'somewhere' - which is odd because there is only one tooltip movieclip and it's there from the begining.
3) Fade not working
The setting of the box size seems to be somehow interfering with the alpha of the parent clip. I've had to resort to using _visible on the tooltip timeline to control the delayed visibility of the box. (Removal of the box sizing causes the clip to fade properly.)
Relevant code:
Main timeline
startDrag("_root.tooltip", true); tooltip._visible = false;
Tooltip clip
onClipEvent(load) {
function showTooltip() {
[Code] .....
View 3 Replies
Jan 12, 2011
I got a flash form going on and all the tutorials I've seen explain how to code the text fields and text areas but nothing about checkboxes. I have no idea how to code for the checkboxes that I'm using in the form. Here are a couple of screen shots for the code and the form
View 8 Replies
Feb 26, 2009
just made my jump into OOP and I am quite excited to find out such marvelous things that I did not know. If someone has a quick answer or can point me in some direction please reply to this question: How can I, if at all possible, modify a function from a superclass but preserving all of it's functionality? I know about the "override public function" but that is not precisely what I want.
View 5 Replies
Jun 25, 2009
I'm creating an image scroller in AS2 that pulls images into Flash from an external folder, as determined by an XML file. The program use a MovieClipLoader to load the external images into series of empty, and temporarily invisible, movie clips that are created inside a for loop. Once the attached listener determines that the clips are all loaded, their visibility is turned on and they begin scrolling. Everything had been going fine, until I tried to add functionality to each of the four images that had been loaded. All I want to do is generate a trace statement that says "success" when I mouse over each of the four external images in the scroller. I can use that as a springboard to continue working...
Here is the problem: "Success" IS traced out upon rollover, but only once - when you roll over the last image that was pulled in from the RSS feed and into the for loop. It does not apply to any of the other images. It seems like the functionality on the other images is created but them somehow instantly destroyed or overwritten as the for loop continues to run and the MovieClipListener updates itself. But I am not sure. If this were simply a series of movie clips or images being pulled in from the Flash library, I wouldn't have this problem. However, the external images and the MovieClipLoader are confusing things.
//Start For Loop Pulling from XML File {
//create movie clip that will hold next image pulled in from XML file var cImageHolder:MovieClip = scrollerBase.createEmptyMovieClip
("imageHolder" + i + whichRow, scrollerBase.getNextHighestDepth());
var mcLoader:MovieClipLoader = new MovieClipLoader();
[Code] .....
View 1 Replies
Sep 16, 2009
I have a custom flv player and i'm slowly adding more functionality to it as I go along but i've hit a wall.I want to add a subtitle button that toggles between show/hide. I've seen on the internet that the best way is to use an XML file (holding the script, times etc.), which I have no problem writing.I'm having problems trying to replicate the 'FLVPlaybackCaptioning' component (in Flash CS3) in to my custom flv player. I.E. Adding the right actionscript to my toggle button.
View 8 Replies
Sep 16, 2009
I have a custom flv player and i'm slowly adding more functionality to it as I go along but i've hit a wall.
I want to add a subtitle button that toggles between show/hide. I've seen on the internet that the best way is to use an XML file (holding the script, times etc.), which I have no problem writing.
I'm having problems trying to replicate the 'FLVPlaybackCaptioning' component (in Flash CS3) in to my custom flv player. I.E. Adding the right actionscript to my toggle button.
The current actionscript for my flv player is:
Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
[Code]....
View 2 Replies
Sep 26, 2011
I am new to Adobe Air and Iphone App Development. I wanted some suggestions regarding a Voting App that I am going to start developing using Adobe AIR. Using the App, users can visit different Events from different categories and can vote the event. I just wanted to know, if I can use PHP and mySQL (online database) to work on this project? I am familiar with Flash and PHP integration. Now I think, I will have to call the php pages from some online servers using http: and not from local.
View 1 Replies
May 15, 2011
how to programming for Apple GameCenter by Flash ?
View 1 Replies
Sep 1, 2011
I have a video player that doesn't have "seek from unloaded time" functionality. I want to add it now. I simply load video like this;
stream.play("vidurl.flv");
(pseudo streaming)
Server side is ready. I can call videos like videourl.flv?start=xxx but cant play them in player cuz video comes without metadata
To sum up:
1. stream.play("vidurl.flv"); works, video plays
2. user clicks to seek bar. on unloaded part. I get the position and convert it to seconds
stream.play("vidurl.flv?start=10");
Doesn't work! No metadata what I should do after?
View 0 Replies
May 21, 2010
Let's discuss about sell iPhone apps in an independent store, it is not crazy at all. If Apple denies us the right to choose the platform to develop apps, we can choose where to sell those apps. We cannot develop in Windows. Now Adobe gave us a solution. Now Apple doesn't allow to develop in Flash. Lets get together on this. All of we (a big WE) owe Adobe our support. Also MAC users do.
View 1 Replies
Jun 22, 2009
Is it possible to make applications for iPhone using Adobe Flex/AIR?
View 5 Replies
Dec 19, 2010
I'm mighty new to Adobe AIR and Flex, Flash etc I've been looking through the Adobe AIR APIs, and could not find a class that will allow a FlexFlash app to communicate to the calendar, (more specifically, the iPhone calendar via the iPhone packager) am i missing out something here? or has adobe not implemented an API for the Flex apps to communicate to the calendar? Are there other iPhone specific APIs that Adobe has not implemented?
View 2 Replies
Sep 7, 2011
I recently came to know about the adobe flash builder with flex in latest release it supports to achieve the benefits of flash for iOS apps.As i am looking for a calendar based app,before taking the Adobe flash builder as a solution, i would like to be clear on the following queries.
What limitation is there of the ipa file generated from FB 4.5 as opposed to a core COCOA touch based solution What are the performance differences between the FlashBuilder app and natively built iPhone app. Is there any limitation of building a HTML5 based app given the calendar functionality apart from look and Feel.
View 1 Replies
Mar 25, 2012
I remember that I've heard about a flash cs5 feature which lets the developers export their project to iphone (.ipa file) and pretty much make games for the iphone using actionscript 3, Is that really possible to do? I've also heard that now in order to develop games for the iphone I could use the adobe AIR I have no idea what or where to go to start, if it's really possible to do so with Flash CS5 then I'd get it
View 1 Replies
Mar 28, 2012
Anyone knows how the Adobe AIR application are converted to iPhone apps? I see two ways - either the Adobe AIR virtual machine mus be part of every application or they must convert all ActionScript calls to Cocoa Touch calls somehow or have an Objective-C twin for every ActionScript class and then compile it to ARM assembler.
View 2 Replies
Jan 11, 2012
I work on flash platform and am developing an app for iPhone. In one of the module, there is a date field, so users can create an event using the date field. The module requirement is such that once a user selects a date, the date will be added to iPhone Calendar. Is there any AIR API to interact with iPhone Calendar?
View 2 Replies
Jul 1, 2010
My application creates instances of a movie clip (located in the library) based on XML data. Now I want to add individual button functionality to these instances, and I'm stumped.
I'm basically creating instances of clickable doors, the data of which are fetched from an external XML file. The number of doors (doorCount) is calculated directly from the number of "door" nodes in the XML, so it needs to be fully dynamic. Essentially, I want to have a single function that each instance can use by passing in their individual XML data. Clicking a door would first open the door (or something similar), and clicking it again would lead to a link, listed in each instance node.
Here's the loop, where the instances are created:
[Code].....
I don't really know where to begin. Am I able to declare an eventListener inside the loop? How do I pass the "number" of the door to the function called by the eventListener? Or should I somehow pass the door-specific link (and any other node data) to the function directly from the loop?
View 3 Replies
Mar 22, 2010
I'm looking for a way to extend the functionality of the HTMLEditor control that the Ajax Control Toolkit supplies for ASP.net. I would like to add video and flash functionality to the editor (buttons, allowed tags, etc).
To my knowledge, this is rather easy: plop in an embed tag with the correct parameters and it just works; I have videos running in the preview window of the editor.
Unfortunately, the tag is stripped away when saving the HTML-code and updating it in the database.
Hence, I would like to ask if there is any way of adding this functionality apart from manually adding the changes in the source control repository of the Ajax Control Toolkit and recompiling it.
View 1 Replies
Feb 3, 2012
I have abode pro 5.5 and I have made an Iphone app. my project haves 2 files with exten .fla and .swf so, how can I make iphone file?
View 4 Replies
Apr 26, 2011
I am creating an iPad app with Flash CS5. In my app, I am trying to load some dynamic XML from a server. Whenever I click the button to initiate the load, the app immediately aborts and I am taken back to the desktop. Here is my load routine that is run when the button is clicked:
protected function SendRequest():void {
var url:String = GetURL();
var request:URLRequest = new URLRequest(url);
request.method = URLRequestMethod.POST;
request.data = GetVariables();
[Code] .....
I have tested this app on my desktop computer within CS5 and it works fine there.
View 1 Replies
Oct 28, 2010
Since Apple loosened their terms again, is it posible to develop a game in FLash CS5 and publish it on the Apple App Store? Are there actually any real apps / games on the App Store that were build on Flash?
View 1 Replies
Mar 9, 2012
I am fairly new to AS3 but I have been able to build a somewhat dinky app for iPhone and Andoid with Flash CS5.5, and I am wanting to add my Flickr feed to it. I tried going through Flickr's API but that didn't fully work.
View 1 Replies