-
Advanced usage fscommand.
Open any files from flash projector.
No '.bat', '.ini' files and etc.
Build command to open dynamicaly in ActionScript.
Handle error in ActionScript.
Relative path supprt.
Custom error Message Box support.
Hide/show system taskbar feature.
LocalConnection-base project.
Vista compatible (may be )
Thanks for
http://www.osflash.org/localconnection
authors.
Simple usage code:
Code:
var client:LocalConnection = new LocalConnection();
client.connect("fromExe");
client.send("toExe", "fromExe");
open_btn.onRelease = function() {
client.send("toExe", "open", "..\\myfile.pdf");
};
fscommand("exec", "flrun.exe");
Last edited by alexcon314; 10-14-2008 at 01:55 PM.
-
Lifetime Friend of Site Staff
The only problem with that approach is that it's undocumented (or not officially documented) and that makes it dependent on some very specific implementation details. If Adobe decides to change the way they implement local connection objects in the future then solutions based on this technique may not work.
I wouldn't recommend using this in a mission critical application unless you're willing to tie your solution to the particular version of Flash you're using right now.
Working within the documented parts of the Flash player don't give you as much flexibility but you're almost guaranteed (Adobe can obviously change anything at any time) to be able to do the same things tomorrow as you can do today.
-
Ok. Safecode go one definitely. Thank's.
PS. But where my attached zip? I don't see... why?
Last edited by alexcon314; 10-14-2008 at 02:12 PM.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|