Iphone :: Actionscript Style Events In Objective-C?

Jul 7, 2010

I have an iPhone app with an UIApplicationDelegate conforming delegate called MyAppDelegate - it has a UIWindow.Instead of adding buttons, labels and whatnot directly to the window, I guess I'm supposed to make a child class of UIViewController for every screen I wanna make. When that screen should be displayed, I add the respective controller's view to the window as a subview. When another screen should be displayed, I should pop off any other view from the window and add the new view. Hope I got everything correct so far...

My intent is to make each view controller only know about its own things, so let's say I wanna call view A from view B, in ActionScript I'd add a button in A firing off an event which would be caught in view A's owning object (could be the application), which could take proper action (remove view A, instantiate view B and display it).How do I do this in Objective-C?

View 2 Replies


Similar Posts:


Iphone :: Objective C - Read Flash Video In Iphone App?

Jan 21, 2011

I would like to play flash video in my iphone app.I'm parsing XML file and I get flash video url like this : http:[url]....

View 2 Replies

Iphone :: Haxe Convert Flash Content Into Objective C?

Dec 15, 2011

I went through many links like this,this and this, but not getting good direction to move with. I need to implement some flash content in my iPhone app. good tutorials to move on with the conversion process.

Suppose I am having a flash air iOS app and I need to convert the whole app in objective c for say adding some features like APNS then I have to do some needful. I want to convert the air iOS based app in objective c for same thing and hence need a tool like Haxe.

View 2 Replies

Objective C :: Failing To Build Air IPhone App (with A IOS Native Extension) With Adt?

Feb 13, 2012

My issue is when I try to compile my .ipa using the adt tool (through Terminal) I get the following error:

ld: absolute addressing (perhaps -mdynamic-no-pic) used in -[MediaCaptureViewController showCamera] from /var/folders/NP/NPNiEhuUEwGiPRg0Bym7Sk+++TI/-Tmp-/97f7f1f9-6d5e-4486-9ba0- 147ff50f7157/libcom.luxson.mediacapture.a(MediaCaptureViewController.o) not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs
Compilation failed while executing : ld64

The iOS native extension pops up an instance of the UIImagePickerController and it works apart from the following line of code, which causes the above adt error:

cam.mediaTypes = [NSArray arrayWithObject:(NSString *)kUTTypeMovie];

I have included the MobileCoreServices framework in my project and added the following to my header file:

#import <MobileCoreServices/MobileCoreServices.h>

I'm using Xcode 4.2.Project set to build with the following settings:

iOS Deployment Target: iOS 4.3
Enable Linking With Shared Libraties: No

View 1 Replies

Iphone :: Write Mobile Games In ActionScript3 Rather Than Java / Objective-C?

May 6, 2011

I'm writing a simple game based on my physics engine for Android (in Java). Because I want to play with some special graphic effects performance is very important for me. I read on the Internet that you can write an application in ActionScript3 and then just export it as an iPhone/iPad or Android application. That means, I wouldn't have to rewrite everything from Java to Objective-C if I wanted to make version also for iPhone. Do you have any experience with writing games in ActionScript3 for both Android and iPhone/iPad? Are there any significant advantages / disadvantages?

View 4 Replies

Actionscript 3.0 :: CSS - Make An Application For The Iphone - What / How To Start Learning Objective-C

Mar 13, 2010

I know javascript, CSS, AJAX, and HTML/ XHTML. I was told to learn these in order to make an application for the iphone. Now what? What/how do I start learning objective-C?

View 1 Replies

Objective C :: Objective C - Can Play Flash Video File On IPad

Sep 15, 2011

I want to make simple project which play flash video file from online. I've searched some articles and read carefully. But I can't understand, how to play flash video files on iPad by Code.

View 5 Replies

Actionscript 3 :: Iphone - Touch Events Vs Mouse Click Events?

Jan 11, 2012

Just wanted to ask if there is any advantage for either using mouse click event or touch tap events, when writing apps for mobiles or tablets (for the iphone especially)?

I know that both of them should work fine, but in term of performance, is anyone better? Are there any things I should be aware of when choosing either?

By the way am using actionscript3 to implement the app.

View 3 Replies

Objective C :: Objective C Prevent Flash In Cocoa WebView

Feb 3, 2011

