corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Anyone good with macromedia flash?


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Anyone good with macromedia flash?
Gary
Premium Member

Avatar

Registered: 22nd Nov 06
Location: West Yorkshire
User status: Offline
24th Jan 07 at 19:08   View Garage View User's Profile U2U Member Reply With Quote

Making a flash intranet type thing and want to know how to run a local program from flash, tried using the get url actionscript but it dosent wrk right.

Anyone know?

[Edited on 24-01-2007 by glb86]

[Edited on 29-01-2007 by Ian]
AndyKent
Member

Registered: 3rd Sep 05
User status: Offline
24th Jan 07 at 19:29   View User's Profile U2U Member Reply With Quote

Geek day....

but not sure you can due to security issues - if you could then it would be possible to start any program with a remote webpage (ie. page downloads a virus program and flash could start running it)
Gary
Premium Member

Avatar

Registered: 22nd Nov 06
Location: West Yorkshire
User status: Offline
24th Jan 07 at 19:33   View Garage View User's Profile U2U Member Reply With Quote

the intranet will be running a local prog from the comp. Its the in exactly the same directory on each comp so its not running a prog off the tinterweb
Rus
Member

Registered: 24th Jan 05
Location: SE London, Kent
User status: Offline
24th Jan 07 at 19:42   View User's Profile U2U Member Reply With Quote

i do actionscript for a living, but i have no idea what your on about.
liamC
Member

Registered: 28th Feb 04
User status: Offline
24th Jan 07 at 19:45   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Rus
i do actionscript for a living, but i have no idea what your on about.


I think he wants to run an application that would be on the persons machine from a button within his flash

So instead of going to http:// whatever he goes to f:\program files\application.exe

I think anyway.

How long did it take you to learn actionscript mate? Do you know the lot?
Rus
Member

Registered: 24th Jan 05
Location: SE London, Kent
User status: Offline
24th Jan 07 at 20:00   View User's Profile U2U Member Reply With Quote

i've never had a reason to call a program (.exe) from flash. i always use ASP.NET for that kind of thing

started learning flash about 3 years ago at college. But now i'm in the industry, i use flash pretty much everyday for the last 6 months.
i guess i know a fair amount.
Antz
Member

Registered: 28th Jul 03
Location: Leeds         Drives: Myself Insane!
User status: Offline
24th Jan 07 at 20:07   View User's Profile U2U Member Reply With Quote

You can use the geturl.... but make sure you type 'file:///C:/path/' with the ''s....


you can only test this AFTER you have built the file... it won't work in previw mode....
AndyKent
Member

Registered: 3rd Sep 05
User status: Offline
24th Jan 07 at 20:07   View User's Profile U2U Member Reply With Quote

still don't think you'll be able to do it - flash doesn't know if you are local or not so (probably) doesn't allow you to do it....
Antz
Member

Registered: 28th Jul 03
Location: Leeds         Drives: Myself Insane!
User status: Offline
24th Jan 07 at 20:08   View User's Profile U2U Member Reply With Quote

also.... the getURL will only work when acompanied by a on function.
Antz
Member

Registered: 28th Jul 03
Location: Leeds         Drives: Myself Insane!
User status: Offline
24th Jan 07 at 20:09   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by aPk
still don't think you'll be able to do it - flash doesn't know if you are local or not so (probably) doesn't allow you to do it....

when ever a website/flash sees file:/// it auto asumes you want to run it from the client, not the host....
Antz
Member

Registered: 28th Jul 03
Location: Leeds         Drives: Myself Insane!
User status: Offline
24th Jan 07 at 20:10   View User's Profile U2U Member Reply With Quote

try it... make a file in your C:\ called test.txt and click here >>>> file:///C:/test.txt

[Edited on 24-01-2007 by Antz]
AndyKent
Member

Registered: 3rd Sep 05
User status: Offline
24th Jan 07 at 20:14   View User's Profile U2U Member Reply With Quote

yeh, I know that will work but if macromedia had any sense they wouldn't allow flash to run client programs - I honestly don't know 100% but if flash open programs remotely that is highly insecure....
Antz
Member

Registered: 28th Jul 03
Location: Leeds         Drives: Myself Insane!
User status: Offline
24th Jan 07 at 20:16   View User's Profile U2U Member Reply With Quote

how dow you think people make autorun flash start up files and stuff... and if IE can do it why can't Flash??
AndyKent
Member

Registered: 3rd Sep 05
User status: Offline
24th Jan 07 at 20:17   View User's Profile U2U Member Reply With Quote

Thats different - an autorun flash app is being started by Windows not flash opening something else.....
Gary
Premium Member

Avatar

Registered: 22nd Nov 06
Location: West Yorkshire
User status: Offline
25th Jan 07 at 00:29   View Garage View User's Profile U2U Member Reply With Quote

ive tried file:///c:..... in geturl, but it loads IE and then starts the prog, i need to to start it without IE
waynep
Member

Registered: 20th Apr 02
Location: london
User status: Offline
25th Jan 07 at 00:40   View User's Profile U2U Member Reply With Quote

there is a prog called flash jester i use that to call exe files ... search it
Gary
Premium Member

Avatar

Registered: 22nd Nov 06
Location: West Yorkshire
User status: Offline
25th Jan 07 at 01:08   View Garage View User's Profile U2U Member Reply With Quote

Im not buying it, any chance anyone can make me a .fla with a single button in it that starts a .exe file. Without goind thru IE first. So it just starts, batch files are fine too

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Do I use Flash MX? PaulW Geek Day 2 672
15th Jan 04 at 21:10
by PaulW
 
Anyone good with Macromedia flash?? Melville Geek Day 2 484
11th May 04 at 15:05
by andy hirst
 
Making Flash Lynny Geek Day 2 326
3rd Dec 05 at 21:13
by lynny_sxi
 
Flash animation software? stubs Geek Day 2 832
20th Oct 06 at 18:06
by ed
 
Javascript or Macromedia Kif Geek Day 5 705
18th Jan 07 at 11:48
by Cybermonkey
 

Corsa Sport » Message Board » Off Day » Geek Day » Anyone good with macromedia flash? 29 database queries in 0.0150509 seconds