A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Communicating between two movies

  1. #1
    Junior Member
    Join Date
    Jan 2002
    Posts
    8
    I have an HTML page with 2 movies embeded: "a.swf " and "b1.swf". Now I want "a.swf" to replace "b1.swf" by "b2.swf".

    How can that be done?

  2. #2
    Monkey Wrangler monsterfx's Avatar
    Join Date
    Nov 2000
    Location
    Lawrence, KS - USA
    Posts
    347
    I've never done it, but here is some info from the mothership on how it's done:

    http://www.macromedia.com/support/fl...cript_comm.htm

    -monster.

  3. #3
    Member
    Join Date
    Dec 2001
    Posts
    52

    resolved I have an idea...

    You could do it the budget way, and have the webpage devided into frames, like one on top and one below.
    (you can make it look like the frames aren't there, don't worry!)
    All you will need to do then, is have something in a.swf which would get the URL of the page with b2.swf and put it in the frame below, making it look like b1.swf got replaced with b2.swf.
    Is that what you are looking for?
    Blue
    PS
    Know anything about databases?

  4. #4
    Junior Member
    Join Date
    Jan 2002
    Posts
    8
    Thanks for your help. Unforttunately the frame trick will not work because it is a pretty lage page and for most screen sizes the "b2.swf" will be offscreen. As far as i know there is no wa creating offscreen frames.

    Unforttunately my javascript skills are less than basic. I read the tech support article liked above but I did not get the point. Could someone please be a little bit more specific about that javascript thing?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center