Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing variable from Flash to Html then to (?)VB

Status
Not open for further replies.

tilotama

Programmer
Aug 24, 2001
25
MY
i have this crazy program that requires variables assigned in Flash, for example

varNumber = 1;

passed to an HTML page called 'Variables.html'. How can i do this?

The html page will then pass varNumber=1 to a VB executable file that is already opened by the HTML document.

This program will actually integrate VB with HTML as well as Flash. is it possible?

or is there an easier way to do this.
 
HTML has no methods of handling variables. You would have to pass your Flash variable to a javascript on your HTML page, or maybe to the VB script, and go from there.

There's always a better way. The fun is trying to find it!
 
If the HTML page is posting to the VB Script just skip the HTML page and post directly to the VB page (asp?).

Example:

Code:
//on submit button
on(release){
   getURL("myVBPage.asp","blank","POST");
}

Tviman is right... you can't post variables to HTML, you have to post them to a script of some sort. Above should work for you.

Wow JT that almost looked like you knew what you were doing!
 
hey thanx....

but i found out that Flash can actually communicate directly to VB. yay!!!!

someone forwarded me a pdf document about this. im not sure where he got it from, but its from this website:
 
Didn't I say that? :)

Wow JT that almost looked like you knew what you were doing!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top