I had a question about Target paths in Flash.
In my main movie I have a blank movie clip on the stage (the instance name for this blank clip is "screen") in which I load an external swf (scroller.swf) that has a scroll pane in it. "scroller.swf" loads another external swf into the scroll pane. Scroller.swf loads "content.swf" into the scrollpane. The content.swf contains some text and jpg's and is longer then the blank clip in the main movie, thus the need for a scroller.
So the hierchy is:
Code:Main Movie (template.swf) with blank clip: "screen" | ------- scroller.swf | ------------------------- content.swf
I want to print the text and images only, that is on "content.swf" with a print button that is located in the main movie stage.
But this obviously prints the movie clip "screen" and everything loaded inside of it. Thus I get the scroll bars on the side from "scroller.swf" as well as the text content in "content.swf"Code:On the button on the main movie I used: on (release) { if ($player != "") { print("screen", "bframe"); } }
If i use:
I get the whole stage of the main movie with all the buttons, the screen movie clip, and everything loaded inside of that. I'm not sure why this happens.Code:on (release) { if ($player != "") { print("content.swf", "bframe"); } }
I'm guessing I need to include the main movie, the scoll swf and the content swf in the target path.
The problem is, I don't know the proper syntax for the target path.
Any help at all is appreciated.
Thanks,
Mike


Reply With Quote