?
Solved

File IO in Flash

Posted on 2003-03-27
8
Medium Priority
?
527 Views
Last Modified: 2012-06-22
Might someone pass along a solution for saving/printing a text file in Flash?

Thanks
HRG
0
Comment
Question by:hrg123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
8 Comments
 

Author Comment

by:hrg123
ID: 8218435
I only have 75 points but it's an important one for me :)

Thanks
0
 
LVL 22

Expert Comment

by:rascalpants
ID: 8218586
you can't save a text file or print it using flash alone.  You might be able to use PHP or ASP to do so...


rp
0
 
LVL 22

Accepted Solution

by:
rascalpants earned 152 total points
ID: 8219431
maybe these can help:

http://www.actionscripts.org/tutorials/intermediate/load_edit_save_vars/index.shtml


"Are you using some kind of server language?  If you can use PHP, you can just use the fopen and fwrite functions to write to the file quickly."  

FOpen:
http://www.php.net/manual/en/function.fopen.php

Fwrite:
http://www.php.net/manual/en/function.fwrite.php

taken from some other answer on this site :)

rp
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 3

Assisted Solution

by:mixart
mixart earned 148 total points
ID: 8223188
You could load the TXT file into a flash movie into a movieclip, then simply add a print function to print out that MC.
0
 
LVL 22

Expert Comment

by:rascalpants
ID: 8225483
Mixart has a good point...  I need to know more about what you are trying to do, so an alternative options might be presented...


typically I have found that people come to dead ends when they try and use only Flash to save a txt file...


rp
0
 

Author Comment

by:hrg123
ID: 8229172
Thanks for the help I have received on my question:
"Might someone pass along a solution for saving/printing a text file in Flash?"

In my desire to be brief, I was too brief. Let me try again:

Might someone pass along a solution for saving a text file when running a flash application from CD?

Thanks
Harry
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question