Ok so If I load a list of like 2000 words from a text file into a text box like this
ActionScript Code:
var url:String = "dictionaries/"aa.txt";
var loadit:URLLoader = new URLLoader();
loadit.addEventListener(Event.COMPLETE, completeHandler);
[Code]....
how could I randomly choose a word from the list and have it as a variable
I have been building a simple word game. It is smple but works fine. I am now trying to enhance some of the features.I would like to see if I can display one letter of each word so the Player has a hint. Think of this as a beginners level.The words are random from a text list. Either I can make the letters invisible and the game starts without a hint or I am able to select a letter using charAt() or creating a new variable substring()from the word which is the displayed repeatedly on the stage(not what I want) I have not been able to find a way to display one letter and display it in the correct order within the word and keep the remaining letters invisible.
I am doing drag-the-word quiz. When you match the word with correct part, the message pop out, saying Bingo! If the word is matched with wrong part, the "Sorry. Try Again" message pops out, says "Sorry. Try Again". I managed to make the "Sorry. Try Again" message disappear. However it dun work anymore after that. Sometimes it is quite funny. When I play it, the "Sorry. Try Again" message dun pop out at all.
Another problem - I am not sure how to make the word fit into the white box. I only know how to make the word drop on the white box. Can you tell me how to do it? I will be adding voiceovers to the quiz when the word is matched with the part. For e.g it will say "bingo" or "Sorry. Try Again". How to attach the voiceovers to it?
create the word which changing many time and in the end become a clear word like what's happend exactly in horizintal menu in [URL] That's what i wanted the changing in words like that menu?
system to browse offline howeverthis doesn't work correctly for any less then ActionScript 3. Whenyou highlighted a word in the past such as "null" it use to pull upthe word and the info in all the books. Now all I see is a webbrowser that doesn't do this for me. I mean who sits there atadobe's end and thinks up of ways to slow someone down like this??How can you remove the corequick linking from the program.Number 1 not everyone is on AS3 and some of us still have to updateAS2 code.
I'm trying to figure out how to get this started. I'd like to type a word in a textfield and have it search for a match through a list of words in xml. There would be 26 xml files containing a list of words starting with a letter of the alphabet.
I am looking to develop an application to read in a list of 10000+ wordlist and create a function which efficiently and quickly checks if the word exists on the list.function shd be optimized to be called several times..
I am trying to locate the letter at a certain number of characters after a word.For instance, in this sentence:"Hello, I really like dogs"I want to find the character of position 7 after the word "really", which in the above sentence would be the letter "d"
How do I get a word from a string?If a string is also an array I should be able to do it but so far no luck.Searching for a substring is useful if I know the correct index, like in[code]...
I'm working on updating a flash file and i have to add a hyperlink to a word but i'm having no luck. can some help, the bit of code is:
but6="Renewable Energy - Solar Panels";
but6bt="Installing and using renewable energy technologies like wind turbines, solar panels and biomass heaters offer an alternative to fossil fuels. It will reduce your homes CO2 emissions and energy bills and depending on the technology you could even paid for the energy you generate, or take advantage of the schemes that some companies offer. Find out more here";
The word here thats bolded is the word i need to add a hyperlink to.
I want to export some AS code to a word file and I want the colors to be like in Flash MX, is there a way to this without having to change all the colors manually?
I'd like to do tooltip-type popups with some text. Is there an easy way to get the word under the mouse? Right now I'm reading the entire text field into an array where the index of the element is the number of the character, like so:var theString:String = 'This is some text.";and the array looks like this:[code]So the getCharIndexAtPoint function with the mouseX and mouseY is used as an index to the array, which returns the correct word. It works, but it seems like a crude way to go about it. Is there any way to get the html text of the link if the mouse is hovering over a word?
I need to create the effect of something appearing dynamically. I have th�s script type font, that I want to have the effect of being written out. So I guess what I need is some tutorial on masking.
I am working on a new project and we are trying to figure out if there is a way to convert .swf file to Word that a client can use since do not have Flash available to them. Not sure if this conversion would be usuable in Word but I am willing to try anything.
I want to export some AS code to a word file and I want the colors to be like in Flash MX, is there a way to this without having to change all the colors manually?
I am a graphic designer working on a project for a client at my office. We created a Flash brochure, with flipping pages and all the bells and whistles. This flash file will be put on a CD among other items, distributed to users on both PC and Mac systems. Within the flash file, there are hyperlinks that link to the web, but we would also like a few buttons to open up a Word Document on the user's computer for them to edit and print.
I've already seen in other threads a way to do it using executables, but to my knowledge EXE's do not work on Macs. Is there a universal alternative? Is there a way to do it on Mac and we can have two separate versions per CD?
I am scripting a button and something like this: _root.READ = ("image6"); takes me exactly where I want, the frame labeled "image6" However i want to reuse this button and I want to switch it to something like: _root.READ = (trace(this._name)); where it calls upon the instance name (image6). However, this doesn't work, and I believe it's because there are no quotes around the word. Is there someway I can output what the trace calls and put it in quotes?
I am making a word game app in flash for the touch screens, except I really don't know how to have the game recognize words. Is there some trick to doing this? To be a little more clear, I want to know how I can make the game recognize real words that the player will be putting together. I'm pretty sure I know how to have the game recognize the player's chosen letters, but that's really about it
I'm making a game like in impossible quiz, how would you make it so, if a word is typed, it advances to the next frame. EX 3+9= If you 12 is typed, it advances to the next frame or a button appears and click it to go to the next frame?
I`m interpreting a large piece of MS Word text into movie shorts I mean to organize into an interactive `newspaper` style presentation that can be perused online. With `web-presentation`, I`m a true novice; so my first crucial question is: How, or can, I import text from MS Word into a Flash Film/Presentation, with all its fonts+colours intact? My rusty logic is that D-Weaver seems kinder to importing text, but is designed to make websites; I only want to make web-presentations, which I assume can inhabit websites such as MySpace.
On the following language reference page [URL] the word Beta is associated with the AnimatorFactoryBase class. Can one presume that the class is not yet fully functional?When I right click on a functional motion tween in Flash and select "Copy Motion as Actionscript 3.0", the code does NOT work at all (no errors though).
in my Asp.net web page (C# on backend) I use a Repeater, whose items consist of a title and a Flex chart (embedded .swf file). I am trying to export the contents of the Repeater to a Word document. My problem is to convert the SWF files into images and pass it on to the Word document.
The swf object has a public function which returns a byteArray representation of itself (public function grabScreen():ByteArray), but I do not know how to call it directly from c#. I have access to the mxml files, so I can make modifications to the swf files, if needed.
I want to search a word in a textfiled which is multi line , finding it is not a big deal but am i able to scroll to that position , like notepad when you click find next it will jump to that point
var textInput:String="String To Search"; txt.text=textInput; // txt is a dynamic textfield var currentIndex:int = 0;