Don't worry, I know exactly what you mean. I imagine that you're doing some kind of presentation and display the right side via a project or something and also want a local view on your computer.
Right?
I had a client who did something similar once. This is something that I have from that project (just a demo, has nothing to do with the project. i wouldn't be able to show you if it did)So, this is a preview. The cup is the same movieclip inside of a container. I just named the container two different things (live & preview). Then added those two movieclips to an array. Lastly, looped through the array within each onRelease function.
Here is the pertinent actionscript:
Code:
#include "mc_tween2.as"
frames = new Array(preview, live);
itsyBitsy.onRelease = function() {
for (i=0;i<frames.length;i++) {
trace("itsyBitsy");
frames[i].coffeeCup.scaleTo(20, .5, "easeOutQuad");
}
}
normalSized.onRelease = function() {
for (i=0;i<frames.length;i++) {
trace("normal sized");
frames[i].coffeeCup.scaleTo(70, .5, "easeOutQuad");
}
}
gynormous.onRelease = function() {
for (i=0;i<frames.length;i++) {
trace("gynormous");
frames[i].coffeeCup.scaleTo(100, .5, "easeOutQuad");
}
}
If you want to see the source to see how I set everything up, let me know. I'll clean it up and post it.
Bookmarks