ActionScript 2.0 :: Swf Into Swf Text Field Disappears

May 2, 2008

I have a photoGallery.swf, with an xml-generated menu.Every link will load a img.swf listed in the xml file.The img.swf is fairly simple: 1 image in the bg, 1 small txt field that loads some external text.My problem = while the img.swf displays correctly when viewed alone, the text disappears when I load it from the photoGallery. Actually, I can even say that I see the text during the glint of an eye, less than a second, when I load the swf from its link in the photoGallery's menu. So I really don't get why it disappears.Another thing, if I run my mouse over the area where the text field is supposed to be I can see the cursor change.[code]

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Add Wordwrap = True To A Text Field, The Text Disappears?

Dec 1, 2006

tried following the Embed Font example here: http:[url].... exactly with absolutely no results.When I add txtField.embedFonts, the text no longer shows up, and without embedFonts, the fonts are just Times New Roman or something. Regardless, the [Embed source="..."] syntax described in the example does not seem to work. Has ANYONE gotten Embed fonts to work in AS 3.0? Second, when I add wordwrap = true to a text field, the text disappears. (it used to work fine. It stopped around when I started trying to embed the fonts, but it doesn't work even if I remove all embed code.)

View 5 Replies

ActionScript 3.0 :: Dynamic Text Field Disappears?

Oct 15, 2009

Well...I say it "disappears", but it may just be that there is no longer text inside the field.

I don't know if this is supposed to happen or not. Was it ever a headache trying to narrow it down. I can't see why it would be intentional behavior, but here's the issue I've come across when working in Flash CS4:

When I have a dynamic text field on the timeline with an embedded bold font and then add another text field later with the same font with regular style instead of bold, if I try to update the dynamic text field's text, it disappears. I don't get errors when I try updating the text and I can pull the text back out of it, but it's no longer on-screen.

If I never include the second text field, or if it is a different font altogether, everything works like a charm. Also, it doesn't seem to matter if the second text field is static or dynamic.

I've attached an example. In the zip there are 3 files: The FLA, SWF, and Movie Report from Flash.

As it stands, for my project where I ran into this issue, I'm just using the regular instead of the bold style for the dynamic text field.

View 14 Replies

ActionScript 2.0 :: Input Text - "title" Disappears When Click On The The Text Field To Type

Aug 25, 2004

You've seen those Input Text Fields on web sites that have titles on them, i.e. Name, Email, Message, in the Text field itself. Then, when you click on the the text field to type something in, the "title" disappears and you can type your info in. Perfect example: [URL] (Under "contact")

View 14 Replies

Professional :: When Click On A Field To Edit The | Symbol That Allow To Type New Text (for Example, A Timeline Folder's Name) Disappears As Quickly As It Appears?

Feb 8, 2011

When I click on a field to edit, the | symbol that allows you to type new text (for example, a timeline folder's name) disappears as quickly as it appears, therefore no way to edit anything.

View 9 Replies

ActionScript 2.0 :: When Click On The The Text Field To Type Something In, The "title" Disappears ?

Aug 25, 2004

You've seen those Input Text Fields on web sites that have titles on them, i.e. Name, Email, Message, in the Text field itself.Then, when you click on the the text field to type something in, the "title" disappears and you can type your info in.

View 14 Replies

ActionScript 2.0 :: Pass Text From Form Text Field To A Flash Dynamic Text Field?

Feb 3, 2007

Currently I'm using javascript which works fine to pass text from textfield A to textfield B:

Code:
window.onload=function()
{
document.forms.form1.shirtText.value=document.forms.form1.KitGroupID_16_TextOption_38.value
}

Is there a way to pass the textfield A text to a dynamic text input (flash) as I'd like to use the font embedding flash offers. I can make it work when loading a value from a txt file but I'm not sure how to access the value identified above as KitGroupID_16_TextOption_38 and make it appear in a dynamic input box. Eventually I might want to have 3 font choices for the user but I'd like to just see if I can get this working properly first.

View 1 Replies

ActionScript 2.0 :: PHPBB - Login Through Flash Using One Dynamic Text Field And One Input Text Field And No Buttons?

Jul 17, 2003

Is it possible to login through flash using one Dynamic Text Field and one Input Text Field and no buttons? If so how? I have seen many tutorials dealing with logging in to PHP using flash but it requires you to make your own php scripts which i am not familiar with. Can some one tell me how to do this with PHPBBs existing php scripts... I want to be able to login thorugh a Input Text Field box and have it verify it in PHP and also be able to register and view other PHP info such as users online and FAQ..

View 2 Replies

ActionScript 2.0 :: Calculator - Clear The Text Field Then Store The New Input In The Same Text Field As A Different Variable

Mar 30, 2006

I'm making a calculator using Flash MX that works the same way as the basic calculator found on windows (not the scientific one). But having the user input a number, store it as a variable, store which function the user wants to perform and clear the text field then store the new input in the same text field as a different variable and multiply or add or divide or subtract the 2 numbers and getting the equals sign to display the answer when clicked is harder than I thought it would be.

View 3 Replies

ActionScript 2.0 :: Contents Of A Text Field As The Dial Points In The Direction Of The Text Field?

Nov 15, 2004

I am working on a file that has a rotating dial, and I'd like the dial to reveal contents of a text field (a link) as the dial points in the direction of the text field. I have 4 text fields located at 90, 180, 270 and 360 degrees (top, bottom, left and right). I have it controlled via AS, so I've got all the Math but I was hoping someone might know how to reveal the links when the arrow (in the dial) is pointing in these directions.I set up a text field for testing, which shows the degrees, but I'm getting 'NaN' in the field (problems with Theta and converting degrees to Radians, I think). I thought this might help me figure out how to reveal those links, if I can get the NaN to work.Currently, the file is rotating with an onPress, but I'm going to convert it to a mouse follow, instead, so the user only has to float around to see the links.

View 5 Replies

ActionScript 2.0 :: Rotate A Dynamic Text Object The Text Disappears At Runtime?

Jan 3, 2007

Can someone explain why the text of a dynamic text object disappears at runtime when rotated?It happened when I rotated a MovieClip object via actionscript that contained a dynamic text object. So, to test whether this happens all the time, I created a movie clip again with a dynamic text object in it, populated the dynamic text object with a single letter, and rotated it by hand and ran the movie - the letter disappeared.

LOL in a happy, rare accident, I discovered the answer myself. Page 432 of the Flash 8 Actionscript Bible says, "Aside from just allowing text to look the way you want it to look, embedded fonts actually enable your Textfield objects to do some things they wouldn't otherwise do. For example ... a TextField object that uses device fonts (nonembedded fonts) cannot be rotated nor can you change the alpha. But once you embed the font, you can do both of these things."

How: (for dynamic or input text objects) clicking the Embed button in the Property inspector.Note, this will increase the size of your swf. Just embedding the lowercase and uppercase letters from a-z of one font increased the swf filesize from 3-9KB.

View 2 Replies

Professional :: Text Disappears At Runtime When URL Link Used In Text

Jun 2, 2010

I'm having a little trouble using URL links in text. If I select a part of the text and give it a URL link (I'm using mailto: links here), strange things are happening to all the text in that text box at runtime in some cases the leading changes, other times some or all of the text disappears. But it only happens at runtime, so I have no way of knowing if or how to compensate. And simply removing the offending link or linked text doesn't fix the problem once the link has been created the only way to fix it is to create a new text box with no links.

View 4 Replies

ActionScript 3.0 :: Text Disappears When Changing TextFormat Or Text?

Apr 24, 2009

I have a textfield that is dynamicly created which contains some text and has a textformat applied to it, which works fine, and I have my happy little text field.

the problem comes when I try to change the text and textformat after an event. I am doing it as so:

Code:
targ.getChildAt(2).setTextFormat(WoodTxtFmt.contentTitleSel)
targ.getChildAt(2).text = "back"

then the text becomes invisible. I know it is changed because once I rollover the container movieclip, the text appears.

I tried to dispatch a rollover event after I change the text, but no dice.

View 1 Replies

ActionScript 2.0 :: Dynamic Text Field From An Input Text Field

Dec 16, 2010

What I'm trying to do is to write something in an input field and then it should show up in a dinamic field. I can make this happen, but the problem is that the dinamic field shows its new text in the same format as the Input field. For example, the input text is written in TimesNewRoman and the dinamic text is in Arial, but when the dinamic text shows the input, the text is still in TimesNewRoman when I want it to be in Arial.

View 11 Replies

Professional :: Pass The Contents Of The Text Field To Another Text Field?

Nov 8, 2010

I've created a dynamic text field - mediaImportName001 (created , and populated it with the name of a file that I choose to import using a browse button (as3 and AIR).This works fine - I can import the file, and the name appears in the field.
 
I'd now like to pass the contents of the text field to another text field.  But I can't get the contents. If I try to trace the contents of the textField trace("mediaImportName"+thisNum).text     - Flash returns "undefined" (even though I'm asking it to trace after the field has been populated).
 
I use the following code to check that the field really is there and named correctly (the code returns the children):
 
for (var i:uint = 0; i < this.numChildren; i++){    trace (this.getChildAt(i).name + ' type:' + typeof (this.getChildAt(i))+ ' ' + this.getChildAt(i));}
 
it returns:
 
instance370     type:object    [object Shape]mediaImportName001     type:object    [object TextField]mediaFiletype001     type:object    [object TextField]
 
How do I get Flash to give me the text in mediaImportName001?  
 
It's bizarre - this.getChildAt(i).name
 
from above gives me...
 
mediaImportName001     ,
 
yet
trace (["mediaImportName"+thisNum].name); 
 
returns undefined (thisNum represents an increment I use to name multiple clips and text fields, and in this case trace(thisNum); returns 001)

View 4 Replies

Professional :: Text Disappears When Rotate Text Box?

Aug 10, 2006

For some reason when I rotate text it disappears from the swf when i test movie!!?

View 2 Replies

Text Disappears In Flash

Oct 1, 2010

I am new to CS4 and I have an issue with writing text on frames. I am using the text tool to write a paragraph of text which I type in to word to do spell check etc. Then I transfer to Flash and using the text tool paste it in. Now as soon as I let go of the mouse the text disappears but when I click on the text again it reappears why?

View 1 Replies

Dynamic Text Box Scrollbar Disappears?

Jan 9, 2010

I'm using Flash MX to create a website. The user navigates between different scenes/frames using buttons, just like moving to different pages in html (except the "pages" are different parts of the main movie's timeline).The problem I'm having is that on two embedded movie clips there are text boxes which dynamically load html-formatted text files (news updates for different topics). When I run the movie, both of these "pages"/"frames" work beautifully, but after the first time, when I come back to either of them, the dynamic text boxes' scrollbars have disappeared and the up/down scroll buttons don't work. By clicking on the loaded text and dragging I can force it to scroll, so all the content is there, but the controls are gone.

I've been searching forums for a couple of hours on this now and the only thing I found was someone found a similar issue on CS3 which required giving scrollbars instance names (which I did) and then inserting Actionscript telling them to update--and that is a bit beyond me. Is there something I have to type in when the text loads to get it to do that?The script I'm using to load the text into the fields is as basic as it gets (and obviously cut and pasted from somewhere else):

loadText = new loadVars();
loadText.load("history.txt");
//creating the loadVarsText function

[code]....

View 2 Replies

Text Disappears After Converting To Dynamic Box?

Sep 10, 2009

Text box instance is labelled,

Property set to 'Dynamic Text'
Behavior set to 'MultiLine'
Text set in Actionscript:

[code].....

View 1 Replies

ActionScript 1/2 :: Popup Text (but Not Box) Disappears?

Oct 17, 2009

I based the following on an old code I barely understood while creating it, and decided to begin messing with it again in my "learn japanese kanji" minigame. When my sprite contacts a movieclip, (like a door or sign), I want the text screen to appear, and disappear when they are no longer in contact.

The code below almost does that. When the sprite contacts the movieclip (contact code at the bottom of this post), the textbox appears, the text appears, and everything works... for about a split second, and then the text - but not the box, disappears. I think disappearing text has something to do with being loaded through an on EnterFrame, but I don't understand why the box remains.

[Code]....

View 2 Replies

Actionscript 3 :: Text Disappears On Rotation

Feb 21, 2011

I have a map application where booth numbers are being auto-generated for the booths. In the map controls, you can rotate the map 90 degrees and when the map is at 0 degrees of rotation, the booth numbers show up just fine. However, at -90, -180 and 90 the text is gone. Here's the map[URL] Here's the function used to generate the text fields:

[Code]....

View 1 Replies

Flash :: Text Disappears After A Second In Flashplayer 11?

Oct 18, 2011

I recently upgraded to flashplayer 11 and found that it made all the text on my buttons and dynamic text fields disappear. I noticed that you can see it when it first load and then vanishes. I can't find any documentation on this. Does anyone know how to fix?

View 2 Replies

ActionScript 2.0 :: External Text With Css Disappears?

Dec 20, 2005

I'm using an external text file and css along with a scrollbar. Everything works fine till I start using the styles in my text document and then the text dissapears. And my text is supposed to be white, the background of the file is blue.

Here is the code for my scroll bar

Code:
stop();
bar.useHandCursor = dragger.useHandCursor=false;
space = 20;

[Code]......

View 2 Replies

ActionScript 2.0 :: HTML Text Disappears?

Apr 28, 2008

I have a dynamic textbox loading htmltext. In a layer above this I have another dynamic textbox loading some more htmltext. The first box displays the text fine, but when the second box slides into place (as part of an interface animation) the text in first box disappears. I switched the text in the first box to non-html text and it works fine, however, it needs to be html text.

View 3 Replies

ActionScript 3.0 :: Create Search Field / Where End User Inputs Text Into A Field And Flash

Aug 24, 2009

I want to make a search button on my site. I have a bunch of pdf files in a specific location on my site. I want to create a search field where the end user inputs text into a field and flash locates and opens the corresponding pdf file.

View 1 Replies

ActionScript 2.0 :: Showing Text Field As HTML Field With XML/CDATA.?

Aug 26, 2007

Trying to get a text field in my Flash MX movie to pull from and XML file with CDATA tags to show as HTML. I've checked the box to render as HTML for the text data field... but I'm having problems with the Actionscripting.

The field from this line is what I need to recognize as HTML reading CDATA tags:

this.ref["textField"+i].text = subnodes[3].firstChild.toString()

I know I need to do more than just change it to ".html" instead of ".text" and have tried a couple things, but nothing seems to work.

Code:
//Create the XML Object
myXML = new XML ();
myXML.load(newXml);

[Code].....

View 1 Replies

Flash Text Disappears As Movie Loops?

Jan 11, 2010

I am making a flash movie, using text moving across the screen in semi transparency, sort of as a background. In the center is a white box, and content within that box. The semi transparent text scrolls back and forth throughout the movie. But when the movie loops back to the beginning , the white box and content within it vanish for a second...then reappear as the movie begins again. I don't want that microsecond vanish to happen but I don't know how to prevent it.

View 3 Replies

Professional :: CS4 - Masked Text Disappears When Published?

Apr 7, 2011

I have a simple static text MovieClip that is masked in the timeline the traditional way - layer above the text layer has a rectangle and that layer is set to mask. This looks fine in the timeline while authoring. As soon as I publish it as Flash 9, the text disappears

View 3 Replies

ActionScript 2.0 :: Formatting On External Text Disappears

Nov 26, 2009

I have a site that externally loads several txt files that are formatted with html. They work fine until I go to a certain section within my site, then try to go back to another section and the headlines of the text disapear. Check out my site to see what I mean. Go to home, then news, then press. In the text boxes you will be orange headlines but then go to contact and try to go back to home, news or press....and all the orange headlines have disappeared. [URL]

View 1 Replies

ActionScript 3.0 :: Text Disappears After Color Transform

Dec 5, 2009

[Code].....

Text on the box disappears on mouseOver. And also mouseOver doesnt work well after all. how can i correct those

View 3 Replies







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