The debugger has swf assets it uses, and it also uses some lz components, like <window> <checkbox> <slider>, which have swf assets.
The LPS compiler will preferentially embed swf assets in swf10 apps if they are available. Maybe it should be set to preferentially use png's if they are available? I don't really know what happens when we use the "Embed" command to embed swf assets, like whether the flex compiler can turn simple non-animated swf8 movieclips into swf10. It discards any as2 script code I am pretty certain, but I'm wondering whether what it places in the app is still regarded as as2 code. [Embed(source="/Users/hqm/openlaszlo/trunk2/lps/components/debugger/images/scrolldragdimpleshorz.swf")] On Thu, Aug 12, 2010 at 8:59 AM, P T Withington <[email protected]> wrote: > Aha. Probably we just need to re-encode the debug window assets to .png's. > > On 2010-08-12, at 08:57, Raju Bitter wrote: > > > Good pointer, André! > > > > The message is only shown when the debug window is present. Henry is > > the expert for that. > > > > On Thu, Aug 12, 2010 at 2:43 PM, André Bargull <[email protected]> > wrote: > >> Maybe issues with assets? Does an empty application [1] show the error, > or > >> is it only displayed when there are components included, e.g. <window> > [2] ? > >> > >> [1] <canvas/> > >> [2] <canvas><include href="lz/window.lzx"/></canvas> > >> > >> > >> Adobe AIR for Android and AS2: > >> http://labs.adobe.com/technologies/air2/android/#faq > >> Which versions of ActionScript are supported when developing for > Android? > >> ActionScript 3 based content is supported on AIR for Android. > >> ActionScript 1 and 2 is not supported and will not work. > >> > >> Can I re-use existing Flash code and content when targeting the Android? > >> Yes, assuming that that code and content is written in ActionScript 3, > >> and does not use any of the APIs or functionality not available on the > >> device. > >> > >> I still wonder how we could have AS2 code in the application? > >> > >> On Thu, Aug 12, 2010 at 1:17 PM, P T Withington <ptw at pobox.com> > wrote: > >>> Max made this change recently as part of > >>> > >>> http://jira.openlaszlo.org/jira/browse/LPP-9106 > >>> > >>> which shows the files affected. > >>> > >>> I think we should back out the preloader changes, because they are not > >>> related to the bug, and because of the reasons I cite below. > >>> > >>> On 2010-08-12, at 07:07, Raju Bitter wrote: > >>> > >>>> How is that implemented, Tucker? Where is the source code for the > >>>> progress bar? > >>>> > >>>> And I agree with you, we don't need a progress bar any more. > >>>> > >>>> On Thu, Aug 12, 2010 at 1:03 PM, P T Withington <ptw at pobox.com> > wrote: > >>>>> That would be bad. > >>>>> > >>>>> I noticed recently that Max enabled a 'progress' feature by default. > >>>>> Personally, I don't like it. I actually feel like the progress > >>>>> notification slows down the loading of the app: both psychologically > >>>>> (because I associate progress notification with things that are slow) > and > >>>>> actually (because there are CPU cycles used in the progress > notification > >>>>> that could better be used by getting my app going). > >>>>> > >>>>> On 2010-08-12, at 06:40, Raju Bitter wrote: > >>>>> > >>>>>> Testing the AIR runtime today I ran into an error when running the > AIR > >>>>>> application, which as packaged using the debug switch on (-target > >>>>>> apk-debug). > >>>>>> "Your application is attempting to run ActionScript 2.0 code, which > is > >>>>>> not supported on smart phone profile". Here's a screenshot of the > >>>>>> error message: > >>>>>> http://www.flickr.com/photos/semanticmemories/4884408977/ > >>>>>> > >>>>>> Are we using AS2 code in the LFC - even for the SWF9/10 runtime? > Might > >>>>>> that be the preloader? That would be my guess. > >>>>>> _______________________________________________ > >>>>>> Mobile mailing list > >>>>>> Mobile at openlaszlo.org > >>>>>> http://www.openlaszlo.org/mailman/listinfo/mobile > >>>>> > >>>>> > >>> > >>> > >> > >> _______________________________________________ > >> Mobile mailing list > >> [email protected] > >> http://www.openlaszlo.org/mailman/listinfo/mobile > >> > >> > > > > _______________________________________________ > > Mobile mailing list > > [email protected] > > http://www.openlaszlo.org/mailman/listinfo/mobile > > -- Henry Minsky Software Architect [email protected]
