flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Mobile application launch parameters
Date Wed, 01 May 2013 13:30:30 GMT
I think that means that there is a problem verifying onInvoked.  What does the code in there
look like?

On 5/1/13 5:18 AM, "Humberto Sanchez II" <hsanchezii@yahoo.com> wrote:


Trying to pass some parameters to my mobile app on startup.  Finding a dearth of information.
 Latest thing I tried was:

protected function onPreInitialize(theEvent :FlexEvent): void {

               NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, onInvoked);


I wind up with the error listed at the end.  Anyone else have any ideas how to do this?


typecheck AndroidPlayer/onInvoked()

 outer-scope = [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$
flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$
mx.core::FlexSprite$ mx.core::UIComponent$ spark.components.supportClasses::SkinnableComponent$
spark.components.supportClasses::SkinnableContainerBase$ spark.components::SkinnableContainer$
spark.components::Application$ spark.components.supportClasses::ViewNavigatorApplicationBase$
spark.components::ViewNavigatorApplication$ AndroidPlayer$]

                      [AndroidPlayer~[O] flash.events::InvokeEvent[O] Array~[O] *[A]] {} ()

 0:debugfile "/svn/platform/players/trunk/AndroidPlayer/src/main/flex;;AndroidPlayer.mxml"

                      [AndroidPlayer~[O] flash.events::InvokeEvent[O] Array~[O] *[A]] {} ()

 2:debugline 39

                      [AndroidPlayer~[O] flash.events::InvokeEvent[O] Array~[O] *[A]] {} ()

<redacted (Lots)

MERGE CURRENT 73:      [AndroidPlayer~[O] flash.events::InvokeEvent[O] Array~[O] int[I]] {AndroidPlayer~[O]}

MERGE TARGET B73:      [AndroidPlayer~[O] flash.events::InvokeEvent[O] Array~[O] int[I]] {AndroidPlayer~[O]}

VerifyError: Error #1030: Stack depth is unbalanced. 1 != 0.

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at Function/<anonymous>()

at Array$/_forEach()

at Array/http://adobe.com/AS3/2006/builtin::forEach()

at Function/<anonymous>()

at flash.utils::Timer/_timerDispatch()

at flash.utils::Timer/tick()

Alex Harui
Flex SDK Team
Adobe Systems, Inc.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message