ActionScript 3.0 :: Only Displaying XML-text In Certain Browsers/computers?
Jan 11, 2011
After a lot of trouble building a horizontal news ticker and got it working. Or so it seemed. It only worked on my computer and not in Google Chrome, so it seems there's some kind of problem somewhere?
Code:
ActionScript Code:
import flash.display.MovieClip;
import flash.text.TextField;
import flash.utils.Timer;
[Code].....
View 1 Replies
Similar Posts:
Jun 26, 2010
I've been testing my website's intro banner on a few different computers.
On my computer, in Safari and Firefox, it plays at the same speed as when I play it locally.
It runs fine on all machines I checked at work, but one. On my slowish laptop, ran slowly there too.
It's a pretty small file 87kb. Is it a cpu issue and not being able to process multiple animations at the same time?
Is there a way to remedy that or just don't worry about it? Is there some sort of standard when it comes to cpu/swf testing?
My concerned file is the middle banner at [URL]
View 1 Replies
Jan 18, 2010
I am half way done with making my first flash web game. I put alot of work into it and dont really know how great the performance will be on browsers and range of different types of computers. This is my first time working with flash in general. I was wondering if there is any tools to test my game out against browsers and hardware. The game might work great on my computer, but how can i ever tell how great it works in a range of browsers and computers.
View 4 Replies
Oct 3, 2009
My SWF works well in all three browsers when tested on my local system: Firefox, IE and Safari.However,when tested from the server FireFox and Safari both do not complete a portion of the SWF motion.I have a number of dots that move in from different directions then line up followed by moving text and objects. in both Firefox and Safari the dots only begin to move then the SWF move on to display the other objects correctly.Am I looking at a timing issue or a loading issue?The site is [url].... view the top banner.
View 1 Replies
Aug 15, 2009
I ve made this website [URL] as part of a college assignement. There is a menu navigation on the bottom of the page (portfolio, events, etc.) built from an external XML file. The fact is I get complains from some users that they cannot see the menu at all. Is this a screen thing? A flash player issue?
View 4 Replies
Jan 13, 2011
I inherited a flash website about a year ago.. not sure what version it was originally done in. I've made changes on the model last year using CS3 Flash Action script 2, but don't remember the flash version when published. The audio in question is the music that plays in the background when you get on the website:
[URL]
When I changed the image of the model this last week using CS4, I published it as Flash8 actionscript 2... now, the music plays on Mac Safari and Mac Firefox, but not on the Windows versions of IE or Firefox..
this is the code called sound control
onClipEvent(load)
{
_root.soundstatus="on";
_root.mySound = new Sound(_level0);
[Code]....
then there's the stop() that's used when the music is toggled off..
I've tried updating the flash player in Windows to the latest release, and I even tried republishing as flash 10, just not sure where to troubleshoot this..
View 3 Replies
Mar 29, 2010
[URL]... I am working on finishing up the above site, but I am having issues when I look at it in different browser. Safari shows issues with apostrophes and parentheses. When I look at the text in Google Chrome there are text errors. Is there a way to fix this? Using CS4, Action script 3
View 1 Replies
Aug 12, 2010
All text (including dynamic and static text boxes) disappear while previewing in IE (IE8, IE7) but visible in other browsers (Firefox, Opera, Chrome). The movie URL [URL].
View 3 Replies
Aug 28, 2011
When I create a TLF text area that is editable at runtime (which means that it can get a user input at runtime) I set the text direction to the 'right-to-left' definition in both the 'container and flow' and the 'paragraph' sections and set the language for Arabic or Hebrew at the 'locale' setting. I also set the text alignment to the 'align to start' mode. Now at runtime there's a stange thing. When I try to click with the mouse cursor on the editable TLF text-box, it's not displaying the text icon cursor and don't allow me to insert text inside.
But when I move my mouse cursor over the right side of the editable TLF text box, it change his appearance to the familiar text cursor which indicate that if you click here you will be able to insert text input inside. So my problem is how can I make it that only when I will hover over the TLF text box itself, the mouse cursor will be changed to text cursor icon and when I will hover beside its right side, it will remain at the normal cursor mode.
View 1 Replies
Nov 6, 2009
There's a movieclip, lets call it myMovieClip. Inside this movieclip there is a dynamic text box, lets call this one myText. Now to change the text within this text box that is embedded in a movieclip, it's simply:
[Code]....
However, what if there is a variable, called myVariable that stores the instance name of the text box. With only one text box I know it's pointless, but for the sake of example, lets leave it simple. So, suddenly the code looks like:
[Code]....
View 2 Replies
Jan 16, 2011
So, I have some basic actionscript code. It's a legacy site, so I'm using AS2. The line of code simply does this:
myField.text = "some text"
So, I select the text field on the stage, then ensure the font is embedded. All the glyphs I want are checked, but then when I compile and test, the fonts don't show up when the code is executed. Instead, the textfield is blank! What happened?! Where did the text go?
I should mention that the .swf which I compile is loaded into another parent .swf during runtime. If that parent .swf does not contain embedded fonts, is that why it's broken?
View 1 Replies
Mar 2, 2011
I am working in Flash CS5 and I have placed a text field (dynamic, classic text) on the stage. I am accessing it through Actionscript on the same frame like this:
var ct:TextField = TextField(getChildByName("Temperature"));
ct.text = "Hello world";
What ACTUALLY appears is this: So... The H, Ls, and D are gone. Mysteriously. Without warning. I am sitting here utterly confused. Is this just me?
PS. The text field is set to Myriad Pro Bold, a font on my computer, so it isn't like it's a font problem.
View 3 Replies
May 24, 2010
This should be basic enough but I'm having trouble troubleshooting it
var instrument:MovieClip=banjo;
instrument_txt.text="The " + String(instrument)+ " has been selected!";
I wanted this to result in dynamic text field displaying
"The banjo has been selected!" but it results in "The [Object MovieClip] has been selected!".
Is String(var) wrong command to use? The only reason I could think why it's not working is, that the variable has been stated as 'MovieClip' instead of Number or Text. What can be done in the case of MovieClip if this is correct?
P.S I'm wondering if there're rules on asking questions on this board... I've asked two for today already and they would be considered pretty 'basic' ones to professionals / experienced users on this board >_<
View 2 Replies
Jul 10, 2009
I'm reading text from a text file and displaying it into a text field. The problem is when i read it doesn't display the text as it is in a text file. For ex - See below imageNow , as you can see, second line in the text file starts right where first line ends.But flash doesn't display it like that. I have hundreds of lines and in most cases flash spaces consumes less space then a text file. The font in both text field in Flash and notpad is to Arial so the font shouldn't be a problem.
View 8 Replies
Mar 13, 2006
I want to parse the data from an XML file into an array and then put each of the values in the array into a dynamic text box on the stage. The text boxes are name "number1_txt", "number2_txt" &c.I have managed to set up a loop to parse the XML into my array and also to generate the names of the text boxes dynamically but I can't get the values from the array to display in the text boxes!
function parseXMLNumbers(doc:XML):Void {
temp = new Array();
for (a=0; a<doc.firstChild.childNodes.length; a++) {
[code]......
View 2 Replies
Nov 14, 2008
Right now I have an application that reads an XML and displays thumbnails of images. A user clicks on the thumbnail and a larger image appears.
What I would like to do is, instead of loading "images" into the thumbnails from the XML, I would like to load "text" into the thumbnails from the XML. So now the user can click on the text and an image would appear.
View 4 Replies
Jul 4, 2009
I am running a website template and i had to change the text but there is alot more text then what I started with.and now it won't all display of it I am new to Flash and not sure what to change to make it work like I need/
View 11 Replies
Jan 13, 2011
I have the following AS:
function clicButton(e:MouseEvent) {
//if (MovieClip(root).gallery_category_num !== numButton && _root.gallery_flag_animation==true) {
[code].....
View 1 Replies
Sep 16, 2008
I have a relatively simple task. On the stage is a map with a hotspot button for each region. Each button has an instance name. In the bottom left I have a shape called "box" that will be the location of the textField.
How would you set up a set of eventListeners such that when the user selects the hotspots text is displayed in "box" with the name of the region? And I was wondering if there is a way to use an array structure so that I don't have to create listeners for each region (there are 13 regions now, possibly more in the future).
View 5 Replies
Jun 8, 2009
I have a FLV clips that needs to be playing continuously in the background. I have imported FLVPlayback component in the library and wrote few actionscripts to load FLV and play in loop. I created another Layer on the top and want to put few Text objects that show dynamic numbers. But as soon as FLV starts playing, it overlaps everything in the upper layer and Text objects are hidden.
Complete picture: I am embedding swf in a c# application and I am directly calling actionscripts methods from within c#. And my application periodically sends out dynamic texts from c# to flash. Everything works great but when I play FLV video at the background, none of the objects Text objects are visible. I tried placing other symbols, graphics over video layer but no luck too.
View 5 Replies
Apr 29, 2010
I made a number of Flash Movies during the week on my MACbook using CS4. Today when I open the files to continue building, I do a control movie and/or export movie and all my images display and move as designed but ALL TEXT is invisible. these same files worked fine yesterday. Aside from a shut down, with no issues, at the end of the workday nothing has changed that I can forsee.
When I publish an FLA, I get this message prompt:"Some characters could not be converted to outlines because an appropriate outline font is not available. These characters will disappear in the swf movie file. The characters that failed will look jagged if you choose Anti-Alias Text in the view menu."obviously I tried resetting the preferences and editting the anti alias preferences.. it is happening to all FLA files going back years and versions.
View 10 Replies
Oct 4, 2010
This one is really strange. The last letter of all my text in the actions window gets cut-off by the next letter (or space) and it is making my script very difficult to read.
View 3 Replies
Aug 14, 2011
-I got two movie clips in library (s1 and s2). -Got text filed in each movie clips ($text1 and $text2) I wrote the code to show the texts of two movie clips.
However, s1 showed the text, s2 doesn't. Why? Attachment for reference.[URL]
[Code]....
View 3 Replies
Jul 19, 2009
I have a dynamic text block (with text in it), which is on a button. This button is within a movie clip. This has created a "slide-in" / "slide-out" illusion when clicked on it.
My problem : The dynamic text does not display at all. If I change the text to Static, it displays.
Am I missing something, or why is this not displaying??
View 9 Replies
Oct 14, 2009
Since my original post got moved to Components thread, but no one is responding and the majority of the people on the Forum are here, I'm gonna repost it here. I have an AS created List Component that is dynamically populated using a dataProvider populated from an XML document. When I addChild to the main timeline, everything works. When I addChild it into a MovieClip, the list shows up with the appropriate number of rows, but no text.[url]...
View 0 Replies
Apr 13, 2011
I'm loading text into a text field from an XML file. I'm creating a very simple CMS for someone's website and, if they put in a link I want it to show up on the site. I remember, years ago, being able to simply display XML as HTML, so when inserting.
HTML Code:
<a href="#">A Link</a>
into mytextfield.text, an html-esque link would actually show up in the .swf. Of course now I can't find it anywhere.
View 2 Replies
Jun 3, 2009
I am designing a .swf that has an input text box on one frame and a dynamic text box on another frame.I'm trying to find the code that allows you to take the input text and display it on the next frame in a dynamic text box.
View 2 Replies
Jun 21, 2006
I cant see why the first caption of a dynamic text box want load. Its the caption from a xml gallery Once I go to the second pic it starts loading and if I go back to the first pic it loads.
View 3 Replies
Feb 24, 2009
Why this code displays only half the letter A
Code:
var boxFld:TextField = new TextField();
function setTxt(_xPos:Number,_yPos:Number,_size:Number){
var format:TextFormat = new TextFormat();
format.font = "Arial";
format.color = 0x000000;
[Code] .....
Its really weird. When published only half the letter A is displayed.
View 2 Replies
Sep 2, 2009
Ok I have a bunch of buttons that represent a different restaurant. When I roll over the button I am the name of the restaurant to appear in a dynamic text field. Now I can get this to work, but I feel that I am doing this the long way and that there should be a more efficient way of doing it. Is there a way of setting up an var object that would contain the names and when the button is rolled over , it would pull that name from that object and place it into the text field? Here a sample of the code that I am using:
function offName(event:MouseEvent):void
{
MovieClip(root).names_mc.gotoAndStop(1);
}
[Code].....
View 2 Replies