Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE FLASH: HomeFlash ForumFlash TutorialsFlash Video TutorialsWeb Streaming ForumAdobe FlashPodcast

Re: Flash Horizontal Dropdown Menu Buttons Don't Work over DIV

Cow Forums : Adobe Flash
VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Respond to this post   •   Return to posts index   •   Read entire thread


Re: Flash Horizontal Dropdown Menu Buttons Don't Work over DIV
by grafxflow on Feb 19, 2007 at 8:49:05 pm

Hi,

Before I start, this is the only way I can think of getting around the div tag source not appearing in the message,

* = left arrow div tag
% = right arrow div tag

You need 2 files. Your index.html (with div tag) and a javascript file. It is based on the swf file being called 'flashfile.swf'. Place this in your index.html div tag,

*div id="Banner" style="position:absolute; top:0px; left:0px; width:415px; height:70px;"%
*script src="flash_embed.js"%*/script%
*/div%

Then create a javascript file called 'flash_embed.js' and place the following inside, again same principles *, % as above apply.

document.write('*embed src="flashfile.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="415" height="70" name="banner" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /%')

You will have to change it to your swf and its directory, same with the directory of where the flash_embed.js is saved.
Hope it makes sense!

grafxflow


Respond to this post   •   Return to posts index   •   Read entire thread


Current Message Thread:


Related Tags:
DI



Note: If you are a registered user please click here to login before posting.

Your post will not be accepted if your name and email address are not registered in our database. Click here if you do not have an account.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  

Message:



Note: The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key. Read more...



Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]