Great Hugo, more PRs are very welcome! :) El vie., 11 sept. 2020 a las 10:34, Hugo Ferreira (<[email protected]>) escribió:
> Thank you. > Yesterday, I checked several approaches along the time to solve this issue. > > I see an unfinished file reference save and an effort to emulate 100% the > Flex/Flash behaviour. > > Before go to sleep, I put filereference working on my side. > I will do a PR as soon I can but my intention is not to 100% emulate Flash > behaviour. About files, I don't think that is the way to go and many > already tryed it. > > Alex Harui <[email protected]> escreveu no dia sexta, 11/09/2020 > à(s) 06:42: > > > This Github issue may be helpful. > > https://github.com/apache/royale-asjs/issues/838 > > > > HTH, > > -Alex > > > > On 9/10/20, 5:10 AM, "Harbs" <[email protected]> wrote: > > > > Agreed. I’m not sure when I’m going top have the time for that > though. > > > > > On Sep 10, 2020, at 1:11 PM, Carlos Rovira < > [email protected]> > > wrote: > > > > > > Hi, > > > > > > Since Royale is about encapsulating code that works through > > platforms (and > > > in JS cross browser), I think it would be good to have a bead for > > that at > > > Core or Basic level. > > > > > > just my 2... > > > > > > El jue., 10 sept. 2020 a las 11:45, Harbs (<[email protected] > >) > > > escribió: > > > > > >> There is also a FileReference implementation in the mx package. > > >> mx has a DownloadButton which does what you want. > > >> > > >> You also might want to know about URLUtils. > > >> > > >> HTH, > > >> Harbs > > >> > > >>> On Sep 10, 2020, at 12:33 PM, Hugo Ferreira < > > [email protected]> > > >> wrote: > > >>> > > >>> Sometimes it easy to forget that Royale at the end of the day IS > > JS :) > > >>> > > >>> Piotr Zarzycki <[email protected]> escreveu no dia > quinta, > > >>> 10/09/2020 à(s) 05:53: > > >>> > > >>>> Hi Hugo, > > >>>> > > >>>> I will just shot you with the tip - How would you do that in > pure > > JS ? > > >> - I > > >>>> think this maybe your answer ;) > > >>>> > > >>>> Thanks, > > >>>> Piotr > > >>>> > > >>>> czw., 10 wrz 2020 o 01:59 Hugo Ferreira <[email protected] > > > > >>>> napisał(a): > > >>>> > > >>>>> I have a ByteArray to comes from the server side. > > >>>>> I would like to open now the file. > > >>>>> With Flex (AIR), I use FileStream. > > >>>>> What's the equivalent here. > > >>>>> I would like to open the file. > > >>>>> If not possible (for security reasons since we are on web > > space), at > > >>>> least > > >>>>> download the file, so the user can click on it. > > >>>>> > > >>>>> What is the Royale approach/code, for that ? > > >>>>> > > >>>> > > >>>> > > >>>> -- > > >>>> > > >>>> Piotr Zarzycki > > >>>> > > >> > > >> > > > > > > -- > > > Carlos Rovira > > > > > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C8be5f3298e014f69e40708d855827aab%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637353366181662817&sdata=wkqL7PEbVzcTI%2BqVWKCzTzxFj6vPLO6BDXt5CkmHqkE%3D&reserved=0 > > > > > > > -- Carlos Rovira http://about.me/carlosrovira
