ActionScript 3.0 :: Get The Content Of A Ppt File?
May 21, 2010Is it possible to get the content of a ppt file with as3? Possibliy similar to loading and reading an xml?
View 1 RepliesIs it possible to get the content of a ppt file with as3? Possibliy similar to loading and reading an xml?
View 1 RepliesI turn to you for help, dear sweet Kirupa Forumites. First, let me explain the problem: I have a flash file reading an external text file for the content. Everything works perfectly for nearly everyone - you click a menu button, and the content text comes up fine. However, a couple of people have found that the text shows up as "undefined". I have checked the player versions of the people where it doesn't work, and it is the same as for those where it does work, so that ain't the problem.
I don't understand why it works perfectly for nearly everyone, but a small number of people have this "undefined" text problem. It seems to be a problem with loading the external text file, but I don't know why. I have a main flash movie, and load the text in the first frame, using the following:
var my_content = new LoadVars();
my_content.load("content.txt");
my_content.onLoad = function(success){
if (success){
[Code]...
I then have a couple of dynamic text boxes in the main movie - one called ErrorText (for displaying an error message to the user) and one called ContentText (for displaying the content). I use an external menu swf which jumps to a specific frame in the main movie, depending on which button is clicked. Actionscript on the main movie frame for the first button does the following, with the other frames similarly configured:
ContentText.htmlText = my_content.content1;
stop();
My external text file is properly configured (content1=blah blah&content2=other blah blah) etc.
Does anyone have any advice on how I can solve this particular weird problem??
loadVariablesNum("testimonials.txt", 0);
gotoAndPlay("load");
This code works perfect when testing, and it works perfect viewing the SWF, but when you view the HTML file with the SWF embedded, it doesn't display the text file content.
Is it possible to get the content of a ppt file with as3? Possibliy similar to loading and reading an xml?
View 3 RepliesI've got some files that I use in Flash CS4 and I need to use them in Flash MX2004. I worked out that I could open the files in Flash CS4 and try to edit the content from the library with Photoshop CS4 (right-click on the item in the library, Edit with...) but for some reason it doesn't work.
So I worked out that I could drag and drop one image at a time on the stage and use Export feature to export it as an image. It worked! Now, my question is: How can I export a sound file form my library onto a disk (so I could use it in Flash MX2004)?
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]...
I have a project Flash, that i want show content in a pdf file on swf file, but i don't know to show it
View 3 RepliesIn the attached example, you can see that the variable hardcodedXML is defined with some fixed contents.In stead of this, I would like to find a way that I can read these contents from an XML file and put it in this variable.As I don't have that much experience, I'm completely lost.
import fl.data.DataProvider;
import fl.events.ListEvent;
import fl.transitions.*;
[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'm loading content through an XML file. Most of the content is working correctly. Flash is creating buttons based on some of the content in the XML file, the rest of the content in the XML file is static text and images.
Everything at first loads fine, the buttons all work, they change the text values but for the life of me I can't figure out why its not changing the image. I tried to create a function to remove the first image then load the new one but that didn't work.
Code:
function DisplayInfo() {
clientwork.txtclient.text = this.client_text;
clientwork.txtlink.htmlText = this.link_text;
clientwork.txtdesc.htmlText = this.desc_text;
[Code]...
I have a loaderIt loads xml files, which are like galleries (each has many image paths inside)I loop over the xml nodes to get all the image pathsI create a new loader for each image (called imageLoader), and dump each one within a movieclip which is on the stage (called _storage)I need to switch between galleries so I need to unload the content of one xml file, then load a different one Does that make sense? My problem is this - currently I am simply removing _storage then creating it and loading into it again when I want to switch galleries. It works, visually. The galleries switch...but I don't think the images are actually being removed.[code]....
View 13 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 am using the load command to load content from a .txt file on my server. I have it all working just find when I preview the swf file in flash and when I view the .swf in my web browser from my server. The problem when I view the .swf file on my php page (home.php) I only get undefined variables, it seems to not be able to connect to the .txt files only when I am viewing it on my php page. Again if I view the .swf file on my server using my web browser it works fine.
Using Flash CS4
Actionscript 2
Dreamweaver CS4
Google Chrome and Opera
[Code].....
I am calling one method at an interval of 3 sec. This 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.
View 3 RepliesHow do i open file and get its content as a ByteArray in AS3. I saw examples, using FileStream & File classes from flex.filesystem, but the doc says it's for AIR only.
View 4 RepliesI am looking for an Java API to extract and control content from an flash (.swf) file. Are there any existing open source APIs which can help me do that?
View 2 Replieshave a swf file which content a FlvPlayback play to play targeted video. It is working OK when I run published HTML file from flash professional CS5. but when I embedded this flash to asp.net content page using object tag the move will pay but the video controls play and stop with disappear. I listed down the code I sued.
[Code]...
I 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).....
I'm completely new to loading XML into Flash . I'm not very good with actionscript either, but I've managed to get pretty close to what I need to achieve via tutorials.[code]...
View 3 RepliesDoes anyone know if there is a way to load content from a .txt file to flash (NOT VARIABLES BUT THE WHOLE CONTENT AS TEXT).
View 3 RepliesI am trying to create a video that loads the videos stred in a directory, depenant on the users id etc. To do this, I am using php. However, I cannot then get the php to convert to xml within the actionscript:
[Code]....
I have a dynamic text box that is getting its content from a .txt file. I have a simple scrollbar that has a slider insde of a box that denotes the length of the path. What is the simplest way to program this scrollbar?
View 8 Replies[URL].. When I test my flash file, within flash it works properly. But when I upload it my content MCs at the bottom of the page are not showing up. Afghanistan content does show up, but the following countries do not.
I may have made a mistake in the method I tried using... I copied the content MCs into a new flash file, changed names and brought them back into the original file for the next country, to save time...or so I thought. Would that throw it off? I will continue to work on it.
I have a dynamic text box that is getting its content from a .txt file. I have a simple scrollbar that has a slider insde of a box that denotes the length of the path. What is the simplest way to program this scrollbar?
View 8 RepliesI think this is easy question because i'am just start to learning flash and as. So how can i save a scene content into graphic file (jpg)?
View 1 RepliesIs there an as3 solution for extracting file content from uncompressed tar files around?
View 2 RepliesI am building an e-learning module and including a movie. I have uploaded the move to an FTP site, and am now trying to find the URL of the file, but I cant. I am new to this so I'm sure I'm doing something wrong but I cant figure out what it is I am trying to use [URL] I can go to the file via the FTP address and access it that way, but not via the HTTP rout
View 3 Repliesi am loading all my text content from an external XML file....now i want to use html tags in that file (XML)....
View 3 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'm having a "problem" with loading an external .swf in my main flash swf movie (which is a website). When the external .swf loads and displays itself on the main swf (website), the complete external swf file is viewable. To clarify: this external .swf has a world map that moves with a tween. If the animation is played within the main swf, I can see the whole world map and not just only that specific part of the world map that is visible on the "original" .swf
Make a mask over the complete external.swf? Where should i make the mask in the external .swf itself or on the movieclip in my main swf (website)?