Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > flash over other code
User Name
Password
REGISTER NOW! Mark Forums Read




Reply Bookmark and Share
1 16th April 19:34
victorpb
External User
 
Posts: 1
Default flash over other code



Not sure if this is the way it works or if I am doing something wrong. I
designed a flash verticle pop-up menu which pops the menu to the right side.
Everything works correctly. The problem is when I try and drop into dreamweaver
and move other content over it in a layer it will not work. my issue is how to
get a popup menu that will allow other code to be place right next to it so it
does not have 2-3 inches of white space where the popup menu will appear. I
guess the true question is can you have a flash popup appear over text or
images that are not part of the flash file?
  Reply With Quote


 


2 16th April 19:34
victorpb
External User
 
Posts: 1
Default flash over other code



the answer....

Using Dreamweaver

Follow the below steps, and Dreamweaver will insert the correct HTML code
automatically.

1. In Dreamweaver, insert the Flash movie into an HTML page.
2. Select the Flash movie in the Design View.
3. In the Properties panel, choose Parameters.
4. For the Parameter, enter "wmode" (without quotes). For the Value, enter
"transparent".
5. Save the document. The HTML page is complete.
  Reply With Quote
3 17th April 08:24
david stiller
External User
 
Posts: 1
Default flash over other code


victorpb,


This isn't a Dreamweaver solution, per se. Remember, as powerful as
Dreamweaver is, what it actually does is write HTML for you, which can be
done by hand, for those so inclined.


WMODE is, indeed, the answer here. Be aware, there are modes other than
transparent that may work for you (such as opaque) ... depends on your
needs. Transparent WMODE, in particular, is recognized in these these forms
to be buggy -- to the point where some contributors recommend against it
every time. Bugs include browser lock-ups, upside down printing, and more.
Your mileage may vary, of course, so test in as many of your target
platforms as you can.

David
stiller (at) quip (dot) net
"Luck is the residue of good design."
  Reply With Quote
4 17th April 08:24
victorpb
External User
 
Posts: 1
Default flash over other code


David,

I thought this would work, but it does not solve the problem. I almost gets me
there in that I can move the text layer right next to the static menu. The
problem is when the popup menu appers it goes behing the text layer so you can
not read it. If I have a background color on the text layer it is completly
hiden, if not it is a jumble of words.

Any thoughts on how to have it transparent, but to also have the popup align
to the top over anyother layers/tables?

thanks
  Reply With Quote
5 17th April 08:24
victorpb
External User
 
Posts: 1
Default flash over other code


the only way I could work around it was to add a text field to the actual flash
fla, so when the popup opened it opens over the text field and when it was
closed it shows the field. It is a work around for now but I would like to know
if this is possible. It will make it difficult in the future for editing the
text to have to recreate the swf file each time.

thanks
  Reply With Quote
6 17th April 15:23
david stiller
External User
 
Posts: 1
Default flash over other code


victorpb,
  Reply With Quote
7 17th April 15:23
david stiller
External User
 
Posts: 1
Default flash over other code


Woops! Itchy trigger finger, I guess. I hit Send/Receive before typing
my response.

Can you share a URL for this page? I'm afraid I can't see "in my head"
what your describing, and a picture's worth a thousand words. If you
provide your code, the answer may be obvious.


David
stiller (at) quip (dot) net
"Luck is the residue of good design."
  Reply With Quote
8 17th April 15:23
victorpb
External User
 
Posts: 1
Default flash over other code


http://www.theoasis.org/test.html

The top swf is without transparent and will mask out the text layer, the
bottom one is transparent and mixes witht the text making it unreadable. Any
thoughts? Is flash good for a side navigateion like this, or should I switch it
to html?

thanks for the help
  Reply With Quote
9 17th April 18:50
david stiller
External User
 
Posts: 1
Default flash over other code


Victor,

Your source helped. Here's what worked for me: put the SWF in a <div>,
put the text in another <div>.

#textContent {
position:absolute;
left:200px;
top:20px;
width:250px;
height:400px;
z-index:1;
}
#flashContent {
position:absolute;
left:10px;
top:10px;
width:350px;
height:280px;
z-index:2;
}

So the Flash content is absolutely positioned *above* the text, and the
SWF is set with a wmode of transparent, so the text shows through. Here's a
temporary URL, so you can see it all in context.

http://www.quip.net/victor.html


Ehh, I could go either way on this one. You're not really using Flash
to do anything especially Flash-like, in this case (no slide-outs or other


plug-in? On the other hand, the plug-in is sooo extensively installed,
maybe it's no big deal. I suppose if this were mine, I would probably opt
against the Flash version simply because Flash isn't needed to pull off the
effect.


David
stiller (at) quip (dot) net
"Luck is the residue of good design."
  Reply With Quote
10 17th April 18:50
victorpb
External User
 
Posts: 1
Default flash over other code


that was simple. I already had it in a div in another test, but did not move it
to the front. thanks... I have flash loaded on the header so I will keep in in
this one. I will play with css for future ones, thanks for the help
  Reply With Quote


 


Reply


Thread Tools
Display Modes


Some other forums that might be of your interest : Development, Ada, Apple script, Assembler, Awk, Beos, Basic, C, C++, C#, C# .net, .net, .net frameworks, Asp .net, Clarion, Clipper, Clos, Clu, Cobol, Coldfusion, Delphi, Dylan, Eiffel, Forth, Fortran, Haskell, Hermes, Icon, Idl, Java, Java script, Jscript .net, Jcl, Linoleum, Lisp, Lotus, Limbo, Logo, Ml, Mumps, Oberon, Postscript, Pop, Pl1, Prolog, Python, Ruby, Pascal, Perl, Php, Rebol, Rexx, Sed, Sather, Scheme, Smalltalk, Tcl, Vhdl, Vrml, Visual basic, Visual basic .net, Yorick, Mysql, Omnis, Postgresql, Xbase, Access, Oracle, Adabas, Berkeley, Btrieve, Filemaker, Gupta, Db2, Informix, Ingres, Mssql server, Object, Olap, Paradox, Rdb, Revelation, Sybase, Theory, Dbase, Html, Java script, Css, Flash, Photoshop, Corel script, Xml, Tech, Beos, Gem, Hp48, Hpux, Linux, Mac, Ms-dos, Os2, Palm, Solaris, Ti99, Windows, Xenix, Aos, Chorus, Geos, Inferno, Lantastic, Lynx, Mach, Minix, Netware, Os9, Parix, Plan9, Psos, Qnx, Xinu, Sco, Unix, Aix, Aux, 386bsd, Bsdi, Freebsd, Netbsd, Openbsd, Ultrix, Amd, Intel, Aptiva, Buz, Deals, Homebuilt, Overclocking, Programming, Extra forums


Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666