Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 06-19-2009, 05:53 AM   #1
vinayak.kadam
Senior Member
 
Join Date: Feb 2008
Location: Pune-India
Posts: 122
Send a message via Skype™ to vinayak.kadam
Default FlashLite 2.1 - Save data on mobile (write text file)

Hello everyone!

I have a kind of requirement where I need to save a text file on mobile. Text will come from standalone FlashLite SWF and will be written to a text file. Please let me know that along with FlashLite, which technology will help me to achieve this functionality!

Thanks in advance for your kind consideration!

__________________
As ever,
Vinayak Kadam
vinayak.kadam is offline   Reply With Quote
Old 06-19-2009, 08:00 AM   #2
Thommas
Senior Member
 
Join Date: Mar 2009
Posts: 117
Default

Use Shared Object instead ?
http://livedocs.adobe.com/flashlite/.../00000029.html

Or you need to convert your SWF to Executable to access OS features like writing files.
> Use Janus-Flash for Windows Mobile
> Use Kunerilite for Symbian

Here is the code for Janus-Flash :
ssp.filesystem.File.appendText("HelloWorld !", "myFile.txt");
Thommas is offline   Reply With Quote
Old 06-19-2009, 08:29 AM   #3
vinayak.kadam
Senior Member
 
Join Date: Feb 2008
Location: Pune-India
Posts: 122
Send a message via Skype™ to vinayak.kadam
Default

Thanks for your quick reply Thomas.

Actually, I cannot use shared objects because I want some other application to use the info of text file.

So, Janus-Flash seems a good option for now. I will lokk forward to use it....in between, can you please put some light on the communication that happens between Janus-Flash or some few links about the same...

Thanks once again!

Last edited by vinayak.kadam; 06-19-2009 at 08:29 AM. Reason: typo!
vinayak.kadam is offline   Reply With Quote
Old 06-19-2009, 09:44 AM   #4
Thommas
Senior Member
 
Join Date: Mar 2009
Posts: 117
Default

"Actually, I cannot use shared objects because I want some other application to use the info of text file."
Okay :-)

"So, Janus-Flash seems a good option for now. I will lokk forward to use it....in between, can you please put some light on the communication that happens between Janus-Flash or some few links about the same..."
Janus-Flash encapsulate a SWF file in an executable EXE file allowing system calls to Windows OS.

Check this forum : http://www.janus-flash.com/forum/index.php?board=15.0

You just need to install Janus-Flash as a Flash Component,
And use this code :
import ssp.application;
ssp.filesystem.File.appendText("HelloWorld !", "myFile.txt");

Compile your SWF (Flash Lite 2.1 only !)
Then
Compile your EXE using Janus Installer > Pocket PC

Launch exe on your phone, this will work.
Thommas is offline   Reply With Quote
Old 06-19-2009, 10:29 AM   #5
vinayak.kadam
Senior Member
 
Join Date: Feb 2008
Location: Pune-India
Posts: 122
Send a message via Skype™ to vinayak.kadam
Default

Excellent piece of info shared by you sir!....Ton and ton of thanks to you! All my issues are sorted out now. Things seem a bit easy now

I will share further details/updates here. Thanks once again!

As ever,
Vinayak Kadam
vinayak.kadam is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Save variables to a text file? foreignmovement ActionScript 2.0 3 09-09-2008 12:20 PM
How do you something like this ... newttyy HTML and JavaScript 1 10-15-2007 09:02 PM
loading images into dynamic text boxes mprovojr ActionScript 2.0 5 10-09-2007 06:10 PM
Is it possible to create, write and read text file?? crazy_evil ActionScript 2.0 9 08-03-2007 01:11 AM
calling a PDF file in Flash AudryLucy Projectors and CDs 20 12-30-2006 01:43 PM


All times are GMT. The time now is 07:53 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.