>.>.> Flash Movies Talking..
- Started
- Last post
- 8 Responses
- phlojonaut
For the last 2 days I have been trying to figure out how to make a movie from within one html frame communicate with a movie from another frame. I can't figure it out...
I need one of the movies to make the other movie advance(play, go to next frame/scene)... Is this possible ?
i'm using a mac...
thanks
- mitsu0
have each flash movie talk to a mediary javascript function on the page. it can help with the communication process.
- gabe0
here's a great tutorial that i posted a link to in your first thread. it has links to every thing you need to know about what you want to do...
- http://www.actionscripts.org/tut…
__________________________
Using JavaScript, it is possible to communicate with and control a Flash movie hosted in an HTML page. It is also possible to have the same level of control and communication with multiple Flash movies in the same document or across windows and frames.
__________________________
- phlojonaut0
gabe,
those functions do not work on a mac....
as a result i can't used them...thanks anwyay
- phlojonaut0
this is some complicated stuff...
i think it is beyond my flash action scripting power....if anyone has any tutorials, examples, please let me know...
- gabe0
looks like that was originally created in 2000. have you tried the examples at the bottom to see if they work?
- phlojonaut0
yes....
they don't work on my mac...
and i tried different browsers
:(
- gabe0
anyway, i think it's as simple as giving your elements class id's and then using those names to reference the element you want to control.
say you have two HTML frames, frameA and frameB. surround your flash movies with the obj id tag,
<object classid="movieOne>
<object classid="movieTwo>then, use getURL from the first movie in conjunction with javascript to control the movie in the other frame...
window.frameTwo.MovieTwo.TPlay...
tells movie two in frame two to go to and play frame #2
i'm no expert but i'm pretty sure this is how it works.
- gabe0
that was probably a little too confusing. if you're using MX, you can easily* use the local Connection feature...
http://www.macromedia.com/suppor…
* as opposed to using JS or FS command