How can I print a static text?

As there is no instance name for a static text, how is it possible form a button to make a printJob?

from the help docs, you can reference a static textfield using
To create a reference to an existing static text field in ActionScript 3.0,  you can iterate over the items in the display list. For example, the following  snippet checks to see if the display list contains a static text field and  assigns the field to a variable:
var i:uint;
for (i = 0; i < this.numChildren; i++) {
     var displayitem:DisplayObject = this.getChildAt(i);
     if (displayitem instanceof StaticText) {
         trace("a static text field is item " + i + " on the display list");
         var myFieldLabel:StaticText = StaticText(displayitem);
         trace("and contains the text: " + myFieldLabel.text);
but to print you need sprites to add to the printjob.  so, either print the text's parent or reparent the text for the purpose of printing.

Similar Messages

  • How can i print out old text messages?

    how can i print out old text messages?

    As Ann said, it does depend on your phone.  One third party app that works on many phones (especially older models, but not all phones) is BitPim ( http://www.bitpim.org/ ) but it can potentially harm/brick your phone if you don't know what you are doing - use it with caution.  I have used it successfully to get texts and photos off an old flip phone that was deactivated and had no sd card.
    Newer smartphones can download apps that will give you the ability to print out texts.

  • How can I print out all texts from one person

    How can I printall of my texts from my very bad lawyer?

    It's not a file, so you can't "open" one file. Every message (and note) is a single file on the computer.
    This Applescript will grab all the notes in the selected mailbox (i.e. the selected Notes item in Mail) and put them in a textEdit document.
    Note that Mail doesn't differentiate between a note and an email message, so if you run this while a normal email mailbox is selected, it will gather all of your email messages.
    tell application "Mail"
    set theMailboxes to the selected mailboxes of message viewer 0
    repeat with aMailbox in theMailboxes
    set theNotes to the messages of aMailbox
    set theText to ""
    repeat with aNote in theNotes
    set theText to theText & content of aNote & return
    end repeat
    end repeat
    end tell
    tell application "TextEdit"
    set myDocument to make new document at end of documents with properties {text:theText}
    end tell
    Copy and paste this into a new AppleScript Editor Document, select the Notes mailboxes you want to print the notes from, and click the Run button (Green button with arrow).
    This may take a while.

  • How can I print off a text message conversation?

    I have to print off a text message conversation and I was wondering if there is any other way to print them off instead of using screen shots?

    An alternate utility you may want to look into is DigiDNA's Disk Aid. You install it on a computer, Mac or PC, connect you phone to it and are able to back up everything on the phone and have access to all the stuff in there. Not free but really worth every penny. Free if you work or study in higher ed.

  • How can I print  the figures (text) in a chart WITHOUT a cast shadow?

    hi all,
    in charts (line, column, etc.) i want display the figures (plott points) without cast shadows. Although the cast shadow option in the format bar isn´t aktiv, there is always a lighlty cast shadow when i´m printig the document and in my opinion it looks bad.
    isn´s it possible to print the figures (text) of a column chart without a cast shadow? btw: the same effect in pages.
    thx a lot
    rudi

    Hi rudiRocket,
    Welcome to Numbers discussions.
    Yes I see what you're talking about, never noticed it. To remove the shadow I tried numerous fonts but, still the shadow. Let's hope someone else has a better answer. Be aware folks on these Discussion boards are, as yourself end users not Apple employees.
    In the mean time please read the below instructions:
    Send feedback directly to the Numbers team for enhancement requests: at the top of your screen to the right of the blue Apple please click "Numbers" > "Provide Numbers Feedback". Explain in detailed what you've found. This makes your request known to the Numbers team directly; don't expect to hear back from them. I've sent many as well.
    Let's hope the next version of iWork incorporates many of the requested enhancements.
    Thank you in advance for doing that.
    Again, welcome to Numbers Discussions, have fun here.
    Sincerely,
    RicD

  • How can I print out stored text messages from an LG enV3?!

    My mother is on my phone plan, she has a LG enV®3 and has some text messages stored on her phone she would like printed out. I was told by the in-store salesman that this was something I could do here online. But I have yet to find a link that is providing that service. I need them as soon as possible as she is finally looking to upgrade to a new phone, but I can't find this mysterious link. As you may know the LG enV®3 is not a smartphone so I cannot use a messaging app to remove the texts. If anyone has information or knows how I could do this you'd help me greatly.

    Try using bitpim software:
    Welcome to BitPim

  • How can I print photo with text underneath?

    Hi, I'm trying to print pages of small images of my work - maybe nine to an A4 page - with the title of the work underneath each image. I can't see how to do this in iPhoto. If I export a medium image to a Word document, is this the way to do it? I don't have iLife or iWork. Thanks.

    To add to Terence's suggestion put your comments in the Description field for each photo (click on the blue "i" button at the bottom left) and then print a contact sheet with the option to include the Comments (and any other field) under each photo.
    Happy New Year

  • How can i print text messages from my htc amaze to my deskjet 3050A

    how can i print text messages from my htc amaze to my hp deskjet 3050A

    Hi,
    I believe the phone uses Android OS, v2.3.4 (Gingerbread) therefore you can use one of these applications:
       http://www.printeron.com/apps/androidprinting.html
       https://market.android.com/details?id=com.pauloslf​.cloudprint&hl=en
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How can I print a selection of text?

    In Mail (in Mavericks).  I would like to print just a paragraph or two that I have selected (highlighted).  How can I print just that selected text and not any other text or headers in that email?  I know I can copy and paste the text into a Text Edit document, but I'm looking for a quicker way to print just that selected text without leaving Mail.

    Create an Automator action that gets the selected text and automatically creates the TextEdit document and prints:
    To make the Service, create a New Automator workflow and select Service as the type.
    Set it to receive selected text in any application.
    Drag in a New TextEdit Document action
    Drag in a Run Applescript Action.
    Set the applescript to this:
    on run {input, parameters}
              tell application "TextEdit"
      print document of front window
      close document of front window without saving
      quit
              end tell
              return input
    end run
    Save it as something like Print Selected Text. Then, you can select text, ctrl-click on it, then select Print Selected Text from the Services submenu of the contextual menu.
    Here is a picture of the workflow:
    You could also give it a shortcut in the Keyboard System prefs, Shortcuts tab:

  • How can I print my text message

    End of the year and would like to file my text messages. How can I print, please help? Thanks

    I review the available sms backup applications in the Play Store to see if one meets your needs.

  • How can i print a text message

    how can i print text meaasge's

    you can copy paste it to notes
    or you can take a screenshot and print it that way

  • How can I print a text message conversation from my iPhone? Not using screenshots.

    How can I print a text message conversation from my iPhone? Not using screenshots. It's around 500 messages so screenshots is not a option.

    Yes, you can delete from iphone:
    http://manuals.info.apple.com/enUS/iPhone_iOS4_UserGuide.pdf
    It is covered in the manual.
    Page 172:
    "Delete a podcast: In the Podcasts list in iPod, swipe left or right over the podcast, then
    tap Delete. "

  • How can i print text message from my iPhone?

    I have an iPhone 5S.  How can I print text messages to save those conversations?

    Did you try to copy and paste the content into another app, like notes or Mail and then send it to the printer?

  • How can I print a Safari page without the links being printed and cover other text?

    How can I print a Safari page without the links being printed and covering other text?

    Try printing the page as PDF.
    From your Safari menu bar click File > Print > Save As PDF then print the PDF file.
    If you don't want to do it that way, reset the print system.
    Mac OS X: How to reset the printing system

  • How can I print texts from iPhone4 to Canon MX870

    How can I print texts from iPhone4 to Canon MX870

    The following gives instructions. http://support.apple.com/kb/HT4517
    Note that your carrier may not support it or may have added charges.
    To use this feature, enable Personal Hotspot on your cellular data plan. Contact your carrier for information and pricing.

Maybe you are looking for

  • Why do I get an 800a0d5d error on a delete?

    Hi, I am using SQL Server, and my site is defined as ASP Javascript. I add and update this table fine, but when I go to delete a record, I get: ADODB.Command error '800a0d5d' Application uses a value of the wrong type for the  current operation. /adm

  • Mail server "destroy" MobileMe account

    Hi, What a mess I did! Like 99% of mail population I started a thing without reading "the manual" first and... So, I have MacMini (Intel, 6 month old) which is not in use and I tough to try SL Server. While installing I "checked" all services like ma

  • Live Install - Monitor "Out of Range"

    Brand new to Solaris, and fairly new to *nix. Tried installing from the Live CD, and my monitor goes "out of range" when the GUI boots. Likewise, did the text installer, installed "slim_install" and enabled gdm and the same same thing occurred. I am

  • Odd (semi-transparent or so) screen problem

    Hi, I have an odd problem with my T61 (model: 7664, type: 19G, OS: Windows XP SP2). Every now and then after booting up my PC I get an really odd looking screen: it is as if transparent (double view would be more correct because the layer I'm seeing

  • Which table stores MII log messages

    Hi ,          Can anyone let me know the name of the table where MII stores all the log messages? As far as I know Netweaver is using one SQL Server database internally to store all the MII log messages. I would like to know the name of the table whe