Output From 2004MX
I have built a little piece of software w/ FMX2004. I have Flash writing all of my desired output to XML. I was wondering is there a way that I can have Flash write this to an XML file and eventually append that file w/o some server side script. I want the software to work on a local computer and not need Internet access. Basically I want it to be able to write to an existing XML doc on the users computer for future use w/ the software.Thanks in advance,RCA
KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 10-09-2004, 01:48 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Output From 2004MX
I have built a little piece of software w/ FMX2004. I have Flash writing all of my desired output to XML. I was wondering is there a way that I can have Flash write this to an XML file and eventually append that file w/o some server side script. I want the software to work on a local computer and not need Internet access. Basically I want it to be able to write to an existing XML doc on the users computer for future use w/ the software.
Thanks in advance,
RCA
[2004MX] Nav>SubNav - New To AS
Alright...Just letting you AS experts know I tried a lot of different ideas. New to AS and love'n it but I know there has to be a better way...
I am looking to build a simple and effective Navbar that once a user has moused over the title of the bar it moves downward then stops . It will reveal 3 options within Navbar. Once one of the 3 options is chosen, then the original Navbar moves back to its first frame (it moves up). As soon as it moves up (now in its 1st frame) the Subnav of the option chosen will reveal itself by moving below the original Navbar.
I have posted the .fla file.
Thanks.
DW
2004MX: Swf Transitons
i'm sure everyone is sick of me asking this, but i'm still confused on these transitions.
but i've been working on them for a while now, and i have a question to ask.
if i have movie set up where i have my buttons and my container movie clip in a seperate movie clip, how do i set up my code?
this is what i have on one button:
Quote:
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "section1";
container.loadMovie("section1.swf");
}
else if (_root.mc01.currMovie != "section1") {
if (container._currentframe >= container.midframe) {
_root.currMovie = "section1";
container.play();
}
}
}
do i need to change my _root to the instance of the movie clip???
this is where i'm getting hung up on...i think.
any help is greatly appreciated!
[2004MX] Nav>SubNav - New To AS
Alright...Just letting you AS experts know I tried a lot of different ideas. New to AS and love'n it but I know there has to be a better way...
I am looking to build a simple and effective Navbar that once a user has moused over the title of the bar it moves downward then stops . It will reveal 3 options within Navbar. Once one of the 3 options is chosen, then the original Navbar moves back to its first frame (it moves up). As soon as it moves up (now in its 1st frame) the Subnav of the option chosen will reveal itself by moving below the original Navbar.
I have posted the .fla file.
Thanks.
DW
2004MX: Swf Transitons
i'm sure everyone is sick of me asking this, but i'm still confused on these transitions.
but i've been working on them for a while now, and i have a question to ask.
if i have movie set up where i have my buttons and my container movie clip in a seperate movie clip, how do i set up my code?
this is what i have on one button:
Quote:
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "section1";
container.loadMovie("section1.swf");
}
else if (_root.mc01.currMovie != "section1") {
if (container._currentframe >= container.midframe) {
_root.currMovie = "section1";
container.play();
}
}
}
do i need to change my _root to the instance of the movie clip???
this is where i'm getting hung up on...i think.
any help is greatly appreciated!
2004mx Swf Transitions
if i have movie set up where i have my buttons and my container movie clip in a seperate movie clip, how do i set up my code?
this is what i have on one button:
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "section1";
container.loadMovie("section1.swf");
}
else if (_root.mc01.currMovie != "section1") {
if (container._currentframe >= container.midframe) {
_root.currMovie = "section1";
container.play();
}
}
}
do i need to change my _root to the instance of the movie clip???
this is where i'm getting hung up on...i think.
any help is greatly appreciated!
Flash 2004MX Pro Causing Image Distortion
I'm hoping someone can tell why FlashMX2004 is zooming in on the images rather than displaying the full image? The movie and the images are the same size....although I did use a previous fla file w/ the correct action script (Kirupa's)and modified the display area and swf size and used my images. I've never had this problem before.
If you would look here http://kansaslighting.com/bobs_stuff/FLASH/flash.htm I've cut the slide show down to 3 images and displayed the original images along side so you can see approx ¼ of the images are being zoomed out
I would appreciate any assistance w/ this problem, Cyn
Flash 2004MX Access Internet (XPSP2 Installed)
I have been using Flash 2004MX for a while now, and I recently installed Xp SP2. Now when I run Flash 2004MX I get a message from the XP firewall telling me that Flash 2004MX is trying to access the internet. Does anyone know anything about this?
Flash-2004MX- Can Anybody Guide Me To A Good Video-tutorial?
Hi all!
For years I've been delaying myself to learn flash. I have the old version of powerbook and it doesnt allow me to install the later versions of Flash.
Regardless, I still have the -04 version and I'm very eager to learn how to make websites complitely in flash.
I know I'm way way behind but I don't want to give up on flash and I'm looking forward to learn..
I would sincerely appreciate if anybody could guide me to a good beginners video tutorial for MX-2004..
My new years promise is to learn this program and develop further.
Thanks you all for your time and happy new year!
// Alee
[F8] Can I Trace Output On The Stage Instead Of In The Output Window?
Hi - I'm trying to create a function that divides an inputted number by everything from 1 up to that number. (The aim is to create a .swf movie that will give you the factors of any number you put in.)
I can get the outputs in the output window that I want, but I need now to get them somewhere on the stage itself in a dynamic text box.
This is the script that gives me the correct outputs:
(I have a button named 'ok2' and the input textField is 'Input2')
code:
ok2.onPress = function():Void {
var nInputnumber:String = Input2.text;
for (i=1; i<=Number(nInputnumber); i++) {
var nOutfactors:Array = [];
nOutfactors[i] = (Number(nInputnumber)/i);
trace(nOutfactors[i]);
}
};
What do I need to do to get these to appear onStage instead of in the output panel?
I have tried myDynamictexfield.text = nOutfactors[i], but it will only show the last value for it, not all the ones inbetween.
HELP!!!
Sorry if this is a stupid question - it's the first one i've posted. It's just that if I can't figure this out soon, I may have to throw my laptop at a wall....
Reading Xml Output Form Php Output
Is it possible to read xml output instead from a xml file?
The xml will be output from a xml file which generate from a database.
so if you do
var myxml:XML=new XML();
myxml.load("http://xxx.mm/product.xml");
But if i do
myxml.load("http://xxx.mm/product.php");
where the php will output the a xml data. will this work? Does it work the same??
Can someone point to the some code sample on how to do this?
I Search the web but can't find much answer on this one...
Thanks
Output Window Not Displaying Output
Ok, this is a wierd one.
All of a sudden the output window is not displaying any of my output.For instance, i can have a simple movie, 1 frame, with the action:
trace("hi");
when I test it, the output window pops up, but nothing is in it.
Anyone ever seen this before?
-adam
Redirect Output Panel Output
Hello all:
Anyone know of a way to redirect errors thrown by Flash in the Output Panel to somewhere else (i.e. a text field). Reason being I am conversing with client and we cannot seem to pinpoint the error occuring, it works on my end but not theirs, and obviously they are running blind without any sort of errors being thrown. So if anyone knows of any other way to accomplish what I'm after that would be great.
Thanks,
John
[F8]Why Won't My Output Window Output Anything?
A quickie:
At some point my Output window stopped displaying error messages. It still pops up, I assume if there's a problem. But it's blank and the scrollbar is disabled. Is there an option I missed somewhere?
-Jeff
Output Says.....
Symbol=m00, Layer=Layer 2, Frame=1: Line 1: Statement must appear within on handler
loadMovieNum("12.swf", 2);
What does it means by 'must appear within the handler'. I assigned the above actionscript to a button on Layer 1. What am I missing?
Where Is My Output
I'm pretty new to Flash so I'm watching some video learning stuff on "Action Script".
i have "Flash MX 2004" on a Mac
my problem is that when i type a simple script like
trace ("test text");
then test movie, i get no output in the output palette.
i checked the syntax and every this seems fine but no output is being displayed. just a blank output palette. is there a setting or something that I'm missing?
Has anyone els had this problem or maybe my trace statement is wrong?
Help
Flv Output
I am still a bit confused...
I need to find some software that will output to .flv (I assume). My whole objective is to create flash video files out of existing media (digital and analog, many formats) which can be served via streaming video in a flash browser/viewer that is being designed for me.
Will a program like Sorenson Squeeze for Flash MX run independantly of Flash to create these files, or will I need to purchase Flash itself. It seems as though "for Flash MX" would imply that this program is a plug-in....
I will not need to do any editing, etc., simply convert and upload. What do you guys recommend?
thanks!
How To Output
i was wondering, how do i output text to the flash window? i just got familiar with trace, but it doesn't output to a flash window. thanks.
XML Output - Nearly There.
Hi, i hav this code displaying the album id from my xml. I want to change it so that it will display the track titles for an album
xml attached - cheers ben.
Additionaly i would like to display the output in a text field? any ideas?
action script:
for (var n = 0; n<xmlDoc_xml.firstChild.childNodes.length; n++) {
if (xmlDoc_xml.firstChild.childNodes[n].nodeName == "Album") {
trace(xmlDoc_xml.firstChild.childNodes[n].firstChild.firstChild.nodeValue);
} else {
trace(xmlDoc_xml.firstChild.childNodes[n].firstChild.nodeValue);
}
}
}
Output Help :)
haha, ok. so now everytime i test my movie the "output" is popping up. im not getting any erros or anything, that used to be the only time it would show up.... so could somebody tell me how to make it stay away till i get an error?
Var Txt Output Help
ok im away simular things have been posted before but they dont really help me so can some one help me or redirect me to something that will
ok heres my problem
i made a game for my website in flash and i know how to read for a file but i want to know how i can save a hi score from flash to a txt document. preferably straight from flash to txt if not i may need a bit more help. im newish to action script but know ho to do alot of the other stuff in it but not the save function.
so i just want to have someone play the game and as they get a hiscore it updates the old one so every one who goes on the site, just a number save, no name save, just so people no what the highest score on the game is
i hope you can help me
thanx
XXXX
Akumu - ShadowMedia
Output Xml Value
_tracks[i].childNodes[0]
<title>value</title>
how do I get the value only out?
thanks for help
No Output For AS3
I've just installed CS3 on my laptop and I have run into some weird behavior. If I open an AS2 fla and type trace("This is a test"); in frame one and hit cntl-enter, I get the expected output in the window. If I open an AS3 fla and do the same thing, I get no output. I also get no errors or any indication of a problem -- the output window stays blank. WTF?
I should also mention that I am running Vista, and that the same software loaded on my desktop machine works just fine.
Mac - Pc Different Output
Hi there;
I've got this really weird problem...
My mac and my pc create different .swf's from the identical same file... but they both play like they were exported... on both platforms...
can anyone check if both files look identical to you or do you guys see differences too?
robin
the files are:
macfile
and
pcfile
help? this really isn't funny...
Output
i have this problem with my output. I'm learning actionscript through this tutorial and it's showing that you can use trace to trace the value of a variable. For example:
var nQuantity:Number = 5;
if(nQuantity == 5) {
trace("Yes, the condition was met");
}
it's suppose to show the string, "Yes, the conditon was met" on the output panel. but it comes out empty on mines... why is that? anyone knows?
AVI Output
Hi guys. I have a pretty large scale flash file I'm using for credits in a movie I am creating--I'm utilizing flash-specific features, that can't really be duplicated in say... after effects or premiere. The only problem I'm having with it is when exporting to avi so I can import into Premiere, if the file gets any larger than 4 GB, it's riuns it and it will not play. If I cancel it before it gets that big, the file plays fine.
This is using uncompressed , because neither video 1 are providing me with the quality I need / give me random problems, like jumpy graphics.
I've read some info on something to do with window's AVI temp file has a 4gb limit or something on it, etc.
Anyone have any suggestions for how to get around this?
Output Gone?
Hi All
Very strange but for some reason none of my flash files are out putting any
information ie trace etc even when i select show objects the output screen
is empty??
Dont think ive changed any settings....
Any ideas?
XML Output
Hi,
This might be a bit difficult but I am hoping someone has already done this before. I am trying to output the contents of an XML file on the page but in a list type format. I can achieve this with images creating a new empty movie clip a number of times on a page and the results display under each other, similar to a datagrid.
Here is a breakdown:
My XML has 3 entered books, book 01, book 02, book 03. Each book has a thumbnail image, title, author and link.
When I run a loop to get the details of each node it works perfect for the thumbnail because of the create empty movie clip but how would I achive the same results but for text boxes because if I run the same loop for the text boxes I only get the last value.
Thanks in advance
XML Output From PHP
I would like to produce the following xml document from PHP
<slideshow>
<photo url="DO NOT DELETE ME" day= "6" month= "FEBRUARY" description="Current Day Description" />
<photo url="DO NOT DELETE ME" day= "7" month= "FEBRUARY" description="Day 2 Description" />
<photo url="DO NOT DELETE ME" day= "8" month= "FEBRUARY" description="Day 3 Description" />
<photo url="DO NOT DELETE ME" day= "9" month= "FEBRUARY" description="Day 4 Description" />
<photo url="DO NOT DELETE ME" day= "10" month= "FEBRUARY" description="Day 5 Description" />
<photo url="DO NOT DELETE ME" day= "11" month= "FEBRUARY" description="Day 6 Description" />
<photo url="DO NOT DELETE ME" day= "12" month= "FEBRUARY" description="Day 7 Description" />
</slideshow>
Here is the PHP that I have
$xml_output = "<?xml version="1.0"?>
";
$xml_output .= "<slideshow>
";
foreach($result as $row) {
$xml_output .= " <month ="".$row['eventStartDate'] ."" />
";
$xml_output .= " <day ="".$row['eventEndDate'] ."" />
";
$xml_output .= " <description ="".$row['eventSummary'] ."" />
";
// Escaping illegal characters
$row['imagedesc'] = str_replace("&", "&", $row['imagedesc']);
$row['imagedesc'] = str_replace("<", "<", $row['imagedesc']);
$row['imagedesc'] = str_replace(">", ">", $row['imagedesc']);
$row['imagedesc'] = str_replace(""", """, $row['imagedesc']);
}
$xml_output .= "<slideshow>";
echo $xml_output;
XML Output
Can somebody give me the code to ouput this xml from php.
<?xml version="1.0" encoding="ISO-8859-1"?>
<Events>
<event day= "6" month= "FEBRUARY" description="Day 1 Description" />
<event day= "7" month= "FEBRUARY" description="Day 2 Description" />
<event day= "8" month= "FEBRUARY" description="Day 3 Description" />
<event day= "9" month= "FEBRUARY" description="Day 4 Description" />
<event day= "10" month= "FEBRUARY" description="Day 5 Description" />
<event day= "11" month= "FEBRUARY" description="Day 6 Description" />
<event day= "12" month= "FEBRUARY" description="Day 7 Description" />
</Events>
Output To Jpg...
I am trying to create a flash movie that allows the user to click a button to dynamically create a jpg screenshot of the movie.
I keep coming across this demo: http://www.flash-db.com/Tutorials/snapshot/snapshot.php?page=1
I have tried it in the past with no success. Has anyone either
a)Gotten this demo to work?
b)Come across another tutorial on how to accomplish this?
I greatly appreciate any advice...
Output Error What Does It Mean?
Target not found: Target="this.Text Scroller" Base="_level0.instance15"
Target not found: Target="_root.Plan9.scroll" Base="_level0.instance15"
Anybody any ideas what this means. Heres the test site. The error above is something to do with the scrolling arrows. Takes a while to load. Be patient!
http://www16.brinkster.com/darth84/int2.swf
Formating Output
hi all, this is my first post.
I have a litle problem, im working in a preloader with lots of information and i would like to format my output box of bit rate Kb/s.
My current out put its something like Ex.: 15 Kb/s
and i wanted like 15.21 Kb/s
is there anyway i could do it?
bit_rateKbs = int(bps/1024) add " Kb/s";
thanx all
Input/output
ive already posted this question, and the replys still havent solved this simple problem.
the advice seemed good enough, except i must be missing something.
problem: ive got an input textbox on the main stage, i want to display this input in a movieclip, also on the main stage, later in the timeline.
whatever i do i just cant target the movieclip correctly, also where do i put the targeting actionscript .
i think it is something simple that im missing please help cos it's realy holding up my progress.
cheers rat
Output Cdata
Good afternoon everyone.
Im looking for a way to output XML Cdata nodes to my asp.
I have created a Content Management system that allows the user to format text using html tags - so far so good. However to retain the html tags i would like to save the data withing Cdata nodes.
Everytime I try to do this certain characters are escaped, and this seems to me to be a waste of time as I might as well escape the whole thing. I dont want to have to urlencode all my data before it goes into an xml node.
Output MC Positions From SWF?
I wanted to make an application where users could drag elements onto a "screen". Is there a way for me to record where people leave the elements or to output what is on the screen to another format?
Any code help or ideas would be appreciated.
MX Output Window DOA?
Friends,
My output window isn't outputting?
//Insert personal problem joke here.
All of my .fla files work just fine but one. Even when I force a trace command the output window just stares at me. Nothing. If I create a new file it works fine. Go back to the old one, nada.
Is there a way to disable output?
Thanks
-Layne
Creating For CD Rom Output
I've been given the task of creating a CD-Rom that displays a series of .pdf files. I wanted to use flash to create the openning screen and scroll through screens and link them to the .pdf files.
This CD-Rom has to be viewable by Mac and PC.
First of all is it possible? Second, how do I go about this? Is the key to export the file as a projector file? One for the Mac and one for the PC and save both on the disk?
Help
Maria
Dragable Output Box
Hi all,
'have the following problem: I'm trying to make an output box which is draggable with the mouse in vertical direction only (within certain
upper and lower limit).
Dependend on the vertical position it should make a calculation.
So if the _y position = 100 it should output i.e. 100 * variable
and after dragging the output box to _y position 110 it should output 110 * variable.
Hope you know what I mean. In this link I put my newbies unsuccesful attempt:
http://home.hccnet.nl/m.dijk/drag/
Expert help is highly appreciated !
Strange Output
Hi there, When I uses this code, it's gonna output 3 digits, while the other (min and sec) only outputs 2 digits.
This is the code for mili
mili = gT-min*60000-sec*1000;
And this is the code where I use it's output
tijd= (min < 10 ? "0"+min : min ) + " : " + (sec < 10 ? "0"+sec : sec) + " : " + (mili < 10 ? "0"+ mili : mili);
Really strange and I don't understand why....
The outputs looks like
00:01:738
Anyone?
Output An Array For TB Map?
I need to create a process to output an array for maps in my tilebased game. How should I go about something like that?
-Tyler
A Way To Save SWF Output?
Is there a way to save anything in a SWF? Like if I have random lines drawn on it and I want to save what it drew?
Input/output
Hi,
Hope someone can help.
I have one input text field which I want to send text to many output text fields.
For example:
user types in input text field-presses enter_btn-
text sent to output1-input text field clears.
user types in input text field-presses enter_btn-
text sent to output2-input text field clears.
and so on...
Yep, so I always need the input text field to clear everytime a user clicks enter. As well as keep telling the input field to send to another # output field.
Thanks
Text Box Output
Ok if you check out my chat program at:
http://www.swgfreak.com/k/chat.swf
You will see that any new text entered is added to the bottom. Is there a way to like flip the text box so it pushes text up when new text is added, instead of just going further and further down.
Output From Flash
I am working on a program that will output a publication advertising layout once data has been entered.
What are the options, in Flash, for outputting the resultant page(s)? Can an image be created from that page/frame and emailed to someone? I recently read an article about a designer printing Postscript files from Flash of the current frame and then opening them in Freehand. Can this be automated?
Any suggestions/comments??
thanks!
XML Output To File
Can anyone help me with appending childnodes to an xml file? I have a basic login kinda thing working by authenticating to an XML file but I'm now faced with the task of being able to add new users. I need to append a childnode with attributes, to the loaded XML file. This is not for a web-application, the XML file is local.
Thanks,
Mercury.
TextField Output In XML
My company has asked me to develop a Flash-based rich text editor similar to the one in Component Set 2. The catch (and the reason I am not just using the component set version) is that I need to export the rich text based on our internal XML scheme. For example, if the user enters text into the editor and makes it bold, then the output of this text editor needs to be: <bold_text>Some random text</bold_text>. I have been toying around with the TextField, TextFormat, and XML objects in Flash MX, and have not come to a viable solution.
Is it possible to customize the HTML mark-up applied by the TextField/TextFormat objects?
Is there a way to tell the TextField/TextFormat objects to use XML instead of HTML?
Is it possible to send the text with its associated TextFormat properties to an ASP and just let the ASP do the parsing?
Am I thinking about this in the wrong way? Should I approach the problem differently?
These are just a few of the ideas running through my head. I was wondering if any of you had any ideas of a good way to approach this.
Thanks in advance for any help!
-Aaron
Output On Screen ?
Hello, i have a code in my flashmovie that shows me six numbers on my output ( when i test it ). Now, how do i get that output numbers on my screen ?
this is the code:
function myRandom (minVal, maxVal) {
return minVal + Math.floor(Math.random() * (maxVal + 1 - minVal));
}
var i=0;
var number = new Array(6);
for (i=0;i<6;i++) {
number[i] = Math.floor(myRandom( ((i*50)/6)+1, ((i+1)*50)/6)+1);
trace(number[i]);
}
|