?
Solved

JSFL extensions: FLfile -- worth the effort?

Posted on 2006-05-07
7
Medium Priority
?
323 Views
Last Modified: 2008-01-09
I saw a mention of JSFL extension "FLfile" --

Is this difficult to use?  Could someone give me an outline of what you need to add to your ActionScripts and/or Browers Javascripts to be able to use these functions ?

Specifically, it would help if I could write out a series of Txt files to my own folders on my Mac....

What would I need to do in the AS (etc) to allow me to do this?

Thanks
0
Comment
Question by:Donelson
  • 4
  • 3
7 Comments
 
LVL 5

Expert Comment

by:wings_gaurav
ID: 16626106
Hi,

personally i work with JSFL in lot of projects. JSFL provides ability to extend the Macromedia Flash UI . It's like VBA to Excel or Word. From my perspective - it helps in automating tasks on large flash content production. FLFile is an extension that allows JSFL to access hard drive - do simple read write operations.

There is only one function is actionscript that allows integration between flash (AS) and jsfl. This function only works only in authoring environment - not on the flash player.

I don't think JSFL is something you are looking at. Let me know if you need more information on JSFL.

Regards,
wings
 

0
 
LVL 5

Expert Comment

by:wings_gaurav
ID: 16626136

MMExecute is the function - It's used with "Flash Panels"

This is a link to the documentation of the function -

http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=00001474.html

-wings
0
 

Author Comment

by:Donelson
ID: 16626726
Wings

Thanks. That seems to be a real cheap-hack; not letting you use it outside of the authoring environment.

What way do you suggest that I save Text files ?

NOTE: I already have the SharedObject files info via Q_21810512.html
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 5

Expert Comment

by:wings_gaurav
ID: 16629131
hi,

Saving files on to the user system through the browser is not something that is going to be easy - at minimum you would require a signed applet / active x that can write files. Flash will request this activex/ java applet through javascript.

On a standalone sytem there are many ways -

one of the simplest ways i can think of is to use fscommand "exec" to execute a script/app and use clipboard as the data transfer medium. Falsh can set the system clipboard using System.setClipboard() function.

other option would be to launch in a custom container VB (win only), c++ and use fscommand to send events to the container.

another option is to do a client server with java/c++ and flash - server (a small java program) launces the flash projector exe and waits for it to close. Also the server opens a TCP port and listens. The client (the flash projector) sends data to be saved using XMLSocket.

Hope this helps.

-wings

0
 

Author Comment

by:Donelson
ID: 16629185
Of all of those, is the SharedObject method the easiest (and cross-platform) way to do this ?

( I only have Mac Flash authoring system, but want do to "write files" from a Flash browser SWF on the PC )

0
 
LVL 5

Accepted Solution

by:
wings_gaurav earned 1000 total points
ID: 16629356
Yes, SharedObject is the easiest to save temporary data.

Note: They are more like browser cookies which can be cleared/deleted or even blocked depending on user settings. They already are limited in size and space - furthermore the user can choose to adjust these limits using flash player settings dialog box.

To summarize - sharedobject is the simplest and easiest way to store temporary information on user system but can't be relied upon for avialability.

Any other method of writing files is not going to be achieved by just Flash.

-wings
 
0
 

Author Comment

by:Donelson
ID: 16629382
Thanks, Wings.

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
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 select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses

621 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