View Full Version : HOW TO Copy a scene
avishayil
April 14th, 2007, 10:22 AM
Hi,
I would like to copy one scene from one .fla file to another. How should I do it?
**INCLUDING the actions, layers, etc...
Or alternatively, how do I link to various scene in a flash movie from another movie?
Thank you.
Another Question,
I have an opened menu.
Now I want every time I press on a button, the content of the previous item that pressed will dissappear and the content of the current button will appear.
I have this code, I used LABELS.
on (press) {
if (_global.stat == 1) {
gotoAndStop("shiurimclosed");
gotoAndStop("targilimclosed");
} else if (_global.stat == 0) {
gotoAndStop("shiurimopened");
}
}
but the gotoAndStop("targilimclosed"); is not working, so until I close manually the previous item, the new item is not openning.
How could I fix this?
Thank you.
small_guy
April 14th, 2007, 12:38 PM
In terms of copying the scene info from one .fla to another .fla:
With your cursor highlight all the frames and layers you want to copy. (Do this by left clicking on the first frame of the top layer you wish to copy. While holding the mouse down, drag to the right and downward (downward if you have more then one layer). As you do so the frames on the layers will turn dark, indicating they have been selected.
Once the frames have been selected, release your mouse. The frames should still be dark. Hold down the right mouse button anywhere in the selected frames. A menu appears. Move down it until you find the Copy Frames option.
This will copy everything (graphics, movie clips, tweens, actionscript, etc.) just as it is to the clipboard.
Go to your other .fla. You don't need to add layers in your timeline. When you Paste Frames Flash will recreate the layers for you just as you had them in your original file.
Right click, to select it, on the first frame of your layer. Let go and left click. You'll get the same menu you got when you were copying the frames. Right below the Copy Frames option is the Paste Frames option. Select it. All that you copied from the first file will appear in your new file, including adding the source material to your library in the new file.
I hope this is the answer to the question I think you were asking.
Hi,
I would like to copy one scene from one .fla file to another. How should I do it?
**INCLUDING the actions, layers, etc...
Or alternatively, how do I link to various scene in a flash movie from another movie?
Thank you.
Another Question,
I have an opened menu.
Now I want every time I press on a button, the content of the previous item that pressed will dissappear and the content of the current button will appear.
I have this code, I used LABELS.
but the gotoAndStop("targilimclosed"); is not working, so until I close manually the previous item, the new item is not openning.
How could I fix this?
Thank you.
avishayil
April 14th, 2007, 01:21 PM
Thanks, its working.
Now, please help me with my secondary question:
I have this code, I used LABELS.
Quote:
on (press) {
if (_global.stat == 1) {
gotoAndStop("shiurimclosed");
gotoAndStop("targilimclosed");
} else if (_global.stat == 0) {
gotoAndStop("shiurimopened");
}
}
but the gotoAndStop("targilimclosed"); is not working, so until I close manually the previous item, the new item is not openning.
How could I fix this?
Thank you.
small_guy
April 14th, 2007, 02:10 PM
I am sorry to say that on your second question I cannot offer anything. When I have played around with _global before it has been with mixed results which were usually not good.
Thanks, its working.
Now, please help me with my secondary question:
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.