How to copy images from another MC in reversed order??

Hi everyone,
I'm new to AS3 and have been fighting and searching for a solution to this problem for a week now, and I'm VERY close!
I crated a MC holding of a series of images (about 50) and I jump around in it using plenty AS3 scripts (most of which I don't fully understand yet, but I'm working on that to! )
I had to find a way to "rewind" (= play backwards) the MC. Since there is a stop(); command in almost every frame, prevFrame does not work and if I put that in a loop, it goes WAY to fast (but worked).. So I could think of only one way...
Create a new (reverserd) MC with the same image sequence ald reverse it manually and play that one.
This all works fine (very proud of it ).
Now my question:
To get this to work for multiple image sequences, I have to load all images twice (once in MC_1 and again in MC_2 and select them and reverse them).
Not a big one, unless you want to create MANY of those SWF's...
Is it possible to load the 50 images of the first MC in reverse into the second MC dynamically? JUST the images, noting else.
extra info: the MC_2 is already in the lib(empty) and placed on the stage.
something like:
var pointer:Number=1;
for (var:i:Number=50;i>=0;i--) {
get MC_1.picure(var);
put it in MC_2.frame(pointer);
pointer = pointer + 1;
All help is welcome and please take into account that I have little experience and copy most of my scripting from people like you
T.I.A.
Melluw

I tried your advice (thanks for that)
The event I already have is the mouse leave
I //-d out the part I removed (what did work)
The code I ended up with is:
function Start() {
stage.addEventListener(Event.MOUSE_LEAVE, cursorHide);
function cursorHide(evt:Event):void {
var currFrame = MC_1.currentFrame;
if (CCW == true) {  //it is true in this case
  movStart = (50 - currFrame);
else {
  movStart = currFrame;
if (movStart>25) {
  MC_1.prevFrame();
// removed swapChildren(MC_1, MC_2); // This is the part I removed
// removed MC_2.gotoAndPlay(movStart);
else {
  MC_1.gotoAndPlay (movStart);
And if I leave the stage on the part where movStart is indeed >25
Nothing happens,
So I guess this is not what you meant
Subject: Action Script 3 how to copy images from another MC in reversed order??
I cannot direct you in the loading of the images approach, it will be too complicated, and will probably not work anyways... when you move away from a frame that has dynamic content, you lose the content.  So basically, there is nothing practical in taking that approach.
I do niot understand what the problem will be with the enterFrame/prevFrame approach. If everything you can do with the mouse is already used (which I doubt) by the first mc, then there is nothing else you can do with this file.  You probably just need to rethink your control scheme.  You should search Google for "AS3 slideshow tutorial", and to lighten up your design, add "XML" in that search.
>

Similar Messages

  • How to copy images from iPhone folders other than camera roll?

    How to copy images from iphone folders other than camera roll?
    Images in these folders are synced to iPhone from different laptop and I need to download them in my laptop. I am able to download and access only those pics which are present in Camera Roll folder.Remaining pics are in different folder and also appearing in Photo Library from all folders.
    Same problem is with iPod touch as well.

    - Via a computer program like PhoneView or Touch Copy
    - By using an app like Photo Transfer

  • How to copy image from client machine to server machine?

    Hi ,
    Im doing a project in web applications...im using tomcat 5.0....when clients (using different machine) upload a image i need to make a copy of that in my "webapps" folder...can u help to solve it?
    The following code is working only in my machine..but not working when i upload from remote machines....
    can u sort out?
    try
                   FileInputStream input = new FileInputStream(fileSource);
                   byte b[] = new byte[input.available()];
                   input.read(b);
                   input.close();
                   fileDest.mkdirs();
                   FileOutputStream output = new FileOutputStream(new File(fileDest, fileSource.getName()));
                   output.write(b);
                   output.flush();
                   output.close();
              catch(IOException e)
                   System.out.println(e);
              }

    Hi,
    I having same problem. did you find solution for your issue.
    Can you please give your source if you dont mind?
    Thanks

  • How to copy files from another computer

    Hi,
    My daughter is logged into my server from her home. We ar trying to copy files using select all copy/ paste to my folder on the server.
    We have copied about 82 images all jpegs. but thy all say 0 bytes.
    What did we do wrong?
    Thanks
    Martin

    Try to drag and drop the images to the server share.
    While your description of your actions do not imply an error of execution, it might be worth trying an alternate method.
    Also, what is your daughter's computer?  Is it Windows?  Since this is the OS X Server discussion thread, I will assume the server is a mini running Mountain Lion.

  • How to copy Report from another company (using PLD)

    Hi..
    i create a new company, with empty data.
    Because i stop the training company and now start with live company.
    In training company, i created so many report, and now i must copy the reports to live company.
    I try to open two SAP window, and i open Print Layout Designer (PLD). Then i try to select all and copy then i switch to PLD in live company, but i cant paste it.
    So.. how to solve this problem?
    Thanks for your help.. thankyou...
    Regards,
    Henry

    I try to install Copy Express Addon, but i've the problem :"Copyexpress addon can only be installed in SAP Business One"
    Maybe because i already update my SAP B1 to higher version. I try to ask my software vendor tommorow morning.
    soon I will update the progress here
    thanks

  • How to copy file to another server from database using FTP in oracle

    How to copy file to another server from database using FTP in oracle.
    Please do the needfaul.

    Billy  Verreynne  wrote:
    BluShadow wrote:
    Not to mention that some FTP servers can return more than one return message per operation whereas others may return one message for the same operation.I had the problem using the LIST command to determine if a file exists on the server. Cannot be determined via the FTP server's return code. Which means parsing and checking the text response from the server to the command. And this vary from server to server.
    But the basics were quite easy to code. The entire package is 500 lines, includes comments and blank lines for formatting, and supports the basic FTP client command set. Not really a complex piece of software to write - but I found that many developers seem to think that writing network socket software is complex. Not really the case...Mine's a big larger, but incorporates functionality similar to what Chris provided in his, such as being able to use SQL to query a remote file using pipelined functions, or functionality to write the results of a query directly to a remove file.
    :)

  • I have macbook pro 13" I want to know how to copy files from my mac to the external Toshiba Hard Drive. I can't even delete files from my external hard drive. please help me my macbook HD is almost full and I have to copy my images to the Toshiba HD

    I have macbook pro 13" I want to know how to copy files from my mac to the external Toshiba Hard Drive. I can't even delete files from my external hard drive. please help me my macbook HD is almost full and I have to copy my images to the Toshiba HD

    To delete files from your external HDD, attach it to your MBP and drag the unwanted files to trash and then empty trash.
    Then you select the files that you want to transfer by 'drag and drop' to the external HDD and trash the files on your MBP.
    Ciao.

  • How can i copy songs from another library to my itunes library with homesharing?

    How can i copy songs from another library to my itunes library with homesharing?  I see the other libraries, but cannot drag the songs into my library.  The help window says to use the "show menu" at the bottom, but I don't have that menu with itunes 11.

    You can do this in 2 ways.
    1) You can enable the sidebar and you can drag and drop like you used to be able to.  To turn on Sidebar in iTunes 11, go to View > Show Sidebar
    2) Another way is to connect to your Home Share from the drop-down menu from the left (where it says Music) and select your Home Share.  Once you are connected to your Home Share, select Music and you should see a button that says "All Items" and on the right, you should see the Import button.  To copy, select the songs you want to import and then click on Import.

  • How to copy information from a user account's Security tab of Active Directory User and Computer Security tab to another user account?

    Hi, I'm using vs2012
    Grammatically, by C# code, I need to copy a user account's Security (from ADUC Security tab) and apply it to a new user account I created by code.  My application creates new AD accounts when needed.  I need to duplicate/copy attribute from another
    user account that we use as a base template.  I can copy most other attributes through property["xxxxx"] but how do I copy all that permission access information under the ADUC Security tab?
    How can I do that?  Thank you.
    Thank you

    I would recommend asking them in C# forums: https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=csharpgeneral&filter=alltypes&sort=lastpostdesc
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • How do you Automatically Copy Images From Camera?

    I would like to create an AppleScript that will run when I plug in my digital camera. Here is what I cannot figure out.
    How to make it run when the camera is plugged in.
    How tow to copy images from camera to a designated folder.
    Thanks!

    You can do all you requested - without 'AppleScript'.
    01. Connect your camera launch 'Image Capture' ('/Applications/' folder - if it does not automatically launch.
    02. Select the 'Image Capture, Preferences...' menu item.
    03. Click on the 'General' tab.
    04. From the 'Camera:' 'When a camera is connected, open:' pop up menu - select the 'Image Capture.app' menu item.
    05. From the 'Devices' menu select your camera from the menu items list. A window will appear with the title of your camera.
    06. From the 'Download To:' pop up menu select where to save the camera's photographs. You can select any folder anywhere on your hard disk drive(s).
    07. Click the 'Options...' button, and from the drop down sheet click on the 'Connection Options' 'Automatically download all items' check box - to add a check mark. There are other options you may have be interested in.
    08. Click on the 'OK' button.
    09. If you want to download the photographs now - click on the window's 'Download All' button. Or, to test the above setting changes - quit 'Image Capture' and disconnect your camera. Then reconnect the camera - and watch the above setting changes take effect.
    Note:
    The above automatic action can also happen if the storage device of the camera were inserted into a USB digital camera card reader. So long as apply the Steps above, and you select the USB digital camera card reader from the 'Devices' menu's menu item list in Step 05 above.
    'Image Capture' is not scriptable; but, may be control-able via 'tell application "System Events" to tell process "Image Capture" ....
    When a camera is connect to the Mac, the storage card of the camera is mounted onto the 'Desktop' and also listed, as an alias, in the (invisible) '/Volumes/' folder.
    Now that you know the name of the storage card ... you can create a 'Folder Action Script' (an example is presented below) and save it into the '/Library/Script/Folder Action Scripts/' folder,
    Open the '/Volumes./' folder (in 'Finder' via 'Go, Go to Folder' - enter '/Volumes/').
    Perform a right button click ('<control> - click, for single button users) on the 'Volumes' folder's window, and select 'Enable Folder Actions' (if not already).
    Rpeat the right button click (<control> click) and select 'Attach a Folder Action...' - selecting your script ('Volumes_FAS.scpt' as shown below).
    Below is a 'Folder Action Script' example - where you will have to substitute 'NO NAME' with the name of your digital camera's storage card's name.
    -- --- Save code as a script with the name 'Volumes_FAS.scpt' --- --
    on adding folder items to this_folder after receiving added_items
    set myStorageCard to "NO NAME" -- The name of my 1 GB stroage card. The name of your card may differ.
    repeat with i in added_items
    tell application "Finder" to set tName to (name of i) as string -- Obtain name of mounted storage card.
    if (tName is equal to myStorageCard) then my handle_card(i) -- If my storage card, continue processing.
    end repeat
    end adding folder items to
    on handlecard(localVolume)
    set folder_Path to ((path to desktop folder from user domain) as string) -- Path to 'Desktop' folder.
    set download_Folder to "NO_NAME Photographs" -- Name of folder to store storage card's items (files and folders).
    -- create download_Folder, if it does not exists.
    tell application "Finder" to if (not (exists folder (folder_Path & download_Folder))) then make new folder at (folder_Path as alias) with properties {name:download_Folder}
    -- Duplicate all the items (files and folders) of the storage device to the '~/Desktop/NO_NAME Photographs' folder.
    tell application "Finder" to duplicate items of local_Volume to (folder_Path & download_Folder) as alias
    end handle_card
    -- --- End of code --- --
    Review 'Finder's dictionary (in 'Script Editor') for the various ways to incorporate 'duplicate ...'.
      Mac OS X (10.4.4)  

  • How to copy data from one BB to another via Desktop Manager

    I've got two BBs (8900 and 9300), both actively in use and with different data (contacts, memos, etc.) on them.
    I need to copy my tasks, memos and contacts from 8900 to 9300. I tried "switch phones" option, but it substitutes data, while I need to syncronize it, so that data from 8900 is added to what is currently is on the 9300. 
    Is it possible to do it via Desktop Manager? It seems there was somewhere an option "copy data from another BB", but I can't find it in the latest Desktop Manager version.

    You would need to use Desktop Mangaer to sync BB1 with a local PIM program (such as Outlook or Lotus Notes) to get the information off BB1. Then use Desktop Manager to sync BB2 with the same PIM program. 

  • How do I copy image from web and paste into Open Office Document

    Whenever I choose Copy Image from Safari and then paste into open office, I only get the image url and not the image. I am sure that I am not selecting Copy Image Address.
    When I copy images from my iTunes album artwork and paste into open office it works fine.
    Any thoughts?

    I have done the same thing using Firefox and it works just fine. It seems to be an issue with Safari.

  • How can I copy bookmarks from another PC without using the resotre not to loose the ones on the curtrent PC

    I want to copy bookmarks from another PC not using the restore function inorder not to delete bookmarks on current PC

    Export them to an HTML file, then import the HTML file to the other computer, that will add the bookmarks to those that already exist.
    * https://support.mozilla.com/kb/Exporting+bookmarks+to+an+HTML+file
    * https://support.mozilla.com/kb/Importing+Bookmarks+from+an+HTML+File

  • How do you copy images from the internet and paste them on Microsoft Word

    I'm trying to copy images from the internet and trying to paste them on to Microsoft Word and Powerpoint for an assignment but it's not working. I tried to use copy and paste and then paste special but nothing is working. Saving the image onto documents and trying to open them on Microsoft Word still doesn't work.
    PLEASE HELP!!!
    Thank you

    Hi Lily, and welcome to Apple Discussions.
    A screenshot can capture almost anything you're viewing. Hold the command and shift keys down, then press the 4 key and release all keys. Hold down the mouse button and drag the cursor to the size/area of the image you want to capture. Release the mouse button and you've captured the image. Remember that it is the individual's responsibility to respect copyright laws.

  • How to copy file from application server

    Hello experts,
    How to copy file from one folder of application server and paste it to other folder of application server(application server is same)?
    Is there any function module exists???
    thanks in advance
    Saurabh

    Hi you can use this function module to move a file from application server to another folder on application server.
    call function 'WS_FILE_COPY'
               exporting
                    destination = m_destination
                    source      = m_source
               importing
                    return      = return.
    Plus u can use this function module to delete the file from that folder from which u want to replace it.
          call function 'WS_FILE_DELETE'
               exporting
                    file   = m_source
               importing
                    return = return.
    The above FM can help u copy a file from one folder to another and delete the file from that folder.

Maybe you are looking for

  • I need to open a pdf to word document

    I have just download a pdf file, saved it and now wish to open it as a word document and add text. I cannot open this document - the prompt says I need to select a programme to open the document but I cannot find one that will work  WHAT DO I NEED TO

  • Whatsapp problems in my iPhone 4

    Hey guys; i am using my iPhone 4 on version 4.3.5; and my whatsapp version is 2.6.7, while i pressed the home button to return to the main menu of my iPhone; my whatsapp went offline and i couldn't receive any whatsapp messages from my friends; i hav

  • Do I really still have to remove all spaces from file names?

    My staff made a bunch of videos with Camtasia, and now we're integrating them into a web site. Even though I told them "no spaces"... Now, there are hundreds of files with spaces. Do I really still need to remove them? I know back in the day the %20

  • Two Apple IDs one one computer sharing music files and want both to have iTunes match for iPhones

    My wife and I share one windows computer. We each have our own iTunes accounts but share the music files.  We want to both use iTunes Match but I can't turn that on on both accounts.  Any thoughts?

  • CVU failing with error msg(PRVF-5636 : The DNS response time for an unreach

    I am installing 4Node 10g RAC on OEL5.3, i downloaded CU from OTN and getting below warning messages. Checking the file "/etc/resolv.conf"; to make sure only one of domain and search entries is defined File "/etc/resolv.conf"; does not have both doma