Make me Bold!

Hi everyone, first time in here..
Got this really annoying problem! Just made a text box scroll
thing, which is working fine. Only problem is that I need to make
some of the text bold in the external .txt file. I've been sticking
the text in <b>here</b> but for some reason it doesn't
work and it is driving me crazy! Here is my action script:
var textLoader:URLLoader = new URLLoader();
var textFile:URLRequest = new URLRequest("text/enlaces.txt")
var scrollPercent:Number = 0;
var minScroll:Number;
var maxScroll:Number;
var targetScroll:Number = text_mc.y;
var easing:Number = 5;
var scrollAmt:Number = 15;
var scrollDirection:Number = 0;
function textLoaded(event:Event):void
text_mc.external_txt.htmlText = textLoader.data;
minScroll = text_mc.y;
maxScroll = minScroll - text_mc.height + mask_mc.height;
function dragScroller(event:MouseEvent):void
var dragX:Number = line_mc.x - scroller_mc.width/2;
var dragY:Number = line_mc.y;
var dragW:Number = 0;
var dragH:Number = line_mc.height - scroller_mc.height;
scroller_mc.startDrag(false, new
Rectangle(dragX,dragY,dragW,dragH));
stage.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
stage.addEventListener(Event.ENTER_FRAME, setScrollPercent);
stage.removeEventListener(Event.ENTER_FRAME, scrollText);
function stopDragging(event:MouseEvent):void
scroller_mc.stopDrag();
function setScrollPercent(event:Event):void
scrollPercent = (scroller_mc.y - line_mc.y) /
(line_mc.height - scroller_mc.height);
if(scrollPercent < 0)
scrollPercent = 0;
else if(scrollPercent > 1)
scrollPercent = 1;
targetScroll = (scrollPercent * (maxScroll - minScroll)) +
minScroll;
text_mc.y -= (text_mc.y - targetScroll) / easing;
function scrollUp(event:MouseEvent):void
setDirection(scrollAmt);
function scrollDown(event:MouseEvent):void
setDirection(-scrollAmt);
function setDirection(dir:Number):void
scrollDirection = dir;
stage.addEventListener(Event.ENTER_FRAME, scrollText);
stage.addEventListener(MouseEvent.MOUSE_UP, stopScrolling);
stage.removeEventListener(Event.ENTER_FRAME,
setScrollPercent);
function scrollText(event:Event):void
targetScroll += scrollDirection;
text_mc.y -= (text_mc.y - targetScroll) / easing;
if(text_mc.y > minScroll)
text_mc.y = minScroll;
targetScroll = minScroll;
else if(text_mc.y < maxScroll)
text_mc.y = maxScroll;
targetScroll = maxScroll;
scrollPercent = (text_mc.y - minScroll) / (maxScroll -
minScroll);
scroller_mc.y = (scrollPercent * (line_mc.height -
scroller_mc.height)) + line_mc.y
function stopScrolling(event:MouseEvent):void
scrollDirection = 0;
textLoader.load(textFile);
scroller_mc.buttonMode = true;
text_mc.external_txt.autoSize = TextFieldAutoSize.LEFT;
scroller_mc.addEventListener(MouseEvent.MOUSE_DOWN,
dragScroller);
textLoader.addEventListener(Event.COMPLETE, textLoaded);
up_btn.addEventListener(MouseEvent.MOUSE_DOWN, scrollUp);
down_btn.addEventListener(MouseEvent.MOUSE_DOWN, scrollDown);
Help Please

use the trace() function to see if your html-text is loading
correctly and make sure your textfield is html-enabled, though i
don't think that would cause the problem when assigning a htmlText
property.

