Yes Mitch!  Works fine now!!
Thanks!

 
2006/5/18, rs <[EMAIL PROTECTED]>:

This is great, thanks for your solution!

 

Richard

 


Van: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Namens mitchgrasso
Verzonden: woensdag 17 mei 2006 20:16
Aan: flexcoders@yahoogroups.com
Onderwerp: [flexcoders] Re: Flex2B3 Problem with beta3 and FileReferenceList

 

I figured out a solution to this issue. In the examples, the
file:FileReference is local within the function. If you move it so
that it is scoped as a member of the class, the SELECT event is
raised correctly.

public class FileLoader{

      private var file:FileReference;
     
      public function FileLoader():void
      {
            file = new FileReference();
            file.addEventListener(Event.SELECT,OnLoadHandler);
            file.browse();
      }

      private function OnLoadHandler(event:Event):void
      {
            trace( file.name);
      }
}


--- In flexcoders@yahoogroups.com, "rr_gruchalski" <[EMAIL PROTECTED]> wrote:
>
> I'm preety sure they know:
>
http://labs.adobe.com/svn/flashplatform/?/projects/flickr/trunk/src/a
c
> tionscript3/com/adobe/webapis/flickr/methodgroups/Upload.as
>
> Check comments on upload...
>
> --- In flexcoders@yahoogroups.com, "wlbagent" <wlbagent@> wrote:
> >
> > Just trying to keep this thread alive.  Hopefully Adobe is
reading
> it
> > and working the problem.
> > Bill
> > --- In flexcoders@yahoogroups.com, "Tim Hoff" <TimHoff@> wrote:
> > >
> > > It's always frustrating when you try to hit a moving target. 
It
> is
> > > a privilege to be able to get up to speed on Flex, while it's
> still
> > > in development.  I don't really think that it will help you to
> > > include multiple exclamation points here.  You just have to
> realize
> > > that we are at the mercy of the Adobe team until the final
> version
> > > of Flex comes out.  We all are experiencing some frustration
when
> > > new updates are released.  But, please be patient with and
> cordial
> > > to the people at Adobe.  They are doing all of us a favor.
> > >
> > > Thanks,
> > > Tim Hoff
> > > Independent Developer
> > >
> > >
> > > --- In flexcoders@yahoogroups.com, "dpsweb" <daniel@> wrote:
> > > >
> > > > i have some probleman too !!
> > > >
> > > > beta 4 now !!!!!!!!!!!!! again :)
> > > >
> > > >
> > > > --- In flexcoders@yahoogroups.com , "Luís Gustavo Sanabio"
> > > > <sanabio@> wrote:
> > > > >
> > > > > Same problem here.
> > > > > Beta 4 now!!!!!!!!!!!!
> > > > >
> > > > >
> > > > > On 5/10/06, Mark Judd <mark_judd@> wrote:
> > > > > >
> > > > > > Same issue here (on FileReference itself) ...
the "select"
> > > doesn't
> > > > seem to
> > > > > > fire.
> > > > > >
> > > > > > Even their example code doesn't seem to work.
> > > > > >
> > > > > > I'm hoping this is just a change in the API that isn't
> > > documented.
> > > >  I'd
> > > > > > hate to have to wait
> > > > > > for another release to get this one fixed.
> > > > > >
> > > > > > - Mark
> > > > > >
> > > > > >
> > > > > > --- In flexcoders@yahoogroups.com, "Abdul Qabiz"
> > > <abdul.qabiz@> wrote:
> > > > > > >
> > > > > > > I agree, I think it's not working, I just made a quick
> test
> > > to
> > > > see it.
> > > > > > >
> > > > > > > -abdul
> > > > > > >
> > > > > > > On 5/9/06, rs <rs@> wrote:
> > > > > > > >
> > > > > > > > Hi there,
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > My existing code for uploading files worked fine
with
> Flex
> > > > beta 2, but
> > > > > > it
> > > > > > > > in
> > > > > > > > beta 3 the SELECT event is not raised!
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > As in the examples I've added an event listener like
> this:
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > addEventListener(Event.SELECT, selectHandler);
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Then i use browse() to open the dialog, select one
or
> more
> > > > files for
> > > > > > > > upload
> > > > > > > > and hit the 'open' button.
> > > > > > > >
> > > > > > > > This should result in a SELECT event, but not in
beta 3!
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Has something been changed, I couldn't find any
changes
> in
> > > > Flex Beta 2
> > > > > > to
> > > > > > > > Beta 3 Changes?
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Thanks in advance,
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Richard
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Flexcoders Mailing List
> > > > > > > > FAQ:
> > > >
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > > > > > > Search Archives:
> > > > > > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > > > > > > > Yahoo! Groups Links
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Flexcoders Mailing List
> > > > > > FAQ:
> > >
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > > > > Search Archives:
> > > > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > > > > > Yahoo! Groups Links
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS

  •  Visit your group "flexcoders" on the web.
     
  •  To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED]
     
  •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.





    • --
      Flexcoders Mailing List
      FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
      Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




      SPONSORED LINKS
      Web site design development Computer software development Software design and development
      Macromedia flex Software development best practice


      YAHOO! GROUPS LINKS




      Reply via email to