Skip navigation
Currently Being Moderated

Why doesnt applicationComplete work in tabbed view?

Mar 2, 2013 10:21 AM

Im trying to use applicationComplete in a tabbed view, why cant I do this?

I get an error while doing this.

 

Code:

 

<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
  xmlns:mx="library://ns.adobe.com/flex/mx"
  xmlns:s="library://ns.adobe.com/flex/spark" title="Test"
  applicationComplete="applicationCompleteHandler(event)">


</s:View>

 
Replies
  • Currently Being Moderated
    Mar 2, 2013 5:42 PM   in reply to fsoender

    What type of error are you getting, applicationComplete events are only dispached by application types or its subclasses like windowed application, for Mobiole applications, ViewNavigatorApplication and also other Top level Application containers also dispatch applicationComplete events. What are you trying to achieve? every control dispatches creation complete, you can use that instead if you need to call some sort of logic when the control has just been created.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 3, 2013 8:30 AM   in reply to fsoender

    Cannot resolve attribute 'applicationComplete' for component type spark.components.View. mean there is no such event handler (applicationComplete) for view components, use creationComplete instead if you want the code to be called when the component gets created initially.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points