[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

2 Flash movies on 1 page. How to interact with both?

Posted on 2009-05-17
4
Medium Priority
?
193 Views
Last Modified: 2012-05-07
2 Flash movies on 1 page 1st movie playing on top.
I have 2 flash movies in AS3. The first movie is a menu that is wmode=transparent and overlaps on html and the flash banner below. I use a div tag/

Now I would like to interact with the Flash banner below the menu. Is this possible? So far I cannot interact with the 2nd flash movie below the menu.

Perhaps I have to use layers. Not sure.

Thoughts?
<body> <div id="flashcomponent1" style="position:absolute; overflow:hidden; left:0x; top:5px; width:731px; height:700px;" onmouseover="changeSize('flashcomponent1', 180);" onmouseout="changeSize('flashcomponent1', 20);"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="731" height="700">
<p>
  <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','731','height','700','src','index','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','wmode','transparent','movie','index' ); //end AC code
</script>
  <noscript>
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="731" height="700">
    <param name="movie" value="index.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <embed src="index.swf" width="731" height="700" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
  </object>
  </noscript>
  </div>
  
  THIS IS A TEST ABOUT TEXT TO SEE IF THE MENU WILL FLASH OVER THE HTML
  THIS IS A TEST ABOUT TEXT TO SEE IF THE MENU WILL FLASH OVER THE HTML
  THIS IS A TEST ABOUT TEXT TO SEE IF THE MENU WILL FLASH OVER THE HTML
  THIS IS A TEST ABOUT TEXT TO SEE IF THE MENU WILL FLASH OVER THE HTML
  THIS IS A TEST ABOUT TEXT TO SEE IF THE MENU WILL FLASH OVER THE HTML
  THIS IS A TEST ABOUT TEXT TO SEE IF THE MENU WILL FLASH OVER THE HTML
  THIS IS A TEST ABOUT TEXT TO SEE IF THE MENU WILL FLASH OVER THE HTML
  THIS IS A TEST ABOUT TEXT TO SEE IF THE MENU WILL FLASH OVER THE HTML
  THIS IS A TEST ABOUT TEXT TO SEE IF THE MENU WILL FLASH OVER THE HTML
  THIS IS A TEST ABOUT TEXT TO SEE IF THE MENU WILL FLASH OVER THE HTMLTHIS IS A TEST ABOUT TEXT TO SEE IF THE MENU WILL FLASH OVER THE HTML
  THIS IS A TEST ABOUT TEXT TO SEE IF THE MENU WILL FLASH OVER THE HTMLTHIS IS A TEST ABOUT TEXT TO SEE IF THE MENU WILL FLASH OVER THE HTML
  THIS IS A TEST ABOUT TEXT TO SEE IF THE MENU WILL FLASH OVER THE HTML
  THIS IS A TEST ABOUT TEXT TO SEE IF THE MENU WILL FLASH OVER THE HTML
  THIS IS A TEST ABOUT TEXT TO SEE IF THE MENU WILL FLASH OVER THE HTML
  THIS IS A TEST ABOUT TEXT TO SEE IF THE MENU WILL FLASH OVER THE HTML</p>
<p>
  <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','731','height','700','src','../../../../../reddeeracupunture.com/flash/index','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','wmode','opaque','movie','../../../../../reddeeracupunture.com/flash/index' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="731" height="700">
    <param name="movie" value="../../../../../reddeeracupunture.com/flash/index.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <embed src="../../../../../reddeeracupunture.com/flash/index.swf" width="731" height="700" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="opaque"></embed>
  </object>

Open in new window

0
Comment
Question by:lhexx
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 22

Accepted Solution

by:
rascalpants earned 1500 total points
ID: 24415479

you have two options...

External Interface and Javascript, or a better solution of using LocalConnection

here is a link to some External Interface help...

http://www.experts-exchange.com/Software/Photos_Graphics/Web_Graphics/Macromedia_Flash/ActionScript/Q_24371711.html

and here is some info about LocalConnection, which is what I would recommend...


http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/LocalConnection.html

http://www.ahrooga.com/2008/08/how-to-communicate-between-multiple-flash-files-with-localconnection/


rp / ZA
0
 
LVL 22

Expert Comment

by:rascalpants
ID: 24435168

^ bump ^
 

please come back and finish up this question...


thanks,

rp / Zone Advisor
0
 

Author Comment

by:lhexx
ID: 24438411
Nope not what I was after. I created a solution using div tag and javascript to dynamically resize the first MC so I can click on the 2nd MC under it.
0
 
LVL 22

Expert Comment

by:rascalpants
ID: 24441999

When asking a question here at EE you should follow up in a timely manner after experts provide feedback or comments.  If this was not the solution that you where after, then that should have been stated.  This not only helps to foster a better community, where experts donate their time for free, but it also helps to clean up the opens questions so that others can benefit from the findings.

Please finish up the question or contact a Mod to have them help you.

Thanks,

rp / Zone Advisor
 
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question