Dynamic text printing - is it possible?

ok,
I have wasted most the day trying to find an answer to this,
so if anyone knows if this isn't possible, please let me know.
I have SWF that is loading dynamic text, which I am trying to
PRINT. So basically, just a button that you hit that sends the text
to a printer, nothing more nothing less, sounds simple bloody
isn't!
Thanks

The answer is
yes it is possible!
But I thing you knew that, I'm not an expert on the Print
class, and as you don't tell us what happens right now when you
press the button I can only take guesse at some things.
If you print a clip (what is what you'r trying) flash prints
more or less what ia on stage, so if due to scroll text is hidden
on stage you would'n get it on paper this way.
The solution is to make a new clip that shows all text
(need'nt be vivisble can be off stage for example) and print that.
Fitting it to a certain size is another matter but as you
allready have expirience with that (looks like at least) I won't
dwell on that.
Fitting to a print page you will have to work with the
PrintJobClass as Christopher suggested. The documetation is quite
goo since Flash 2004.

Similar Messages

  • Dynamic Text won't Print - Ahhhh! Help!!!

    I'm importing a png file using an xml file and a text file
    for importing text. The image and text show up fine, but when I
    PRINT, both don't show up. I"VE GOT TO GO LIVE WITH THIS TODAY. It
    has to Print! PLEASE HELP!

    I found my own answer and thought I should share it with all
    of you. Since I was so surprised that you had to use ActionScript
    to tell the movie to allow dynamic text or a dynamic png files to
    print. You basically add the following lines for each instance of
    dyanmica text or for a movie clip. I was alos using a prebuilt
    component, so I had to give this component an instance name.
    function printpic(){
    print(this.pic, "bframe");
    I called the function printpic just to stay in alignment with
    the instance name of the movie clip on the stage which was pic.
    Then everything printed like it was suppose to.
    D

  • Printing a movie clip with dynamic text boxes

    I've got a certificate inside a movie clip, and i want the
    dynamic text box to dispay the user name, but for some reason it is
    coming up undefined, even though i have the dynamic text box set to
    finalname = _root.inputname, but it comes up as undefined on the
    screen. :( Can anyone tell me where i am going wrong?
    Is there a way to print just a specific movie clip on the
    screen? I can only print all the frames in the movie and without
    the dynamic text box... any help would be greatly
    appreciated.

    assign the mouseChildren property of your movieclip to false.

  • Printing - With Dynamic Text Fields

    Hello,
    i wonder if anyone can help me........i know there are a lot
    of posts already on how to print out dynamic text but all of them
    seem to be using scrolling text fields.
    However my problem isn't even as complex as this but i still
    can't work it out.
    At the moment i have a form of text boxes which the user
    inputs text.............from here there is a print
    button.........in order to compile all of the answers together i
    have created a movie clip.........with the layout of the printed
    page on it, and placed this on the main timeline. Inside this movie
    clip to be printed i have dynamic text fields...which link to the
    text fields which the users inputted data in, therefore both sets
    of text fields contain the same data, when you change one the other
    should change.
    I have set up a very simple printJob command to print out the
    movie clip named print_mc and it prints the page even the outline
    of the text boxes but it doesn't print out the content which
    appears on the screen. my code is attached below.......please if
    anyone could help i would be very grateful :)
    print_btn.onRelease = function() {
    _global.aOneVar =oneAPone.text;
    _global.aTwoVar =oneAPtwo.text;
    print_mc.gotoAndStop("2");
    var myPrintJob:PrintJob = new PrintJob();
    var result:Boolean = myPrintJob.start();
    if (result) {
    myPrintJob.addPage("print_mc", null, {printAsBitmap:false},
    2);
    myPrintJob.send();
    delete myPrintJob;
    } else {
    thanks

    erictomlinson,
    > So, if I turn off the xml/css and use htmlText to create
    > content for the text field, the text uses the embedded
    > font and is anti-aliased.
    I'm with ya. Presumably, then there's a font symbol in your
    Library,
    right? And its Linkage identifier is "arial_font"?
    > If I keep the xml/css but comment out embedFonts, then
    > the content works but is not anti-aliased.
    That's because your CSS calls for Franklin Gothic Book,
    which hasn't
    been imported into your Library as a font symbol (at least,
    you haven't said
    it has).
    > I need both of these to work at the same time.
    Give Franklin Gothic Book a Linkage identifier, and use that
    name in
    your CSS.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Is printing to generic text printer and hand-coding the report possible?

    We have created Oracle Reports that are formatted to print to Zebra printers. We code the report in Report Layout and the text printed is for generic text printers, what our Zebra printers requires. Can this be done with APEX reports?
    Example:
    ^xa
    ^ilr:val_set.grf2^fs
    ^fo88,132^a0,90,80^fb464,1,0,C,0^fd&<ACCESSION>^fs
    ^by2,3.0,32^fs
    ^ft64,402^BCb,32,n,n^fd&<FARMFIELD>^fs
    ^ft600,402^BCb,32,n,n^sn&<LOCLOW>,1,y^fs
    ^fo304,232^a0r,20,20^fd&<LOCTYPE>^fs
    ^fo334,232^a0,50,45^sn&<LOCLOW>,1,y^fs
    (skipping some code here for brevity)
    ^pq&<LOC_ROWS>^fs
    ^xz
    Asking whether APEX can print to generic text printers and can we code the report output
    ourselves.
    Thanks for any help.
    dave

    Here is a simple example of printing via pl/sql to a text file...
    create or replace procedure utl_file_io is
    l_fil utl_file.file_type;
    l_buf varchar2(200);
    begin
    l_fil := utl_file.fopen('TMP', 'amar_test.t', 'W');
    utl_file.put_line(l_fil, 'This is a sample text file.');
    utl_file.put_line(l_fil, 'Generated from Oracle utl_file package.');
    utl_file.put_line(l_fil, 'Below is the content of am1010 table.');
    for rec in (select col1, col2 from am1000) loop
    utl_file.put_line(l_fil, rpad(rec.col1, 15, ' ') || rec.col2);
    end loop;
    utl_file.put_line(l_fil, 'End of File');
    utl_file.fclose(l_fil);
    exception
    when no_data_found then
    utl_file.fclose(l_fil);
    end;
    This routine will generate a text file to the default directory on your server, you would need to build an Oracle directory and change the code to include the path to your file there. Getting it to the printer could be a simple shell script that copies the file out your your printer if it is on the network and can be seen..
    Thank you,
    Tony Miller
    Webster, TX

  • Superscripting in dynamic text: is it possible?

    I'm hoping this is a quick fix! I need to dynamically load a
    string containing an expression with superscripted numbers. Can i
    do this?

    I guess I should have checked the knowledge base first. I
    will use static text as superscripting is not yet available in
    dynamic text.

  • Dynamic Text Field is not displaying foreign characters... HELP!

    I have a dynamic text field that is not displaying foreign characters properly. They appear as boxes.
    Here's what I've tried.
    Under properties for the text field, I clicked on the embed characters button. In there, I pasted all the special characters I would need and clicked okay. Shouldn't this be enough for the text to display properly? What am I missing? Please help...

    More info: I'm noticing that in the actual dynamic text field in my .FLA file, if I type a foreign character like é, it pops up as a block. My family font is set to New Caledonia... is it possible that New Caledonia doesn't have those particular glyphs? The thing that doesn't make sense to me though is, last year when I made this card, it worked fine with New Caledonia... Any help is greatly appreciated!!

  • EDGE and HTML dynamic text in a "box" with scroll bar

    I'm new to EDGE, a win7pro master collection cs5.5 suite owner. I'm mainly in the Film/Video post production field (mostly AE, PPro, Pshop, IA) but have been branching into web design the last couple of years.  I use Dreamweaver, Fireworks, Flash. While I'm a expert user with all the Film/video apps, I would say I only have intermediate ability with the web apps. While I understand a lot of programing logic bulding blocks I'm not a coder.
    So since we're told "flash is dead",  my interest in Edge is to try to do some of the things that I can currently do in flash in  EDGE. I was excited when Edge first came out but lost interest when it became obvious that Adobe was not going to offer Edge and Muse to "suite owners" but only in their force feeding of the "Cloud". Better known as the "golden goose" for adobe stockholders and a never ending perpetual hole in the pocket for users. Anyway....
    I spent the last couple of days doing some of the tuts and messing with the UI. It's matured a lot since I was here last.
    I've been working on a flash site for a sports team where one of the pages is a player profile page where college recuriters and other interested parties can view recuriting relavent info/stats about players. This is how it works. While on the "Team" page a users clicks on  a button labled "Player Profiles" . (Animation) A "page" flies in and unfurls from the upper right corner (3d page flips effect created in AE played by flash as a frame SEQ). Once it lands filling most of the center of the screen there is a bright flash. As the brightness fades we see the "page" is a bordered box with a BG image of a ball field(End). (Animation) from behind the border in fly small pictures (player head shots with name and jersey number). They stream in and form a circle like a wagon train and the team logo zooms up from infinity to the center of the circle(End). As the user mouses over a player's pic it zooms up a little and gets brighter (like mouseover image nav thumbs for a image slider). If the user clicks on a player's head shot it flips over and scales up to become a text box with a scrollbar. The content of the box is a mix of images, static and dynamic text fields populated from data in an "player info data base" XML file, and some hyperlinks. It's all kept updated dynamicaly with current stats, info and images from the XML file. There is also a "PDF" button that allows the user to open/save/print a PDF of the player's profile (the PDF's are static files for now but the choice of which pdf to retrive is dynamicaly supplied via the XML file.
    So.... Is Edge now able to do something like this?  Would it need to be a collection of small animations? could these be "assembled" and connected as an asset in dreamweaver ?
    I thought I would approach this from the end (ie click on an image and display a box with dynamic TEXT fileds. ) since that is the most important part, ie displaying the dynamicaly updated profile info.  Sooooo....
    Can Edge display a scrolling text box with Images, static text, and html dynamic text in it??
    Joel

    The code is in composition ready. Click the filled {}

  • Adobe form -- Issue in Displaying Dynamic text along with Static text

    Hi All,
    I am having an issue when i am displaying a dynamic text along with static text in adobeforms.
    The dynamic text is slightly coming down and not aligned with the static text. i can see half row it is coming down.
    how to align both texts to be printed in same format.
    Request all of your expert advices in achieving this .
    Thank you in advance.
    Thanks&Regards,
    Phani Miriyaila.

    Hi,
    Select both dynamic and static text in the layout. Goto Object palette -> Layout. Give values to X,Y coordinates and Height & Width. Anchor properly and specify margins as well.
    Select both dynamic and static text in the layout. Right click on it and goto palettes -> Paragraph. It gives you the text alignment options. Align the text and give similar font and size.
    Thanks & Regards,
    Sanoosh

  • BPM Alerts - Dynamic Text

    Hi,
    I'm triggering Alerts from BPM with Dynamic variables. In ALRTCATDEF I was not able to define the header ( Subject field on the email ) as I need to check Dynamic Text box which will deactivate Short and Long Text. Furthermore Shortext ( for example its like " Process number 00001234567 " ) in ALRTINBOX becoming Subject field in the email.  So when we receive email with the Subject field as "Process number 00001234567" doesn't makes sense until you open the email.
    I did gone thru the document and all the blogs and lost how to fix it.
    Do anyone have the same problem?.. Please help.
    Basically I want to system ID on the Subject line of the email.

    Well there is an alternate solution. But as a standard using the Control Step of the BPM, this is not possible.
    Trigger Alert from a UDF as shown in this blog of mine,
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    And also as shown in this blog,
    /people/community.user/blog/2006/10/16/simple-steps-to-get-descriptive-alerts-from-bpm-in-xi
    Regards
    Bhavesh

  • Dynamic text in PI Alerts without using BPM

    Hello everyone,
    Is it possible to have dynamic text in alert mail subject or mail details without using BPM in PI?
    If I want to configure generic single alert category for all interfaces in my project , and in the subject line of Alert mail, I need to have the Interface ID (unique identifier for that interface) or integration directory scenario name for which this alert has been raised, then is it possible to use some custom alert container for this purpose?  Or is there any other way to have these dynamic texts ?
    We are using PI7.1 in project landscape.
    Thanks in advance,
    Minal

    Hi,
    >>I need to have the Interface ID (unique identifier for that interface) or integration directory scenario name for which this alert has been raised
    those two are not available in the container:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm
    Regards,
    Michal Krawczyk

  • Flash dynamic text in captivate errors

    Hello all,
    Has anyone experienced any issues when using a dynamic text
    field in flash, then importing the swf file into captivate? I am
    using actionscript to populate a few dynamic text fields in flash.
    I am then publishing the swf and importing the swf into captivate.
    Once I do this, none of my text appears! When I launch the swf in
    explorer and the flash authoring environment, it works fine. I have
    tried turning off the 508 compliance, eliminated all captivate
    animations/transitions, made sure that the frame rates are matched
    between flash / captivate (although not likely the prob), using a
    basic arial font Nothing works!!! anyone have any possible
    solutions? Here is a link to the swf that I am working with (tried
    other flash files with 'dynamic' text, none of them work).
    http://kplearning.com/project_testing/flashTesting/table1_wCanvas.swf
    (swf file)
    http://kplearning.com/project_testing/flashTesting/table1_wCanvas.zip
    (working file)
    Thanks in advance for any help!
    Mike

    Hi Deb
    This falls into that "odd" or "grey area" category and is
    likely the reason you haven't seen anyone reply. I say "odd" or
    "grey area", because you are now beyond the realm of pure Captivate
    behavior and have entered the realm of where you are now blending
    Captivate with other Flash output in an effort to try and achieve
    something unique. And there is absolutely nothing wrong with this.
    Personally, I would encourage it, as you never know what you will
    discover to create a neat effect.
    However, having said that, you are now dabbling in something
    that perhaps nobody else has yet tried. I'm no Flash expert just
    yet, but I'm beginning to work on those skills. From what I DO
    understand about blending Captivate with Flash, I believe Captivate
    only likes and easily works with
    Flash 6 output and
    Actionscript 1. Anything newer and it likely won't work. I'm
    unsure if Flash 6 output is even possible to create, where you can
    call an external text file. For all I know at this stage, it could
    be a Flash 7 or Flash 8 only feature.
    Assuming this was something that was part of the feature set
    for Flash 6, if you are using Flash 7 or 8 to create the Flash
    file, perhaps try publishing in the earlier format?
    Hopefully this helps... Rick

  • Alert using Dynamic text in BPM.

    Hi,
    I am using dynamic text function in alrtcatdef transaction for raising an alert using BPM.
    But in the alert inbox I am not getting the an alert error message which is passed to alert catagory in control step of BPM. Can anyone please let me know what may be the possible solution of it.
    I have done the below configuration:
    Configuration done in Alrtcatdef transaction:
    Created an alert catagory
    assigned the fixed recipient
    click the dynamic text button in alert catagory property.
    Configuration done in BPM:
    Used the Control step.
    given the Alert catagory name,action and the alert error message.
    Please let me know the solution soon.
    Thanks and Regards,
    Sandeep.

    HI Bhavesh,
    I have referred the michal weblog and I have done the same step except the container operation step.
    My requirement was to send the hard coded error message to the alert catagory so I didnt used the container operation step.
    In the Control step I have hard coded my error message.
    But still it is not showing in my alert inbox.
    Can you please let me know is there any other settings needs to be done.
    Thanks and Regards,
    Sandeep.

  • Create a Link using Dynamic Text and Capture Variable

    I am building a dynamic website using Dreamweaver CS5 with Coldfusion 9
    Currently I have created a dynamic text table. The table is created by querying the Invoice table and displays the all the customers Invoices. The columns Include Invoice #, Date, Amount Paid, BalanceRemaining, Due Date. So basically lists all the invoices I have applied to the unique customer. It is pulled up using a session variable I created from the login page.
    My question is this I want to make the "Invoice #" linked so when you click on it it goes to a new page and performs a new query which retrieves infro related to that specific invoice such as Services Rendered, Service Description, Date, Price, Total. I was able to create a link to the Invoice # but I am stuck trying to figure out how to capture the Unique Invoice # and apply it to the new query. Is this possible if so how?
    Thanks for your help!

    Now keep in mind I am speaking strictly from a web and SQL standpoint as I have no experience with coldfusion.
    If you are able to create the link to the Invoice, I am perceiving this as the following:
    Invoice
    Links to
    #123
    page.php?invoice=123
    #345
    page.php?invoice=345
    If your page is setup like that then you already have the data stored in the browser request with the GET method.  In PHP the equivalent is the $_GET array.  I am assuming ColdFusion has a similar array to work with forms.  Then on your following page you obviously need to check that the visitor came from the prior page with the proper permissions to ensure that someone doesn't get the address page.php?invoice=### and just guesses through and views all invoices if they are not supposed to.  Then your query would look something like the following:
    SELECT * FROM invoice_table WHERE invoice_number = $_GET['invoice']
    Remember this in written in PHP so yours should be a similar equivalent.
    Hopefully this helps a little to get you going in the right direction.

  • Poor font quality in dynamic text?

    Does anyone notice that, for a dynamic text field, the font
    quality changes with font size?!?!!
    It will consistently become
    suddenly bolder at certain font size!
    It happens on various fonts!
    Refering to the following screenshots:
    http://www.terrencetee.com/general/font/1.JPG
    http://www.terrencetee.com/general/font/3.JPG
    It will only not happen if font is embedded...but due to file
    size this is often not possible!
    Is this a flash bug/limitation? THanks.
    p/s:
    I have checked it also shows the same problems on flash
    player 10.
    Any help will be appreciated.!

    As you say that is because you didn't embed the font. If you
    want good fonts then you need to do that. Problem solved.

Maybe you are looking for

  • Gif loader for background image

    I simply want to run an animated gif while my background image loads for a slideshow. I've searched the web and this forum for hours and can't get the various bits of code tips (ajax, jquery) to work because I'm a totaly idiot when it comes to code..

  • Why can't I record duration as hh:mm in numbers 3.0.1?

    I'm trying to record the durations of different events in a spreadseet. I format the cells to Duration -> Custom Units -> hr and min -> Style: 0:00 Yet when I type "0:35" to record 35 minutes, I get "0:01" and in the tab on the bottom it says "Actual

  • Iphoto library problems

    When trying to open iphoto the following message appears:The photo library was created with an an released version of iphoto. It prompts me to upgrade to iphoto2 or iphoto4. I am running the latest version?????? This problem occurred before upgrading

  • How to relocate keywords file in CS3 ?

    I want to put this XML file with my other data files. Can it be relocated from Documents and Settings....Bridge CS3 to elsewhere ? How do I tell Bridge where the new location is ? Thanks.

  • What determines when a battery is bad?

    I also am having a similiar situation where the battery shuts down early, or drops from 50% to 0% in minutes. I believe the problem is with the battery. Other symptoms include extremely slow opening of programs or the forever spinning "multicolored w