ActionScript 3.0 :: Dynamic Content (read And SQL Server)
Sep 27, 2007Does AS3 handle connecting to SQL servers and using it's data or do you need an intermediary such as JavaScript to pass information to and from Flash?
View 5 RepliesDoes AS3 handle connecting to SQL servers and using it's data or do you need an intermediary such as JavaScript to pass information to and from Flash?
View 5 RepliesI will go to URL... but when the pages load the content will be read from ABC's server not XYZ's server.The users will use the data on XYZ's website not realizing that the content is actually coming from another site.
View 2 RepliesThis method reads a file from server and then display its content. The file which is getting read is a log file which gets updated at regular interval. The issue is once some content read by AS then it is not getting updated that means after every execution of the function content of src variable below remains same even thou the source file is updated.
[Code]...
I want to read the content of an xml file EXACTLY the way it is in the xml file. I mean all the tags and CDATA stuffs shlould be displayed from my xml file into my dynamic textbox Example if this is my xml file.....
[Code]...
What I need is a way to read the content of a pdf file. I mean I want to have the text of the pdf file in a String.
View 2 RepliesI find it on forum but I can't find what I find.I want to read a web page. I'll explain at here:We have a web pageand it has these codes in html page (<b>Welcome to here</b>)And I just want to read this link and get this code (<b>Welcome to here</b>) and write it on my flash page's screen.
View 5 Replieshow it is possible to edit dynamic content and modify the content and save it, all within flash.I have tried some experiments in the past and have got the text to change etc which is easy but i need a way to save the content so the next time anybody sees the flash it will have the latest content until i change it again.
View 2 RepliesI am writing a class in AS 3.0 to read in a xml file to create content for a quiz. Once I instantiate the xml obj and pass in a string that determines the xml name in the constructor for the xml class I read in the xml and populate some arrays. Evidently in AS 3.0 you have listeners for reading in xml, which is the problem I am having. Once the object is instantiated I try to call on a method called getArray, but the XML hasnt finished being read in and I get a compile error. Error below: TypeError: Error #1009: Cannot access a property or method of a null object reference.at xmlReader_fla::MainTimeline/frame1()
[Code]...
I thought it would've happened by now. Someone, should make something, to where you can put a transcription(if it's audio/video) of what's being said/spoken, and transcription for text, to let google know exactly what's in the flash container.
View 2 RepliesI want to retrieve file's binary content using flex but failed. Here is the code so far:
// ActionScript file
package source.fileApi{
import flash.display.Sprite;
import flash.external.ExternalInterface;
[Code].....
But this did not give me the binary content of the file.. how to retrieve the full binary content of the given file using Flex (I am using FP 10.0).....
Is it possible to read a folder content using AS3 and Projector?I have a CD with a folder with many PDF files. In my Flash/Projector I create a button for each file which, when clicked, let the user download the file.Right now I'm using an XML file with the folder information, but I would like to be able to read the folder contents, so I dont have to update the XML file each time I add or remove a file from the folder
View 4 RepliesI was wondering if there is a limit to how much Jaws (screen reader) can read in a text area in Flash. my text area contains about 15 lines, and always it stops reading at a certain point. In one test I was deleting one word, and then Jaws read one more for me(since I guess I deleted one). So it looks like there is a limit on how much it can read through AccessibiltyDescription property . How I can make the Jaws to read the whole content in the text area? I am working with flashbuilder and SDK 4.1.
View 1 RepliesI am creating some application in flex and one of my purposes is to read content of file and display it in flex. There is huge problem, when I have file written in polish (which contains some special characters) because amfphp transfers this contents few seconds, which is to long (reading and sending content of file without any polish character if fast).My php code reads any files fast, so problem is on amfphp side. Is there any solution or I have to go with HTTPService and load contents of file directly from flex?
View 1 RepliesI am trying to read a XML file and display its content in a simple list component or at the console. The problem is that the event listener is triggered in an infinite loop.
The code:
var myXML:XML;
var myLoader:URLLoader = new URLLoader();
myLoader.addEventListener(Event.COMPLETE, processXML);
[Code].....
I have an image file, in *.tif format, that looks like this: As you can see it contains an image along with a lot of text. Is there any way to read my .tif image and extract the text content into a String ?
View 1 RepliesI have a sample.txt file which contain a single word and I need to put this word into a variable on swf.[code]...
View 5 RepliesI'm going to implement a file uploading application using flex 3.5 and php. In the flex code I need to read the content of the uploaded file without calling the FileReference.load() method (Since it is a big issue when uploading large files). I checked many online articles and didn't find a way to do this in flex.access the content of this file without using FileReference.load() method?
View 1 RepliesI seem to recall reading somewhere (but for the life of me I can't find the article I was reading), that with Adobe FMS you could store content on one machine, and then run the actual server on a separate machine. Is this correct? If so, how would you go about doing it?
View 1 RepliesSome users are unable to access any of our video content, getting a Server Not Found error.We have our FMS configured to use ports 1935, 433, 80. Our firewall is allowing RTMP traffic to each of these ports. Is there something more I can do from my end to make sure users can access our FMS?
View 1 RepliesWe purchased Flash Media Streaming Server Interactive edition in order to have the security featuers of not allowing unauthorized connections streaming live content to the server. Is there a document with procedures that details how to make this happen, the allowedHTMLdomains.txt does not work when you place in IP ranges that you do not want connecting. I need some help just to figure out a way to keep someoen from connecting to the server and not streaming live content. Has anyone configured this in Linux because the documentation is mainly for Windows. Any help/advice would be great since this seems to be a common problem for anyone who runs Linux.
View 10 RepliesHow to read a variable from main.swf (that load content.swf) and use it inside content.swf?
I have a variable called TextColor = "Green" in the main movie and I want to read this variable from inside the content movie?
I have a device which sends MPEG2 multicast udp live stream, I can read it from URL.. for instance. Next it is transcoded with vlc.[code]My question is how to read from udp://@127.0.0.1:10013 using FMS and send it to flash clients ?
View 3 RepliesI have an extremely simple video player swf (actually copied from the snippet in adobe help) that progressively downloads and plays an flv. I added a line to display the bytesTotal. When I use a url in the code that points to a flash video on my server, the bytesTotal metadata is not being read or displayed properly (in Safari it displays it as 4294967295 - the highest possible 32-but number, and in FireFox it displays it as the same as the bytesLoaded). However, if I change the url in the code to point to an flv on another domain, it displays the bytesTotal correctly. So, apparently it has something to do with my server. I tried changing the mime types in my .htaccess file to:
AddType flv-application/octet-stream .flv
AddType video/x-flv .flv
AddHandler flv-stream .flv
I need to read a text file from a server and then it puts the text from the text file into the text area of my choice. And also, how do I make a variable for a text thing I made with the text tool?
View 3 RepliesI'm creating a dynamic object containing multiple arbitrary properties. Developers can then iterate the object to get the properties and values, but i don't want them to be able to change the values.So... given a Dynamic object, is it possible to assign a dynamic property so that the property is only written once and thereafter is read-only?I triedobj["foobar"] = get function() { return "snafu" };
View 5 Repliesi want to do is read variables from a php file on a remote server. i have the php file on the server and im echoing back a result. all i need in plain english is the AS3 to intercept read and display this variable in a text box.
View 21 RepliesI have to make a drawing board and send that drawing to server after each 5 sec. Multiple user can see that drawing. So how to reflect that changes to every user system. How to send my bitmap data to server and and load that data to another user system. How to read and write bitmap data to server after each 5 sec.
Attachments: Drawing.zip (9.7 K)
I have below code
[Code]....
I need this application read from exteral xml file not in it.
I'm trying to read a xml file from client. After search for it. I have got to upload the file to the server with this code.
var imagesFilter:FileFilter = new FileFilter("*.jpg,*.gif,*.png", "*.jpg;*.gif;*.png;*.jpeg");
fileRef.browse([imagesFilter]);
But what I want to do is to read the file from client and parse it without uploading it to the server.
I am working on a site which uses a flash menu I was handed. The flash menu uses an xml file to generate, it works fine as long as one stays at the top-level dir of the site, say [URL]. When someone enters a page, say [URL] the menu stops working, being unable to read the xml which is hardcoded to be in the same directory as the page it's called from (menu.xml is in /).
I must say that the locations visible to the browser are not real, everything non-top level in [URL] is just mod-rewrite, thus none of the directories test or page really exist. I can see the reason why flash looks in the same directory as the one the client requested for the file (instead of looking at the same dir locally in example).
So the two solutions I thought of:
1. Is there a file_exists function i could use to make the flash recurse upper-level directories until the menu finds the xml file? as in:
var menufile = menu.xml
while (!file_exists(menu.xml)) {
menufile = '../' + menufile
}
Obviously this is not real code
2. Is there a way to open the xml from a web location and not from a static path relative to the swf itself?