flash/litebox help
- Started
- Last post
- 19 Responses
- TheBlueOne
Hey, I'm just putting together a simple webpage for my martial arts teacher gratis, and I have a little flash music player on the page and I'm running the litebox script too..but when you open a pic via litebox the flash stays above the picture as it opens...any help? thanks in advance...
- TheBlueOne0
nothing, eh?
- Oneburn0
you've got to set the z-depth.
- st33d0
Rumour tells that Flash will always be on top, only being superceded by video.
z-depth isn't supported by some browsers.
- TheBlueOne0
Ah..thanks guys...
- lvl_130
good to know. thanks for that info ^person up there because i didn't read the name before i started to post :)
- lvl_130
^ thanks steed :)
- st33d0
>Rumour<
As in I don't have a case study for you. As in hearsay.
I searched Google but couldn't find an article, but I'm sure I've read it somewhere.
If someone can find an article backing up or refuting my claim I'll +1 them.
- TheBlueOne0
st33d i think you may be correct...
- Oneburn0
I got lightbox to show up above the flash here:
http://www.verhine.com/work/proj…
since ie7 it wont display properly in ie7, but i think it's only the js.
- TheBlueOne0
how'd you do it Oneburn?
- Oneburn0
it's been a while. i think:
1. set a parameter in your flash code - name="wmode" value="transparent"
2. z-index using css
http://www.verhine.com/work/proj…3. could only get it to work on lightbox v1, v2 wouldn't work.
that's all i remember.
if you still have questions, send me a msg, i'll be able to provide insight tomorrow
- TheBlueOne0
www.sitepoint.com/foru...
iamstillalive
(Feb 21 07, 05:24)Awesome..found the answer..and fixed it..
Thanks!
- ********0
score for the good!
- st33d0
+1 iamstillalive
+0.5 Oneburn (partial answer)
Well done people ;)
- alloyd0
Does anyone know if it is possible to use Lightbox for Flash for both the main page AND the top-layers? For example, I had the main page as a Flash movie, and if you clicked a portfolio item that's a Flash based piece, it would appear on a different layer on the html page. Kind of like avoiding using a pop-up window to show the Flash movie. A 'faux' Flash project in another Flash project effect essentially. Basically, instead of using images, we would be using all Flash movies. If so, anyone have any examples anywhere?I couldn't find any on Lightbox's site, just the ZIP for using Flash and images together. Let me know. Thanks.
- st33d0
alloyd - It should be possible as I've done something similar for mounting Java applets on a page.
You would have to hack the lightbox script though. Look for the bit that writes the img tag and I guess you would stick a detect file extension in there and instead of img tag, embed & object.
I'm not too keen on lightbox personally. The script for lightbox always loads late and I have to wait about 30 seconds before it stops redirecting me to an empty page with an image.
- acescence0
alloyd- check thickbox
- alloyd0
Thanks guys. Seems like no one has tested this yet tho and there aren't examples of this anywhere. Just Flash and images, not between multiple Flash files. I would have thought that something like this would have been done before. Going to keep searching.