Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Communicating With Flash Thru ASP



Hi All ---

I was hoping someone could assist me as I have recently just begun to attempt to use ASP to communicate with the Flash object. I am nowhere near an expert in ASP, but I certainly understand the language and have used it to build database driven websites. With that in mind can someone assist me with the following:

I wish to pass information from an ASP page to the Flash object. For example, how would ASP have a movie clip stop or start playing based upon a conditional event in ASP. For this thread's sake lets assume the following:

Flash Movie: Movie.swf
Movie Clip: myMovieClip

Can someone provide an example of the code I might use?

I hope this is clear and if not please let me know and I will do my best to provide more details.

Thanks to any and all response.

Cheers!
SDL



FlashKit > Flash Help > Flash ActionScript
Posted on: 06-29-2002, 01:58 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Flash Communicating With The LMS
Hello,

I was wondering if anyone knew how to communicate with the Learning Management System by passing variables from Flash through HTML, WITHOUT using the Quiz Templates. I know how to do it using the Quiz Templates but I want to create a completely custom application and track timing and score.

Any assistance would be great.

~DP

Flash Not Communicating With PHP ?
I have been trying to create a simple flash php mail form for some time, but I am encountering a problem. It seems that the swf file does not communicate with the php file. If I run just a test mail.php file with all the variables within that file I works great. But if I use flash to send the variables i get nothing. I tried over ten tutorials, just making the necessery changes and uploading the files, but nothing...
here is the php code:

PHP Code:



<?
 
   $to = "contact@mladenpetkov.com";
   $msg = "$name

";
   $msg .= "$message

";

  mail($to, $subject, $msg, "From: My web site
Reply-To: $email
");

?>




and here is the code in flash that sends the variables:

ActionScript Code:
on (release) {
    if (name eq "" or subject eq "" or message eq "" or email eq "") {
        stop();
    } else {
        loadVariablesNum("form.php", 0, "POST");
        gotoAndStop(2);
    }
}
What could be wrong? Please, help, it has taken me weeks and too much nerves....

Communicating With Flash
I'm working on a GUI project, and we're looking into Flash to create user interfaces for our proprietary touchscreen. Currenlty the GUI works on a Linux platform. I've heard that Actionscript 3 can work with VBScript, but does anyone know any other programming languages that it can work with? Pearl, C+, Java etc.?

I would need to be able to accept calls from the backend, as well as send those calls back based on user interaction with the interface. This would also exist on an intranet rather than on the internet. It sounds like a perfect fit, but I also want to find out what programming language ActionScript has the most robust 'relationship' with, besides Coldfusion.

Does anyone have a good resource I could research this topic on? The Adobe forum is great, but it's such a wide topic that I'm having trouble narrowing it down.

Flash Communicating Via XML With PHP
Hello,

does anyone have an example of a flash that communicates with PHP via XML?

Thanks

Communicating Too Flash Files
Helllllllllo Flashers! Well I'm starting to get my toes wet here in actionscript and I gots a question, that is either impossible or really easy =))

So lets say for example...

I got an HTML page, and I got a Flash movie and I want one of them good ole fashioned 'users' to click on a pretty lil link and poof the movie will go to a certain spot!

Ok so page = index.html
Movie = main.fla

User *click on link* which I want to be like 'stopone'
which tells 'main.fla' to go to 'stopone' and 'play'

Now how can I pass a variable to the movie so that it knows WHERE TO GO! Or am I going to have to make that link another movie.....

Thanks so much guys, and GALS! I know I can count on you!

aaroncrunchie

crunch)esign

Communicating To Flash Via Javascript Or Anything Else
Is it possible to send information to flash via a 3rd source?

I.E. can I do a tellTarget or something similar to tell a flash movie on the page to "gotoAndStop(4);" with a command from a javascript function or anything else?

Is this even possible?

thanks for any info...

Communicating Between Flash Movies
I'm new to flash.

What i'm trying to do is to get two flash movies on a page to communicate between each other.

Basically what i want is a button to be clicked in one movie that changes the frame in the other movie??? is this possible???

Communicating Between Flash Movies
Hello everybody,
I'm working on a project that requires communication between two distinct movies in a browser window. More specifically, I need [Movie1.swf]'s button to tell [Movie2.swf] to go to a certain frame. Now I've got the basics of fscommand down, and I could maybe do this using variables only (which I know how to do); but is there any simple function I'm overlooking here?
Thanks for your help,
_sub.

Communicating Between Different Flash Movies
If you have a html table set up with a different flash movie in each part, can you put actions in one flash movie to control a different flash movie?

If so, what kind of path would you use?

thanks for the help
later
tony

Javascript Communicating To Flash
I know you can use setVariable in javascript to set a variable in the flash movie. Just wondering if there is a way from javascript calling a flash function in the flash movie?

Flash Communicating With Java
Hi!

I have to get this javascript:

"clsid:0B72CCA4-5F11-11D0-9CB5-0000C0EC9FDB" width=1 height=1>
<param name="src" value="withexit.stm">
<param name="url" value="http://cnyisgstrain.cusa.canon.com/dw/iw/agenttest/streams/">
<param name="window" value="full-screen">
<embed width=1 height=1 stream=withexit.stm
type=application/street-stream
url="http://cnyisgstrain.cusa.canon.com/dw/iw/agenttest/streams/" window="full-screen"></embed>

into a flash animation. What I mean is, at the end of the animation, I want to make Flash invoke this javascript so that this cartoon character plays. When I put this into actionscript, I do this:

getURL(javascriptdump the whole script in here));

but it doesn't work. Any ideas? Thanks!

Communicating Between Two Flash Frames
I'm having trouble figuring out how to accomplish the following:

There are three frames on the page, a header, footer, and body. All three are seperate .swf files. Now what I'm trying to do is when you click a button in the footer flash file. It tells the body flash file to basically do a gotoandstop(); command.

I believe there is a way to do this, however I'm not to familar with flash and frames.

Can anyone help, great thanks appreciated.

Communicating Between Flash And Director
Hi,

Is it possible to comminicate between flash and director?

let's say I have a presentation made in Director with a flash movie in it. Is it possible to exchange variables from this flash file with Director?

Thanks in advance!

Flash Communicating With Server
Hi Everyone,

I need some help. I have no experiance communicating flash with a server, and as can be expected, the client wants me to do this. What I need, I think is simple.

View this page, it's a demo scratch'n'win.

http://www.contestix.com/flashsnw.csp

The client wants two other things though,

a) draw the under-card image in real time with the communitiion with the server

b) communicate with the server to insert a number.

Can anyone help?


Pixalant

Communicating Between Browser And Flash
I have this grand quest for my website. I wish flash to interact with the browser, or the browser interacts with flash. So basically the scenario is this, I have a flash navigation, and when you click on one of the links on it, it opens up the corresponding page in a different frame. Easy enough. Now what I want to do, is make it so if u click a link in a standard HTML page to go to another section of the site, it changes the flash navigation to represent that move. i.e. u click a like to art in the HTML page, and the flash nav changes to having the art options visible when the art link in the HTML is clicked. At the moment, I'm clueless, and have no good ideas on how to do this one. I have read through the MX 2004 bible, and I've got nothing. So any ideas or help is muchly welcome. Thanks.

Communicating Using XML Sockets In Flash
I am trying to use a flash program on one machine to execute another flash program / file on a connected machine. The two computers are connected via a seial cable and I have set up an XML socket server using actionscript and network access software that I downloaded from

http://people.interaction-ivrea.it/h...interface.html

The two machines are connected but I cannot send a message from one machine to the other. Can anyone help me??

Communicating From HTML To Flash
Is it possible to communicate from an HTML to Flash?

What I want to do is that when a certain URL is entered into a browser window, the HTML will automatically tell the FLASH movie to load a certain MC.

Is this possible?

Flash Communicating With HTML
I am making a Flash drop-down menu to go on a HTML page. When the user hovers over one of the choices, information about that button choice is supposed to appear in a section of the HTML page. Is this possible? I am not sure where to begin with this, and don't know the correct terminology to look it up. What do I use? Does code go in my Flash file, or my web software? (I am using Expression Web). Any help would be appreciated.

Thank you in advance!!

Communicating From Browser To Flash In MX
Does anyone know who I can make buttons created in HTML dictate where a Flash movie (embedded on the same page) goes? I know how to make Flash call in content depending on what you click in the SWF, but I really don't know how to go the other way. I'm thinking that some variables will need to be passed into the embed HTML of the Flash movie, but I can't get a grip on how Flash can read this and then decide what it should do. Any suggestions? I'll gladly try and depict the problem more clearly if what I'm explaining just doesn't make any sense.

Thanks,
Brock

FLASH COMMUNICATING WITH HTML?
I have a fairly long flash form that I created in which the height is 1000. The submit button is at the bottom of the form and once the user clicks on the submit button I'd like to automatically go back to the top of the html page in which it resides. Anyone know how to do this or if it's possible? Any help is greatly appreciated, Thanks!!

Communicating From Browser To Flash In MX
Does anyone know who I can make buttons created in HTML dictate where a Flash movie (embedded on the same page) goes? I know how to make Flash call in content depending on what you click in the SWF, but I really don't know how to go the other way. I'm thinking that some variables will need to be passed into the embed HTML of the Flash movie, but I can't get a grip on how Flash can read this and then decide what it should do. Any suggestions? I'll gladly try and depict the problem more clearly if what I'm explaining just doesn't make any sense.

Thanks,
Brock

Flash And Director Communicating With Each Other
I'm doing some research on flash and director integration... to see what works and what does not. I know Flash has the ability to send messages to director by using getURL. However, is there a way for director to send messages TO flash?

Does anyone know of other methods in which flash is used to communicate to director?

Communicating With 2 Different Flash Files
Hello,

I have two different flash files on my HTML page. Is there a way of one of the Flash files to control the other?

Flash (5) Communicating To Frames? Can It Be Done?
Hey, y'all ... i've currently got a Flash interface that's loaded into frames. The Frame Source is 138 pixels in height ... and then there's the body information below that on auto-scroll. The name of the top frame is "header" -- which is where the flash interface is loaded. The information below is in a frame called "body".

Now ... here's the problem .. and an obvious one at that ... whenever i use the GetURL script, the top frame (with the flash interface) removes the flash, and loads the information of the new page inside of that, while the "body" frame is unchanged. I modified the scripts a little here and there, and got it to actually change the whole page from the frame page ... but then i lost it all. It would just load up the destination file that i was trying to load into the "body" frame all by itself ... wiping out the frames page entirely.

Can anyone tell me the scripting that needs to go onto a button that is (for example) going to the forums section? I want the "header" frame (where the interface is located) to be unchanging -- and the forums page (src="board/index.php") to be loaded below "header" into the "body" frame.

Thanks anyone who might be able to give some assistence ... i'd appreciate it entirely!

Peace.

Communicating Between Flash Movies
I have 2 flash movies on one html page. One is for navigation and one is a text box. I would like the nav movie to control the output of the text box by telling it what frame to goto when the user clicks a link. There seems to several possible ways to do this but I'm having problems getting the two movies to talk to each other. Can anyone help?

Thanks

Flash Communicating With Servlets
I am new to Flash but have been given a task to get a Flash file to request information from a servlet. Is this possible, and if so, are there any web pages that may be able to help me out/ guide me through this process?

Thanks in advance.

Communicating Between Flash And Web Page?
I'm totally new to flash and I have some questions.

My website has pages that contain links to mp3 files which we are converting to flash. We are using the "mp3 to swf converter" from hootech.com. It creates a swf file and a player.swf file that has a start and stop button.

First of all, is there any way to set a javascript variable in the web page based on whether the user clicks on the start button on the flash object?
(We need a way to tell the page that the user is listening to sound. That way when the user goes to the next page, we pass that variable and based on that, we set the sound to automatically start without user input).

Second question: Is it possible to set the bgcolor of the flash object based on a style in the page's stylesheet?

Thanks.

Communicating Between Separate Flash Movies
hey everyone!
i have a html page which has two completely separate flash movies embedded in it and i need them to talk to each other.
is there any relatively easy way to target one from the other using actionscript, or is it a matter of javascript functions??

taa muchly
jodie.

Communicating Between Two Flash Files...any Ideas?
I have two .swf files on one html page. I need to know how to communicate between the two.

They must be side by side like that, or else I would just load one movie into the other and save myself a headache.

basically when the one flash file gets to a certain point i need it to trigger the other file to go to the next frame.

thanks,
spinz

Flash MX Communicating With Cold Fusion.
Does anyone know of any URLs for Flash communicating with cold fusion? I am trying to set a price quote for a client and I need to get an idea for how difficult it will be.

The basic idea is an image viewer. Cold fusion will be sending a series of images and text blurbs to flash. The cold fusion side has already been built to provide the same functionality to HTML. I know nothing about cold fusion. Will the interaction between Flash and CF be difficult to setup up? Will flash remoting be nessesary for this?

Any input would be greatly appreciated.
Thanks in advance

Communicating Between 2 Flash Movies, Not Embedded.
Hello.

What I would like to do, is have a flash Navigation, send variables to another flash movie which is locating inside a different frame.

How would I accomplish this?

With my knowledge thus far, I have come to the conclusion that I could either:
a) Somehow communicate directly using _global variables.

or

b) Save to a text file, and then load the variables externally.

Now if I did B, how would I save to a text file and then retrieve them?

Or if I did A, how do I get it to do this?

Thanks,
-Kac

Communicating Between Flash MX And Pure Data (PD) ?
anyone have idea about how to implement it ?

the communication should happen in both directions.

using database/php as gateway between them is one possibility ???

Communicating Between 2 Flash Movies On The Same Page
I am sorry if this is somewhere else on the forums, but the search function is not working for me at the moment and I need this code/explination fast.

I have 2 Flash Movies on the same html page in differnt tables and I need them to interact with each other. One is a preloader and I need it to get the info from the other movie and display it's loading progress. Any fast help with this would be greatly appreciated.

Any links to explinations to as how to communicat between 2 mmovies or anything would be great. Thanks.

-Ryan

Flash Communicating W/ External Programs
Hi Everyone,
I'm tryig to impress my boss. He basicly asked me if it is possible to have a flash file open the dvd player and start a movie. Anyone know if this is possible? Any help would be greatly appreciated.

Thanks

Communicating Between PHP And Flash Media Server
Hey guys, new to the site

Just wanted to ask for your advice, I am about to do some work for someone and they want to be able to essentially send 'commands' from a PHP script online to the flash media server applications. They have their reasons for wanting to do it like this, and they want it to stay in PHP. The only way I can consider is to writing to an XML file on their normal webserver and having an application check that file every few seconds. But this seems like it would be a huge strain on their resources and very inefficient, is there anyway for the two languages to communicate directly?

Thanks

Flash Communicating To Php/asp File On Another Server
Hi im creating a banner which will have an email input field on it. Now the thing is the banner will be on for e.g www.abc.com and the php/asp which will need to send the email out will be on another server e.g www.xyz.com

Is it possible for flash to send the data to a php/asp file on another server?

Any suggestions/comemnts appreciated. Need to give an asnwer to someone soon..so a bit urgent whether this is possible,

Cheers in advance

Flash 8-Problem Communicating With A Loaded .swf
Hello all,

I have a .swf movie loaded at a placeHolder_mc.
I want to be able to have the loaded movie to load and stop at a frame label
inside a clip that is inside the loaded .swf
I can't figure out how to target the clip.
Please Help

Flash Communicating To Php/asp File On Another Server
Hi im creating a banner which will have an email input field on it. Now the thing is the banner will be on for e.g www.abc.com and the php/asp which will need to send the email out will be on another server e.g www.xyz.com

Is it possible for flash to send the data to a php/asp file on another server?

Any suggestions/comemnts appreciated. Need to give an asnwer to someone soon..so a bit urgent whether this is possible,

Cheers in advance

Flash Not Communicating Through Coprporate Firewall
Hello,

This is a bit of a general question.
I have a client that can load a swf and view it - however i have a database communication that is not working for them. I can view it and it works fine - so i am confident that it is not the files - i am assuming that something blocking Flash from sending out requests.

The files are sitting on a public server - not behind a corporate firewall.
Flash loads and then sends some SQL to a PHP page that retrives the info from MySQL and returns in XML. - all this is working for me.

My questions is - does anyone have any ideas on where to start to diagnose what is stopping this from working behind a corporate firewall. Flash loads in -so what do i check next???

Any help would be appreciated.

Thanks

Communicating And Integrating Flex To Flash
I newbie in flash cs3 actionscript 3, i have some task regarding communication flex to flash.

The situtation is, i want to change the color of my movie clip that created in flash upon or simultaneously change of color in flex application.

How do i trigger the colors change in flash upon my flex application is changing colors too..?
How do i pass the value of color of flex to flash, so that they change simultaneously?

By the way, im working of button in flash and canvas in flex...

Hoping for your reply guyz!
Tnx in advanced...............................

Communicating With FLASH Player Via Actionscript
I was wondering of there's a way to control the FLASH player (if playing back a .swf directly from the harddrive) with Actionscript, so that
1) the movie opens and plays in "full screen" mode automatically
2) the application can "quit" on button-click (= the equivalent of the user hitting the esc key on the keyboard).

Can I do that? Is there a way to communicate to the actual "Player" application in this way? Help would be greatly appreciated. Thanks...

Help Pleaseon Html Communicating With Flash
If anyone can help, many thanks..

I want to open an html page which includes amongst other things, a flash movie , but I want to open the movie at a specific frame. The same movie is large and used elsewhere on the site so obviously can't use gotoframe in the actual movie.

Is there an easy way of doing this....so far nothing works.

Please help!

Thanks

Help Pleaseon Html Communicating With Flash
If anyone can help, many thanks..

I want to open an html page which includes amongst other things, a flash movie , but I want to open the movie at a specific frame. The same movie is large and used elsewhere on the site so obviously can't use gotoframe in the actual movie.

Is there an easy way of doing this....so far nothing works.

Please help!

Thanks

Flash Communicating With Other Programming Languages
I'm a n00b here so first I'll introduce myself. I'm currently an art director at an ad agency in Toronto. I've never been as intrigued with programming as I have design. So I've taken the right brain creative route for the past 6 years or so and am looking to swerve a little left to not seem like a moron in web development meetings.

I'm currently working on my first web business in my spare time and figure I should dip my toes in a pool of professionals that might be able to give me some better direction, before I waste...ummm...invest any more time planning something that might not be technically feasible.

What was the point of this post? I was wondering if it's possible for a flash application to communicate with any other programming languages in the same webpage. ie. If a user submits an entry within the flash movie, could AJAX or PHP automatically update/receive that entry in another frame on the page without having to refresh or redirect to another one? I ask this because I don't wish to have the entire site be flash based. If you need any more clarification of my question please let me know and I'll try my best.

Next question. I'm looking to have this site use a flash based search engine to sort through a database of possible results. Is it possible for a linked word on another site to open my site with the word placed in the search field and the search performed automatically?

And my last question is, are there any alternatives to Flash Communication Server to allow people to record a brief audio or video clip and submit it to me? I've just found that F.C.S. is way too expensive for a personal project like mine and doesn't allow enough users to use the service at the same time without costing me an arm and a leg.

I appreciate any help and clarification you can provide. It'll help me step into a meeting with a programmer and sound a little less moronic. Thanks a ton.

Communicating In Local System Through Flash AS
Is it possible to communicate from one PC to another using flash? if yes, can you pass me the code.

Communicating Html To Flash-fscommand Is There A Better Way?
Hi-

I have a navigation in html, I need it to effect a flash movie that is embedded in the same html page. When i click one nav item, it needs to go to a specific frame in teh flash movie and do the action that frame has on it. I have it working except it is with horsey html buttons.

<INPUT TYPE="BUTTON" VALUE="Goto Label: redframe" ONCLICK="golabel()">

I can't figure out how to get the same thing done with a nice image or text instead of the form button. If i try to change the input type to image it no longer works when clicked on, it causes the whole flash movie to reload and goes to frame 1.

Is this the best way to do this or is there a better way???

Thanks in advance

Communicating Across Frames From Html/javascript ---> Flash (?)
heh!

ive produced a site that has 2 frames. the top frame contains a flash interface with navigation functionality. buttons in this frame open html/javascript content in the bottom frame. However i need to hyperlink through in the bottom frame to different pages in the site and across sections. my problem is as follows :-
when i click on the top nav flash buttons and a section is opened the button becomes depressed to show the user what section shes in, when i click through via links in the bottom frame, the top nav button indication is obviously not updated, so what i need to do in theory is tell the flash interface in the top frame that we are in another section ( like simulating a topnav button click ). my question to flash/javascript heads is how do i communicate from the bottom frame to the top frame, any help on this would be very appreciated, thanx in advance...

ms zooph

Communicating Flash Files... XML? FSCOMMAND? JavaScript?
I have been trying to figure out how 2 flash files can communicate, such as on the site:

http://www.bozscaggs.com

I know that the site is using frames, and I know that the top nav frame must be using the FSCommand to communicate to the flash loop on the left, however, how the hell is it done? Anyone know of any source files or tuts I can look at?

Please help....TIA

Flash Communicating With Lotus Notes Client
Does anyone know how to get flash to communicate with Lotus Notes client? I have tried using getURL and FScommand but it doesnt work. I'm probably doing something wrong though.

If anyone has any ideas that would be great.

Thanks

Copyright © 2005-08 www.BigResource.com, All rights reserved