In my Cocoa app, I want to prevent Flash from loading in a WebView, and let the user decide if the Flash should be shown for each page. (That's the same behavior already available through the ClickToFlash plugin or Safari extension. Bundling any of those extensions is probably not an option because of licensing issues.)Unfortunately most of the Flash I'm trying to avoid is generated from embedded JavaScript specifically designed to prevent easy flash blocking, so I cannot filter the raw HTML for inclusion of Flash objects.Also, I cannot disable JavaScript for my WebView, as the page I want to display looks completely different when JavaScript is turned off.Is there a notification/hook I can use to modify the page DOM after JavaScript has been executed, but before the Flash plugin is loaded?

View 3 Replies

Objective C :: Converting Syntax To Objective C?

Oct 6, 2010

I have a game I wrote in Actionscript 3 I'm looking to port to iOS. The game has about 9k LOC spread across 150 classes, most of the classes are for data models, state handling and level generation all of which should be easy to port.

However, the thought of rejiggering the syntax by hand across all these files is none too appealing. Are there tools that can help me speed up this process?

I'm not looking for a magical tool here, nor am I looking for a cross compiler, I just want some help converting my source files.

View 3 Replies

IPhone-style Draggable Scrolling Banner

Jul 22, 2011

working on an internal web project and the project sponsor really wants the home page to have an "iphone" style draggable scrolling content.the only place i have seen an example of it is here:URL...but i have no idea how i'd go about making it!Have dabbled in flash over the years, and have a good understanding of AS2, and basic AS3 - with some serious research and practice i could probably make this, but there are major time constraints on the project so it would be great if someone has a similar script to share please!There is budget to pay so it doesn't have to be a free script!

View 2 Replies

Flash :: Create Iphone List Style On ActionScript 3 On It?

Jan 4, 2011

I'm trying to achive the iphone list effect in AS3

View 1 Replies

Flash :: Iphone - Packager For IOS And Touch Events Don't Work

Jul 12, 2011

I am trying Flash CS5 for ios development, but TouchEvents don't works on my ipod. My ipod is jailbroken. The code I try is here:

[Code]...

View 1 Replies

Iphone :: Is Application Developed By Adobe Flash Professional CS5 (not CS5.5) Visible In App Store On IPhone 4

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

Iphone :: Promising Is Flex/Flash As A Development Path For The IPhone/iPad?

Mar 6, 2010

I'm interested in developing for the iPad and iPhone, but I'd prefer not to learn Apple's whole development stack (and good golly, I sure don't want to go back to manual memory management). Oh, sure, I could learn it, but I don't have that level of commitment to the environment at this point. I've got professional experience with Flex already, so I'm intrigued by Adobe's move to make Flash/Flex compile to the iPhone and iPad. My question is: how promising of a development path will Adobe's Slider be? Are we likely to see Slider publicly available in a reasonable timeframe (Adobe: "An early mobile branch of the Flex framework is expected to be available in 2010")? Are we likely to see reasonable performance? Are there development hurdles that haven't become clear yet? Heck, is it all just vaporware? There's pretty limited information available so far, as far as I've seen, but I'm interested in people's predictions, even if they're speculative.

View 6 Replies

Iphone :: One Frontend For IPhone/iPad, Android And Multi-Touch Displays?

Sep 6, 2010

I have built a multi-touch application which is based on a Java EE backend and combined with BlazeDS to a Adobe Flex frontend. The application runs on a DIY-Multi-Touch which I built. Now I want to use another solution. The Adobe Flex frontend (with a multitouch library) and the BlazeDS adapter should be replaced by a solution which covers iPhone/iPad, Android and commercial Multi-Touch displays.

The problem is the iPad/iPhone, there is no Flash Player runtime (not the jail-breaked ones), but the application should be runnable also on those devices. So Adobe Flex and a Java frontend (no JVM on the iPhone/iPad) is not possible anymore. At first, starting the developing of the application it was not neccessary, to run it on Apples mobile devices, but this changed So, what can I do, using HTML5? So I can use it for Android and iPhone/iPad. But I also want to make it possible to use it on a commercial multi-touch-display and normal display with a mouse (I only have gestures for one finger, the 2-finger gestures are not neccessary). Are there any frameworks that allow this? Because I do not want to create several frontends (App for iPhone/iPad on Objective-C and a Adobe Flex for all other devices), it would be great if I can build a frontend for all devices.

View 2 Replies

Iphone :: Flash CS5 On IPhone - Developing Client/server Data Apps?

Oct 13, 2010

I am looking to develop basic client server data application to add value to a website.

The website is .net based and opening an api such as asmx web service, json or xml would be simple.

Can anyone tell me what are the limitations - technically, what is possible with flash and also what Apple consider to be good practice.

Does anyone have any Actionscript code examples?

View 1 Replies

