ActionScript 3.0 :: [Flash 9] Getting A Complete Highlighting App?
Feb 25, 2007add in or patch or something that will fix up the highlighting in the Flash 9 Alpha.
View 1 Repliesadd in or patch or something that will fix up the highlighting in the Flash 9 Alpha.
View 1 RepliesI'm trying to implement solr hit highlighting using a flex client. There are lots of examples out there to do high lighting in client side writing logic to do this, but couldn't find proper solution to tag them from back end (eg. some words<pretexttag>keyword<posttexttag>some words) so that it automatically highlight with results.
View 1 RepliesI have a menu that is HTML/CSS. When I mouse over a menu item, I would a Flash header to change scenes accordingly.
Is this possible, and if so, how would I go about doing it?
I will be using Flash 8. I know how to animate, but I know nothing of ActionScripting. I'm a web designer, not a developer.
(I'm aware I could make the menu in Flash as well, but I personally don't care for having navigation set in a Flash .swf.)
Is there an extension or mod available to allow Flash CS3 have bracket highlighting? I just think it would be very useful and save split seconds of confusion.
View 1 RepliesI want to create a custom list in Flex for an interface prototype. The list is supposed to have an image and 3 text fields. This is what I have done so far, the control displayed is what I want. But, when I click on one of the items, the item does not appear (visually) to be selected. I was not sure how I would implement this.
Here is my code so far:
<s:List width="400" height="220"
dataProvider="{arrColl}"
alternatingItemColors="[#EEEEEE, white]">
<s:itemRenderer>
[Code].....
Trying to add syntax highliting to Flash Builder withoutn having to do it from scratch.Does anyone know of a eclipse plugin that supports custom syntax highliting 'presets'?Trying to achieve something similar to solarized.URL...
View 2 RepliesProblem: I would like to enable code hinting and highlighting in either Flash Professional or Flash Builder when developing an Actionscript Communications File (.asc). Steps Taken: Searched Google with limited success, most signs all pointed to [URL] where one may obtain an Eclipse Plugin, but:It was created in 2007 (likely out dated)It has known bugs that haven't been addressedSearched this forum / adobe's web site to find a solution, to no avail.Posted this, now, in an attempt to put this to rest Request: how I can enable FP or FB to give code hints / syntax highlighting
View 9 RepliesIs there any way of showing a link's destination from a swf in the browser? The answer might be a simple no. Hard to explain, so I have attached a screenshot that makes it clearer.
View 2 RepliesI'm creating a new look for the xspf player: [URL]The playlist highlights the current song being played. I'd like to change the color but can't find where that option is listed in the .flv file, or in the actionscript file.
View 2 RepliesIn Flash Builder, for objects, properties, variables and such where your cursor is on it, the editor highlights all instances of that name in the code with a grey box. This can be very distracting and I was wondering if there was a way to turn it off or if there is a hot key to disable it.Another things that is very distracting are the mouse hover popups, although apparently there's no way to disable those :
Flash Builder + Eclipse: disable mouse hover popup?
I made a test where I download a file using URLLoader - something like this:
[Code]....
in the middle of the downloading process I physically disconnect the internet connection. the download stalls - but after aproximately 30 seconds downloadSuccessful is invoked, although only half of the data was downloaded. how can I make sure that the data to be downloaded is complete and correct?
I am loading in binary files with the url class which can be quite large 10mb + and it works fine on my server but another server I am testing on it can sometimes not work. Sometimes it will not load the file and other times it will only load about 20% and it throw a complete event??? Then of course other times it works fine. This server is https maybe that has something to do this it?
View 0 RepliesIs there a file or some code I could make in order to add an extra color or two for syntax highlighting? Like having a certain color for function names and a different one for numbers etc.?
View 1 RepliesI want to use it for what seems like a fairly simple application, but I am having a terrible time finding any tutorials that address this specific need. I've been through basic "how to us Flash CS5" training but I'm having trouble making the connection between the skills taught and what I'm trying to accomplish.
I have a static paragraph of text - black on a plain white background. I would like each sentence to highlight with a yellow box behind it as the audio for that sentence is read. I would like a user to be able to hear the entire passage, but also be able to click on individual sentences and hear them separately.
The braces shown below after ...ret):String are incorrectly being highlighted as red I'm using the following syntax definition file for actionscript: [URL] 2 Questions: Does anyone happen to know off-hand what causes this weird matching? Is there anyway of identifying the current syntax matching group under the cursor?
View 1 RepliesBy default, whenever you rollOver/mouseOver (not sure of the difference) an item in a Datagrid or a List, that item is highlighted with the component's rollOverColor.I'm just wondering if there's any way to do that programmatically. I haven't been able to find much help on the issue. For example,suppose I have two DataGrids.When I rollOver an item in the first DataGrid, I want to highlight the corresponding index in the second one as well.Basically, as if two separate cursors were rollOver'ing two separate DataGrids.
View 2 RepliesHow can I make sure a menu button name appears in a different colour when it is selected and stays that colour until the user navigates to another page?Example: My menu buttons have a dark brown font. I have changed the font colour to red on the 'down' state of the button setting. This means the users clicks on a menu, e.g. Gallery and the Gallery button turns red briefly. However, it doesn't stay red which is what I want.
View 2 RepliesI have been working on a Flash touchscreen project for a year, and I'm currently trying to make it easier for users to add text half way into a message. The normal way to solve this, is to click with the "caret" and then keep typing.
I'm looking for a similiar iPhone caret. I'm currently using to find the location, but would like advice about how I could best replicate the iPhone caret hover.
Code:
testText.addEventListener(MouseEvent.CLICK, printCursorPosition);
function printCursorPosition(event:MouseEvent):void {
var tf:TextField = TextField(event.target);
[code]....
I have some input boxes and when I type some text and then try to highlight the text by dragging the mouse across the text... the text is not highlighting.It is actually highlighting it .. but the highlight color is invisible. Doesnt show at all
View 1 Replieshow can I turn every specific word in a textbox to specific color? this works like highlighting if I have the word Jeeves in TextField object, I would like each occurrence of Jeeves in this TextFIeld to become red or any other color In AS2 i had to search the text for keywords and use the TextFormat class. and then handle keypresses for the textbox for highlighting as the user is typing.
View 4 RepliesAnyone know of a way to make the default blue highlight around a radio button component when it is selected be LARGER and a different color? So for example, if I wanted to turn it green or red and make the highlight thicker?
View 5 RepliesHow could I synchronize the highlighting text mechanism with the audio.
View 3 RepliesI'm doing site menus in Flash/Action Script. Each top level menu heading is a button with a standard look and rollover/click that is highlighted. The code waits for a mouse-over and runs a function that moves the movie to a frame that displays the relevant drop down menus (with buttons) under the top level menu. When a dropdown item is clicked, the code runs a function and the appropriate URL is loaded.Everything works fine but here's my one problem (isn't there always one...?).
The top level menus always look the same on every page. It would be nice to highlight the top level button that corresponds to the page currently being displayed. For example, if the user selected About Us..History, then it would be nice to make the About Us top level button remain highlighted (over/down state) instead of reverting back to the standard look (up).1. What do you suggest as the most efficient way to do this? I know ther must be a simple way of doing it. I haven't used Flash variables but I imagine that calling the flash movie with a variable and then acting upon the value of that variable might be the way to go.2. How do I highlight a particular menu/button?Can I use code to cause it to display in over or down state instead of regular up state? Is it better to overlay a separate graphic showing the item in highlighted state?
this is the first time I have used flash pro.I just edited the menu and everything works perfectly except for the highlighting of the link on the current page. If im on the home page, home is correctly highlighted. However after that it skips the next button (about). So when I am on the about page the next button (events) is highlighted.
View 4 RepliesI want to highlight the current page in my navigation.
I have the code below (duplicated for each button on the page) which changes the colour of the text in the nav when you rollover and then back when you rollout. I'd like to have the text stay on the rollover colour if it is the current page.
I've been messing around with variables and have added the bit onto the onRelease function which displays the "page" variable in a dynamic text box. This works fine, but I'm now stuck on how to use this variable, everything I've tried hasn't worked.
I can understand the principle of what I want to do as I can do it in PHP or CSS. I need some kind of conditional statement, for example (in laymans terms):
if page equals 1 then make text colour red or if page equals 2 then make text colour red and so on...
Code:
var up = "0xC5B9B3";
var over = "0xC6006F";
_root.nav.button_1.onRollOut = function() {
[Code]....
I have created a menu with XML & AS3, which works nicely.But, I just met a problem. If I want to highlight a menu item which I just clicked, and it will disable the highlight after I click another item in the menu. How could I do that?
View 3 RepliesI'm currently building an app in Adobe Air 2.6. I use this line of code:
Code:
var url:String = "C:Workspace";
var ff:File = new File( url );
ff.openWithDefaultApplication();
Which opens up the directory in a new window, However, say I have the name of a file in that directory.. How do I make the window open and highlight/select the file?
I basically have a form asking for dimensions of an item and I would like to highlight the dimension in an image that corresponds to the TextInput that the cursor is currently in. What Event to use?
View 1 RepliesThe movie I am working on has a dynamic text field which I setup and format in the constructor of the ActionScript 3.0 class code for the movie - I am working with CS3 Flash. I do not reformat the text field anywhere in the code after the constructor.The text displays in the text field perfectly as long as I do not highlight the text when running the movie.
If I highlight the text in the text box as if I were going to copy and paste, the next time text is written to the text field the font type and size changes. The only way to reset the font formatting is to restart the movie.
Is there a solution or workaround? Of course I can reformat the text everytime I write new text to the textfield, but during the course of the movie text is rewritten to the textfield many times.
is there anyways I can disable people from highlighting/selection the text inside an Input Box? I have tried the 3 buttons next to the "Single Line" dropdown but none of them work.Is there a as3 code I need to put so people cannot highlight/select the text inside a input box for example in a form?
View 1 Replies