I've been experiencing a supposed fault with CS3's autoformatting.It completely ignores my selected option of putting spaces around operators, and when assigning variables a class:
Code:
var theText = new TextField ();
it turns it into
Code:
var theText=new TextField ;
erasing the parenthesis... this is definitely not normal.When I delete the spaces that it creates, then autoformat it, it recreates the two spaces...
how could we remove auto tag adding by htmlText Property because when we apply htmlText for a textfield it automatically add <p> and <font> tag. In my project i am saving one textfield property <p align='right'> in server but when i am assigning this value from server its changing to <p align='left'>. So how could we remove this auto formatting by htmlText? As in [URL] link there is written also "When its htmlText property is traced, the output is the HTML-formatted String, with additional tags (such as <P> and <FONT>) automatically added by Flash Player." i want to remove this auto adding tag.
I'm getting errors 5006 and 1084 for my script, currently I'm making a game of brick breaker and can't figure out why I'm getting these errors. I get the 1084 error when auto formatting, and I get the 5006 error when exporting to a SWF
I have recently upgraded my Flash CS4 to Flash CS5 on my MAC, and Flash CS5 to Flash CS5.5 on my PC, these upgrades are causing the Flash Auto Formatting feature to malfunction, it somehow becomes a tool that breaks my code and causes errors while exporting, instead of simply re-arranging the lines.This is happening with all my codes and all my projects, not a specific line of code.
On my website chrisdthomas.co.uk I have installed dewplayer to play some mp3 files. A folder called portfolio contains the sounds.html file that generates the relevant webpage. Within this folder is a folder called sounds which contains the files dewplayer-playlist.swf and playlist.xml, along with a folder called mp3s which contains the mp3 files.On my computer it works perfectly. When I upload it half loads and says "XML Error".If I download it back to my computer it works perfectly again!
I am building a Flex with AS3 application. I am getting a runtime fault on the constructor that declares: public var assetss:Array = new Array; The fault is:[Fault] exception, information=undefined
Code: package{ import mx.core.BitmapAsset; import flash.display.Bitmap public class colorstim { public var assets:Array = new Array; public var imgobj0:Object = new Object; [Code] .....
Flex HTTPService faults end up wrapped in a fault object that seems to obscure the actual returned text. Right now, I return a custom 400/409 error response to service clients that contains useful information about the cause of the error, which I'd like to have displayed to that client.
How can I, given a fault event, get the actual text of the HTTP error response?
When i run it in Flash Builder (debug mode) the remote object called successfully. but whenever i build the application (AIR application), then the remote object will return no result nor fault, the busy cursor is showing about 3 seconds. then no clue at all. how to get advance fault or something than regular fault event or result event? or anyone have the same experience?
UPDATE: Actually it was failed only for ONE service method, for other method (some of them took longer time to call) the service call is work fine. CASE SOLVED So the problem was not on the service call, but on my result conversion that cause the advanced datagrid failed to render.
I'm loading .swf files into a WebView directly using webView.loadUrl("http:url....);. It works perfectly in the vast majority of cases.When loading a few specific swf files on certain devices, though, shortly after the Flash media begins to be displayed, my app closes with a Signal 11 fault caused by the Flash Player plugin. Example LogCat dump here. No Exception is thrown. The same thing happens if I load those files into the xScope browser.When loading them into Dolphin Browser or the default Android Browser, however, shortly after the media begins to be displayed, the following is printed to LogCat:
and an error icon is displayed on-screen: No SIGSEGV fault occurs, and the browser is not terminated.how I could do the exact same thing? Prevent the Flash Player plugin from causing the SIGSEGV fault, and simply handle the error myself, without the app being terminated?
According to Cairngorm architecture, we always have a fault handler in every command class for each service.How we can create a single Class for handling Fault handler event for all the services.
I'm making an interactive film. At certain points within the film, the viewer has the ability to select from a few options that will direct them to an external video clip (they are flashback scenes). The main story pauses when the user selects a flashback scene and I'm clear on how to achieve this.
However, my issue is that once the flashback scene ends and the external video closes, I'm not sure how the main story will resume. Is it possible for it to auto-play (resume) in some way? My last resort would be to have the viewer select a play button - this is only because I do not want a break in the narrative and want to limit the amount of clicks the viewer has to make.
how to combine images within SWF as external files and using XML to load as fast as possible all images? Banner is quite big... I have received some reply that I I need to work inside the .fla, not the swf to create an array, using the xml data as elements of the array. Is this true or there are samples within Koolmoves or steps?
I'm working on a system to let customers write a small comment.I'm using a xml file to load the comments, but somehow something goes wrong when I try to give it some special formatting.Here is my as3 code:
Now as you can see in the xml the 1st message is without any formatting, the 2nd and 3rd are. In the attached comment.jpg you can see what the result is. I can't figure out where the "enter" and those extra "spaces" are coming from but I suspect it's from the 'font' tags.btw. those red background are just the textField backgrounds to show where the text should start.
I am working on a project where I have made a Text Formatter by which I can format the text of three input text field.My formatter works fine, but the problem is that when I format the first text field it works good, but in the second or third textfield I have to press the formatting button twice for each format option (such as bold , italic or alignment).Another problem is that when I reopen the formatter it format the text field with last option I have used.
I'm trying to preserve header/body formatting within a single textfield. For some reason, this...
Code: var headerFormat:TextFormat = new TextFormat(); headerFormat.color = 0xF5ECDD; headerFormat.size = 40;
[Code].....
Is resulting in the whole textfield being formatted according to bodyFormat. If I comment out the last line (so I never append the second line of text, but leave the second setNewTextFormat call intact), the first line appears with proper headerFormat formatting.
how setNewTextFormat works? I thought it was only supposed to format new text being added.
I (well, a rather angry client) found an oddity I would like to consider a bug in formatting htmlText coming fom XML's toString() method with css.
If somehow an empty tag ends up in XML like <h1></h1>, all of the following text in the field is formatted to the CSS defined props of h1. In the (simplified DocumentClass) code below I have an XML object which has an empty h1-tag after the first sentence of the first paragraph. Placing the XML it in the field renders the text following the empty tag as bold and with the fontsize set for h1.
Strangely, if the html source is initialized as a string and put straight in the textField (see commented code), all formatting is OK.
I'm trying to format an XML file so I can have HTML tags on it for bold, italic, underline, etc... but its not working. When I'm not using any HTML tags my subtitle works great but when I put the tags the player reads the time tag not the sutitle!!
i have set a textfield's text from an XML and now I am trying to format it with css. the xml text loads all fine and the css loads but they are not working together.
[Code]....
i am not too familiar with css or html but studied up on css and based on all of the searching i did i am not able to find out what i am doing wrong here. do i need to set the xml with standard html language/nodes?
I've imported an external XML file that includes both image and text elements into a textfield, and now I want to format the elements with an external CSS.I've had only limited success. Images appear below the text, instead of inline or aligned Left or Right, Flash ignores DIV or SPAN styles, etc.I don't know if I'm overestimating flash's abilities to render styles.I've attached a zip with the fla and all external scripts, as well as an html of what I'd like the end result to look like.
I have a file where I am importing info from an XML file using atttributes. It works fine, except I no longer want the font to be embedded. I want to either call if in from a stylesheet or set it in the actionscript, so it uses same arial or san serif used on the rest of the web site it is a part of.
my code.......
var myImages:Array = new Array(); var myXml:XML = new XML(); //
First, I would like to format the text... bold, font size, etc...Second, I would like to concatenate the first and last name to appear on the same line without space in between caused by two text fields. I tried the following, but it didn't work.