Using flash inside a native iOS app - ios

I'm working on a native Objective-C iOS app and I'm wondering if it is possible to embed an animation created in Flash into my app. The animation doesn't have to be interactive, all I need is a couple of animated screens (intro screen, loading screen). Is this posible?

Maybe the long way around since it doesn't sound like you need a Flash-heavy type app but I have seen a few Flash-toCocoa2D exporters around. I haven't got around to trying them yet but they look useful. Of course you probably have to be using the Cocoa2D frame work to use them - unless there is an easy way to extract + repurpose that relevant code from the Cocoa2D source.
Anyway, probably overkill for what you need but here are some links:
http://dl.dropbox.com/u/514219/FlashToCocos2dAnimation.zip
VID of it in action:
http://www.youtube.com/watch?v=8ZyqGrdkTtM
Another tool:
http://marshgames.com/swftoxml-and-importing-flash-scenes-into-cocos2d-on-iphone/

Nope...Apple will reject any app that uses flash
you could use video player for intro screen (i've seen it on a few apps) or simple picture animation using UIView animation methods
here is a tutorial

Related

Is it possible to only screenshare a specific UIView using AppScreenSource?

Is it possible to only screenshare a specific UIView using AppScreenSource?
I'm creating an iOS app which is using RealityKit to place virtual objects on screen. I'd like to share this video with the other connected user in the room. AppScreensource seems like an almost perfect solution, but I don't want to share the entire screen - just my ARView. Is there a way to do this? Or do I need to go another route?
After going through the doc. I don't find any solution for capturing a portion of the screen. AppScreensource will the whole screen.
Link to the docs - https://www.twilio.com/docs/video/ios-v4-screen-capture
maybe you can use ARView's instance method snapshot(saveToHDR:completion:). There is a working example mentioned in this blog.

MobileVLCKit video full screen

I want to play video streaming using MobileVLCKit in fullscreen mode.
How can I do this?
Please share code if possible (swift)..
I just saw that my previous answer on the old thread was massively downvoted back then. It's still true though. MVK renders in a simple UIView, so it is the obligation of the client app to implement the view handling, be it a tiny one or one filling the screen.
Note that there is sample code available on how to integrate MVK here: https://code.videolan.org/videolan/VLCKit/

Adding custom button to MPMoviePlayerController (fullscreen)

I have a MPMoviePlayerController instance in my iOS app, that plays a local file in fullscreen mode. This all works fine, but now I want to add a custom button to the window for changing the playback speed. We support both iPhone and iPad in all orientations.
I know how to set the playback speed from code (using setCurrentPlaybackRate), but I need to let the user do it while watching the video, which means adding some kind of button to the playback screen next to the existing buttons, e.g. next to "play", "pause", or in the top bar.
By looking on StackOverflow I have found various replies for questions similar but not quite the same, some saying it cannot be done in fullscreen, some saying it can be done (but is very complex) by creating some kind of overlay, effectively replacing the entire overlay with a custom one.
Although, I have yet to find any code examples (apart from a few snippets without context), getting-started style tutorial or similar for this, so any pointers to example code would be greatly appreciated.
maybe this Apple example could help you
https://developer.apple.com/library/ios/samplecode/MoviePlayer_iPhone/Introduction/Intro.html

how to embed flash/SWF animation in startup screen in IOS app?

i wanna to embed an animated logo in the application startup screen, this logo is already done in 2 formats of files SWF and Flash, my question is about how to embed these files directly in the application startup screen, such that the animated logo appears directly on the startup screen.
Appreciate your concern,
Thanks in advance
This is not possible. iOS does not support Flash.
Update: to follow up with a possible solution, since your Flash is just an animation, perhaps you can just render it to a video and use that instead?
First off, your start-up screen is a static image ("Default.png")... so you can't do animated stuff there.
Once your app fully starts up and the static image disappears, then you could have something animated.
In a practical sense, it can not be Flash or a SWF though (Flash files are SWF files, by the way). One can build Flash-based apps for iOS using Adobe AIR, but that's a full blown environment and IDE separate from Xcode.
It'd be smarter to do your start-up animation using CoreAnimation, HTML5 or some other fine animating framework (Unity, Cocos2d or whatever).
Or a separate video file (in which case the user has minimal interaction possibilities). But +1 to Darren for suggesting this answer faster than I could think of it.
If you are planning to publish your app on the AppStore, then what you are trying to do is Impossible !
Your best option is to create the animation you want using Core animation or you can simply convert that animation to a video and play it once your app is loaded.

Is it possible to skin a movie player in iOS 5?

I know that UIAppearance has been introduced in iOS 5, but is there any way of using the new protocol to reskin the MPMoviePlayerController, or do I still need to get my hands dirty using drawRect methods and the like?
Does anyone have any good examples of reskinned movie players for the iPad?
MPMoviePlayerController's user interface is entirely transparent for you as a developer. You can not change its appearance at all. You can only replace the UI by hiding the default interface and showing your own as explained in detail within the following SO answers:
To what extent can the iOS Movie Player be customized and styled?
Adding custom controls to a full screen movie
One additional note though:
Even though this does enable you to create a customized movie player, Apple clearly recommends against doing that - and once again for good reason. The player, as is, does provide a well functioning, good looking and accustomed UI to the end user. Customizing the interface, in almost all attempts, will reduce the usability. Trust me, I have done it numerous times for various customers that insisted in having their branded player - yet I have never encountered a design that feels as good as the one Apple provides you with.

Resources