Using Flash 8's FileReference class (flash.net.FileReference), you can get a
reference to a local file and upload it to a server.  However, Flash cannot
access the bytes of the file due to security restrictions.

If you have a Flash movie in the "remote" sandbox (the SWF file is hosted on
the internet) and you want to use it to play another SWF which is on your
local computer, you would: 

1) Upload the file to the server using FileReference
2) Download the file from the server into Flash using loadMovie

If you are using AS3, you can also use the URLLoader class to load the swf
as binary data, modify it, and then:

3) Upload it back to the server
4) Download the file back to the client

Kind of round-about, but doable as long as the files aren't too large.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin
Weiser
Sent: Friday, May 05, 2006 8:05 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Has an SWF file any influence over the
filesystem??????

you mean Zinc.

or other swf2exe, like screenweaver....

MW


----- Original Message ----- 
From: "Marcelo de Moraes Serpa" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Friday, May 05, 2006 1:41 PM
Subject: Re: [Flashcoders] Has an SWF file any influence over the file 
system??????


> Hello,
>
> SWF alone is contained into the player space, and the player (neither the
> default flash projector) hasn´t any functions (and can´t have if you think
> about it) to handle the file system. However, through fscommand and other
> techniques (such as the new ExternalInterface API), you can access 
> features
> (functions and methods) from a external application, that would for 
> instance
> access the file system for you and return the data to the swf, and you 
> would
> be doing that if you were using Zing for example.
>
> - Marcelo Serpa.
>
> On 5/5/06, Serge Jespers <[EMAIL PROTECTED]> wrote:
>>
>> Not directly from the SWF but if you use something like Zinc (http://
>> www.multidmedia.com/) you can do a lot with Flash projectors.
>>
>> Serge
>>
>>
>> > Hi comunity, i'm looking for an answer. Is there any way to acces
>> > to my
>> > file system from "Flash" (an SWF) ????
>> >
>> > Thanks anyway.
>> >
>> > Jorge
>>
>> _______________________________________________
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>>
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
> 


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to