ActionScript 2.0 :: [MX2004] Use The Print Function In A Button?

Mar 11, 2005

I'm trying to use the print function in a button, a.s. below:

on(press){
print(_root.instance_1, "bframe");
}

This works fine...the mc "instance_1" is the only thing that prints. The problem is that I need to print 2 movieclips at once. So I have tried the following:

on(press){
print(_root.instance_1+_root.instance_2, "bframe");
}
on(press){

[code]....

None of these work though, the entire movie prints instead.

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Apply A Print Function To A Button?

Sep 27, 2004

how to apply a print function to a button, i have search through the script directory and this was all I could come up with?

on (press) {
printAsBitmapNum(_root.order, "bmovie");
}

order is the name of the movie clip. what i need is to be able to print the screen from the position where the button is situated??

This script does not print: i have played around with the settings in normal mode but there is no response from my printer.

View 3 Replies

ActionScript 3.0 :: IE Print Button Gets Around Print Movie Clip With Alpha?

Aug 24, 2010

I have a print button with this code in it:

Code:
var pj:PrintJob = new PrintJob();
var printOptions:PrintJobOptions = new PrintJobOptions();

[code].......

View 1 Replies

ActionScript 3.0 :: Create A Print Button To Print One Frame?

Jan 3, 2012

I am trying to create a print button on the last frame that will allow the user to print just that frame. I've tried using the printjob object, but all that I can get to happen is print a blank sheet of paper. Here is the code that I have so far:

function printScore(event:MouseEvent):void
{
var printJob:PrintJob = new PrintJob();

[code].....

View 1 Replies

ActionScript 2.0 :: Print MovieClips When Press A Print Button

Jun 5, 2007

i want to simply print 2 movieClips when i press a Print button. so i have the "_root.container_mc" and "_root.logo_mc"... paste the simplest code for printing a "landscape" page with these 2?

View 3 Replies

ActionScript 2.0 :: Make A Print Button That Will Print The Contents Of A Mc?

Jan 14, 2008

I am trying to make a print button that will print the contents of a mc...this mc basically holds a dynamically drawn floorplan which can be zoomed and panned...I want to be able to print the contents of the mc, and only what is viewable in the mc at the time of the print...so if you are zoomed in, all that prints are the actual objects visibly seen in the mc...I think it may be with the print command using bmovie but I have no idea how to assign a #b lable to the frame.

View 3 Replies

ActionScript 2.0 :: Print Button Shows Up On Print Out?

Jul 19, 2005

how do you set a print button so that it does no show up in the print out?

View 1 Replies

ActionScript 2.0 :: [MX2004] Can't Get The SubItems To Work With The OnRelease Function

Feb 12, 2004

I'm attaching my new xml menu .The problem is that I can't get the subItems to work with the onRelease function.

View 1 Replies

ActionScript 2.0 :: Mx2004 - Off Button Keeps The Music On / Off Throughout The Site?

Mar 4, 2004

i have made a music on/off button for a site in flash mx 2004 pro, however every time you jump to a new marker/page, the music starts again, resulting in the same piece of music playing several times over the top of each other. how do i remedy this so the off button keeps the music on/off throughout the site?

View 1 Replies

ActionScript 2.0 :: [mx2004] Button Inside Mc Wont Open Pop-up

Sep 10, 2005

Got the one working- but I need a couple pop-ups to be able to launch while others are open.. some variable needs adjustment, just not sure what..The button to launch the pop-up works when on the main timeline, but does not work inside a movieclip, which is where I need it...of course.

View 4 Replies

ActionScript 2.0 :: [mx2004] Control Main Timeline From Button Inside Movieclip

Nov 3, 2004

I've created a movieclip with buttons inside that I want to use to navigate to different scenes on the main timeline. I have created a function() that loads the button movieclip into the main timeline, but if I try to write a function() to activate the button and move the main timeline to a different scene/frame label it doesn't work. I have tried various things:

navBack_mc.book_btn.onRelease = function() {
_root.gotoAndStop("book1");
}

I put the code above on the main timeline. It doesn't seem to work. Basically, I could put just an on(release) handler on the buttons, but I wanted to try to keeping all the AS in one place if I can.

View 7 Replies

ActionScript 2.0 :: [mx2004] Control Main Timeline From Button Inside Movieclip?

Nov 3, 2004

I've created a movieclip with buttons inside that I want to use to navigate to different scenes on the main timeline. I have created a function() that loads the button movieclip into the main timeline, but if I try to write a function() to activate the button and move the main timeline to a different scene/frame label it doesn't work. I have tried various things:

navBack_mc.book_btn.onRelease = function() {
_root.gotoAndStop("book1");
}

[code]......

View 7 Replies

ActionScript 2.0 :: Way To Disable Print Function

Feb 16, 2005

I have a small client that needs to put information into Flash and prevent people from printing the document out on their printers.

Of course, you can always print anything you see on your monitor (Print Screen and other apps), but I am only concerned with preventing users from printing from 1) any browser and 2) from the Flash contextual menu.

View 3 Replies

Add Print Function To A Coloring Book?

Mar 6, 2009

How can i add a print function to a particular page for a coloring book?

View 2 Replies

ActionScript 2.0 :: Print Function, Clearing Variables?

Oct 2, 2009

I'm using this code

Code:
on (click) {
var x = 1;
print(x,"bmovie");
}

To print out the current page as displayed on the screen. The command works great, but when the button is pressed all of my variables seem to be reset, along with various combo boxes.The print function works as intended except clearing all my values .Is there a way around this?

