Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > Server-Side Scripting

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-17-2001, 04:19 PM   #1
eussam
Registered User
 
Join Date: Apr 2001
Posts: 5
Smile

Hello,

I am pretty new to Web and Flash matters. Hope this question is not completly useless

Let's suppose I wanna write some CPU consuming ActionScript.
Unfortunatly the playback of this code is really to slow. Can I call an external function written in C or Java for exemple from my ActionScript ?. If so, is it possible to do it from a movie on the Web ?

Thanks a lot in advance.
eussam is offline   Reply With Quote
Old 04-18-2001, 03:58 AM   #2
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

Yes you can call them, no not from the web, and I don't think you can recieve data back from them either so it might not be of any use at all...

My latest project involves calculating something like 48^3 possible solutions to a problem... it only takes a bout 3 seconds on my comp. Nothing' too hard for Flash

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 04-18-2001, 09:36 AM   #3
eussam
Registered User
 
Join Date: Apr 2001
Posts: 5
Default

Thanks a lot Jesse,

May I ask you how to call them ? I only saw on the forum the way to invoke JavaScript function from ActionScript, I guess there is a specific protocol to respect to have access to external functions. Or perhaps a javascript function allows to link external code to a flash movie.

Indeed, I wonder why Flash allows to launch external code if it is not possible to retrieve data from it ...

Thanks again for your fast answer.

Philippe.



eussam is offline   Reply With Quote
Old 04-19-2001, 03:05 AM   #4
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

Youc all them using FSCommands, see this tutorial:
http://www.actionscripts.org/tutoria...es/index.shtml

See these threads for info on passing parameters:
http://www.actionscripts.org/forums/...3?threadid=728
http://www.actionscripts.org/forums/...3?threadid=841

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 04-19-2001, 08:44 AM   #5
eussam
Registered User
 
Join Date: Apr 2001
Posts: 5
Default

Thanks a lot, sorry for redundant questions

Philippe.
eussam is offline   Reply With Quote
Old 10-01-2001, 10:47 PM   #6
MauiBoy
Registered User
 
Join Date: Oct 2001
Posts: 1
Default Anybody know?

Hi

I know this post is old but I too have been trying to find out how to do this.

This question was not really answered properly here: the question is - does anybody know how to call external functions that are in an external DLL from Flash?

Mark Kluth
mkluth@mkluth.com
MauiBoy is offline   Reply With Quote
Old 10-02-2001, 01:56 AM   #7
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

I don't think Flash can but I know that the programmer at my old workplace had his ASPs calling DLLs so maybe you could pass your data from Flash > ASP > DLL and back. Just a suggestion, I'm not sure how. (Well, Flash > ASP could be done via loadVariables or getURL easily, but the later is harder).
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse 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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling Flash function with Javascript binkyboo ActionScript 1.0 (and below) 2 03-15-2008 10:17 AM
Developing a flash site, Part1: Some thoughts Bloom22 Other Flash General Questions 6 09-29-2006 03:10 AM
Flash calling Javascript cerupcat ActionScript 2.0 4 02-11-2005 09:54 PM
Flash MX Developers Exam VitiminJ General Chat 34 05-05-2004 02:27 PM


All times are GMT. The time now is 04:43 PM.


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