Actionscript :: Printing From Flash On MAC Stretches?

Jun 24, 2010

I have a flash movie which produces a certificate for participants in an online course.It gets the pageHeight, pageWidth from the printjob then scales the certficate image to fit nicely in the middle.This is working fine on windows and linux, but on the mac it is not behaving. It is chopping of the right and bottom edge of the certificate, I think because it's misreporting the page size - putting in some debugging information about the dimensions reports as expected - the same as on other platforms - but if I put two printouts on top of each other on a lightbox, the mac one is scaled up, mostly horizontally.

View 1 Replies


Similar Posts:


Flash - Text Of The Dynamic TextField Stretches When Movieclip Is Resized?

Feb 3, 2011

i have a movieclip containing a dynamic text-field in it. When movieclip is stretched using transform manager, the text stretches. i am developing a component. Moreover,Event.Resize can not be used as Event.Resize is the Stage event. it does not work for movie-clips and sprite.Putting it in Event. Enter Frame works but that hangs the whole CMS when this technique is used.

View 1 Replies

ActionScript 3.0 :: Printing Sprites With Scrollrects Using The Bitmap Printing Option Fixes And Prints Most Of The Stuff In The Sprite

Jun 19, 2007

I have a sprite that has a scrollbar that uses the scrollrect feature. The sprite has several bitmaps and textfields. When I print the outer sprite (The one with the scrollrect) all of the textfields outside the scrollrect are cut after the first line. In case anyone else is having problems with printing sprites with scrollrects using the bitmap printing option fixes and prints most of the stuff in the sprite. Excluding all textfields outside of the scrollrect. This however can be fixed partially by embedding your fonts.

So now the only problem left is printing multiline textfields that are outside the scrollrect. P.S. Imho the scrollrect should have nothing to do with the printed area of the sprite because the printJob.addPage has a printarea parameter.

View 3 Replies

ActionScript 3.0 :: UILoader Stretches Only A Part Of The Screen?

Feb 12, 2010

Made the part I'm having problems with bold

import com.greensock.TweenLite;
import com.greensock.easing.*;
import fl.containers.UILoader;

[code].....

View 1 Replies

ActionScript 2.0 :: How The Ball Stretches More The Faster Move Cursor

Mar 23, 2007

I like how the ball stretches more the faster you move your cursor. How is that done?[URL]

View 2 Replies

ActionScript 3.0 :: Importing External .swf File Stretches To Fit Main Stage?

Aug 27, 2011

I'm importing a cool external photo gallery .swf; however I can't figure out the stage settings. I created an empty movie clip and added the import script in there. Works good and can align clip where I want, but the .swf file is not appearing as a 550px X 413px contained .swf. It stretches to fit the main stage.

View 2 Replies

ActionScript 3.0 :: MCs To Be Joined By A 1px Line And When The MC Moves The Line Stretches?

Feb 26, 2010

I have three MCs in a proximty menu (ie when the mouse is close they go to the mouses position and follow it).

My question is, I want the MCs to be joined by a 1px line and when the MC moves the line stretches and moves with it...how do I do this?

This maybe a bad explanation so here is a link to back it up...

[Code]...

View 1 Replies

Printing Flash To An EPS File?

Sep 10, 2009

I am trying to print my Flash work out to an EPS/Illustrator compatible file so that it can be opened in illustrator and printed.Used to be able to use the Apple LaserWriter 16/600 PS printer driver but I am unable to find it anywhere. Is anyone else using any other updated drivers/techniques?

View 2 Replies

ActionScript 2.0 :: Printing From Flash

Dec 12, 2011

I want to print the entire page from my flash application irrespective of the size which I have given. I know this can be done through scale-to-fit. I have used the following code to print from my flash application. The size of my stage is 1024 x 900 pixels and I would like to print in A4 size and scale to fit while printing. I haven't used any movie clip

[Code]...

View 1 Replies

ActionScript 2.0 :: Printing Jpg/pdf From Within Flash?

Apr 11, 2004

My question is whether you can have a "generate jpeg" or "generate pdf" button within Flash that a user can click on and a .jpg or .pdf is generated from that.For example if I want a user to customize a Postcard to his/her likings and then save it as a jpg/pdf to print it, is that possible?Or to just have a print button that prints at high enough resolution to have it look good on paper (150-300dpi?)

View 1 Replies

ActionScript 3.0 :: Printing A MovieClip In Flash

