AS3 text problem

Hi,
Just playing with some AS3; and encountered the following
problem (CODE IS ATTACHED):
Wanted to create a MC button I seen done on the
gotoandlearn.com site, but wanted to change it from AS2 to AS3;
Everything works fine, but where I am assigning a value to a
dynamic text field it not working.
b1_mc.buttText_mc.buttonText_txt.text = "Lynda.com";
When I test movie, lynda.com is the text on my MC button, but
Upon ROLL_OVER etc... it displays the test text, not
Lynda.com.
Can someone please help me out here. It would be appreciated.
Kind Regards,
Boxing Boom

Hi,
Yes. Well spotted. I had the instance name of buttText_mc,
missing the _mc part on a few frames with motion tweens applied, on
the button animation. I do not remember renaming it differently ;)
- must blame tools ;)
Kind Regards,
Boxing Boom

Similar Messages

  • Lines around type and other type/text problems in Dreamweaver CS3

    Dear Dreamweaver forum:
    Good news/bad news,
    First the good news…
    My thanks to a forum member by the name of Mylenium. With Mylenium's advice I have improved my halo problem by including a black background when I save type in Illustrator CS3 as part of importing it into Dreamweaver CS3.
    However, the bad news, is that I’m still having type and text problems.
    Problem area 1
    Now, in Dreamweaver, I’m getting lines appearing around the type.
    I am dragging and dropping the .gif type file into a Dreamweaver Div Tag.
    How do I get rid of the lines around the type so that they do not show up in the Safari browser?
    (Please see below)
    Problem area 2
    I cannot drag and drop text from a Word .doc file into a Dreamweaver div tag.
    I also cannot copy and paste Word .doc text into a div tag.
    How do I include text on my webpage without having to manually type it in?
    (Please see below)
    Any help would be appreciated. Thanks! 
    From within Dreamweaver CS3, how do I place text? Dragging and droppign the file does not work.
    This is screenshot of what I see so far when I use Safari to test what I have made so far in Dreamweaver CS3.
    I get lines around type.........not usually a good thing.........How do I fix it?
    The way I created the portfolio type in IllustratorCS3 using the File > Save for Web and Devices. I then imported the resulting .gif file so that it was within my root folder within the Files panel within Dreamweaver CS3.
    Am I doing this right?

    Hi
    The problems you are experiencing with the image text, (why are you using image text, these days?) is probably cause by the image having a border when created in illustrator, or the image size being set incorrectly.
    As for the word text if you are using windows, see http://livedocs.adobe.com/en_US/Dreamweaver/9.0/help.html?content=WSc78c5058ca073340dcda91 10b1f693f21-7ce6.html.
    On the mac it is a little more complex, save your word doc as html, then apply the 'clean up word html files', (see - http://livedocs.adobe.com/en_US/Dreamweaver/9.0/help.html?content=WSc78c5058ca073340dcda91 10b1f693f21-7ef5.html) copy the relevant text and mark-up from the word html file, and paste into your html document in the required position.
    PZ
    www.pziecina.com

  • Load AS2 swf into AS3 swf problem

    I have a flash with AS3 and inside this swf i load in a AS2 swf.
    to load swf works just fine, but the problem is when i load this i want to go to
    a specific part of it, for example i want to go to frame 3 in the loaded swf.
    i must control this from the AS3 swf, does someone know if this is possible?
    thanks in advance

    so can i do like this then to go to frame 3 in my loaded swf?
    MovieClip(ldr.content).gotoAndStop(3); ?
    sorry for being such an airhead
    thanks for helping me out =)
    Date: Sun, 7 Jun 2009 10:25:09 -0600
    From: [email protected]
    To: [email protected]
    Subject: load AS2 swf into AS3 swf problem
    no.
    if, in your loaded swf, you have a function f1() on the loaded swf's main timeline and you load that swf using a loader (say ldr), use:
    MovieClip(ldr.content).f1();   // to call f1() in the loaded swf
    >

  • Workaround for the Fade/Appear blocky text problem in IE

    Just wanted to share with folks a workaround for the IE
    "blocky text" problem that you see when using Fade effects like the
    one used in this example:
    http://labs.adobe.com/technologies/spry/samples/data_region/DetailRegionEffectsSample.html
    It turns out if you set the 'background' CSS property on the
    element you are fading, that IE properly renders the text. So to
    fix the effects sample above, all you would have to do is modify
    this CSS rule in the file to place a background color on the
    description region to get things to look good in IE:
    #description {
    opacity: 0;
    filter: alpha(opacity=0);
    background: white;
    So if folks have been avoiding the use of effects because it
    makes things look terrible in IE, you now have a workaround.
    --== Kin ==--

    I was using spry's AppearFade effect to transition between
    "slides" in what equates to a viewstack that I created.
    Then I noticed that it would take bold text in IE and make it
    look all smudgy or blurry.
    Well, after working on it for a while, I got to thinking,
    "This problem is specific to text rendered in MicroSofts
    browser"... "Hmmm, I wonder".
    So, I tried using this style rule: [ font-family:"MS Sans
    Serif",Arial, Geneva, sans-serif; ].
    Lo and behold, feed the stupid MS browser an MS font and it
    does not blur the text.
    I just wanted to get this our there. Because someone might
    want to solve this in a way where they don't have to set a
    background color...

  • Default AS3 Text component bounce effect help

    I tried posting this in an Actionscript forum without much
    help. I hope someone here can point me in the right direction.
    So I need help trying to figure out how to add an AS3 effect
    to an AS3 Text component.
    var savedNote.Text = new Text();
    savedNote.text = "Selected options have been saved!";
    savedNote.visible = false;
    var submitButton.Button = new Button();
    submitButton.label = "Save selected options";
    submitButton.addEventListener(MouseEvent.CLICK,
    onSubmitButtonClickedHandler);
    public function
    onSubmitButtonClickedHandler(event:Event):void
    //here set the visible for the text to true but i want a
    bouncing effect
    // to be applied to the text component "savedNote" each time
    the button is clicked - HOW
    savedNote.visible = true;
    so each time the user clicks on the button I want the text to
    appear the first time and then have a bouncy effect so that the
    user know the action to save when button is clicked actually took
    place.
    HOW do I do this with AS3??? Thank you! if anyone can point
    me to online tutorials that would be great!

    Pasting your code right into my Flash file works well for me. Are you able to see the text in a black color? Are you able to change everything else except for the color?

  • E6 Big Texting Problem

    Can anybody help me out with this problem?
    My E6 has developed a texting problem, whenever I send a text none of the text appears in the conversation speech bubble, just the date or time when it was sent and the character "0". Does anyone know why?
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    Text.jpg ‏1560 KB

    Would suggest that you backup E6-00 using Nokia Suite, then reset device to "Out of box" state by keying in *#7370# followed by 12345 (default Nokia lock code unless altered by user). Perhaps restore contacts only and try out texting/conversations before restoring device any further.
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • Nokia C3-00 texting problem.

    Hello everyone, this is my frist post on here. So i bought the nokia c3 and unlocked it from the vodafone network. I use my 02 sim now. I just discovered something that annoys me and need help getting rid of it.
    My problem is that after every text send the phone virbates letting me know that i have sent the text and my balance comes up. how do i change the settings so that this doesn't come up. Really annoying as i've just got a new number and sent out a mass text to everyone. The phone vibrated for like 2 minutes straight!!
    Any help greatly appreciated. Thank you.

    At the phone store where I bought the Nokia C3  they removed the Vodaphone  presets ( since I have  another provider ) and they also updated my phone with the latest software available ( see below ).
    But now I have a serious texting problem!
    If you type the Q you get an A , a=q , z=w  and w=z .
    Also after you typed something and you delete the text  and reopen the textbox again this word will reappear on a blue underscore?? Anyone any idea what's happened or had the same problem??
    The phone's update info:
    C3-00
    V04.45
    04-08-10
    RM-614
    Variant: 00.00
    Vitual variant: No Virt. Var.

  • Text Problems in Safari 4

    Just this morning I started to experience bad text rendering problems in Safari 4. I am seeing text that overlaps on other text, text that leaves a button and crosses over into the space next to it, text that is truncated on buttons, image alignment problems, and more. Typing in text boxes is a problem, too -- the cursor doesn't display at the point where text is actually being inserted, but several characters off.
    It doesn't affect every site -- Google and Netflix look OK, while Apple and Facebook are strongly affected to the point of being almost unusable. Firefox and Chrome on the same laptop are working fine. Other programs on the system, like TextEdit, are fine, too. I have tried changing the default font preferences in Safari, but while the text size changes on certain pages, the overlapping text problem isn't helped.
    I have screenshots of the issue -- how do I post them?
    Does anyone else see this issue? Many thanks for your opinions and advice?
    Safari Version 4.0.3 (6531.9)

    Where did you get 67 errors? http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.totallybarbado s.com%2F shows the only error is the "pre" tag which are necessary hacks for formatting the "pre" tag. The other "warnings" are no different than checking apple.com http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http://w ww.apple.com
    They also do not assign background-color to "every" css element. Why would you (to bloat CSS)? So, there is exactly "one" error which is well documented and is supported in CSS2.1 when released.
    The problem is that Safari does not adhere to white-space or "pre" tags (preformatted text). This has been an ongoing problem since it's incarnation. All other browsers (FireFox, Netscape, IE, Opera, Mozilla..etc) do. http://www.w3.org/TR/1998/REC-html40-19980424/struct/text.html#h-9.3.4
    edited: Sorry, had to edit as this forum software actually rendered the <"> tags (without quotes)

  • Weird texting problem

    I have a Z1s running 5.0.2 and I'm not a big texter.  I'm using the stock apps for texting and contacts.  I was trying to send a text to someone I had never texted before.  I brought up their contact page and pressed the little text icon and I got a texting screen except that it was covered by a menu that had options like 'add video', 'add picture' and a bunch of others that prevented me from actually being able to text.  The options did nothing and the back arrow also did nothing, so I was prevented from composing and sending a text.  I sent the text I needed to from my desktop using mighty text.  When I received a reply, I was prevented from reading it by the same menu which still did nothing.  That was yesterday.  Today, the menu was gone and I could read the return text.  For a while though, I was prevented from reading any other text I had received.  I would press on one and the first one I looked at came up instead.  Then that went away after a while and things seemed to have returned to 'normal'. I really don't understand what is going on with my phone.  I like the phone and I love the battery life, but this bit of weirdness and the fact that some apps that worked just fine on my N4, don't seem to work at all on the Z1s.  I have an app named Move that counts your steps during your day.  It worked just fine on my N4, but on the Z1s it's only counting maybe 1-3% of my steps.  It says I walked 89 steps yesterday and that is absurd.  I assume that the app uses the accellerometer to do its work.  I have another app that uses the gps for tracking and it's not registering anything even though the gps seems to be functioning.  And the phone doesn't have as good a connection during calls as my N4.  I get a lot of static and breaking up during calls that I never got on my N4.  99% of my calls are made and received at my home, so that is what I'm comparing.   Anyone have any clues as to what is going on here?  The update to lollipop was done through the pc connection.  Any additional updates have been done OTA.  I haven't rebooted in a while and I think I'll try that first. TIALT

    The texting problem has gone away for a while, so I can't take a screen shot.  I loaded the suggested messaging and google fit.  I don't like changing apps if what I had worked under lollipop on my N4 and now that I have the Z1s also running lollipop they don't.  It seems to me that Sony must have something to do with this problem.  Either the hardware or the software (os) is significantly different (inferior).  The gps tracking app I'm using is called Bubbler.  I tested it today and it only registered my location a handful of times instead of the every 5 or 10 minutes like it's supposed to.  To me this indicates that the gps is not functioning properly. The phone and the sim card are about a month old and it came as a micro sim. I don't mean to be a whiner, I'm just confused and disappointed that things are not functioning as I expected.  And on top of all that, the call quality is less than stellar. SorryLT

  • Dynamic text problems

    Iv not used flash for a while so am just converting from AS2
    to AS3 and am having problems with some simple actionscript
    I have a dynamic textbox created through actionscript inside
    a movieclip and im trying to change the content of this but save
    the previous value.
    Iv taken the previous value and saved it in a variable (a
    string) called
    oldTxt (witch is working when i use trace statements to
    check)
    and then assigning the new text with
    theTextField.text = "some new text"; (again working
    perfectly)
    the problem is when i try to re-asign the old value stored in
    oldTxt, nothing happens.
    the code im using is
    theTextField.text = oldTxt; but its just removing all the
    text.
    any suggestions?

    button.addEventListener(MouseEvent.ROLL_OUT, navOut);
    function navOut(MouseEvent):void {
    trace(oldTxt);
    theTextField.text = oldTxt;
    works fine when i replace oldTxt with "some new text" and the
    value of oldTxt is coming up in the trace

  • AS3 comboBox problem.

    Ok, I have a simple ComboBox with instance name of dragonCombo
    A Lable with an instance name of dragonLabel
    Using a an AS3 called Dragon.as
    When the ComboBox is clicked, a picture should pull up.   The problem is, there are no errors, but The ComboBox is not listing any of the Labels I loaded.  This is my AS3 code, maybe someone can see the mistake I have made somewhere.
    package
    import flash.display.MovieClip;
    import flash.display.Loader;
    import fl.controls.ComboBox;
    import fl.data.DataProvider;
    import flash.events.Event;
    import flash.text.TextFieldAutoSize;
    import flash.net.URLRequest;
    import flash.net.navigateToURL;
    import fl.controls.Label;
    public class Dragons extends MovieClip{
    public var dragonCombo:ComboBox;
    public var dragonLabel:Label;
    var comboDP:DataProvider;
    var dragonLoader:Loader;
    public function Dragons() {
    setupComboDP();
    setupdDragonCombo();
    setupLabels();
    private function setupComboDP():void{
    comboDP = new DataProvider();
    comboDP.addItem({ Label:"Fire"});
    comboDP.addItem({ Label:"IceNFire"});
    comboDP.addItem({ Label:"Ghost"});
    private function setupDragonCombo():void{
    dragonCombo.width = 150;
    dragonCombo.prompt = "Choose a Dragon";
    dragonCombo.dataProvider = comboDP;
    dragonLoader = new Loader();
    dragonLoader.x = 200.00;
    dragonLoader.y = 60.00;
    addChild(dragonLoader);
    dragonCombo.addEventListener(Event.CHANGE,loadData);
    public function setupLabels():void{
    dragonLabel.text="";
    dragonLabel.autoSize = dragonLabel.autoSize = TextFieldAutoSize.LEFT;
    public function loadData(e:Event):void{
    dragonLoader.load(new URLRequest("dragons3/"+e.target.selectedItem.Label.toLowerCase()+".png"));

    Your Dragons class is creating its own dragonCombo (it is not the one on the stage)...
           public var dragonCombo:ComboBox;
    that has no association with the combobox you placed on the stage manually as far as I can see.
    Assuming this is not your document class, if all you are doing is importing the Dragons class, then you are not implementing it at all.  You would have to have a line...
         var dragons:Dragons = new Dragons();
    in you fla in order to instantiate the class.  At that point you might start seeing error messages because in doing that your class is trying to target an object that doesn't exist because it only declared the combobox, it did not create an instance of it, as in...
          dragonCombo = new ComboBox();

  • Tlftextfiled in textarea as3 component problem?

    i customize as3 textarea component (in source : fl.control.TextArea)
    i chnage textField in source to tlfTextFiled and i cand see RTL text in textArea component, but i have a problem , and i can not see affect my change in Direction
    please help me to change direction in this component
    excuse me for my poor english

    i customize as3 textarea component (in source : fl.control.TextArea)
    i chnage textField in source to tlfTextFiled and i cand see RTL text in textArea component, but i have a problem , and i can not see affect my change in Direction
    please help me to change direction in this component
    excuse me for my poor english

  • Crystal Report 2008 export to text problem

    Hello,
    I am using Crystal Reports 2008 for generating reports in our WPF application. In this application, we are exporting the report to txt file on a button click. Now the application contains a form called u2018Print Manageru2019, through which the user can print the exported report(text files). Now the issue, when we try to the any of the exported report file through the application, the printer leaves alternate blank pages. The printer used in this case is DOT MATRIX EPSON LQ-1150II ESC/P2. We even tried printing the text file on HP Laser jet 4600, but the same issue is faced.
    Also, please note that when I try to read the exported txt file, a formfeed(u2018\fu2019 page break) character  can be seen  at the place where the printer leaves a blank page. Hence, my concern is, Is there any property of crystal report that I am missing on or is this a printer driver issue? But if it would have been a driver issue, then changing the printer might have solved the issue.
    I also  tried  doing u2018Keep Togetheru2019 property = false of all the sections of the report. Also, I found that the u2018New Page Afteru2019 property = true and disabled for the u2018Page Footeru2019 section. So I set u2018New Page Afteru2019 property = false programmatically as
    rdTest.ReportDefinition.Sections["Section5"].SectionFormat.EnableNewPageAfter = false;
    but no luck.
    If anyone has faced similar problem or have any clues, please help!
    Any kind of help in solving this issue will be highly appreciated.
    Thanks in anticipation!

    Good morning.
    We've got something to get straight first
    When you say "...from the Report Viewer. The report printed as expected on HP printer...", do you mean the viewer of the .NET app, or the viewer of the CR designer?
    And version 12.0.0.683, is very old (well as far as CR is concerned anyhow   ). That version is SP 1, we are now on SP 2. So that will be the place to start. Get to SP 2 which can be downloaded from here;
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    Ludek

  • Photoshop CS4 Trial Bugs - Eraser & Text problems

    Hows everybody doing...I recently downloaded the Photoshop CS4 Extended Trial and installed it on my computer...I am noticing some bugs and im not really sure if its just a bug in the trial version which will be fixed when i buy the program or if there was an error with the install...
    I dont have screenshots at the moment since im not on the computer having the issue but i can get them if needed...
    First lets start with the eraser tool...When i set the eraser tool as a size of say about 10px it works fine...However, if i zoom in on the image above its nautral size i start to lose the eraser...When i say lose the eraser i mean you can no longer seen the round area which will be erased..When you zoom in part of the circle disappears...It will still erase and area of the set size but its sort of hard to do erasing on detailed images when you cant see the whole eraser....
    More bugs with the eraser....If i set the eraser to a larger size, say 30px or more, i right off the bat start seeing less of the eraser area....It will go from a whole circle down to something like a half moon with only half the circle being displayed...
    This may be a little hard to understand so if need be i will get some screenshots of what im talking about later....
    I am also having a problem with the text...For starters, i cant scroll through the text...When i enter text and highlight it and highlight the fonts i would expect to be able to scroll through the fonts while watching the actual text change on thet screen....I am unable to do that, i highlight the text and the fonts and CS4 will let me scroll maybe 4-5 fonts and then it just stops and wont scroll anymore...
    Another issue im having with the font is the size....Whenever i enter text it is extremely small...Even if im working with a 200px x 200px image if i set my font at say 75px its tiny, tiny enough to where i cant even see it to highlight it....There appears to be something wrong with the sizing of the text...Just to get text to show up normally, at a readable size, i have to set the font size to 800px+ and this is on images which are only like 600px wide and 300px tall...Usually a font of 800px would fill up this image but when i do it the 800px font shows up like a 36px font...
    Like i said if this is all to hard to understand i can get some screen shots later on...I wanna make sure this is something which can be fixed before i go ahead and drop 700+ on the program...

    Yes i installed the patch...That was the first thing i did, before checking the video driver...The patch didnt fix any of the problems im having...The video driver update did however fix the eraser/brush issue...
    I did what you said in post #1 about un-checking the option listed....When i did that nothing changed for me....
    I have some more details about the scrolling issue though....From what i am able to find it seems that if i just enter digits i am able to scroll through the entire list of fonts and see a live preview of every single one....
    With any sort of text it will only allow me to scroll through 5-6 fonts...You can see that it wants to scroll more when i hold the arrow down cause you can see the blue hightlight flashing and the words trying to change but it just wont go any further...At times when i hold the arrow down to scroll through the fonts it will scroll through 5-6 and then all of a sudden just go white and wont let me scroll up or not...At that point i have to select the font list and pick a font

  • SMS text problem

    Please, I really need help on my phone.I was using a blackberry 8220 and was always encountering problems when i send sms text messages,the is always a clock display in red.may not be able to send messages not until i switch off the phone,remove the battery for a few minutes and replace before i will be able to send sms texts.i just got a blackberry bold and am encountering the same problem.Every other moring,i need to switch the phone off,remove the batteries and leave for a few minutes,then replace before i can send sms texts.Is this problem peculiar to my phone or a setting on my phone or do i need to format my phone and restore to factory defaults?I seriously need help on this.Would appreciate a detailed help.
    Thanks in anticipation that i get a response soon

    Welcme to the cmmunity supprt frums
    Hello, try this link and go down to "solution" and see if it helps any. 
    Help with sending SMS
    Nurse-Berry
    Follow NurseBerry08 on Twitter

Maybe you are looking for