title: Get dispatchEvent data as a result
body: <p>Here i am working on native extension in which i send/dispatch data in the dataevent like:</p>
  
  <pre><code>public static const PASSING_VIDEO_URL : String = "PASSING_URL";
  dispatchEvent( new DataEvent( PASSING_URL,true,false,level) );
  </code></pre>
  
  <p>Now on eventlistener</p>
  
  <pre><code>cd.addEventListener( CD.PASSING_URL, onURL );
  
  protected function onURL(event:Event):void
  {
      txtUrl.text = event.data;
      txtUrl.text = event.text;
  }
  </code></pre>
  
  <p>I got that data on <code>event.data</code> when i watch. but i write as above. <code>event.data;</code> Or <code>event.text;</code> then i am getting error.</p>
  
  <p>So, my question is how can i get <code>event.data</code> or <code>event.text</code> ?</p>