ActionScript 3.0 :: Autosized Dynamic Text Disappearing ?

Oct 13, 2009

I'm having issues with dynamic text disappearing under a specific circumstance. When the playhead enters the Photos frame the code below is executed. This code sets the text value of the linkTEXT textfield and adds a bitmap to the linkTHUMB mc. The code runs perfectly and everything is populated most of the time.

The exception... The website has 4 frames which it can navigate to (home, photos, order, contact). If I stay within the first three, each time I navigate to Photos the textfields and bitmaps will be populated and display correctly. However, if I navigate to the Contact page, either before or after I've already visited the Photos page, only the bitmaps will display.

Strangely enough, the textfields still trace their proper values. It also appears as if their parent movieclips are still in the display list since I get the hand cursor when I mouse over their x+y coordinates. If I trace the parent's numChildren property I can see the textfield is still a child.

So where is the text going, or why does it suddenly disappear? If the textfield is still there and it's on stage in the display list why isn't the text being displayed?

View 4 Replies


Similar Posts:


Professional :: Disappearing Embedded Fonts - DYNAMIC TEXT

Apr 7, 2010

I have a static textfield using Myriad Pro bold font that, when set to STATIC TEXT works absolutely fine, in the correct font. If I set it to DYNAMIC TEXT and test the SWF, the text shows up as a system font; not Myriad Pro If I set it to EMBED CHARACTERS the text doesn't show up at all on ANY system, whether the font is installed or not.

I have tried adding the font to the Library and using that "Family" for Properties>Character in my dynamic text box, but get the same results as when I don't set that to EMBED CHARACTGERS. I've tried selecting the font for the textfield as both the standard OS Font, as well as the one with the Asterisk next to it, but get the same results both ways. The library font is set to "export for actionscript" and "on frame 1". I don't think it's an issue with the font not being available, as I'm able to see it when setting textfield to STATIC type, and I use the font in other CS4 products (Photoshop, etc.).

View 6 Replies

ActionScript 3.0 :: Dynamic Text Disappearing At Full Screen?

Sep 13, 2010

I have a .f4v on a layer using the FLVPlayback command. On top of that I have a dynamic text layer. It plays fine in a browser or at the exported resolution. When I use the command ("fullscreen", "true") or when I open the .swf and go full screen using CTRL-F the text disappears. I have removed the video and put the text on a solid background layer to determine it is the video causing this. I have also tried to convert the .f4v to a .flv and embed it in a .swf in multiple manners but the end result is always the same as the text disappearing.

View 0 Replies

ActionScript 2.0 :: Disappearing Dynamic Content In IE FIX?

Aug 19, 2006

For anyone that has ever run into the flaw that makes dynamic content disapear in IE I've found the solutionThe issue is caching -- I'm not sure what causes the issue but I do know that in IE it tries to cache the PHP/XML doc and it screws everything upthe fix is to concatinate a random/unique string at the end of the load request - Like so-gStuff.load("link.php?cachebuster=" + new Date().getTime());works like a charm ... my problem in IE was when you clicked refresh or you clicked the button that loaded the information into the dynamic text field it would disapear.more info / detail can be found here

View 1 Replies

ActionScript 3.0 :: Disappearing Dynamic Image On Timeline

Apr 8, 2011

I've created a button that I turned into a library class and am pulling onto my stage (same as attachMovie is AS2). This button has a timeline which does a small amount of animation. In my AS, I am loading a thumbnail into each button class and am also assigning mouseevents of roll_over and roll_out to my button... this all is working so far. On roll_over the button's timeline plays to a point; on roll_out, the button's timeline plays to the end and then goes back to the first frame. BUT now my image is gone. Why? Here is my AS:

[Code]...

View 3 Replies

ActionScript 2.0 :: Dynamic Textfield Disappearing 2nd Time Showing?

Jan 20, 2009

If the user navigates away from the screen its on, and come back, the text field cant take input anymore. Flash says the field is there. That its a input field. The pointer changes alrigt, but i cant type into it? and the bug fixing text i put into it disappears. When navigating to another page i kill the movieclip its in with:

ActionScript Code:
removeMovieClip(var_holding_clip);

View 2 Replies

Professional :: Text Disappearing After Publishing A .swf?

Dec 19, 2011

*Using Flash CS5 professional (AS3)*
 
I'm currently working on a LARGE flash presentation broken up into many small flash movies.  the files play fine in the timeline, but SOMETIMES when publishing as .swf, the text is not visible, but all the other objects and tweens play as normal.  My co-worker is also having this same issue, but we can not figure out why.  It seems random and does not happen with all of the files.   We are copying and pasting symbols from file to file.  i don't think that is the issue, though.  i wonder if anyone else is experiencing this or knows why.  causing LOTS of extra time spent remaking presentations. 

View 4 Replies

ActionScript 3.0 :: Text Disappearing From Textfields?

Oct 12, 2009

I'm working on an interactive poetry project. I have 49 textfields displayed in a 7x7 grid. The properties are stored in an array. Here is the code for that. For the purposes of demonstration I place the character "S" as text in each field. This code works as intended.

var instances:Array = [];
for (var i:int = 0; i < 49; i++) {
var j_inst:TextField = new TextField();
j_inst.text = "S";

[code]....

The problem occurs when I want to change the text. When it's triggered the text simply disappears. I have no idea why and I'm running out of ideas. I've tried without the embedded font but to no avail. Changing other text properties like instances[j].x works but whenever I change the text I lose it.

function ChangeText(e:TimerEvent):void {
for (var j:int = 0; j < 49; j++) {
instances[j].text = "X";
}
}

View 7 Replies

Actionscript 3.0 :: Disappearing The Link Text?

Feb 12, 2009

I am creating a map that has pop ups with country information. When a country is clicked, a box pops up with the country name, an overview of the area and a link. All the text is pulled in from an external XML doc. My problem is that the link only shows up on the first box (as soon as it clicks, it wont appear in other countries profiles).I don't receive any errors and the links work fine, just as long as they are the first to be clicked.

View 1 Replies

CS3 Drag Handles Disappearing Resizing Text?

Apr 9, 2009

I'm animating some text, I enlarge it by using free transform tool and drag the handles until my text covers the screen. Problem: the text is so large that the left and right drag handles disappear from the stage, I can only resize using the middle handles and this is not constraining my text the way I want it.

View 2 Replies

ActionScript 3.0 :: Text Loader Disappearing Under A Mask?

Oct 20, 2009

I created a loader class which creates a text pre loader and works fine until I add a mask over the images.Then the preloader doesn't display anymore. The preloader is called "progressOutput"

[Code]...

View 1 Replies

ActionScript 3.0 :: Disappearing Text On MouseOver Tween?

Jul 21, 2009

I have a linked movieclip in my library that contains a dynamic text field. I edit this text via my external class but when I tween my MC, the text just disappears !!

Code:
var goTo1:_goTo1= new _goTo1();
addChild(goTo1);
goTo1.id=0;
goTo1.buttonMode = true;

[code]....

View 4 Replies

ActionScript 2.0 :: Text Disappearing If Use One Font / It Shows In One Textbox

May 19, 2011

Ok, so i have this problem with text dissapearing if i use one font, it shows in one textbox, but the other ones are odd, they either show 0 or 1, or the first letter only, or nothing at all. What's the problem?In the beggining i tried to ignore the problem by changing the font or the font style, but now, it's becoming to ugly if i use too many different fonts.

View 9 Replies

ActionScript 1/2 :: Mysteriously Disappearing From Text Out Of Scroller And Buttons Can Press Twice

Apr 11, 2009

The problem is: When I press my buttons twice, the text in the scroller disappears.Everything is set so that It shouldnt be possible to press the same button twice though.The situation in short is as follows. I have 4 scenes and 4 buttons, every button linking to respectively another scene / page. The buttons all are in movieclips. I have 4 different movieclips all containing all buttons. For the page movieclip the-button in the movieclip getsœswitched o by ungrouping it and so on, and so on.On every scene I put the movieclip, with the correct button switched of, on top, with thenction. The other movieclips are made invisible by the visible = true˜delete this.onEnterFrame; function.Im not a develloper but a graphic designer. Dont know much about AS2. I bought the photoslider and textscroller on FlashDen and thought d finnish of this project pretty quickly, but I thinking m almost there" for already many hours now.

View 3 Replies

ActionScript 3.0 :: Paragraphs Spacing - Line Space Flash Creates When A Dynamic Text Is Loaded In A Dynamic Text Field

Jun 8, 2009

i have a problem with the line space flash creates when a dynamic text is loaded in a dynamic text field on the stage i put a dynamic textFild with istance name "profile_text". then im loadin in it a text. my text is written in the Notepad like this

[Code]...

i already set a Textformat to my dynamic text with i tryied to play with the "Leading".. but i think it something dealing with paragraph. how i can decrease spacing between paragraphs??

View 4 Replies

ActionScript 3.0 :: Object Oriented Programming - Add Text From String To Dynamic Text Field When Click Dynamic Buttons

Oct 14, 2011

All I want to do is add text from my string to dynamic text field when I click dynamic buttons. What should the as code be for this? Here is my code. Right now I just have the click returning another shape.

[Code]....

View 2 Replies

ActionScript 2.0 :: Publish Flash File Certain Graphics And Text Are Disappearing From The Swf File?

May 27, 2010

can anyone explain when I goto publish my flash file certain graphics and text are disappearing from the swf file?

For instance just some static text and also a graphic i've copied three times.. two show up but the third doesn't? really annoying help!

View 2 Replies

ActionScript 2.0 :: Dynamic Text Alpha - Find A Component That Allows Alpha Control With A Dynamic Text Box?

Feb 26, 2005

As far as I know theres in no way to cahnge the alpha of a dynamic text box. I put one in a movie clip and when i try to change the alpha of it everything else in it changes its alpha but the not the DT box. Could someone plz verify for me that u can't change alpha and help me find a component that allows alpha control with a dynamic text box. thx in advance.

View 5 Replies

ActionScript 2.0 :: Loading New Dynamic Text From A Dynamic Text Box

Jan 28, 2004

I'm relatively new to Actionscript, in fact, I just figured out today how to load text from an external source. I have another issue that I'm not sure how to handle. I have buttons for my main nav, a main text box, and a mini text box (both text boxes are loaded dynamically from external files). I want to have the mini text box load new external text files in the main text box. For instance, I have a button for music, which loads a list of songs in the mini text box. I want to be able to click on the name of one of the songs and have it load the lyrics in the main text box. I'm sure it's simple, I'm just new.

View 3 Replies

ActionScript 2.0 :: Loading New Dynamic Text From A Dynamic Text Box?

Jan 28, 2004

I have another issue that I'm not sure how to handle. I have buttons for my main nav, a main text box, and a mini text box (both text boxes are loaded dynamically from external files). I want to have the mini text box load new external text files in the main text box. For instance, I have a button for music, which loads a list of songs in the mini text box. I want to be able to click on the name of one of the songs and have it load the lyrics in the main text box.

View 3 Replies

Simple Text Enlarger - Increases The Text Size Of A Dynamic Text Field

Apr 24, 2010

Problem: I am trying to get a very simple text resize going, for my main content area in a flash website. My aim is to get a button, that on click, increases the text size of a dynamic text field.

[Code]....

This is what I tried, I am very new to Action Script, so excuse the futility of my code.

View 1 Replies

ActionScript 2.0 :: Dynamic Text Box / Xml Content - Text Is Too Close To Border Of Text Box?

Nov 28, 2006

If you take a look at my flash movie you will see that I have draggable movie clips, which contain dynamic text fields. These text fields contain text drawn in from a simple xml document. The problem I have is that the text in the text fields is hedged right next to the border of the autosized text box. This makes them look untidy and in the worst case difficult to read. I wonder how I can add some margin to the left and right of the text to fill in some space.The code which formats the text boxes is:

with (main["dragAct"+i].dragActText) {
text = actText[i+1];
background = true;

[code]....

View 2 Replies

IDE :: Have 4 Dynamic Text Boxes Which Duplicates The Text From A Main Input Text Box?

Jan 27, 2009

I have 4 dynamic text boxes which duplicates the text from a main input text box. How do I write a code to make visible only the dynamic text box I want when clicked it's check box.What is the CODE to make each "DYNAMIC TEXTBOX" visible when clicked on it's checkbox?

View 6 Replies

ActionScript 2.0 :: Show Dynamic Text Field Content In Another Dynamic Text Field?

May 13, 2011

I have a dynamic text on the stage which gets updated (shows numbers) when some buttons are pressed.I just need to know if it is possible to show the first dynamic textfield in another dynamic textfield.Lets say the first dynamic textfield called "price" and the second one called "price2". when a button is pressed, the first dynamic textfield "price" will show a number. is it possible to show whatever is shown in the "price" in "price2" ?

View 1 Replies

AS3 :: Setting A Dynamic Position For A Text Field Relative To Another Dynamic Text Field

Dec 8, 2010

I'm creating an XML-driven pie chart in AS3 with 2 text boxes in each pie slice. Both text fields are dynamic in the sense that they are populated by the XML doc and then told where to place themselves in the AS3. I've got them both using the same x and y position to place themselves at the moment (which of course puts them right one top of each other), but I'd like to make one of the fields (which acts like a label or a title to the larger number and % text field) place itself in a particular spot around the other text field. The result I'm looking for is to have the smaller "title" text field appear approximately 5 pixels above and left-justified to the larger "percentage" field.

Anyway, here are two sections of code that I've currently got. The first chunk, for the Tags portion, sets the position for the "percentage" text field using a good old x and y method. The second chunk, for Titles, is setting the position for the smaller "title" text.

//evaluate tags
private function evaluateTags():void{
for (s=0; s

[Code]....

View 1 Replies

ActionScript 3.0 :: Send Data From Dynamic Text Field On Stage To Dynamic Textfield In Mc?

Sep 28, 2010

I have 2 input textfields on the stage and 1 dynamic textfield.

-input1 is for quantity

-input2 is for page count

When a user enters a number into the page count it makes a calculation and places the outcome into the dynamic textfield. This textfield is for the individual price.All of this so far works. What I want to do now is create another dynamic textfield for the total. So the individual price is multiplied by the quantity and this result is put in the new dynamic text field. I have the code for that working but here is where it gets tricky (for me anyway).The total price is to start off invisible. When I roll over the individual price the total price is to appear (For a test lets just say when I roll over an area the total price appears).To stop cursor flickering this should be done inside a movieclip. So... I have create a movieclip and placed a dynamic textfield inside it. They all have instance names BUT how do I reference it in script?I need to tell the resulting calculation to be placed inside the textfield which is inside the movieclip. If it isn't inside a movie clip I can do it. But how to I reference it when inside one?

View 1 Replies

ActionScript 2.0 :: Dynamic Text In Button Nested In Dynamic Movie Clip?

Jan 23, 2010

I've made a flash movie which will load four movie clips at runtime. Actually, the number of movie clips will depend upon number of "NODE" in XML file. Keeping XML file thing aside, I've tried hardcoded values; 4. Let me describe you the structure very well:

There is a main empty movie clip, instance name "mc_scroll" which will be only item on stage. In this movie clip, another movie clip whose identifier name is "blueMovie" will be loaded dynamically. Inside this "blueMovie" MC, there is a button instance name is "blueButton" and inside this button there is a "Dynamic Text" field instance name is "btn_text".

Phewww.. so long chain... inshort:
mc_scroll->blueMovie->blueButton->btn_text

Now, I can load 4 or any number of "blueMovie" inside "mc_scroll". But I also want to set the button text for each button inside each MC!! I'm sure you guys are getting what I want to do. But its not working. Below is the code:

Code:
//INSIDE THE MAIN TIME LINE
for(i=0; i<4; i++)
{

[code]....

how to assign the text dynamically which is inside a button and this button inside a MC which is created dynamically inside a main MC!

View 3 Replies

ActionScript 2.0 :: Dynamic Menu / Every New Duplicated Mc Contains Dynamic Text Area As A Label

Oct 14, 2009

i have a problem with my flash menu. It's simple menu that contains one MC at start that works as button, u can edit size of the menu from external .txt file by changing the value of menu length. All that works fine , my problem is that every new duplicated mc contains dynamic text area as a label. Labels are also loaded from that .txt file , but that works only for the 1st mc because the newly created text areas in mc's dont have Instance Name set. How can i assign them from as?

View 2 Replies

ActionScript 2.0 :: Looping Through Recordset - Dynamic Text Boxes In Dynamic Clip Arent Picking Up The Variable?

Aug 22, 2005

can't figure out why the dynamic text boxes in my dynamic clip arent picking up the variable when I loop through this recordset!the trace (you'll see here right after I try two ways to assign the variable) traces the correct info back..

[code]...

View 1 Replies

ActionScript 2.0 :: XML Loading, Dynamic Buttons, Dynamic Text Fields?

Jun 7, 2006

I can't get the code to "know" which of the dynamic thumbnails has been clicked (by "know", I mean return an index value, say 0 through 7 if there are 8 projects, that I can use to access that particular project in the array of 8 projects in the rest of the code)... So if the third movieclip thumbnail were clicked, I'd like "2" to come up somehow... I've tried this code, which is kind of lame, I know, based off of the idea of each of the thumbnail movieclips' names ending in their index number:

Code:
//"this" is the button that was pressed; would return a string ending in
//thumberMC_<number of whichever movieclip thumb was clicked>
var: testString:String = this;

[code]....

Lastly, there's a dynamic textfield I'm trying to create that never shows up for some reason. Again, you could see in the FLA (in the "createDrawer" function around line 424).

View 9 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved