473,800 Members | 2,467 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

html to flash

39 New Member
I have this part of html tags which passes some inputs to application in the cgi-bin . Is it possible to transform that into flash actionscript code. I would appreciate if someone could help me with the trasformation code.

Thanks

<form action="/cgi-bin/matweb.exe" method="POST">
<input type="hidden" name="mlmfile" value="webmagic ">
<p>Magic square size (minimum is 3, maximum is 20):
<input type="text" size="2" maxlength="2" name="msize"></p>
<p><input type="submit" name="Submit" value="Submit"> </p>
</form>
Jun 28 '07 #1
4 1651
kestrel
1,071 Recognized Expert Top Contributor
You are trying to make a form using flash and actionscript right?
Jun 28 '07 #2
atlkhan
39 New Member
No its not a forum, my actionscript is passing some values to matlab application on the server

QUOTE=kestrel]You are trying to make a forum using flash and actionscript right?[/quote]
Jun 29 '07 #3
xNephilimx
213 Recognized Expert New Member
No its not a forum, my actionscript is passing some values to matlab application on the server

QUOTE=kestrel]You are trying to make a forum using flash and actionscript right?
[/quote]

I'm not sure what happens with exes, but normally you should use loadVariables(u rl,method); being the url "/cgi-bin/matweb.exe" in your case and method whiciever you want, GET or POST.

You got to get all the input textfields inside a holder movieclip with an instance name, like "form" for the sake of simplicity, wich acts as an html form, each textfield inside must have a variable name (that's like the name property in html). Then you gotta make a send button, put it an instance name like "send", then in the frame actions write this:

Expand|Select|Wrap|Line Numbers
  1. send.onRelease = function() {
  2.    form.loadVariables("/cgi-bin/matweb.exe", "POST");
  3. }
  4.  

And that's all to it, but try it first, 'cause I don't know if/how it works with exe's.
Jun 29 '07 #4
Motoma
3,237 Recognized Expert Specialist
Try this:

Expand|Select|Wrap|Line Numbers
  1. var postData = new LoadVars();
  2.  
  3. //Load up all the variables you want to POST
  4. postData.formElementName = "Motoma";
  5. postData.formElementPasswd = "$tup1dp@$$";
  6.  
  7. postData.send("/cgi-bin/matweb.exe", "_self","POST");
  8.  
Jun 29 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
6395
by: Bill Chiu | last post by:
Dear gurus: I need to create a real-time line plot on an html page, without resorting to java, cgi, or anything server-side or offline. I think maybe this could be done with javascript, or dhtml, and most likely macromedia flash - what may be the best choice for a clean and portable design? and why?
2
1547
by: Mark | last post by:
Hi all, This is what I'm trying to do. I'm trying to load a flash movie transparently over my existing html page (not covering the full screen, but 75% of it), so it is kind of similar to a "splash screen" in the respect it is to be an introductory screen. I already have a flash movie made (although for some reason WMODE=TRANSPARENT isn't working), but we'll get to that in a sec. I also already have all the html for the playing the...
6
2606
by: Dominique | last post by:
Hi all, I'm using .NET v1.1 and the scenario I have is as follows... I have IE as an ActiveX control embedded in may C# App. I generate a HTML file dynamically and within the HTML file I embed a Flash, powerpoint presentation or movie file similar to ... <object id="globalnav-object" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"...
11
3528
by: emailus | last post by:
I am webmaster for the domain <www.alpha1.org.au>. Not being an expert in html, I take advantage of my domain Registrant's web building tool, 'Instant Website'. This tool is provided as part of the fee I pay for web hosting. 'Instant Website' provides the option of having your opening page as a Flash Page, which you'll see if you visit <www.alpha1.org.au>. Well, you'll see it if you visit from a Windows machine. For some reason, when...
3
11156
roula
by: roula | last post by:
Hi, I'm modifying a template (flash menu with html pages), when you click on the flash menu (about us for example) the corresponding html page is displayed, and the "about us" flash menu is highlighted. This is already done with the template I bought, they have HTML files named ad index-1.html index-2.html, etc... The problem is that they didn't have a link to the home page, so I modified one of the already existing menu and put "home...
3
7413
daJunkCollector
by: daJunkCollector | last post by:
I have the html/javascript posted below, I imagine the fix to my problem is something simple that I am overlooking. My script is a little bit of html and javascript, and there is an embedded flash file written in actionscript. This is a test page, and I am furious that it is posing such a problem. I am communicating between the html and flash object. My goal is to populate the flash object textbox with the value of the html combobox (I...
6
16319
elamberdor
by: elamberdor | last post by:
Hi All! Trying to get a drop down hide/show div on a html page triggered by a button in flash. (Intro: Very very Little experience in dynamic flash) setup: html page, flash map on page, button on flash opens info underneath map in a separate div. div that has hide/show content is called "operator" I found this code, but i'm not sure it's what I need, and it's not working... Flash file>button on stage>script:
2
1798
by: spiralof5 | last post by:
Hi. I must first say I'm not an experienced scripter. Here's my problem and how far I am so far. I struggled for awhile to get the browser to fill most of it with my flash movie and keep it proportional if the user chooses to size up or size down. This pretty much takes care of the browser size complications. Here is original script and it works. But now I have few problems after this. CODE#1 <!-- masked --> <html> <head>...
3
1746
by: vinnie | last post by:
i'm learning asp.net 2.0 and when i want to import a flash movieclip, what i do is this: I) First: a) create the movieclip that i need with Flash; b) publish the Flash movieclip; II) Then with ASP.NET c) open the website in design view with VWD (That i was working on before creating the MovieClip with Flash);
4
1353
by: Ronald Raygun | last post by:
I am building a website and I am displaying an animated image. The image was originally an animated gif. However, the graphic designer has told me that the best way forward (better animation + smaller file size), would be to use a small .swf file. Currently, I am using the <img/tag in my HTML file, to have the image loaded and displayed in the page. I will need to change this line so that instead of the animated gif file, teh browser...
0
9691
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
7580
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6813
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.