|| .Navigation
Download Adobe Flash cs4 full version
10 Oct 08Software[D]Adobe Flash CS4 10.0 Professional Final + Crack in Windows - Other889.02 MB00
09 Oct 08Software2 comments[D]Adobe Flash CS4 v10.0 Professional.incl.Crack_Full.version(working) in Windows - Other888.95 MB04
07 Oct 08Software2 comments[D]Flash CS4 v10.0 cracked .dll with keycode. in Windows - Other10.42 KB00

|| .Navigation

Tuesday, 25 August 2009

Adding Lightbox to Flash

Adding Lightbox to Flash

Follow these steps to add Lightbox functionality to Flash files:

Step 1. First, download Lightbox++

Step 2. Copy the css, images and js folders from the archive in the same folder with your HTML file on your web server. This HTML file should embed the SWF file to which you want to add the Lightbox to.

Step 3. Edit the HTML file and add these lines in the section:

  1. <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
  2. <script src="js/prototype.js" type="text/javascript"script>
  3. <script src="js/scriptaculous.js?load=effects" type="text/javascript"script>
  4. <script src="js/lightbox++.js" type="text/javascript"script>


Step 4 (option A). If you want to have a Lightbox Image Set (with Next and Previous buttons), right after the lines from Step 3 add these lines, otherwise go to Step 4 (option B)

  1. <script type="text/javascript">
  2. function GroupDelegate(id) {
  3. var objLink = document.getElementById(id);
  4. Lightbox.prototype.start(objLink);
  5. }
  6. script>

In the body of your HTML file you’ll have to add invisible links to the images which will be displayed in the Lightbox, like this:

  1. <a id="img1" title="First image" rel="lightbox[img]" href="images/01.jpg"a>
  2. <a id="img2" title="Second image" rel="lightbox[img]" href="images/02.jpg"a>
  3. …

Step 4 (option B). If you intend to have a single image display in Lightbox (as opposed to option A with Image set) you simply have to add these lines into the section of the HTML file:

  1. <script type="text/javascript">
  2. function LightboxDelegate(url,caption) {
  3. var objLink = document.createElement('a');
  4. objLink.setAttribute('href',url);
  5. objLink.setAttribute('rel','lightbox');
  6. objLink.setAttribute('title',caption);
  7. Lightbox.prototype.start(objLink);
  8. }
  9. script>


Step 5 (option A). If you’re using SWFObject to embed the SWF, make sure you’re having these two params (in addition to maybe other params):

  1. params.wmode = "transparent";
  2. params.allowscriptaccess = "samedomain";

Step 5 (option B). If you’re using tags to embed the SWF file, add these lines:

  1. <param name="allowscriptaccess" value="samedomain">
  2. <param name="wmode" value="transparent">

And in the embed tag you must insert the attribute:

  1. wmode="transparent"

Step 6. If the links to go to when clicking an image are specified through the XML file, the url attribute must be set like this:
1. For Step 4 (option A):

  1. url="javascript:GroupDelegate('img1')"

2. For Step 4 (option B):

  1. url="javascript:LightboxDelegate('images/01.jpg','First Image')"

Note that the Lightbox will not work if tested locally. You’ll have to test it on a HTTP server.

An working example of Lightbox implemented in the way described above you will see in the “index-with-lightbox.html” file from these two archives: dockmenu.zip and carousel.zip files

|| .Navigation

Top blogs of the month

Download Kaspersky key for free direct link in zip file
http://kasperskykey.byethost13.com

Download kaspersky kav kis key (kaspersky key)
http://key-kaspersky.blogspot.com

get Free Web Hosting , get Free Domain name
http://albramj.blogspot.com

Download all arabic fonts
http://all-fonts.blogspot.com

buy and sell Compare PC and laptop prices - the best price compare prices
http://1st-emarketing.blogspot.com

Download flash tutorial - cartoon smart xml AS2 AS3
http://flash-torrent.blogspot.com

Download joomla tutorial, joomla templates plugin tools
http://all-joomla.blogspot.com

Download Money magazine, find investor
http://i-need-investor.blogspot.com

Download photoshop tutorial CS4 CS3, photoshop sources
http://pramjy1.blogspot.com

Google Adsense: Earn Million Dollars Per Year
http://password-prog.blogspot.com

Download lynda tutorial CS4 CS3, lynda lessons
http://lynda-torrents.blogspot.com

Download photoshop tutorial CS4 CS3, photoshop source
http://photoshop-torrent.blogspot.com

Download top programs TV show software movies
http://top-55.blogspot.com

Download most popular games Fifa 09 need for speed
http://500game.blogspot.com

Download total training tutorials CS4 CS3,
http://total-training-torrent.blogspot.com

Download 3d Max tutorial CS4 CS3,
http://3dmax-torrent.blogspot.com

Forex Video Tutorial : Place a Trade



Learn how to enter and exit the market quickly and efficiently with automated click and deal trading. This video tutorial will also show FOREXTrader's advanced position management capabilities.

Length: 1:02 minutes

Forex Video Tutorial : Associated Orders



Learn how to attach an associated limit and stop loss order to an open position.

Length: 1:48 minutes

Forex Video Tutorial : Point & Shoot



The Point & Shoot tool enables you to drill down into a position to view and close any individual trade that is part of your overall position in any currency pair. Learn more about the Point & Shoot feature by watching this tutorial.

Length: 00:57 seconds

Forex Video Tutorial : Forex Insider



Learn how to quickly access FOREXInsider, live market commentary written by our senior traders and members of our research team.

Length: 00:45 seconds

Forex Video Turorial : Customize Layouts



FOREXTrader is fully customizable. Learn how to create your own layout or select from our predefined layouts, geared specifically to popular trading styles.

Length: 1:08 minutes

Forex Video Tutorial : FOREXTrader Platform Tour



Designed for active traders looking for an edge, this Windows-based platform offers a rich user interface in a highly customizable trading environment for maximum performance. Watch the demonstration of all the tools and resources available on the trading platform.

Top serch of the week

antivirus kaspersky Flash CS4 cartoonsmart blend torrent download full cs3 antivirus key kaspersky 5 kaspersky 5.0 kaspersky 6.0 web hosting kaspersky anti kaspersky anti-spam kaspersky antivirus key kaspersky crack kaspersky key kaspersky keygen kaspersky license key kaspersky personal kaspersky pro Forex Video Tutorial : Place a Trade Forex Video Tutorial : Associated Orders Forex Video Tutorial : Point & Shoot Forex Video Tutorial : Forex Insider Forex Video Turorial : Customize Layouts Forex Video Tutorial : FOREXTrader Platform Tour kaspersky virus licence key license key serial key acm forex automated automated forex best forex broker brokers cfd charting charts cms forex crown forex currencies currency currency converter currency exchange daily forex directory euro exchange rate exchange rates foreign currency foreign exchange forex forex analysis forex auto forex autopilot forex autopilot system forex bank forex blog forex book forex books forex broker forex brokers forex chart forex charts forex chat forex club forex contest forex course forex currency forex dealer forex demo forex ea forex exchange forex factory forex forum forex forums forex funnel forex indicators forex killer forex learning forex market forex market hours forex news forex online forex option forex platform forex profit forex rates forex recommendation forex secrets forex signal forex signals forex software forex strategies forex strategy forex system forex technical analysis forex tracer forex trade forex trader forex trading forex trading strategies forex trading system forex training forex trend forex video free forex free forex signals futures fx fxcm gci forex hedging learn forex live forex managed mini oanda pip pips platform quotes rates real time forex reuters sek signals stock arket street technical analysis the forex top forex trader traders trading valuta تجارة العملات