Edit: I just ran a small test on a blank .fla with 3 buttons 1 - set variable = 1, 2 - trace variable, 3 - my print code

This does not clear the variables like it does in my application.What exactly goes on during the print function? If I can isolate and trace the problem, I could find a fix for it, but I have no idea whats going on.

View 1 Replies

ActionScript 3.0 :: Trigger A Print Function Via Flash?

Dec 27, 2010

There is an output that fits in A4 papersize with a resolution of 827x1169px. I trigger a print function via Flash AS3


[code]...

But the printout does not fit on A4 paper size (it tries to print larger and can see only a small portion on the paper). How can I arrange this with AS3?

View 1 Replies

Php :: Taking Data From Only One Print Function In A Php Page And Passing To Flash?

Aug 5, 2011

I'm trying to take a variable from a php page and send it to flash to then use in a link.I'm having problems just selecting ONE variable from the print function, the code will help explain:

PHP page

<?
print"fbook=facebook";
print"tweet=twitter-test";[code]....

It collects all the data fine but it does not print it out correctly, it prints out all the variables in the php in one link. For example: If i click the facebook icon, i will be taken to http:[url].... This also happens with the other icons (Youtube and Twitter).

View 2 Replies

ActionScript 3.0 :: How To Use A Print Button

Jul 3, 2009

I am new to actionscript and am working on a product configurator.It has been a very long and frustrating project (to keep my job.)I've searched for days for a solution so I thought I'd try here.I store all the user choices in variables (text and graphic movie frames.)At the end of the user choices, I want a print button to print these choices to their desktop printer.

View 3 Replies

ActionScript 2.0 :: Print The Contents Of A Textfield Or String Using The Print Command?

Mar 16, 2004

Is there any way to print the contents of a textfield or string using the pring command in AS?

View 2 Replies

ActionScript 2.0 :: Print Button Not Working In OS X?

Aug 25, 2009

why this script in action script 2.0 is not working on OS X but works fine on Windows.

mcFinalPrintMaterial.mcWhiteBkgnd._visible = false;
trace(mcFinalPrintMaterial.mcWhiteBkgnd._visible);
printBtn.onRelease = function()

[Code].....

View 1 Replies

ActionScript 3.0 :: Creating A PRINT Button?

Mar 27, 2008

One of my webpages has a scrolling text box. When printing, the print only shows the text visible on the screen at the time of printing, so most of my text is missing from the print.To solve the problem I created a print version of that page, with full text visible. I figure a print button can link to it. This file is called print_bio.swf.Question - what would the script be (in AS3) for a print button (printButton) that when clicked prints my other swf file (print_bio.swf) with full text visible?

View 3 Replies

ActionScript 2.0 :: Print Button - .jpg From The Server

Nov 23, 2003

I wondered if its possible to make a button, that prints a .jpg from the server. If it is possible that what script should be added to the button?

View 2 Replies

Print From Flex App By Clicking Print In Context Menu?

Jul 5, 2011

I want my flex 4 application to print proper picture when I click on print in context menu of Adobe Flash Player.Is it possible?

View 1 Replies

ActionScript 2.0 :: Print Section And Then Check Out The Print Pieces?

Jul 15, 2004

[Code]... and go to the print section and then check out the print pieces. for some reason my resizing gallery movie is doing some weird stuff and i cant figure out how to fix it. my actionscript goes like this :

[Code]...

View 4 Replies

ActionScript 3.0 :: Creating 'print This Page' Button?

Jan 29, 2009

I need to create a button, or at least a movie clip that functions like a button that will print a page when clicked. Ideally I would like to have the button as part of the flash application, which will be online embedded into a web page as a .swf. on click the print page dialog box will appear, and the user will be able to print out the web page. What is the best way to code this?

View 3 Replies

ActionScript 3.0 :: Print Button Script For Ipad

Nov 6, 2011

i want to build a questionnaire in cs5.5 which is excutable in iPad. in questionnaire at the end i want to show a result/score and i have to print the result.
 
1. where the questions can be displayed randomly.

2. At the end i have to show the result with name classified at begining.

3. I want to create a print button in the result form where i can print the result txt.
 
all above will be executed in iPad/Mac iOS...... in offline mode.

View 1 Replies

Button In Flash To Print Current Page?

Jul 25, 2006

I want to print the current page (web page) when user clicks on a button.

View 14 Replies

Actionscript 3 :: Print Array Value On Button Rollover?

Oct 12, 2009

I have created a flash map of the uk which is splti into regions, each region is a button that is fully visible when not rolled on and and fully transluscent when rolled over(to show the same region in a different color). What I need now is for when the button is rolled over I need it show the region name, I have an array of the region names and I was hoping it would be possible to write the AS in seperate file and then link it to the SWF. Is this possible and how would I write the function?

View 1 Replies

ActionScript 3.0 :: Create A Print Button And A Sprite?

Jul 27, 2009

I'm going wrong with this? I'm trying to create a print button and a sprite, but nothing is showing up when I publish.n what I'm missing? Basically what I'm trying to do is create a coupon that can then be printed.

//_____PRINTING FUNCTION_____
var printContent:Sprite = new Sprite();
var printBtn:PrintBtn;

[code].....

View 1 Replies

ActionScript 3.0 :: Print Screen Button In Flash?

Sep 26, 2010

can i make a print screen button in flash? but i dont the button to print all screen.. just some place that i set to print screen..

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved