Quote:
ok so I add the code into a separate frame (not the button itself).
Correct. Though, you could add it to the button itself by using the on(release) syntax instead of Button.onRelease. However, that's not the proper way to code buttons so I don't recommend it
Quote:
About the HTML do I add all the normal lightbox code (what about the link? what do I put there) or just the code u wrote? because i just added this code (having the normal lightbox code ) but nthing worked.
Have a look at my example page. View the source to see how everything is set up.
Quote:
And one more thing.. when I activate the .swf file itself is something supposed to happen because when I press the button nothing happens..
Have you added the code WITHIN Flash? You'll need the button coded properly for anything to work. Make sure that Lightbox works without Flash before you start integrating Flash into it.
I'm not sure what you mean by activating the .swf. Are you referring to the little dialog you get in IE? Or is there some sort of activation mechanism/animation in the Flash?
Quote:
javascript:LightboxDelegate - is this supposed to be a file? I don't have this in my js folder
Again, refer to my page to see how it's done. You can insert it directly into the <head> of your page.