ActionScript 2.0 :: Print A Word File From Swf?
Jan 12, 2009i want to print a word file from swf if it possible
View 0 Repliesi want to print a word file from swf if it possible
View 0 RepliesI have an XML which contains a field of the type:
<mytext><![CDATA[ My name is <color value="FF0000">Bill</color>. ]]></mytext>
I wonder if there is a simple methodology (using E4X methods) in order to print the inner text: "My name is Bill." in a text area and having the word "Bill" colored i.e. red.
The generalized situation is, if i can print the inner text and use XML tags to specify formatting attributes of the text per word.
Do E4X supports this type of parsing, or do I have to program my own "little" parser for this situation?
how do I go about printing entire, scrollable text area in flash movie, I know how to print entire page but when text file is scrollable it doesn't print whole text.
View 8 RepliesI 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 RepliesI 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.
View 1 RepliesI have a print button with this code in it:
Code:
var pj:PrintJob = new PrintJob();
var printOptions:PrintJobOptions = new PrintJobOptions();
[code].......
Is there any way to print the contents of a textfield or string using the pring command in AS?
View 2 Replieshow I would go about downloading my cv in a pdf or word format from an swf. Basically I want my cv to open as a pdf when someone clicks a button and then enable them to print it out or save it to their computer.
View 1 RepliesI am trying to create a print button on the last frame that will allow the user to print just that frame. I've tried using the printjob object, but all that I can get to happen is print a blank sheet of paper. Here is the code that I have so far:
function printScore(event:MouseEvent):void
{
var printJob:PrintJob = new PrintJob();
[code].....
I want my flex 4 application to print proper picture when I click on print in context menu of Adobe Flash Player.Is it possible?
View 1 Repliesi want to simply print 2 movieClips when i press a Print button. so i have the "_root.container_mc" and "_root.logo_mc"... paste the simplest code for printing a "landscape" page with these 2?
View 3 RepliesI am trying to make a print button that will print the contents of a mc...this mc basically holds a dynamically drawn floorplan which can be zoomed and panned...I want to be able to print the contents of the mc, and only what is viewable in the mc at the time of the print...so if you are zoomed in, all that prints are the actual objects visibly seen in the mc...I think it may be with the print command using bmovie but I have no idea how to assign a #b lable to the frame.
View 3 Replies[Code]... and go to the print section and then check out the print pieces. for some reason my resizing gallery movie is doing some weird stuff and i cant figure out how to fix it. my actionscript goes like this :
[Code]...
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
Is Flash a part of Captivate or do I need it to be able to put interactive quizzes into a document. It sort of sounds like Captivate 5.5 is all that I would need. My basic task is to take a PDF file and/or a MS word document and add interactive quiz questions to the document. I don't even need to record them to a database. I have been trying to learn what a bunch of these Adobe products are and what they do and don't do for over a week and finally I got some real help in this forum this morning.
View 4 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'm developing an interactive CD. I need to be able to allow the user to open Word and PDF files. I'm not sure how to do this. I've tried using getURL, but that doesn't work. I'm a bit saturated and can't think how I can do what I need.
View 3 RepliesI need to print sequence of static PDF files with out opening it in Adobe Reader. Is there any way to create a application which will print the PDf file with out opening it in Adobe Reader.
View 1 RepliesI am trying to make a website using flash, and as I dive deeper on this project i realize that it is far more complex than I thought.I came across with this problem:In my webpage, i reserved a big space for content, which would include text and images (a space for news). In that space, flash would read, and show, a word file (for example), thus making it possible to update the content of the website without changing the SWF file, but changing only the external word document.
View 4 Replies[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 it possible to use actionscript 2 to create a pdf or word processor file containing only text?
View 1 RepliesI am fairly new to as3 and would like loading a text file with about 1k words 1 word at a time. I would like to be able to increase or decrease the speed of this word appearing.
View 1 RepliesI followed the tutorial [URL] and it works perfect. But I wanna go a step further, how do I link a word in the external text file? It seems that html code <a href="www.me.com">CLICK</a> doesn't show as a link, but exactly as text.
View 1 RepliesI am not able to print more than 5 pages in one go. I want to print almost 12 pages in one print job. I am creating the movieclips of each page by adding the dynamic data in to it and store in an array. When all the movieclips created and stored in an array(pagesAry) then it call the following function to print those pages:
private function sendToPrinter():void
{
pj = new PrintJob();
try
[code]....
Getting error: Print job canceled as it took more than 15 seconds to complete.
how do you set a print button so that it does no show up in the print out?
View 1 RepliesI have made a movie using just one symbol. Is there any way in flash cs4 where i can print the position of my symbol in every frame into a text file?
View 1 Replies