hi Steve,

This is an old bug left over from Flash 4 (and FlashLite now). It's related to instances of objects no longer responding to coded tweens after those same objects are dragged n dropped by the end user.

It is also related to non-embedded text fields not showing up when behind a mask.

Try doing the rotation in the timeline manually, rather than coding the movement as a tween. Tried it here and the text box stayed visible and changed the text as the variable was changed.

 Embed the fonts, as others have suggested too.

good luck,
Dave_Matthews
http://www.2GoTo.com



Message: 12
Date: Fri, 16 Jun 2006 10:39:55 -0700
From: "Steven Sacks" <[EMAIL PROTECTED]>
Subject: RE: [Flashcoders] Can't update text in rotated text field
To: "'Flashcoders mailing list'" <[email protected]>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="US-ASCII"

Why don't you just rotate the entire movieclip instead of the text field?
Works for me.

Here's the script for always printing landscape with PrintJob:

function printCertificate() {
        var mc = MC_Certificate;
        var realW = mc._width;
        var realH = mc._height;
        _pj = new PrintJob();
        var pageCount = 0;
        if (_pj.start()) {
                var portrait, cXscale, cYscale;
                var orient = _pj.orientation;
                if (orient.toLowerCase() != "landscape") {
                        portrait = true;
                        mc._rotation = 90;
                        mc._x = mc._width;
                        cXscale = (_pj.pageWidth / realH) * 100;
                        cYscale = (_pj.pageHeight / realW) * 100;
                } else {
                        cXscale = (_pj.pageWidth / realW) * 100;
                        cYscale = (_pj.pageHeight / realH) * 100;
                }
                mc._xscale = mc._yscale = Math.min(cXscale, cYscale);
                if (_pj.addPage(mc, {xMin:0, xMax:realW, yMin:0,
yMax:realH})) {
                        pageCount++;
                }
        }
        if (pageCount > 0) {
                _pj.send();
        }
        mc._xscale = mc._yscale = 100;
        if (portrait) {
                mc._rotation = 0;
                mc._x = 0;
                mc._y = 0;
        }
        delete _pj;
}


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to