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
Similar Posts:
Sep 8, 2010
I am printing a parent moviclip which is on stage and has many child movieClips with linked classes having all single frames.When I try to print by passing it to printObject which is in external class few things happend as:
1. the object is printed but moviclip is removed from stage
2. also the dynamic text labels are not printed
3.the size is smaller than the original.
how to get to resovle these issues to obtain good print out from flash cs5 using AS
View 1 Replies
Jun 20, 2011
I have a flash stage which is in grey color. I have a blank movieclip which is in light pink in bgcolor. Can anyone tell me why when I tried to print the movieclip, my paper background will be printed grey? Is it because of my flash stage color? How do I fix this? (my original paper is white in color)
View 7 Replies
Jun 6, 2011
I have problems understanding the way you can print from flash, reviewing the documentation I found the PrintJob Class nad I'm trying to make it work. It was easy with AS2, but now I can't get it to work, I need it for AS3.The issue is, I have a code generated chart, and want to print it, with some extra stuff, but to begin the chart would be fine.this is the printing code I have and an image of the stage. The commented code I've tried also, none of them working. I think that's because the way it's handling the chart, and the (maybe) Sprite the printJob is trying to add.
View 2 Replies
Sep 1, 2010
I am in the process of building a web site and am running into an issue with dynamic loading text.I am trying to make a scrolling news section with a stage of 200 W x 250 LCreated a movie clip with the following coding:
var myTextLoader:URLLoader = new URLLoader();var myTextField_txt:TextField = new TextField();myTextField_txt.wordWrap=true;
myTextLoader.addEventListener(Event.COMPLETE, onLoaded);
function onLoaded(e:Event):void {myTextField_txt.text = e.target.data;addChild(myTextField_txt);}
myTextLoader.load(new URLRequest("myText.txt"));
Then set the clip (which is 250 W x 600 L) on the main stage, moving upwards, creating the auto scroll effect.The problem I am running into is that I can't figure out how to make the text use the whole width of the text box I created. It only uses half of the width, creating columbs like this:
Hello and
welcome
to our new
[code]...
The text box itself is at least twice the width of the sentences, but they aren't using the full width.
View 5 Replies
Mar 9, 2009
I have a button that I would like to use with the basic actionscript as follows:
on (release) {
this.gotoAndPlay("15");
}
What I would like it to do is play a section on the timeline and then move onto another section or scene.
[Code]....
I know this is incorrect, so would anyone know how to write an actionscript button that plays a section then goes somewhere else?
View 4 Replies
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
May 26, 2009
I have a mini-project where I want to make an object grow and move to a different section of the stage when I click on it. I know how to do this part, but what I want is for it to "move" there as if it were a tween, but I want to do it with code instead of with the timeline. I want it to function exactly as it does now, but with a motion tween. I also do NOT want it to jump back to the beginning when another button is clicked, but rather play from where it is. I've also attached the FLA with this.
Code: Select alllearn.addEventListener(MouseEvent.CLICK, learnClick);
learn.buttonMode=true;
act.addEventListener(MouseEvent.CLICK, actClick);
[code]....
View 1 Replies
Dec 17, 2003
on [URL] what is the word 'section' in _root.section? I assume it is a movie clip instance, but can't seem to find it on the timeline.
View 2 Replies
Dec 10, 2008
trying to print a movieclip with a white backgroundwhile keeping the stage background black.The movieclip,printResults_mc has a white rectangle in the bottom layer, 850pixels x 1100 pixels. The following function scales printResults_mcto the printers printable area but because isimpossible to predict the aspect ratio of the printable area someblack background always leaks out. I tried making the whitebackground 20 pixels larger than I need (870 x 1120) and thensetting a crop rectangle in addPage of (10,10,850,1100), no luck,the black stage background just fills in the area outside the crop.A simple solution would be to temporarily set the stage backgroundcolor property to white, print, then set it back to black, but I
View 1 Replies
Jun 23, 2010
I am going to redesign a website and for that website I want there to be a news section on the homepage. The news section should be built in Flash with images representing news headlines animating on a loop however a user should be able to click one of these images and then within the homepage a Flash pop up will appear with the news article. This is similar to sites that have an image gallery with thumbnails of images but when an thumbnail is clicked then the full size image loads within the same webpage. I want a similar effect but in my case, when a full size image is clicked, a text based news article loads.
View 1 Replies
Mar 10, 2003
I had this post in the flash mx section but once it came down to studying the code I got no replies so i'll post my question here now instead
My random movement works file when on _root but I have it loading on level18 now. I have changed the code accordingly (all _root to _level18) but it still leaves the boundary.
[Code]...
View 3 Replies
Nov 4, 2004
how to create a contact section in flash. One that has:
Name:
E-mail:
Comments:
[URL]
Attached is a picture of what im trying to accomplish (the contact us layout only. Disregard this website design, color scheme and layout).Also, what does something like this output to. I'm looking to create a simple .txt file that outputs to becuase I want to make this as simple as possible.
View 14 Replies
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
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
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
Jul 15, 2009
I have no idea how I would create a login section in a flash website. Does this login section have anything to do with creating a database?
View 1 Replies
Nov 4, 2004
How to create a contact section in flash. One that has:
Name:
E-mail:
Comments:
Ex: [URL]
Attached is a picture of what im trying to accomplish (the contact us layout only. Disregard this website design, color scheme and layout). Also, what does something like this output to. I'm looking to create a simple .txt file that outputs to becuase I want to make this as simple as possible. Is there a way to do this?
View 14 Replies
Jun 14, 2005
how to create a news section using xml in flash?
View 2 Replies
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
Jan 3, 2010
Is there is any printing support in Adobe Flash like the new one in Silverlight.net beta 4?
View 1 Replies
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
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
Nov 12, 2009
I was wondering how can I make my links in Flash readable for browsers? In other words, to be able to provide link to specific section of my website. For illustration, take a look at Jenson Button's website:The link above points to the "News" section, although the site is in flash.
View 2 Replies
Sep 9, 2010
I am trying to create a new webpage using flash CS5. I imported the page that I created in photoshop. Now the background is flashing, the only thing that I have set to have motion is one section of text.
View 5 Replies
Jan 10, 2012
I bought a template. xml flash. able to change anything in that. I had trouble, but the gallery section. I met with template-help. did not help. I want my products section of the text when I click on the menu on the left side there are three. I want to get these categories. When I want to come to each of the other galleries. but somehow could not.
View 3 Replies
Apr 29, 2010
It there any way of displaying videos on a website that would allow me to show just a clip of a video without physically slicing the file into actual clips? Specifically, I'd like to play the clips using an open source flash player. I could make specific clips, but that is time consuming and a maintenance nightmare.youtube won't work because it is very important we be able to control who views these videos. Also, this web application is running off of a classic LAMP stack.
View 6 Replies
Nov 8, 2006
im looking for a script that allows a user to highlight a section of text in flash.
View 1 Replies
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
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