SDK Boy » Transparent Video On The iPhone, It Can Be Done… With Flash!
january 2012 by starpause
hnical functionality that can’t be replicated on the native iOS SDK can work through a third party’s system. So just to share with you some of the results, I was attempting to play four transparent videos, all slightly overlapping with a png image in the background. The playback was unacceptably slow with this many streams. I then tried, two transparent videos with a PNG background and the playback was fine, I didn’t notice any frame grabbing or glitches, and one full screen iPhone video with transparency and a PNG image in the back ground ran fine!
Again, I’d like to express my amazement at being able to play an .flv with transparency on the iPhone. I have no idea how Adobe are able to do it, but I really hope Apple step up their game and include a video codec with alpha channel sometime soon. The only down side to using ARI 2.7 is the lack of support for native UIKit components, meaning you have to build everything in Flash/Flex.
If you want to play around with transparent video on the iPhone with Flash you’ll need to download the trial version of Flash Builder 4.5 from here, and check out this post on setting up your system to export from Flash Builder to your iPhone. You do need to be registered as an Apple dev, as to my knowledge there is no simulator in the Adobe set up, but it was all pretty straight forward (no less painful than having to do it through Apple and XCode).
Here’s the AS3 code, I just created a new Mobile ActionScript Project, as I’ve heard Flex Mobile Projects add unwanted overhead to your app (but don’t quote me on that). You’ll also need to make sure that the info in the project’s XML file (application descriptor file) matches all of your code signing identity info ie com.mycompany.myAppID
One thing to note is that I didn’t use the StageWebView object to place my video. According to Adobe’s docs StageWebView’s shouldn’t overlap with each other, so this wasn’t suitable for this project. The only piece of AIR specific code is the
ios
as3
android
air
video
flv
transparent
playback
local
file
Again, I’d like to express my amazement at being able to play an .flv with transparency on the iPhone. I have no idea how Adobe are able to do it, but I really hope Apple step up their game and include a video codec with alpha channel sometime soon. The only down side to using ARI 2.7 is the lack of support for native UIKit components, meaning you have to build everything in Flash/Flex.
If you want to play around with transparent video on the iPhone with Flash you’ll need to download the trial version of Flash Builder 4.5 from here, and check out this post on setting up your system to export from Flash Builder to your iPhone. You do need to be registered as an Apple dev, as to my knowledge there is no simulator in the Adobe set up, but it was all pretty straight forward (no less painful than having to do it through Apple and XCode).
Here’s the AS3 code, I just created a new Mobile ActionScript Project, as I’ve heard Flex Mobile Projects add unwanted overhead to your app (but don’t quote me on that). You’ll also need to make sure that the info in the project’s XML file (application descriptor file) matches all of your code signing identity info ie com.mycompany.myAppID
One thing to note is that I didn’t use the StageWebView object to place my video. According to Adobe’s docs StageWebView’s shouldn’t overlap with each other, so this wasn’t suitable for this project. The only piece of AIR specific code is the
january 2012 by starpause
the kitsch-bent.com .sav vault
october 2008 by starpause
All .sav files are licensed under the Creative Commons License noted at the bottom of this page unless otherwise noted.
file
archive
lsdj
sav
label
october 2008 by starpause
666kb.com - Gratis Speicherplatz für Bilddateien
april 2006 by starpause
uploads up to 666kb, i would assume
upload
fileSharing
file
sharing
april 2006 by starpause
related tags
2.6 ⊕ 2gb ⊕ 2weeks ⊕ 4ch ⊕ 8bit ⊕ actionscript ⊕ adobe ⊕ air ⊕ ajax ⊕ amiga ⊕ android ⊕ ant ⊕ app ⊕ apple ⊕ application ⊕ archive ⊕ as3 ⊕ atom ⊕ audio ⊕ audiofile ⊕ batch ⊕ cache ⊕ catalog ⊕ cheap ⊕ cheepdinosaurs ⊕ clean ⊕ code ⊕ configure ⊕ conversion ⊕ converter ⊕ data ⊕ database ⊕ decoder ⊕ descriptor ⊕ device ⊕ dino ⊕ dinosaurs ⊕ directory ⊕ disk ⊕ dos ⊕ drive ⊕ dynamic ⊕ embedded ⊕ encoder ⊕ example ⊕ explor ⊕ explorer ⊕ f4v ⊕ fancy ⊕ file ⊖ files ⊕ fileshare ⊕ filesharing ⊕ filesystem ⊕ finder ⊕ flac ⊕ flash ⊕ flv ⊕ format ⊕ game ⊕ gamepark ⊕ generation ⊕ generator ⊕ gigabyes ⊕ gp2x ⊕ h264 ⊕ handset ⊕ hard ⊕ haskell ⊕ hd ⊕ header ⊕ highlighting ⊕ history ⊕ howto ⊕ htaccess ⊕ id3 ⊕ improved ⊕ ios ⊕ ipad ⊕ iphone ⊕ issue ⊕ javascript ⊕ js ⊕ label ⊕ lame ⊕ lang.xml ⊕ language ⊕ large ⊕ legal ⊕ lib ⊕ library ⊕ limit ⊕ linux ⊕ list ⊕ local ⊕ lsdj ⊕ mac ⊕ mag ⊕ magazine ⊕ manager ⊕ mangement ⊕ manifest ⊕ meta ⊕ mobile ⊕ mod ⊕ module ⊕ moov ⊕ mp3 ⊕ mp4 ⊕ music ⊕ name ⊕ network ⊕ notepad++ ⊕ one ⊕ online ⊕ osx ⊕ overflow ⊕ pack ⊕ package ⊕ park ⊕ phile ⊕ philledelphia ⊕ philly ⊕ playback ⊕ plugin ⊕ preferences ⊕ profiler ⊕ profiles ⊕ properties ⊕ qtindex ⊕ re ⊕ recorder ⊕ reference ⊕ rename ⊕ renamer ⊕ replacement ⊕ resource ⊕ rghost ⊕ russian ⊕ sample ⊕ sav ⊕ save ⊕ scene ⊕ scripting ⊕ setting ⊕ share ⊕ sharing ⊕ size ⊕ software ⊕ sound ⊕ stack ⊕ storage ⊕ structure ⊕ swapper ⊕ swc ⊕ sync ⊕ syntax ⊕ system ⊕ text ⊕ theory ⊕ thumb ⊕ tool ⊕ tracker ⊕ tracking ⊕ transfer ⊕ transparent ⊕ two ⊕ txt ⊕ universal ⊕ unix ⊕ upload ⊕ uploader ⊕ usage ⊕ usb ⊕ use ⊕ utility ⊕ video ⊕ wav ⊕ wave ⊕ web ⊕ weeks ⊕ wetransfer ⊕ win ⊕ windows ⊕ winxp ⊕ wireless ⊕ wiz ⊕ wordpress ⊕ workaround ⊕ write ⊕ writing ⊕ wurfl ⊕ xml ⊕ xp ⊕ zine ⊕Copy this bookmark: