Bruno, Try changing this line:AppEvent.addListener(AppEvent.WIDGET_RUN, checkIfLinkWidget);To this:ViewerContainer.addEventListener(AppEvent.WIDGET_RUN, checkIfLinkWidget);
AppEvent.addListener(AppEvent.WIDGET_RUN, checkIfLinkWidget);
ViewerContainer.addEventListener(AppEvent.WIDGET_RUN, checkIfLinkWidget);
Bruno, You would only be getting this error if you are attempting to use this Flex Viewer 2.4 widget in an earlier version.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.