Nov 19, 2009

I want to print a movieclip in flash. I want that if the size of the movieclip is more than the page size, then it automatically goes to the next page. How can I do this?

View 1 Replies

Silverlight :: Printing Support In Flash?

Jan 3, 2010

Is there is any printing support in Adobe Flash like the new one in Silverlight.net beta 4?

View 1 Replies

ActionScript 2.0 :: Multipage Printing In Flash?

May 24, 2007

i have a very long movieclip and i need to take printout. how printjob class is used take printout(multiple page)?

var printJob: PrintJob = new PrintJob();
if (printJob.start())
{

[code]....

i'm using this code but it takes only one page..

View 2 Replies

ActionScript 2.0 :: Sending Variable From Php To Flash Without Printing Var In Php

Oct 29, 2009

This is going to sound like a really stupid query, but I'm totally new to this. I can grab the contents of a single variable from a php page and display it in a field in Flash, which works great. I do this using the echo command and placing an & before the variable to be sent. e.g. echo "&textData=$contentSenttoFlash";

When I embed the flash movie into the php page though, the echo command also prints that variable to the screen, so that it appears both in the flash movie (which I want), and again as a text string on the page (which I don't want). Is there any way to prevent the php printing the variable as well whilst using this method?

View 1 Replies

ActionScript 2.0 :: Possible For Flash To Detect Browser Is Printing?

Feb 11, 2010

Does this sound at all possible (doesn't to me):Flash site is open...

1. User goes to their browser's options and chooses PRINT.
2. Flash (or Javascript) detects that and tells Flash.
3. Flash then responds by modifying what it's displaying before printing begins

View 1 Replies

Data Integration :: Printing From Flash On Macs?

Jul 30, 2008

I am pulling in jpgs and printing them via PrintJob. A client is saying that they are printing extremely pixelated on their Macs.Even when they print to PDF it looks bad so it's not simply their printer. However I tested it on the one Mac I have but I can't reproduce the same effect. This seems to work just fine on all the PCs I test on.The client is testing on these platforms:

Mac OS X 10.4.11 with flash player 9.

Mac OS X 10.5.4 with flash player 9

Mac OS X 10.4.10 with flash player 9

And in Camino, Firefox and Safari browsers.

View 1 Replies

Script For Printing Section Of A Flash Stage?

Nov 9, 2009

I'm new-ish with flash and I am making a stand-alone player that I need a few things to print and have hit trouble when I try and do them.I can print the entire stage no problem.

- What I was hoping to do is have 3 print buttons, 1 would print a section of the player. The other a different section. and the last would print the whole stage (which I've already scripted).

- I've had a look at Print num scripts etc, but am hugely confused.
 
Has anyone got the script for printing a section of a flash stage?PS Can you set those x and y values to print something off the stage

View 1 Replies

Flash - Print A Bitmap Without Printing A Sprite?

Jun 12, 2010

Following up from: http:[url]...I am trying to comeup with a function to print without creating a sprite, because that's what it seems to be causing my problem:

public function printScreen():void {
var pJob:PrintJob = new PrintJob();
var options:PrintJobOptions = new PrintJobOptions();[code]....

This is coming up with an: Error: Description Implicit coercion of a value of type flash.display:Bitmap to an unrelated type flash.display:Sprite. So how do you print a bitmap without creating a Sprite?

View 1 Replies

Flash :: PrintJob Printing Background Colour Only?

Sep 14, 2010

Basically I've created a print class which has all the print job code in to print a sprite, however when I print it, the sprite which I've created acts like a mask and the area where the sprite graphic should be is filled with my background colour.When I scale the image to the width and height of the print width and height, obviously I've got a page full of purple.here's my code:

public function print():void {
//bitmap_to_print.smoothing = true;
var print_page:Sprite = new Sprite();

[code].....

View 1 Replies

Flash :: Loading HTML Into Printing With PrintJob()?

Aug 26, 2011

Is it possible to load HTML content into Flash from a URL and print it with PrintJob() with Actionscript 3 without the Windows print dialog showing?

View 1 Replies

ActionScript 2.0 :: Select Text From Flash For Printing?

Jan 17, 2007

is there any way I could print selected text in flash??

View 1 Replies

ActionScript 2.0 :: Printing HTML File From Flash?

Apr 15, 2008

I am using this function for a button in my Flash menu that I want to print my entire HTML page.

this.print_btn.onRelease = function() {
getURL("javascript:window.print()");
};

After I pop in the code, I go to test the page on my Mac locally and I get this error.

"Adobe Flash Player has stopped a potentially unsafe operation.

The following local application on your computer or network: I:......main.swf

is trying to communicate with the internet enabled location:

I:.....page.html To let the application communicate click setting. You must restart the application after changing your setting."

And on a Windows machine, nothing even happens.

Obviously I think its not working because I am testing it locally, because the minute I upload it to my server, it works. The only problem is, I need it to work locally because it is going to be viewed from a CD not through the net.

Is there another way for my Flash Button to print the entire HTML page?

View 1 Replies

ActionScript 3.0 :: Printing From Flash On A Mac Doesn't Work?

Sep 19, 2008

Has anyone else had a problem printing from flash on a Mac? Nothing seems to show up on a project I'm working on when I print, or save to PDF on a mac, just a blank page. I even tried a couple of adobe's examples with no luck.

View 10 Replies

ActionScript 3.0 :: Flash Questions Not Printing On Submit

Jun 21, 2010

Why ON SUBMIT my code isn't printing back all the questions just the last one? It is suppose to post to PHP all the questions but its only posting the last.way to post or get all user inputed anwers to print or an array or xml list?[code]...

View 1 Replies

ActionScript 1/2 :: Printing Specific Areas Of Site In Flash

May 19, 2009

I've a good understanding of flash but not so good when it comes to actionscript. At the moment I'm trying to build a flash site with a print button which will target specific areas of my site (including the contents of a scrollpane) and then fit them to the size of the page. I've spent a long time trying to get this to work, following different tutorials and Googling until my eyes went blurry, with very little success. The deadline approaches and I am getting desperate. how to achieve all of these requirements? Ideally I would love some magical component like videoMaru but that may be a tall order! I am publishing my swfs for Flash Player 8 with ActionScript 2.

View 3 Replies

Flash CS3 :: Printing - Dynamically Set Print Page Margins?

Oct 29, 2009

//I can get the right margins by defining a rectangle and giving it the following dimensions:

var rect1:Rectangle = new Rectangle(0, 0, 792,612);

//When the print button is pressed the following code executes using the dimensions defined by rect1:

prntCover_btn.addEventListener(MouseEvent.CLICK, printCover);
function printCover(evt:MouseEvent):void {
front_mc.visible = false;

[Code]....

This is not working to place the mc correctly on the page. This is all the Adobe help provides. Also Googled and tried different variations but no success.

View 1 Replies

Actionscript :: Printing Transparency Pngs With Printjob (Flash)

Dec 2, 2010

I am trying to print a movieclip with printjob in flash. This movieclip contains two layers: one with a PNG image with transparency and one below with a jpg image. The problem is that the transparency of the png is not respected so the jpg image does not appear. The code i'm using is real simple: var my_pj:PrintJob = new PrintJob();

[Code]...

View 2 Replies

Printing - Recommended Printer For Flash PrintJob() (Name Badges)?

Mar 29, 2011

A client needs a standard consumer color printer for printing name badges from my flash app. Last time we used the app, I couldn't do any pre-testing of their computer and printer beforehand. So, of course, the margins were completely wrong when the time came to print. Ideally, I'll have the flash app's bugs worked out for the next run, but for safety's sake does anyone know of a printer that has good controls for custom margins and offsets, in case some minor adjustments are needed?

View 1 Replies

Flex :: Flash Printing Only Prints What Is Visible On A Canvas

Jul 18, 2011

I am building a very basic report writer for an AIR application that I am developing. I am using the Flash PrintJob class to output the contents of my report (in which pages are stored as Canvas objects in a ViewStack object).The problem is, only the content that I see in the report preview screen gets printed.Is there a way that I can print what the Canvas object contains not just what is visible? Here is a code snippet that I am using:

protected function doPrintReport(event:Event):void
{
var pj:PrintJob = new PrintJob();

[code]......

View 1 Replies

Flex :: Flash Builder4.5 - Printing HTML Content ?

Dec 10, 2011

need to print html generated invoices from a distant server, using the print class, event if bitmap is set as false, will render the invoice a bitmap. at least the text is blurry and not usable. alivepdf could be a solution but i need to print straight, not save the pdf locally. i don't even understand, giving the fact this print class sucks badly, flex won't allow a simple javascript print function from the remote page.

View 1 Replies







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