| Autor |
Nachricht |
zizou79
Threadersteller
Dabei seit: 25.04.2007
Ort: München
Alter: -
Geschlecht: -
|
Verfasst Sa 23.06.2007 16:56
Titel flash und lightbox |
 |
|
hallo zusammen,
ich komme mit einer sache nicht weiter. ich möchte die beiden freien tools pageflip und lightbox kombinieren, aber es klappt nicht... bin auch noch flash anfänger. hab das thema auch gegooglet aber nichts gefunden, außer diese seite:
http://www.juliuswebdesign.com/PageFlip_Lightbox/pageflip_lightbox.htm
und ein paar italienische...so wie der link sollte es in etwa aussehen.
hat vielleicht jemand damit erfahrung und könnte mir ein tutorial oder ähnliches empfehlen? englisch geht, nur fängts bei mir mit italienisch bei prego an und hört bei grazie auf...
tausend dank im voraus!
tobi
Zuletzt bearbeitet von zizou79 am So 24.06.2007 17:20, insgesamt 1-mal bearbeitet
|
|
| |
|
 |
rob
Dabei seit: 11.12.2003
Ort: ~/
Alter: 31
Geschlecht:
|
Verfasst Sa 23.06.2007 17:17
Titel
|
 |
|
| Zitat: | | aber es klappt nicht... |
Was heißt das?
Gibt es eine Fehlermeldung? Wenn ja, welche?
Du mußt schon eine brauchbare Problembeschreibung liefern, wenn man dir da weiterhelfen können soll.
| Zitat: | | bin auch noch flash anfänger. |
Lightbox hat doch nichts mit Flash zu tun oder gibt es da auch was für Flash mittlerweile?
Mir ist nur das JavaScript bekannt.
|
|
| |
|
 |
Zeithase
Dabei seit: 09.05.2005
Ort: Arnstadt
Alter: 23
Geschlecht:
|
Verfasst Sa 23.06.2007 17:19
Titel
|
 |
|
| rob hat geschrieben: | Lightbox hat doch nichts mit Flash zu tun oder gibt es da auch was für Flash mittlerweile?
Mir ist nur das JavaScript bekannt. |
In seinem Beispiel wird die JS-LightBox aus Flash heraus aufgerufen.
|
|
| |
|
 |
zizou79
Threadersteller
Dabei seit: 25.04.2007
Ort: München
Alter: -
Geschlecht: -
|
Verfasst Sa 23.06.2007 17:34
Titel
|
 |
|
ja sorry, hab wohl zu wenig das problem beschrieben.
also,
- die lightbox (ja bekanntlich js) soll aus einee flash(pageflip)-seite heraus gestartet werden (siehe mein geposteter link oben!)
- habe in flash einen button (thumbnail) mit folgendem befehl ausgestattet:
on(release) {
getURL("javascript: flashLightbox('images/test.jpg','Beispiel');");
}
und nach dem veröffentlichen der flash seite in der index.html das hier im head bereich eingefügt:
<link rel="stylesheet" href="lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<style type="text/css" media="screen"></style>
und im body das hier:
<object type="application/x-shockwave-flash" data="myMovie.swf" width="400" height="400">
<param name="movie" value="myMovie.swf" />
<!-- Your MUST add the 'wmode' paramater or your flash will appear
over top of your lightbox images! -->
<param name="wmode" value="transparent" />
</object>
wenn ich jetzt allerdings auf den button/thumnail klicke, passiert nichts...
hier nochmal die readme datei / anleitung für flashlightbox:
"<<Modified by Jeff Garczewski http://www.punkbyte.com 2/28/06
To work with new captions feature and bug fixes>>
<<Original Mod by Kelli Shaver http://www.kellishaver.com>>
This is a very small and simple modification to Lightbox to allow you
to use the script in conjunction with a flash movie (for a sample of
this see www.kellishaver.com).
I've added a new function flashLightBox() that can be called from within
any SWF file. I've left showLightbox() in thre as well, so the script
can still be used normally.
To call a lightbox image from flash, you would simply assign the
following actionscript to your button/movie clip:
<<Added by JG: You can now use the new caption feature of lightbox by sending a second variable along to the flashLightBox function>>
on(release) {
getURL("javascript:flashLightbox('path/to/imagejpg','Your Caption');");
}
I've also modofied the default CSS to give the lightbox containers and
image a higher z-index than the flash movie.
Finally, to get the images to display on top of the movie, you will need
to add the "wmode" paramater to the mark-up for embedding the SWF movie:
<object type="application/x-shockwave-flash" data="myMovie.swf" width="400" height="400">
<param name="movie" value="myMovie.swf" />
<!-- Your MUST add the 'wmode' paramater or your flash will appear
over top of your lightbox images! -->
<param name="wmode" value="transparent" />
</object>
This wasn't a difficult mod, but it did take me a few minutes to sort out,
since there were several files to change, so hopefully this will be of
use to someone."
hoffe mein problem wird jetzt klarer...
danke schonmal für eure hilfe
tobi
|
|
| |
|
 |
elparaiso
Dabei seit: 30.01.2006
Ort: Putbus
Alter: -
Geschlecht:
|
Verfasst Di 18.09.2007 16:07
Titel
|
 |
|
|
heho wie hast du das problem gelöst? weil bei deiner geposteten datei funktioniert das.
|
|
| |
|
 |
bigdavenr1
Dabei seit: 28.08.2008
Ort: -
Alter: -
Geschlecht: -
|
|
| |
|
 |
pejot
Dabei seit: 16.09.2004
Ort: Musikmetropole
Alter: 27
Geschlecht:
|
Verfasst Do 28.08.2008 16:19
Titel
|
 |
|
Nach einem Jahr wird er die Lösung wohl gefunden haben.
|
|
| |
|
 |
| |
|
 |
| Ähnliche Themen |
lightbox/litebox ist im Mozilla Firefox von Flash überlagert
Lightbox
lightbox js on startup
Alternative zu Lightbox
lightbox js - problem
lightbox problem
|
 |