PDA

View Full Version : Path problem ?????


Ashish
01-08-2003, 02:28 PM
Hi, need help

How can I take a printout of a movie clip on scene 1, if the button is pressed on scene 2.

My movie clip contains two frames and each frame has one page.
I want that when I press a button which is on scene 2, then the print of the movie clip which is on the scene 1 must be taken out.

Please do write me the path.

Regards
Ashish

toke
01-08-2003, 02:50 PM
check on the path tutorials yet?

Ashish
01-09-2003, 02:56 AM
Thanks toke

I read path tutorials, which is there in actionscript.org. But didn't get the solution.
If tutorials available anywhere else, please do send me the link.

Ashish

tg
01-09-2003, 03:15 PM
select the frame you want to print.
open the properties inspector, and '#P' in the label box (you should now see a little red flag on that frame).
on your button you want to print from put this:

on(release){
print(this,"bframe");
};

you may need to replace 'this' with the mc/timeline name.

it should now print the frame designated with the '#P' label.

Ashish
01-14-2003, 01:07 PM
Hi tg

What you suggested will work if the movieclip and the button is placed on the same scene.

But my problem is little bit different.

My movie clip is placed on scene 1 and button is placed on
scene 2, now when I press a button which is on scene 2, then the print of the movie clip which is on the scene 1 must be taken out.

If this is not possible to control a movie from some other scene, then please do suggest me some other alternative for this.

Because in my flash application I have totally 12 scenes and each contain a print button and the movieclip which is supposed to be printed is placed on scene 1, now I can not place the same movieclip on each and every scene.

I hope this detail will help u in solving my problem.

Thanks
Regards
Ashish