Actionscript 3 :: Iphone - Adobe AIR For IPhone App - Audio Streaming Play In Background?

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

Iphone :: Flex - RIA Flash Apps On The IPhone Store Persist Data Until An Internet Connection Is Available?

Oct 8, 2009

I'm interested in building a thick client application for my existing web services that will run on the IPhone. Flash finally seems to be an option, so I thought about using Flex for client side development.

However, since flash apps are not natively supported by the IPhone, but only through a wrapper, I was wondering if these apps can persist any data. Data entered by the user should eventually be transmitted to the web service, but until then I want it to persist even if the Iphone should run out of power.

Is this possible? Or does the Iphone flash wrapper make it impossible to access the hard disk?

View 2 Replies

Iphone :: Compile Flex Application For Iphone Using Adobe Flash CS5?

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

Iphone - Flex - Create Ipa For Testing On Device Using IPhone Packager?

Sep 11, 2010

i'm following Christian Cantrell guide for packaging AS3 application for iPhone, but i can't find a way to use the packager for creating an app for testing on device. I've tried with -target ipa-test and -target ipa-app-store but when i try to upload my app on the iPad, iTunes throws an error sayng that i'm not allowed.I've done a simple test using the Packager bundled width CS5 (with the same certificates) and everything gone right.

Is is possible to use CS5 Packager for Flex project ? (i know that flex isn't optimized for mobile)

View 2 Replies

Iphone :: Flash Packager For IPhone : Use Core-Data Or Other Database?

Dec 19, 2010

I'm wondering if the flash packager for iPhone allows you to somehow save data in some kind of database maybe using Core Data or any other form? If it just allows you to export some kind of actionscript based game but doesn't allow for saving data that'd be kinda weak I'd assume so they must have a way (?).

View 1 Replies

Iphone :: Screen Lock & Sound Stop IPhone Dev (FLASH CS5.5)

Jun 29, 2011

I'm trying to create iphone apps using Flash CS5.5 and I have a doubt... I just created a simple app which plays a long sound (more than 5 min).

When the phone auto-locks, my sounds stop. If I unlock the phone, my audio resumes...

How could I do to avoid the lock, or dont interrupt the sound when the device auto-lock?

View 1 Replies

Iphone :: Ios - Possible To Pause Flash App On Iphone By Pressing Home Button?

Mar 3, 2012

I've created my app and it works great. But when I press home button on my iphone, my app minimizes and when I open it from multitasking apps, it simply restarts. Is it possible to freeze or pause the game instead of stop?

View 1 Replies

Flash :: Iphone - Remove Gloss From An IPhone App Icon?

Jan 18, 2011

Here is a tutorial that tells you how to remove the gloss on an app in xcode. How can I do this in flash cs5? If I can't, can I do something to the image in photoshop so that it looks like it has no gloss when the gloss is applied?

View 3 Replies

Apple - Test IPhone App Made In Flex On IPhone 3GS?

Aug 3, 2011

I have built an app in Adobe Flex (4.5) and it works well on Android, but i need to test it on an iDevice. I have an iPhone 3GS available, and i have made a provisioning profile with it and certified it through the proper Apple channels, but trying to install the app to the phone through iTunes results in an error (the same one you get when trying to install non-market apps), and i can't find a way to import it into xCode.

NOTE: i developed the app on a PC in Flex, but have a MacBook Pro available for testing.

View 1 Replies

Iphone :: Ios - Communicating To MySql Via PHP, On The IPhone Developed With Adobe Air?

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

Iphone :: Getting An Equivalent To A Flash Projector For IPhone?

Mar 29, 2010

Is there any equivalent to a Flash projector for iPhone? Flash projectors basically seem to package script and Flash libraries into one executable file that can be run on a PC. I'm wondering if anyone has made a similar thing for iPhone where I can take my existing code and package it with the necessary iPhone stuff to make a PC executable. Of course hardware-specific things would not be available like accelerometer/phone/gps, etc. but I don't need any of those. If not, is there anyone currently attempting this?

View 4 Replies

Iphone :: Flex & Flash Supported On IPhone?

Jul 18, 2011

I am a Flex developer. I wish to make flex applications for iphone. But, when I google up for the same, most of the link shows up that Adobe Flex and flash aren't supported on iphone.

Is this right ? Why it isn't supported ? If it is supported, which are the good books for developing iphone applications via flex.

View 4 Replies

Iphone :: Developing Iphone Apps Using Flex?

Jul 19, 2011

I am flex programmer and newbie to iphone application development.I wanted to make a iphone appln using Flex 4.5, but can't find any good books/resources for it.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved