Copy/save file for flash player

I'm trying to create a script where the user can launch a download/Save/copy of a file from my HARD drive to a flash drive. It would seem that baCopyProgressFile would be ideal for this situation, but I'm authoring on an Intel MBP and apparently not Buddy API is compatible with Intel Macs at the moment. I don't need that this projector to display on the MBP (it is really just a quick proof of concept project that is running locally), so any suggestions or alternatives would be very useful. Thank you.

> With your latest code and I'm now getting an answer '1'.

1 means that your path of the source file is not valid. I posted this example in the case
you wanted to copy from a subdirectory (in the case that I posted, a)
folder named specifically "movies").
Error codes Buddy API are in the docs. I don't know what the docs
Take a Mac - mine is a Windows .hlp file
The second block I posted /should/ take care of the location of your Flash
drive * without * using lines of type Unix (which may be tripping Buddy API).
To copy a file named "480p.mov" to your source folder to the first
removable drive found try the following:
--
on mouseUp me
lDisks = baDiskList()
lTargets =]
Repeat with aDisk in lDisks
If (aDisk, "type") baDiskInfo = "Removable" then
-found (target)
lTargets.append (aDisk)
end if
end repeat
count (lTargets) case of
0:-no removable disks to copy to
alert 'drive not found '.
1:
tSource = _movie.path & "480p.mov".
tDest = lTargets [1] & "480p.mov".
me.mCopyFile (tSource, tDest)
otherwise:
-more than one removable disk
-you will need to create a routine to determine
-of which you want to copy, or present the user with
-a selection they may choose to
tFolder = baGetFolder (lTargets [1], ' select a file to copy to: ",")
0, "Choose folder",-1, -1)
If (tFolder = EMPTY) then exit
tSource = _movie.path & "480p.mov".
tDest = tFolder & "480p.mov".
me.mCopyFile (tSource, tDest)
cases of termination
end

