When I'm coding action script in the Actions window of Flash, in line breaks, the paragraph symbol is present, and there are dots in all the spaces, etc., etc.
I accidentally turned this on, and don't know how to turn it off.
It's like the paragraph symbol button in Microsoft Word.
I know this might be a dumb question.. I somehow switched on paragraph signs () in the actions-window and they appear after every line break. I can't figure out how to make them disappear again.
I'm tryng to remove xml tags from the data that is imported to the stage. Tryed many different ways but all get me errors. How to it in the right way? Right now everything from the xml file shows up, but i want it to show only text between title and kirjeldus tags.[code]
I am pulling data from an xml file which has HTML tags in it. I need the HTML tags for the on-screen display, but I am also using printJob to print what's on the screen. The problem I'm having is that when I run printjob it prints all the HTML too. Is there a way to remove the HTML tags? Maybe some sort of script? I'm thinking I could search for the beginning "<" and the end ">" and remove them and what's in between, but I'm not really sure how to go about this.
My plan was to avoid trying anything with regex and create an XML object.
However if I create a new XML object containing a root node and then attempt to appendChild the htmlText string so that I have a valid XML object to manipulate I run into a problem with html entities, see example below:
<html><P ALIGN="LEFT"><FONT FACE="...
How can the font tags be stripped from htmlText and how can I create a valid XML object from the htmlText string? My plan was to use the XML replace() method
I am trying to extract xml from a website and print its contents to a textfield by specifying a specific child. The problem is that the XML tags are also printing out.[code]...
I'm importing an rss feed in as3 and the xml is formatted with html tags that are making the feeds that I'm puling in format weird. My main problem is break tags that are entered in by the companies system. i'm not going to be able to take them out so my question is, is there a way to single them out in the xml through as3? and Delete them? Or render them useless?[code]...
I'm using flash 8, I'm tired of having one monitor share the timeline, stage, actions and properties window. I'd like to detach my actions window and place it on my other monitor. Is this possible?
I wrote a function to override y FLEX LineChart's datatips because the default datatips were ugly and rather boring.I finally set the style I wanted but am now having some problems removing un-necessary tags from being displayed in the custom datatips.For example, the datatips now display things like this:
"<b>Humidity</b></BR>2010-07-05T00:15:00"
I can always perform a "Replace()" to remove those break and bold HTML tags, but that seems really un-necessary and anti-development.I am using this to set the dataTip's label text:
var hd:HitData = value as HitData; var item:LineSeriesItem = hd.chartItem as LineSeriesItem; _xAxisText = String(hd.displayText + ' ' + item.xValue);
When I try to open the actions window via F9 (yes on a timeframe with existing code), the timeline colapses, but no actions window. I have to double click on the header of the timeline at the very bottom of the screen to bring it back. When I try F9 again (or even Window-Actions from the top menu), the timeline vanishes again, but no actions window comes up.
When I open my actions window, it is automatically sized too far lengthwise. With this being said, I cannot read the last 10-15 lines of my coding. I cannot reach the corner resizing tab since it is at the bottom of the window (window resizing does not work on the top corners) which extends past the bottom of my screen. Does anybody know how I can fix it so that I can resize this window to fit on my screen properly?
I want to apply actions to a movieClip nested inside a dynamicly attached movieClip, with the attachMovie method; it doesn't works when the movieClip is attached by a button:
1.when the swf movie loads with an attachMovie method the remove_btn clears the window_mc
I have created a button in Flash CS3, made an instance of the button on the stage, and trying to put some action to it (using ActionScript 1.0 & 2.0). I click on my instance, open the "actions" window but I cannot get the "actions-button" window to add the script. i only get the "actions-frame" window that will not work for my button to link to another page.
I've created a startup screen for a CD and have published it to exe format. When it plays from the CD however, it opens in a Flash Player 10 window. I am wanting to create a standalone splash screen without the Flash Player bar along the top.
Is there any way to remove/modify the Flash Media Setting pop-up window?
When prompted to use a flash-based player, I am prompted with the Adobe Settings/Permissions window. I would like to modifiy the UI of this window, if possible.
If I cannot modify the look of the window, is there any way to regulate when the window pops up or when that permission is granted.
The flex title window component is nice and all, but before it shows up it insists on blurring out the background of your window if it's set to modal. What if I want it to just show up immediately or at least speed it up so that the user doesn't have to wait around to enter data. Am I going to have to build a custom component based on TitleWindow to get this or not have it be modal? If I were to do that could I extend current TitleWindow or just copy out the source directly?
I have a series of frames one the timeline. Each frame has a graphic and a mouse click leads to the next frame. Think Myst.
[Code]...
When the middle frame is returned to, clicks no longer change anything. I believe that the actions of the 'left' frame are replacing the one's in the middle frame so then it is told to gotoAndStop to itself.
I'd like to know if that is indeed what is happening and how I can make it stop.
1. Can i put another set of actions in frame 2 of the actions layer?i tested but it doesn't seem to work..it has 836 rows of code and it's getting annoying when tryin to search for a function..
2. I am not that familiar with classes, i usually put all the code into movieclips or in actions layer.. i am not sure if i can call a function from a actionscript class..
3.I am curios if there is any way i could specify an alternative for the if statement like in this pseudocode:
if ( apple is not clean BUT is tasty) { eat(apple) }
I have some dynamic text styled with a css stylesheet. I want to be able to control the amount of space between each paragraph. I would do this with a "padding-bottom" tag for a normal web page, but this does not seem to be supported within Flash text styling.
I have been reading Learning Actionscript 3.0 for about 1-2 months now on and off and i have stumbled across a paragraph that I don't quite understand concerning the position of a navigation bar buttons.
Code: var btnNum:int = 5; var spacing:Number = 10; var navBar:Sprite = new Sprite(); addChild(navBar); var btn:SimpleButton; [Code] .....
The current button is positioned horizontally (line 10), offset by the spacing set in line 2, plus the width of the button and another spacing gap for each button in the loop. Therefore, the first button is positioned only 10 pixels to the right of the container's registration point (spacing, plus zero times the sum of the width of the button and spacing). The last button is positioned 10 pixels to the right of the container's registration point plus 4 times the width of the button and spacing. The vertical position is also set, moving the button down 5 pixels. From the above quote, I understand that the button the first button is placed horizontally, but i don't understand what is after it. What the paragraph means and how it does it's position.
We have a backend admin tool for entering text into a database, and Flash parses data returned to it from the database in XML formator lengthy pieces of text with line breaks, the XML can look like this (note the lines breaks in the XML):