Flash :: Reserved Word In XML Tag
Apr 10, 2011<node>left</node>
<class></class>
<et>16,471</et>
When I get tag class, I see error 1084, because class is reserved word
vars["class1"] = result.item[0].class;
<node>left</node>
<class></class>
<et>16,471</et>
When I get tag class, I see error 1084, because class is reserved word
vars["class1"] = result.item[0].class;
I'm receiving an RSS feed from a source I can't change. Each item record has the following structure...
<item xmlns:media="
http://search.yahoo.com/mrss/">
<title>Sample Title</title>
<link>
http://sampleURL.com</link>
[Code]...
This is a problem if the feed changes it's structure. I'd much rather get the value by name but it doesn't seem to work.
I am running into a frustrating problem at the moment, I want to pull a node from the XML and it has a an attribute of "class", but it automatically gets highlighted to blue because flash thinks its a class.[code]...
View 4 RepliesCurrently I work on localization for a Flex application. From an article I know that you can control the localization with the following FlashVars:
-resourceModuleURLs
-localeChain
Are there any other FlashVars reserved by Adobe that a Flash/Flex Developer should know about?
I am writing a business app in Flex that uses web services to communicate with a middle tier. The web services accept and return messages in XML format. In many cases, I need to be able to allow the user to type something like the following into a field in the app, which in turn will be added as an element in an XML payload bound for a SOAP web service (without the quotes):
"account balance < 1000"
The Flex parser chokes when trying to serialize an element with this in the Text node (e.g., account balance < 1000. So I need some way to encode the "<" to "<" prior to doing the XML serialization. In addition, I would prefer a generic way to do this, such as with an attribute on the service declaration, since I have over 40 services that must support this kind of input.
Is there any client-side technology to send get request with unencoded query string?I want to send some reserved symbols to server in URL without url encoding (eg. '>' or ']'). (I want to test server's behavior).
An XMLHttpRequest encodes these symbols automatically.
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.
import flash.net.URLLoader;
import flash.events.Event;
import flash.display.MovieClip;
import flash.text.TextField;
[code]...
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?
View 3 RepliesOk 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
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.
View 10 RepliesI 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?
How can I have WordArt like Microsoft Word in Flash using AS3?
View 8 RepliesI`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.
View 4 Repliesi need to convert word or html file to PDF and show that pdf file as flashpaper [the PDF file should not be editable and downloadable].
View 1 RepliesIs there a way for flash to get the nature of a word (noun, verb, adverb, etc.) from a dictionary somewhere?
View 1 RepliesI know there are performance loses if you don't specify variable types explicitly. Do ActionScript/Java developer in general prefer the use of the in classes or no?
public function hello():void
{
this.speaker.says("hello");
}
vs
speaker.says("hello")
Is posible? Flex app detect word when mouse over on message in pdf file. Now have some project translate language with tooltip or pop-up when mouse over on it. I found some code can detect word (string) on TextField class but not in pdf.
View 3 RepliesI was wondering if it is possible to open Microsoft Word through ActionScript 3.0 on Flash CS3? I have tried several different ways so far, but none work. I actually want Word to open (or whatever their default word document may be). I don't want to open it on an internet browser.
View 2 Replieslaunching word docs, powerpoints and pdfs from flash projectors on a CD. I've tried using -
fscommand("launch","mydoc.doc");
which does nothing. I've also tried as someone recommended, putting the files into a subfolder called "fscommand", that doesnt work either. Then I tried -
getURL("mydoc.doc");
which simply opens a web browser window then opens the folder where the file is stored rather than opening it. So to sum up, I want to make a flash projector on a CD which will launch those 3 file types with the click of a button.
My problem is I have a projector that i want to open a word doc that resides in the assets folder (on the cd) when a person clicks on a button. How can I accomplish this?
View 2 RepliesIs there a feature in Flash that allows you to export content into Word. I know that Captivate has this feature, but was unaware that Flash did until someone mentioned it recently.
View 5 RepliesFor example i have an ArrayCollection, and i want to find persons with telephone begines with "944" how can i do this?
[Code]....
[URL]I client want some thing like this. User will search a word and application searches that word in a opened page and highlight it. This is a Flash application and uses php at back-end to generate XML.
View 2 RepliesI'm looking for a Flash component to display a pdf/word/png in a web page. Something like Flashpaper : [URL] but Free.
View 2 RepliesIs possible to make a word as button within the dynamic textField in flash as3?
View 4 RepliesI have a pipe delimited string "Y|Y|Y|N|N". How can I find the position of first occurrence of N using code after processing the string.
View 4 RepliesI made a flash application that gets the geolocation of a viewer ( city, state) and I'm trying to figure out how I could make the font smaller to fit in the container that I have it in depending on how big the name of the city is. For example, "Detroit" may fit, but "Los Angeles" may need to be a smaller font.
View 1 RepliesI need to display a microsoft word document (not a text document)on screen using a flashhow this can be done?
View 1 RepliesI am having trouble getting even a trivial example of fscommand("exec", "..."); to work. I just need to open a Word .doc from within a flash exe projector. Eventually this needs to be on a cross-platform CD, but I'd be happy to see it work from the desktop of my PC at this point! I've attached a really simple sample.
View 3 Replies