Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 13BFF100C0 for ; Fri, 28 Mar 2014 02:30:34 +0000 (UTC) Received: (qmail 74432 invoked by uid 500); 28 Mar 2014 01:30:32 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 74347 invoked by uid 500); 28 Mar 2014 01:30:32 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 74337 invoked by uid 99); 28 Mar 2014 01:30:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Mar 2014 01:30:32 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of greg.dove@gmail.com designates 209.85.216.169 as permitted sender) Received: from [209.85.216.169] (HELO mail-qc0-f169.google.com) (209.85.216.169) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Mar 2014 01:30:28 +0000 Received: by mail-qc0-f169.google.com with SMTP id i17so5327390qcy.0 for ; Thu, 27 Mar 2014 18:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=RBCU9QIK1CUYzQEdebtxv6zGXc2BYbKxOyoYmzVvHso=; b=KhGSnVt7uShC+AN0SLyOvVcsUV15NE9VQz/RpIZLIEtQ3n0TYytvf/tNB/RIfPi5qT Bz2bB1kjXSAQO2LvjjC6iErNjMsZmXp9t621HCj4tnCgnSj8pKJx/KWUAsD7WJA+e+2t dloqYiqO+mpShtSqJmzKf3MwA8rtzYcjPxiN/LZV2v9/30vHAd18YB6Qz8h8Xw/NtrBF D64cOOe6nXKGHI1uwiFZcpO6Y86zIZSzfeY2/Qq3ggmf04VDPoNXoF40RGcmKexRTLhM frYQDaWO09M8WSO5z1Y9vLwdm6/dyHOOQvoK8JRun7JWNspNyklGZIZaEMakQ8VBpMKo IatA== MIME-Version: 1.0 X-Received: by 10.140.106.116 with SMTP id d107mr5839674qgf.44.1395970207233; Thu, 27 Mar 2014 18:30:07 -0700 (PDT) Received: by 10.140.48.71 with HTTP; Thu, 27 Mar 2014 18:30:07 -0700 (PDT) In-Reply-To: References: Date: Fri, 28 Mar 2014 14:30:07 +1300 Message-ID: Subject: Re: Air iOS app - Blank white screen From: Greg Dove To: dev@flex.apache.org Content-Type: multipart/alternative; boundary=001a11394c1451d67704f5a0a48f X-Virus-Checked: Checked by ClamAV on apache.org --001a11394c1451d67704f5a0a48f Content-Type: text/plain; charset=UTF-8 instead of embedding them, did you try loading them as an external asset via url, packaged with the app. All the swf assets I use in iOS projects are as external files. On Fri, Mar 28, 2014 at 1:33 PM, Flexicious.com wrote: > Spark image same story. We have the mx lib in the build path. We are using > mx and spark components across the app. Everything works fine, until you > introduce swfs as the source for an image control . > > > On Thu, Mar 27, 2014 at 11:57 AM, OmPrakash Muppirala > wrote: > > > On Mar 27, 2014 6:34 AM, "Alex Harui" wrote: > > > > > > Pretty sure loading SWFs, even embedded SWFs at runtime is not allowed > on > > > IOS because of the restriction on interpreted code. > > > > There is no technical limitation for this. Swfs should load fine. It > may > > not pass through the App store approval process, though. > > > > Flexicious, try using a spark Image instead of the mx one. The mx swcs > are > > excluded from the app during the mobile compilation process. No compile > > errors, but it will end up failing in runtime. > > > > You need to either remove all references to mx components or add the > mx.swc > > manually in to your build path. > > > > Thanks, > > Om > > > > > > > > -Alex > > > > > > On 3/27/14 6:08 AM, "Flexicious.com" wrote: > > > > > > >Thanks Alex - we did try that - for some reason it choked right before > > it > > > >could alert the message. We seem to have narrowed down the problem to > > > >images that use swf files as source. Once we remove these images, the > > app > > > >loads. So that begs the question, how do you get the Image component > to > > > >load swf graphics? Or is that just not possible with Air on iOS > > > > > > > >[Embed(source = '/assets/images/someIcon.swf')] > > > >public static var someIcon:Class; > > > > > > > >And then > > > > > > > > > > > > > > >On Wed, Mar 26, 2014 at 9:32 AM, Alex Harui wrote: > > > > > > > >> Try putting in an uncaughtException handler and see if it catches > > > >>anything. > > > >> > > > >> On 3/26/14 5:26 AM, "Flexicious.com" wrote: > > > >> > > > >> >tried with 3.9, 4.0 as well as air 13. > > > >> > > > > >> > > > > >> > > > > >> >On Wed, Mar 26, 2014 at 1:47 AM, Raj Raju > > > >>wrote: > > > >> > > > > >> >> Can you try to make the build with latest air sdk 4.0 ( > 4.0.0.1619 > > > >>). I > > > >> >> guess the problem will be resolved with this new sdk . > > > >> >> You can find the link below > > > >> >> > > > >> > http://labsdownload.adobe.com/pub/labs/flashruntimes/air/air4-0_sdk_wi > > > >> >> n.zip< > > > >> >> > > > >> >> > > > >> > > > >> > > > http://labsdownload.adobe.com/pub/labs/flashruntimes/air/air4-0_sdk_win.z > > > >> >>ip > > > >> >> > > > > >> >> > > > >> >> Cheers, > > > >> >> Raju.M. > > > >> >> > > > >> >> > > > >> >> > > > >> >> On Wed, Mar 26, 2014 at 9:38 AM, Flexicious.com < > > flexicious@gmail.com > > > >> >> >wrote: > > > >> >> > > > >> >> > We have a fairly large air app, and for some reason, when we > > > >>package > > > >> >>it > > > >> >> for > > > >> >> > iOS, it does not launch correctly. Just a plain white screen. > > When > > > >>we > > > >> >> > launch it in debug mode (or even using Fast packaging), it > works > > > >>fine. > > > >> >> Only > > > >> >> > with the export release build it simply launches a plain white > > > >>screen > > > >> >>and > > > >> >> > does nothing. > > > >> >> > > > > >> >> > Anybody seen anything similar? Any idea if there is an error of > > > >>some > > > >> >> sort, > > > >> >> > any way to find out what the error is? > > > >> >> > > > > >> >> > > > >> > > > >> > > > > > > --001a11394c1451d67704f5a0a48f--