0 Replies Latest reply on Jan 13, 2015 8:39 AM by Youtch

    error #2004 displayed when using navigation.pushView()

    Youtch

      When I'm going from MyView1 to MyView2 by using navigator.pushView, while the display of the controls into MyView2 I get the error #2004 "One of the parameters is invalid". What is correct : the build of the graphic control, because the CreationComplete event of my view is launched completly, I've used the trace function to test it. After that error, all the application's controls are freezed, even the ViewMenuItem of my menu's controls.

      Help me please

       

      This is my error stack :

      Thread principal (Suspendu : ArgumentError: Error #2004: One of the parameters is invalid.)

      flash.display::Graphics/drawRect[aucune source]

      spark.skins::ActionScriptSkinBase/http://www.adobe.com/2006/flex/mx/internal::drawMinimumHitArea

      spark.skins::ActionScriptSkinBase/updateDisplayList

      spark.skins.mobile::ImageSkin/updateDisplayList

      mx.core::UIComponent/validateDisplayList

      mx.managers::LayoutManager/validateClient

      mx.core::UIComponent/validateNow

      spark.components::ViewNavigator/completeTransitionPreparations

      spark.components::ViewNavigator/prepareViewTransition

      flash.events::EventDispatcher/dispatchEventFunction[aucune source]

      flash.events::EventDispatcher/dispatchEvent[aucune source]

      mx.core::UIComponent/dispatchEvent

      mx.managers::LayoutManager/doPhasedInstantiation

      mx.managers::LayoutManager/doPhasedInstantiationCallback