Dhtml Javascript Communicating With Swf
Hi All,
I have a question about a dhtml javascript dropdown menu and a flash animation working on the same page.
The problem, is that the dropdown opens behind the swf, and the user cannot access the dropdown to navigate.
I was thinking that, I could make html buttons that communicate with the swf and activate an actionscript that will simulate a dropdown from within the swf.
But I don't know how to communicate to an swf using javascript or html.
Does anyone have a sample script that they could give me or, Can anyone point me in the right direction?
Thankyou Aubrey
Ultrashock Forums > Flash > ActionScript
Posted on: 2003-06-24
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
DHTML & Swf
Howdy,
I saw on maximonline.com a flash movie playing over HTML where i could view the underlying HTML through the transparent background of the swf.
cool effect!!!
I thought that if I placed a swf with a transparent background in a div tag with a z-index higfher than the HTML page,..that I could get that same result as maximonline.com.
nope. the <div> didn't work. any suggestions?????
thanks in advance
DHTML
Hi everyone, I was wondering if anyone knows what technology was used to create the menu system on the below link? Is is flash? I thought it was DHTML, if so where can you go to learn about DHTML?
Cheers guys!
DHTML & SWF
PLEASE HELP! -
Can anyone give me the code to allow me to overley DHTML menus on swf movies please. I have tried to search this on the net... with great success with IE but stuck with usability in FireFox - The menu sits infront of the IE movie... but behind on the Firefox version. Please help me!!!
Skyblue
Dhtml
How can I keep radio buttons and drop down stuff from poking through my flash that is supposed to be on top of everything in a web page??
Here's the code i used for the flash
<!--BEGIN DROP-DOWN AD -->
<DIV id=Layer1
style="Z-INDEX: 50; OVERFLOW: visible; WIDTH: 766px; POSITION: absolute; TOP: 189px; HEIGHT: 100%; pageX: 1px; pageY: 1px"> <OBJECT
codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0
height=2325 width=770 align=middle
classid=clsid27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME="movie" VALUE="expanding_freestyle.swf"><PARAM NAME="wmode" VALUE="transparent">
<embed src="expanding_freestyle.swf" width=770 height=2325
align="top" wmode="transparent" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</embed> </OBJECT></DIV>
<!--END DROP-DOWN AD -->
DHTML Over SWF
Ok....I use a DHTML menu maker and recently discovered the workaround to ensure my menus show up OVER the SWF.
i.e. inserting wmode="opaque" versus a color....
I am a FLASH noob (gawd, this is a brave new world :), but is there a way to precode a template this way as the site I am building will probably have about 85 SWF galleries and it would be nice not to hand code each one.
TIA!
-Robert
DHTML And Flash
Is there any way to have layers appear over a Flash movie? To make matters worse I need this to work in both IE 5+ and Netscape 4.7+!!!
I have created a drop down Nav but it is hidden by the Flash.
Any suggestions?
Dhtml And Flash
How do I need to export my movie so that my DHTML drop down menu drops in front of my movie instead of behind.
Thanks.
Flash With Dhtml On The Mac
I'm currntly try to make a flash mov appear over my web page with dhtml using the old.
<object ID="Flash5"
classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash/cabs/swflash.cab"
STYLE="POSITION: absolute; HEIGHT:100%;WIDTH:100%;TOP:5;LEFT:5;VISIBILITY:VIS IBLE; ZINDEX:1"
width="400" height="400">
<param name="movie" value="youranimation.swf">
<param name="play" value="true">
<param name="loop" value="true">
<param name="wmode" value="transparent">
<param name="quality" value="best">
</OBJECT>
But the promblem is that it does not hold up on a mac, infact it falls directly on it face.
Can any of you people help me with a multi browser combined dhtml flash answer.
Cheers
Ember
PLEASE HELP DHTML And LAYERS
Can anyone help me with a quick way to close a DHTML Layer from within flash? I have it opened no sweat but my button can't seem to close it. Thanks in advance.
-Paul
Exporting As Dhtml
I have a problem, I am trying to put together a series of animations from gifs into the dreamweaver timeline but I can't seem to get each one to disapear then the next one start - know what I mean. If I had success then I could have made my first DHTML animation in dreamweaver - anyway - I can't find a way :-(
So I was wondering if I did the whole animation in flash - could I then find a way to convert it into dhtml?
Any ideas
Thank You.
* DHTML And Flash ?
Hi:
I'm developing a website and at the top there is a DHTML drop down menu, then at the bottom of the mneu I have a flash animation. But the problem is that when the menu displays the subsections, I can't see them because the flash animation is on top.
Is there any work around besides the fact of may be designing the drop down menu in Flash? I will like to use the DHTML version of this menu.
Thank you in advanced for your time and help,
Dhtml & Flash
I don't know if this is the right place to be asking this, but thought I'd give it a shot. We have a client who wants dhtml drop-down menus on their home page and we have a Flash movie directly under where the menus need to drop. Problem is, the menus do not work over the Flash layer - they drop behind the Flash movie. Now, I am not a programmer, but the programmers I work with say it cannot be done. Anybody done this or have an example or workaround for this?
thanks!
butch
Dhtml Not Showing Up
kai...
I'm working on flash mx doin all the stuff dat i needed...den i test movie, and all of a sudden my dyanmic textbox [script alredy put in] doesn't show up...n i also want it 2 scroll...xcept i cn't scroll it if i cn't work it....
plz help...iz a skool project....
DHTML And Flash
I have a page that I am creating that uses a DHTML popup menu (created by Fireworks) for the navigation and has a flash "commercial" directly under it in another table. The problem is that when I roll over the menus the menus show up underneath the flash movie. This does not happen when I have a regular image in the "commercial" area only with the flash.
Do I need to solve this by using DHTML on the entire site and defining layer order or is there another way to solve this.
Any help would be appreciated
Thanks
DHTML With Flash?
I'm trying to get a DHTML drop down menu to work with a page that has flash movies in it. My problem is that when the menu meets up with the flash movies, it always appears behind them.
Is it possible to have DHTML appear on a layer above flash??
Dhtml Menus
Help... (I am using FLash MX)
My menus I bought from ******* and I created drop down menus which are a Dhtml ... they work fine in the PC world. The Mac users... I have problems... Here is the deal..... Look at this site...
http://208.56.115.105
Now go to "members" this is actually a flash page embedded ... this is when the problem occurrs.,.. now try to look at the drop downs under restaurant... they disappear... it use to do this on the PC until a tip told me to made the wmode transparent. I did this and problem solved ont he PC but now the MAC has these issues... This is on the new version of Mac the OX 10 I think... Anyone have any ideas??? Does anyone have another type of drop down that would look like this that would not do the problem?
---------------------------
My second issue is that a board member of this site said all the pictures come up blurry for him... I deleted his temp files over the phone and they still are blurry.. any ideas... everyone else seems to work fine and he is on a del over a dialup but that shouldn't do it... The files are not the large... I am thinking he pulled the site up while I was ftping and he got it caught in something... should I delete his cookies?? Any ideas anyone...
Actionscript To DHTML ?
Hi Guys,
As melon-scratchers go, this one's a honey-doodle!
I have one page, with a flash file on the left and a div on the right. When the user hovers over buttons in the flash file, I want the contents of the div to instantly change without a page refresh.
I'm comfortable using DHTML, where appropriate, but I can't figure out how I would send this information out of flash without a page refresh, and how my Javascript could detect that a hover has occured. Would it require javascript in my actionscript?
Any help is very much appreciated.
Thanks a lot,
Steven
DHTML/Javascript On Top Of SWF
Ok, i know this is a FAIRLY common problem, but nothing I've found works!
Problem: Flash is on top of all HTML
I've tried the whole "wmode=transparent" thing, that doesn't work. I found some kind of garbled Javascript code (on this site) that doesn't work either.
I'm really getting frustrated with this.
Here's my embed code:
Code:
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','818','height','512','src','homepage','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','homepage' ); //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=9,0,28,0" width="818" height="512">
<param name="movie" value="homepage.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent"
<embed src="homepage.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="818" height="512"></embed>
</object></noscript>
and here's the link to the temporary site:
http://www.blindacre.com/wbr/index.html
Windowless Swf W/o Dhtml
Is the only way to have a windowless movie "fly over" html text is to use DHTML layers? By fly over, I mean how in example in the "Making Flash Movies Transparent" tutorial the ad flys over the John Ashcroft ad.
DHTML AND FLASH
Hi, i'm making a home work for my web class and im really confused about something...
I have a Dynamic HTML menu set up as an include file, but immidiatetly below it I placed a Flash movie.
Here is the problem...when I rollover the dhtml menu it opens down to show up the submenus but they GO underneath the flash movie....
I have tried everything from making different layers in dreamweaver to place my dhtml (include file) to making a send to back command in dreamweaver...
I just want my DHTML menu to open on top of the flash movie so the submenus arent interrupted by it...
I think this is something I cannt not unless i duplicate the menu in flash and make it a whole flash movie
IF anyone has an alternative for me to try or the solution please let me know, or email me a_argel@hotmail.com
Dhtml In Firefox
is there anyway to get around the cross-browser limitations mentioned in kirupas DHTML in flash tutorial (http://www.kirupa.com/developer/flash5/dhtmlflash.htm)? Z-indexing my flash movies doesn't seem to go over too well with firefox or netscape.
DHTML And Flash
I have a site that I am working on and I am using a Flash file that Firestorm9527 created for me. The problem is that I would like to put the file in a table, and have the drop down menus come out side of the table. I read the tutorial on DHTML, but I didn't find much in the way of what I was looking for. Is there any way to make this happen? If you need the files, I can simply post them on my site (we aren't using them in the current site I am designing it for) and let you take a look. Anyway, any help people can give would be great.
DHTML Over Flash
hi there!!!
Can someone please set me straight, is there a way to
pop-over a DHTML navigation system over a flash movie?
Never Too Late!!! Never Too Early!!!
n4c
DHTML In Flash
I have created a Flash movie floating over the HTML page as in the following tutorial. http://www.kirupa.com/developer/flash5/dhtmlflash.htm
Can anyone tell me how to close the animation by using a buttom inside the Flash movie?
Ta
J
Put Dhtml Into Flash
How to put dhtml scripts into flash?
<script language="javascript">
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left ='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}
</script>
----This is for the <head> tags
Then,
<a href="http://www.XXX.com/xxx.swf" onclick="NewWindow(this.href,'name','650','420','y es');return false">Click</a>
----This is what I want to put that into the buttons, using javascripts
Is is possible?
Thank you
Windowless Swf W/o Dhtml
Is the only way to have a windowless movie "fly over" html text is to use DHTML layers? By fly over, I mean how in example in the "Making Flash Movies Transparent" tutorial the ad flys over the John Ashcroft ad.
DHTML AND FLASH
Hi, i'm making a home work for my web class and im really confused about something...
I have a Dynamic HTML menu set up as an include file, but immidiatetly below it I placed a Flash movie.
Here is the problem...when I rollover the dhtml menu it opens down to show up the submenus but they GO underneath the flash movie....
I have tried everything from making different layers in dreamweaver to place my dhtml (include file) to making a send to back command in dreamweaver...
I just want my DHTML menu to open on top of the flash movie so the submenus arent interrupted by it...
I think this is something I cannt not unless i duplicate the menu in flash and make it a whole flash movie
IF anyone has an alternative for me to try or the solution please let me know, or email me a_argel@hotmail.com
Dhtml In Firefox
is there anyway to get around the cross-browser limitations mentioned in kirupas DHTML in flash tutorial (http://www.kirupa.com/developer/flash5/dhtmlflash.htm)? Z-indexing my flash movies doesn't seem to go over too well with firefox or netscape.
DHTML And Flash
I have a site that I am working on and I am using a Flash file that Firestorm9527 created for me. The problem is that I would like to put the file in a table, and have the drop down menus come out side of the table. I read the tutorial on DHTML, but I didn't find much in the way of what I was looking for. Is there any way to make this happen? If you need the files, I can simply post them on my site (we aren't using them in the current site I am designing it for) and let you take a look. Anyway, any help people can give would be great.
DHTML Over Flash
hi there!!!
Can someone please set me straight, is there a way to
pop-over a DHTML navigation system over a flash movie?
Never Too Late!!! Never Too Early!!!
n4c
Flash Or DHTML?
I'm working on a web project for a client. We are developing a website that is heavily dependent on search engines and "corporate" type clients. The website offers a service that larger corporations, universities, and other organizations would use. I am debating whether to use Flash or DHTML. Are there any disadvantages to using Flash for a website? Do search engines read it the same?
I would appreciate any advice. I am naturally leaning toward DHTML but my client prefers flash.
DHTML And FLash
Hi Folks
I started a thread in the HTML section (Thread215-473928 that I think should be cross referenced here. Any thoughts here or there would be appreciated.
Thanks
Ben
Flash Under DHTML?
Hey guys,
I'm very new to flash and I am trying to make a small flash object to put on a page. I want it to be moveable with DHTML. So I have the little DHTML window that can be moved all over no problem.
The problem I have is when I <Emmbed> the flash object it gets precedence over the DHTML. I heard somewhere that there was something you could do to the Flash object to make it go under the DHTML. I tried messing with z-order on the DHTML but it didn't change anything.
I'm pretty stupid about Flash so far so if anyone could help that would be great.
Travis Hawkins
BeachBum Software
travis@cfm2asp.com
www.beachbumsoftware.com
DHTML Widgets
Hi guys,
I picked some DHTML widgets, if you are interested.
Menu Toolbar, Tab Strip, Buttons, Calendar...
CSS Based! They are supposed to be crossbrowser, I tweaked them myself.
Go http://www.agiledots.com/dhtml_demo.html
Menus Dhtml Over Swf
i need do a menu in dhtml , that be over the swf. because the problem is that always the swf is in front that all the objects.
If someone know about that pleaseeeeeeeee help me .
Complex Situation With DHTML
You might well have seen gif's on peoples site that fly around or are dragable over the top of content. This is pretty easy to do with DHTML.
I need to do this with a flash movie. I can layer the flash on the top of the page and starting placement is pretty straight forward.
However the problem with moving the flash around the page out foxes me. IE doesn't interpret clicks on the flash movie.
I'm not sure the best way to go about it, 3 options spring to mind, but each has it's draw backs.
1. Layering a transparent gif on top of the flash but I can imagine running into troubles when getting the relationship between the flash movie area and the gif area.
2. Creating the flash movie the entire size of the page, then dragging the object within the flash. Probably the easiest solution, apart from if the user decides to select some of the HTML underneath and finds that they end up selecting the flash movie instead.
3. Calling JS functions from the Flash. Sounds easy but the flash movie doesn't know it's relative position on the page. Also as soon as it moves 1 pixel the flash movie will escape from the mouse down.
Any ideas?
Thanks
[Edited by Psyduck on 08-18-2001 at 07:49 AM]
MPEG, DHTML, And Flash? Can It Be Done?
Hey everybody. I need some real help here. I'm working on a Kiosk and most of it (almost all of it) has been done in Flash without a problem. However, I'm now told that a video has to be included. I know that "good" video can't be imported into Flash, but I have an idea... i just dont know how to make it work.
If I have the Flash movie loaded in a fullscreen browser window, then I was thinking I could use DHTML Layers. I'd make one layer where the Flash movie would be on, and another where the video (and maybe play/stop controls) would be. The video layer would be behind or hidden for most of the time. Then I when I need the video to appear, I would make the layer visible (superimposed) ontop of the Flash movie... using some Actionscript with a button in Flash.
I'm not sure if this could be done, and I haven't had any luck. I really need some help. If anybody knows how to do this or any other way... please letme know.
Flash Covers Dhtml
Hi,
i've got an asp page with a dhtml menu include at the top, and a flash movie right below it.
the flash movie covers the dhtml menus entirely when they expand. does anyone know of a good resource that might help me solve this issue... i know its not specifically flash's fault, i'm just not aware of any good dhtml boards. is this just a lost cause?
i've tried putting the movie on its own layer, but because the menus are includes, i'm confused as to how the stacking is working.
many thanks,
>>P
Dhtml Type Scroller
I want to make a little 400x200 window that will loop scroll some images
from right to left.
However, I want to be able to mouse over an image and pause the loop.
I would use a DHTML scroller but I can't place it where I want it because I
use flexible tables in my web page so if someone has a different screen rez,
the scroller will end up hiding stuff.
This way, I can put the flash in it's own cell and it wont cover important
stuff.
Since I'm not familiar with action script or javascript I am looking for
maybe a walk through or something.
It's been a long time since I've used flash (and it was v4 when I did)
But now I have MX and the action script window is a lot more advanced.
Before, the most action script I did was using the expression editor (was
that the name?)and it was only for buttons used in a movie loader. (basic
goto and play stuff)
Thanks for the help
Pls Help With DHTML Menu And Flash
kindly visit the test site www.cyours.com/hebaa
it works perfectly fine on ie, but in netscape the menus dont appear over the flash scroll we have on top !
what do we do ? is it a flash problem or do we need to change the script ?
kindly advice. thank u in advance.
wishes, vasanth
Using DHTML Menus With Flash
Hi,
I have a problem. I am working on a website that has a DHTML navigation system and the main pages are in Flash. Now the problem is that the Flash is onto onto the top layer as a plugin and the DHTML menu items go behind the Flash plugin and are not visible. If I embed the Flash instead of using the plugin, it does not work on Netscape. Any idea how I can keep the DHTML menu items on top of the Flash Plugin?
Thanks in advance,
Ani.
Flash + Dhtml Help Needed
does anyone know where i can find code examples to do dhtml page overlays with flash...transparent ones that are pretty good cross browser...even some book that can help me create an animation that can take over my home page????
also...can i have a flash movie at the top of the page initiate a flash movie in another part of the page? any insight would be super helpful.
Dhtml + Flash Help Needed
does anyone know where i can find code examples to do dhtml page overlays with flash...transparent ones that are pretty good cross browser...
also...can i have a flash movie at the top of the page initiate a flash movie in another part of the page?i imagine there has to be some way to do tis in actionscript... any insight would be super helpful.
DHTML Layer Over Flash?
Trying to get a drop down dhtml layer containing a flash movie to appear in front of flash content in an html page, like those floaty flash ads you see everywhere.
Never actually seen this technique appearing over another flash movie. Is it possible to have a layer appear over the top of flash?
Tried changing z order but does nothing, even if the background flash movie is put into a layer of it's own and moved down the z order below the drop down layer.
Cheers
cr0m
Flash And DHTML Menu
Hello,
Does anyone know how or is it even possible for a DHTML menu system to drop down over a flash movie?
Thanks for anything
-Wiley
Flash And DHTML Layers For IE - HELP
Hello -
So, I've run into the common problem where DHTML dropdown menus fall behind a flash swf file sitting in the HTML.
I found the tutorial with the title above on flashkit and thought I was golden. Not so. Now the swf file doesn't show up at all on a PC in IE.
At first I pointed the javaScript to the swf in a different directory. That didn't work, so I put the swf in the same directory and used this code the tutorial shows:
<script language=JavaScript src="dhtmlflash.js"></script>
<script language=Javascript>
startFlashFixed(138,375,"tourGlenEllyn.swf",371,20 9);
</script>
Unfortunately, I don't have a PC at home, so I've been having my PC friend test it on his computer. But it totally works on my Mac in IE, Netscape and Safari.
Lastly, I'm using SSIs to import the DHTML for my dropdowns. They have a z-index of 20. The js file from the tutorial has the flash file with a zindex of 0. Could this have something to do with my problem?
Here's the link to the page I've been testing this on, if it helps make sense of all this:
http://www.kruegelisms.com/freelance...glenEllyn.html
Any suggestions or help?
Thanks,
manOhman
DHTML Dropdown Hidden By Swf
I tried this on the Flash General board, but normally use this one. Anyhow, I haven't gotten any suggestions there and I need to solve this problem quickly. Can any of you help?
I've run into the common problem where DHTML dropdown menus fall behind a flash swf file sitting in the HTML.
I found a tutorial on flashkit and thought I was golden. But now the swf file doesn't show up at all on a PC in IE.
I put the swf in the same directory and used this code as the tutorial shows:
<script language=JavaScript src="dhtmlflash.js"></script>
<script language=Javascript>
startFlashFixed(138,375,"tourGlenEllyn.swf",371,20 9);
</script>
Unfortunately, I don't have a PC at home, so I've been having my PC friend test it on his computer. But it totally works on my Mac in IE, Netscape and Safari.
Lastly, I'm using SSIs to import the DHTML for my dropdowns. They have a z-index of 20. The js file from the tutorial has the flash file with a zindex of 0. Could this have something to do with my problem?
Here's the link to the page I've been testing this on, if it helps make sense of all this:
http://www.kruegelisms.com/freelance...glenEllyn.html
Any suggestions or help?
Thanks,
manOhman
|