-
Does anyone know if it is possible to copy files from a CD-Rom projector application to the users C:\ drive in Flash MX
-
You can not do this with flash alone. You can use some third party help such as copyFile action of LPFlashEx.
a quick example can be find in
http://www.lpflashex.com/dl/Explorer.zip (54KB)
http://www.lpflashex.com/dl/ExplorerFla.zip (19KB)
Just run the explorer.exe, browse to a file you want to try and click "CopyTo..."
In your project, you can use
LP.exec("copyFile",LP.DefaultDir + FileName,Target);
to copy a file from your projector's folder (you can add subfolder) to the Target. Optionally, you can display save as dialog box to let user choose destination path and filename.
LPFlashEx is free for self use and cost only US$20 for registering standard edition which have 40+ functions including the file explorer examples ones.
You can check our website or email us if you need more info or have any questions.
-
Lifetime Friend of Site Staff
If you're talking about copy a set of files to the C: drive like to install them, why not try a setup utility like Inno Setup? This is what setup tools were designed to do.
Inno Setup (FREE)
http://www.jrsoftware.org/isinfo.php
You can bundle all the files you want to copy to the C: drive in the setup and let the installer do all the work of copying the files.
The installer can let the user choose the destination or you can fix it. The setup procedure can be as interactive or automated as you want.
You can use an EXE created by Inno with Flash 5 or Flash MX without any problems. No NEED to move to a special purpose third party tool to solve this one.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|