on mCopyFile me, aSource, aDestination
OK = baCopyFileProgress (aSource, aDestination, "IfNewer", "Copying
Film on the disc... "," Cancel ", 0) '.
If OK <> 0 then the attention of string (OK)
end

Tags: Director

Similar Questions

  • Have Windows XP - How to upload photos of my files for flash player?

    I have Windows XP - How can I upload photos from my files for flash player?

    Something to try...

    When it is inserted into a USB port... If the Flash drive
    be recognized at... Start / computer with a drive letter.

    If you right-click a file or a group of selected files and
    in the menu... Choose... Send to... and select the drive
    letter corresponding to the Flash Player... files
    must be copied into the Flash Player.

  • Save a swf file for flash player liked 10.3 in Flash CC

    Hello

    I work with Flash CC and need to backup my files swf for Flash Player more than 10.3.

    Is it possible to do?
    In addition to working with CS6 yet ;-)

    Thanks for all the help!

    In the meantime, I found a very good answer myself.
    For all those who might need, too:

    Re: Flash Pro CC can publish for flash player 9?

    :-)

  • Are these correct files for flash player 11.2.202.229?

    Use Vista 32-bit with IE8

    Installed new 11.2.202.228 flash drive appears without a problem. However, when I look at some of the files, they seem to look much different from the previous.

    For example, the active x file use to look like this

    Flash11g.ocx

    Now a new looks like this

    Flash_32_11_2_202_228.ocx

    I also see FlashPlayerApp (exe file) in C:\WINDOWS\system32\

    If the FlashPlayerApp should show in C:\WINDOWS\system32?

    And Flash_32_11_2_202_228.ocx the good flash player for windows Vista 32 bit?

    Hi FPagain,

    Yes, all files are installed in the right place and FlashPlayerApp.exe should be in C:\Windows\system32.

    -Stephen

  • trying to save bookmarks for flash drive

    I am trying to save bookmarks for flash player. I do not see "Organize Favorites" under the heading or bookmark bookmarks tools. Any suggestions?

    Organize bookmarks has been renamed to display all bookmarks in the version of Firefox 4.0.

  • cannot copy pictures or my movie for flash player files more. Flash player is not filled to the top. Used last 3 weeks ago. You are using windows xp, media center edition 2005.

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    cannot copy pictures or my movie for flash player files more. Flash drive
    is not filled to the top. Used last 3 weeks ago. Using windows xp, Media Center
    Edition 2005.

    ===================================
    Maybe there is a small slider that changes the drive to
    read-only?

    And... There may be a limit to the number of files that can
    Add in the root directory of the drive. This can be
    fixed by adding a few folders to sort the files.

    John Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • How can I save the iphoto for flash player library

    How can I save the iphoto for flash player library

    Where is the flash player? It is external, or what?

    Barry

  • When copying a file in flash memory, a shortcut of the file is created with! Why is this happening?

    When I copy a file in flash memory a shortcut depending on the size of 1 KB from the file is created with the original?

    is this a virus?
    What is the solutions for that?

    Sorry, I misread your question. I thought that you receive only a shortcut.

    I don't know what would cause. Have you tried with another flash drive? Have you tried to format the flash drive that you use, when there is nothing on what you need?

    It won't hurt a thing to check for malware. Download the free version of this tool. First check the updates and then run a full scan.

    Malwarebytes Anti-Malware
    http://www.Malwarebytes.org/products/malwarebytes_free

  • code Ox643 error when you try to install the update of security for flash player (KB923789)

    I get the error code Ox643 when you try to install the update for flash player (KB923789) security - after Mr fixit running and the application of other measures recommended, I still have the error code and get the installation error code. What should I do now?

    Is Adobe Flash Player v11.3.300.257 (or higher) installed? Test here using Internet Explorer (only!)-online http://www.adobe.com/products/flash/about/

  • My utude works more asking for flash player that I already used let me down load new

    My utude works more asking for flash player that I already used let me down load new

    It works now

    Ms

  • How can I change a default install for Flash Player/ActiveX directory

    Hi all

    I try to change a default installation directory:

    -flashplayer18.0.0.209.msi

    -flashplayeractivex19.0.0.000.msi

    I run the following command:

    C:\Windows\System32 > msiexec /i C:\Users\User\flash\flashplayeractivex19.0.0.000.msi INSTALLDIR = "C:\Test" /qb

    The 'Test' folder is created, but completely empty.

    so, I can change a destination for Flash Player folder?

    Thank you

    Hello

    You cannot change the default location for installing Flash Player.  Flash Player installs in a specific directory and browsers know what directory to locate the Flash Player in.

    --

    Maria

  • Select for Flash Player playback device

    I want to be able to select a devive reading for Flash Player under Win 10. I don't want to rely on the default device defined on OS to win 10

    I see that this has been raised before on this forum, but there seems to be no published offers from 2013

    Y at - it no progress here? Is this feature available now, or are there plans to incorporate it into a future rrelease?

    Michael

    There is no intention to change this behavior.

  • Question single skier on password for Flash Player

    I keep saying to update Flash Player, but my Adobe password is not accepted for Flash Player sign in.  How can I get a password for Flash Player?

    This password is presented by your operating system and is designed to prevent you from accidentally installing the software.

    If it comes to your personal computer and you don't need a password to connect to the computer when it first starts, you can probably leave the password blank and click OK to go to this prompt.  If it comes to your personal computer and your normal password does not work, make sure that CAPS LOCK SHIFT is off, and then type the password carefully.

    If this is your work machine and he asks an administrator password, well, you will need to have a conversation with your computer friendly.

    If you are still puzzled, you may need to reset the password on your Mac:

    http://support.Apple.com/kb/PH18653

    http://support.Apple.com/kb/PH14325

    http://support.Apple.com/en-us/HT201240

  • Publish for Flash Player 10.1?

    Hello!

    I just installed Flash CC and realized that the version of Flash Player low, I can choose in the settings of publication is 10.3. I use CC Flash to create banner ads for Google Adwords, which only supports Flash Player 4 - 10.1

    Is there a way that I can publish for Flash Player 10.1? I really don't want to reinstall CS6!

    Best

    Yes.

    Here are some similar steps: s6 http://stackoverflow.com/questions/11320405/compile-for-flash-10-1-in-flash-professional-c

  • Flash Pro CC can publish for flash player 9?

    Hello

    It is possible to publish for flash player 9 Flash cc. Most of the flash advertisements still requires flash player 9 as the latest to publish to version.

    Thank you

    Andrew

    10.3 is as far as you can publish unless you add a SWC from older playerglobal for publication options.

Maybe you are looking for

  • Update hard drive to SSD

    Hello I have a 2012 end mac mini, hearts, i7, 1 TB. Recently, I got a SMART error, and now it has deteriorated further. I have a time machine backup. I have another HARD drive with the operating system. So if the internal HARD drive failed completely

  • Problem with display of scatterplot

    Hello In the joint Test TCP host read three peaks New (events) .vi I try to view a data file in a series of point clouds trace. The data is read in a global, then functional shape based on the selection of the axis and displayed. Each parcel allows y

  • Citrix

    My client connects to our program on a site hosted by Citrix.  The HP Laserjet P2035n printer does not print.  I can see the job of getting to the printer and outside Quebec, but nothing prints on the printer. After that a lot of time spent with the

  • I can't change my desktop to something other than the default BLUE in windows XP.

    I have always used one of my favorites under my desk, and who suddenly disappeared.  I can't change any image or the other widnows XP desktop options.  I can how ever to change the color of the desktop.

  • Windows 7 Windows Update error 80070422 and empty list updated

    Hello. Problems with Windows Update, got above error when you try to run it. Established that the Windows Installer of Module service is disabled (not by me, I suspect some malicious programs). Enabled and started this service. Ran Windows Update the