Similar Messages

  • Pages to DocX Export Makes Everything Bold

    I'm using Pages 5.1 to email out my resume, and everytime I export the document into .docx for submission it makes everything on my resume Bold in the .docx version.  I've tried changing the .docx with Pages but when I go to save the changes it will only let me save a new version of the .pages file.  If I try to use the .pages document to overwrite the existing .docx file the new file it creates makes everying bold again.
    I'm astonished that there appears to be no way around this.  The font I'm using is Arial and everything is in a very standard format.
    Please tell me there is something I can do.

    That works, but there are jobs that specifically ask for certain formats, like docx.
    Thanks though

  • How to make characters bold

    Hi all,
    I send an email that creates an excel file in it. What I want is that some characters or cells should be bold. It can be done through OLE but Ole creates excel file on presantation server and it is not possible to send this excel file via email.
    I wonder whether there is any way to make cells bold in an excel sent as attachment via email.
    Thanks.
    deniz.

    hi,
    try this.
    FORMAT INTENSIFIED ON.
    WRITE: 'Your text or any Variable'.
    FORMAT INTENSIFIED OFF.

  • Script to make texts bold or italic

    I saw someone suggested the following code to meet the need:
    var app = new Illustrator.Application();
    var doc = app.ActiveDocument;
    var bold = doc.CharacterStyles["Bold"];
    var italic = doc.CharacterStyles["Italics"];
    var frame = doc.TextFrames[0];
    bold.ApplyTo(frame);
    italic.ApplyTo(frame);
    But it does work in my case since "doc.CharacterStyles["Bold"];" and "doc.CharacterStyles["Italics"]" declare an error message of "No such element". Is there another way that I can try to make texts bold or italic?

    look here
    http://forums.adobe.com/thread/881071?tstart=0

  • Fonts - how to make font bold in Acrobat X?

    How to get bold font in Acrobat X?

    Acrobat X Standard?
    Not supported.
    Acrobat X Pro
    Supported.
    From Acrobat X Pro Help:
    "Edit text using the Edit Document Text tool (formerly TouchUp Text)
    The Edit Document Text tool works best when editing only a few characters. For more extensive editing, make changes in the original document (if available), and then recreate the PDF.
    If the original document is unavailable, try exporting the PDF to Word. Choose File > Save As > Microsoft Word > [version]. For details, see “Convert PDFs to Word, RTF, spreadsheets or other formats” on page 130." 
    Be well...

  • Can't make font bold, shortcut stopped working

    In the last week or so a few of our users have no longer been able to use the keyboard shortcut to make some fonts bold even though you can go select the bold from the type menu so obviously the bold version is installed and active. After talking with others in our group, some of them have had this happen in the past and then things resolved on their own.  I researched this and found the thread here
    http://forums.adobe.com/message/2653026#2653026
    which mentioned that some fonts don't contain the data to indicate that they contain a bold version, but that theory doesn't seem to apply in our situation. We use a set of corporate fonts that have not changed and the same version of the fonts are installed on all our computers, which are all cloned off a single image so set up is identical. Some users can make the fonts bold using shortcuts and others cannot, so I don't think it has anything to do with the font itself not containing the proper data or it wouldn't work on any of the computers. Also, if I switch to a different user on the same computer I am able to use the shortcut keys so again. Could there be any other reason why the shortcut keys would simply stop working? I've tried replacing InDesign's preference files and that does not work either. We are running CS4 on OS X 10.5.8.

    [email protected] wrote:
    Just wanted to follow-up. I have been in contact with Extensis regarding this issue and they were able to replicate it with several of our fonts. The very nice representative I've been working with said that the issue would be passed on to their product managers to review for a possible fix in a future release. Until then if you add your fonts in place rather than into the fontvault, your shortcuts keys in InDesign should work fine.
    I'm having this issue on the latest version of InDesign. At first I thought it was related to Suitcase, but after updating Suitcase to the latest version, trashing all my prefs and FontVault, re-adding all my fonts, and clearing all my system's font caches, the problem still happens.
    Then I realized it's not related to Suitcase at all, but to certain font families. I'm not sure what causes it, maybe it's because these families have a Roman, Regular, Bold, Extra Bold, Black, Condensed, Bold Condensed, etc. and it just doesn't know which one to pick, so it does nothing? It should at least toggle between Roman and Bold, though!
    This is a very frustrating problem. Anyone know how to fix it? I even tried making a character style called "Bold" and setting a shortcut for it, but any keys I press to set the shortcut, it just beeps at me and nothing happens! Argh!

  • How to make lable bold

    Hi friends can any one tell me how to make the label bold in the forms.Are tell me how to create a label theme

    Go to shared components and select the template.Select the optional lable,this will be the label which you will use across all your forms.
    Select the required lable with help and copy the span style from there and replace it with the span style in the

  • Make text bold using javascript

    To make it short and simple, here is what I need to do:
    In my javascript, I have a long string of concatinations. I need to be able to make some of the words in the string bold, and others normal. I have tried the str.bold() method and that doesn't seem to be working for me. It simply displays bold tags around the word in the text field when I preview (
    word). I have the text field as a 'rich text' as well as 'xhtml'.
    Any advice on how to bold words using javascript would be great. I have looked through the forums and havn't found anything helpful so far.
    I am using Livecycle 8.
    Thanks in advance.

    If you could give me an example, it would be great. I'm looking at the span object right now to see if it's something I could use.

  • Mac Mail no longer allows me to make text bold

    I'm using Lucida Grande as my default font, and since installing Snow Leopard the command>b no longer emboldens the type. Even if I go to format>style>bold it still doesn't work. Even if I go to format>show fonts and select the bold version of the font it still doesn't work.
    Any ideas?

    Hi chaps & chapettes
    My system is running OS X 10.6.4 and Safari 5 (which is when the problems started) (and Mail 4.3)
    I managed to sort this problem after tryin everything from:
    *Font Book:*
    - resolving duplicates
    - validating fonts (and deleting all the warning & corrupted fonts)
    *Linotype FontExplorer X*
    - Clean system font caches
    system/library/fonts
    - manually deleting Helvetica and Helvetica Neue
    The solution that worked for me was to select all fonts in the FontBook application, and click EDIT>SELECT DUPLICATE FONTS
    Once selected, I simply disabled all of them... hey presto I can now, use shortcut keys for Bold and Italics in Mail.
    Hope it helps
    Matt

  • Inserting PNG images in my document makes text bolder

    I created a simple InDesign file using text and JPG images. So far all fine.
    But on pages where I use PNG images instead of JPG images all text on the page is slightly bolder as if some sort of overprint would apply to all text boxes, even the once placed on the Master Page.
    I checked all overprint settings, it's not it.
    Any idea?
    Thanks
    ralph

    That is indeed the problem.
    Any ohter workaround than flattening the images in Photoshop?
    Thanks
    ralph

  • Can you make hyperlinks, bold, or italics in web mac mail?

    I can do all of that in mac mail from my desktop, but there does not seem to be a similar option on mac mail on the web.
    Am I missing something?
    Thanks!

    Most web-based mail editors don't provide fancy formatting. If you know basic HTML you can add the codes before and after text to provide bold, italics, and hyperlinks. However, unless the recipient's mail app is configured to read HTML formatted mail the formatting may not appear as desired.

  • Applying paragraph style makes it BOLD

    I have lots of nice paragraph styles, and NONE of them specify bold in their definitions. Yet, every time I apply one of these styles, the paragraph is bold. I don't know what's going on. Do you?

    I've looked at your file, and basically it's what SRiegle has said, but I'm going to go into more detail to try to help you understand what's happening.
    If you look at the Character Style panel with no text selected you'll see the Bold style highlighted. This means it is set to the default and all new text you enter will have the Bold style. You want to change this to [None].
    Because the text all has Bold applied, at some point the font weight was changed manually on the paragraphs to Regular. This becomes an override of the character style and if you click in the text you'll see the character style change to Bold+. The paragraph style shows no plus sign because character styles are not considered overrides.
    Now the tricky part. When you change the paragraph style, the local override on the character style is removed, but not the Bold style itself, so the new paragraph style is applied along with the Bold character style.
    Is that making any sense?

  • How do I change 'cmd-b' to prevent is loading bookmarks and instead make it bold text text on my blog or wikipage (i.e. web page tex editor)?

    cmd-b opens the bookmarks menu. I want it to edit text to bold when i a typing on my wikispaces page or blog. Safari seems to do this by default.
    == This happened ==
    Every time Firefox opened

    Still trying to solve the problem. It may be one of my Acrobat job options. Any ideas on how to get Adobe OpenType fonts NOT to pixilate in PDFs created in InDesign CS4 viewed on the Internet in older versions of Internet Explorer?

  • Get Children of a GridPane and Make them bold

    Hello,
    i want to set the Children of a Gridpane bold. The Childrens types are text.
    private GridPane labelPane = new GridPane();
            final Text text  = new Text();
            final Text text1 = new Text();
            final Text text2 = new Text();
            final Text text3 = new Text();
       labelPane.getChildren().addAll(text, text1, text2, text3);So basically im searching for something like this:
    labelPane.getChildren().setFont(Weight.BOLD);Does java somehow recognize, that the childrens are from type text, so we can set them bold?
    Because ...
    Text test2 ) = new Text();
    text2.setFont(...)... wouldn't be a problem. Do i have to choose another way?
    Thank you,
    regards

    This is something you would define using CSS - and then assign the respective style class using getStyleClass().add(styleClassName) either on each individual text node or on the grid pane.
    In the lattercase CSS might look like this then (didn't check, might not work):
    .boldchildren-gridpane .text {
      -fx-font-weight:bold;
    }Edited by: Andipa on 06.11.2012 03:32

  • How can I change font, make it bold, etc. in a new message?

    I'm using TB 31.5.0. When composing a new HTML message, I'm not seeing a way to easily change fonts, font size, bold, etc. I have "compose messages in HTML format" checked. My wife says she thinks this feature used to be there in earlier versions of TB.
    Thanks,
    Thom

    Perfect! Thank you so much!
    ''thomprice [[#question-1049880|said]]''
    <blockquote>
    I'm using TB 31.5.0. When composing a new HTML message, I'm not seeing a way to easily change fonts, font size, bold, etc. I have "compose messages in HTML format" checked. My wife says she thinks this feature used to be there in earlier versions of TB.
    Thanks,
    Thom
    </blockquote>

Maybe you are looking for

  • Java Plug-In's SSV Helper 2, Start Detector - are not Verified

    I have the following Internet Explorer Add-ons relating to Java... I had an old version of Java, something like 1.5 or 1.15 ? - it was from 2006... then i installed the latest version of java from the official java website (where i had to say yes to

  • How can I Increase the Thickness of Blinking Cursor in adobe reader?

    I sometimes refer to another part of file of pdf and to get back, blinking cursor is supposed to help me but it is tiny blinking I have hard time to find it back. How can I increase the thickiness of blinking cursor in adobe reader?

  • BADI In ME21n transaction

    Dear Sir, I am looking for a suitable BADI available in tcode ME21n . The BADI must be called at the time of PO Saving . I tried using "ME_PROCESS_PO_CUST" BADI , but in debugging I find that during the PO Saving this BADI is not being  called . Kind

  • Developer does not start

    Hi, I had installed SQL-Developer on my laptop, connecting to a server and it was running OK. Suddenly it hanged, windows was restating (without any interaction) and SQL-Developer was not startable anymore !!! What's wrong ? Heinz

  • System locked into power saving mode

    I have a A6000n tower with Vista home premium 32 bite system which was pre-loaded.  The problem is the system is locked into power saving mode, the keyboard is not functioning,I have already tried other keyboards which all do not function! I have tr