This is a forum where members new and old can come to ask questions and get info and opinions. It is not a place to advertise your business or have other forms of advertising, whether it be in your posts or signature.

All links in the forum will not be indexed by Search Engines and any unapproved forms of advertising or spam will be dealt with accordingly, deleted, and that member's account banned.

Forums

Overview » Adobe Creative Suite » LightBox Flash Help
Reply

LightBox Flash Help

Dan SMith
Member



Since: 07 Jun 2009
Posts: 1
Posted 07 Jun 2009 13:41:16

Ok i've added this between
<head> and </head>



<script type="text/javascript">
function SWFDelegate(url,width,height,caption) {
   var objLink = document.createElement('a');
   objLink.setAttribute('href',url);
   objLink.setAttribute('rel','lightbox');
   objLink.setAttribute('title',caption);
   if(typeof width != 'undefined') {
      objLink.setAttribute('width',width);
   }
   if(typeof height != 'undefined') {
      objLink.setAttribute('height',height);
   }
   Lightbox.prototype.start(objLink);
}
</script>
</head>





and on my button image on Adobe Flash CS3 i have.


on( release )
{
getURL("javascript:SWFDelegate('images/nelson.png','480','640','Septik')");
}



The picture shows the clickable hand but it doesn't show my picture any bigger, when i click it nothing happens, please help.

Ok i've added this between
<head> and </head>



<script type="text/javascript">
function SWFDelegate(url,width,height,caption) {
   var objLink = document.createElement('a');
   objLink.setAttribute('href',url);
   objLink.setAttribute('rel','lightbox');
   objLink.setAttribute('title',caption);
   if(typeof width != 'undefined') {
      objLink.setAttribute('width',width);
   }
   if(typeof height != 'undefined') {
      objLink.setAttribute('height',height);
   }
   Lightbox.prototype.start(objLink);
}
</script>
</head>





and on my button image on Adobe Flash CS3 i have.


on( release )
{
getURL("javascript:SWFDelegate('images/nelson.png','480','640','Septik')");
}



The picture shows the clickable hand but it doesn't show my picture any bigger, when i click it nothing happens, please help.

Reply to this topic

Message
Reply
Follow us on Facebook Follow us on twitter Subscribe to the RSS feed
Activate your free membership today | Login | Currency