actionscript 3 - FileReferenceList doesn't fire events -


select , cancel events not fired, did in new project make sure problem didn't came part of code.

"event fired" never appears in output when click on "open" after selecting files filereferencelist.browsing dialog. tried filereference , didn't work. other events other elements works (like addedtostage, click, touch, etc). using air as3 projector project on flashdevelop air 14 , flex 4.6.0.

this main.as :

public class main extends sprite  {     public function main():void      {         var asd:filereferencelist = new filereferencelist();         asd.addeventlistener(event.select, traceresult);         asd.browse();          trace("filereferencelist browsing...");     }      public function traceresult(e:event):void     {         trace("event fired");     } } 

application.mxml :

<?xml version="1.0" encoding="utf-8" ?>  <application xmlns="http://ns.adobe.com/air/application/14.0">  <id>filereferencelisttest</id>  <versionnumber>1.0</versionnumber>  <filename>filereferencelisttest</filename>   <name>filereferencelisttest</name>  <description></description>  <copyright></copyright>   <initialwindow>      <title>filereferencelisttest</title>      <content>filereferencelisttest.swf</content>      <systemchrome>standard</systemchrome>      <transparent>false</transparent>      <visible>true</visible>      <minimizable>true</minimizable>      <maximizable>true</maximizable>      <resizable>true</resizable>  </initialwindow>   </application> 

in setupsdk.bat sdk using : flashdevelop\apps\flexairsdk\4.6.0+14.0.0

capabilities version : win 14,0,0,176 (as asked in question one). new flash, if answers contains compiler changes or stuff not easy find (or check) precise on how it. time :).

your above code working .please check other things. thing there problem


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -