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




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!!



KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 08-26-2006, 04:52 PM


View Complete Forum Thread with Replies

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

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!!

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

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 And Javascript Through HTML Framesets
I created a page that contains two frames... I have a flash file in one frame and the other frame contains html links. Can you call the flash or manipulate the flash file from the other frame using javascript. I know how to do this using one html file... but it wont work under frames...

thanks!
Rafael

Communicating With Html
.........more info wanted reg communicating from within a swf to a html with javascript in it, say like checking which user logged in adn showing corresponding info for that user

Communicating From Swf To Html
I want to have an event in an swf movie (eg mouseover) call a javascript method, that would be stored in a global .js file so that it makes a change in another part of the HTML document, in which the original SWF is embedded.

Would you call the method using, getURL javascript:methodName(); -does this have to contain the path to the .js file ?

Any other suggestions would be welcomed

cheers

Communicating With Html
hi
My main .swf is going to be in a top frame of an html page. Can I control the loading of the bottom frame of the html from flash??

So, click link 1 in flash, and it will load 1.html in the frame??
and if this is possible, can you control more than one html frames on an on click from flash???

thanks!!

Communicating With Html
Hello

I have done a flash home page for a quicktime archive site.

the buttons which link to each of the directors pages are 'complex' buttons and use the code:

stop();

this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}

this.onRollOver = function(){
rewind = false;
play();
}

this.onRollOut = function(){
rewind = true;
}

this.onRelease = function(){
getURL("http://********areel.com/talent.asp?talent=stevelowe&PID=113","_blank");
}

The guy who maintains the site doesnt do flash and wants me to add some code which enables him to change the linked urls through the html code in the page which the swf is embedded in.

He has said that he wants to use the following:

Function Name for Steve Lowe: launchstevelowe()
So for each director: when user clicks name, this fires off function for each director.

Can anyone let me know exactly what I need to do to the existing code to make this work

Thanks a lot Max

Communicating Between Two (html)frames
Could someone please post the code for a website, concisting of two frames. There is a Flash movie in each frame, and one of the movies is a menu.

If one of the buttons in the menu is clicked, the other movie has to jump to a certain point in the time-line of that movie.

Does someone know exactly how to do that through actionscripting?

Thanx.

SWF Communicating With HTML Layers
Is it possible to get a swf loaded into a html file to call layers visability i have a company history on a visual timeline done in flash but want to load the text for each year in the html file dont have a clue please help me

Communicating Different Swfs In The Same Html
Hello!

I know there's different ways to do this. I'd like some advice and links if possible.
I'm looking for the best method to communicate different swfs embedded in the same html. It would be a simple interaction like passing variables from one to the other.
Someone suggested using the global local connection...
Any ideas?
Thanks.

Communicating Different Swfs In The Same Html
Hello!

I know there's different ways to do this. I'd like some advice and links if possible.
I'm looking for the best method to communicate different swfs embedded in the same html. It would be a simple interaction like passing variables from one to the other.
Someone suggested using the global local connection...
Any ideas?
Thanks.

Communicating Different Swfs In The Same Html
Hello!

I know there's different ways to do this. I'd like some advice and links if possible.
I'm looking for the best method to communicate different swfs embedded in the same html. It would be a simple interaction like passing variables from one to the other.
Someone suggested using the global local connection...
Any ideas?
Thanks.

Communicating Between SWFs In An HTML Page
Hi everyone

Is it possible for one Flash movie to "talk" to another on the same HTML page. I've heard of FS Command but I'd prefer not to use it because of the lack of support for Macs. I also know that you can send data through the URL and use Javascript to pass it to a Flash movie, but this would require a reloading of the page, which I'd like to avoid if possible.

Cheers

Dan

Communicating Between Seperate SWF Files On The Same HTML Document
Well, I have a contentbase.swf file and a navigation.swf file, how can i communicate between them in a tell target fassion?

e.g.

From navigation.swf to contentbase.swf

telling it to goto and play "load"

?

Thx in advance

Communicating Between Swfs In Different Html Pages To Go To Different Labels
Hi:
I am not very strong in javascript or back end programming. I have two html pages with an swf in each page. The swf in the first page has a button which should load the second page in the same window AND make the swf in it play from specified frame label. I should also have a button in the second swf of the second page which would take me back to the frame I was in, in the first swf of the first page...a sort of back button...I do see a lot of related threads in the forum but am getting stuck anyway.

Thanks

Communicating Between 2 Seperate .swf's Each In A Seperate Frame(HTML) ... Help
this seems so elementry, .. yet I cant get it working ...

here is what I have....

A frameset (2 frames).... Frames "Top" and "Bottom"

Frame "top" contains the .swf Named and ID'd as "cont"
Frame "bottom" contains the .swf Named and ID'd as "nav"

The _parent of the frameset contains the following script.. (between the <HEAD> tags)

<script language="Javascript">
function forward1(){
window.top.document.cont.GotoFrame(10);
}
</script>

The movie in the frame "bottom" controls the movie in frame "top" with this.

on (release) {
getURL ("javascript: forward1()", "top");
}

Please look at the source for the _parent ... maybe the mistake will be apparent,heres the link
http://www.alpha8.com/s3/index.html

I'm using dream weaver ..

I'm sure that the javascript is in the _parent of the frameset.

I'm Mac IE5 ... Javascript no go?

Thanx in advance ... I desperately need a solution to this prob.

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

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 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

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

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