ActionScript 2.0 :: Activating Lightbox 2 From Flash

Jun 20, 2007

if it is possible to activate lightbox 2 from flash.

As extracted from the Lightbox tutorial, lightbox needs an <a href> tag with a rel="lightbox" attribute to be activated.

e.g.

Code:
<a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>

However I dun think it is possible to use getURL(); for this in flash right?

is there a work around for this? what i am aiming to do is have the user click on an image/mc in my flash

e.g.

Code:
my_mc.onRelease = function() { // Activate lightbox from here };

and have it call the light box up.

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Activating Lightbox 2.0 From Flash

Mar 14, 2007

Im using the Lightbox 2.0 [URL] And a flash movie in the same page. Now ive got this thumbnail slider in the flashmovie with thumbnails loaded from an xml file. As soon as i hit a thumbnail i want the Lightbox to show the full image of the thumbnail.

I've got everything set up and if i test if the Lightbox works with an html link it works perfectly:

HTML Code:
<a href = "path/to/image.jpg" rel="lightbox" title="my Title">Lightbox test</a>

Now my question is how do I call the same action in AS?

I understood the rel attribute refers to both the Lightbox JavaScript and the StyleSheet. But i really dont know how to set the rel attribute in flash.

View 14 Replies

ActionScript 2.0 :: Activating And De-activating Loaded Movies?

Jan 7, 2009

Am working on a flash AS 2.0 project where am loading movies from the same folder. my code goes like

on (release) {
loadMovie("HAD.swf",2);
}

problem is the swf loads infront of the main movie but the main movie's links are still active.

View 4 Replies

ActionScript 1/2 :: Activating/de-activating Buttons?

Mar 9, 2009

I want to create some AS to disable and enable a button.Let's call this ButtonX. I want this button to appear disabled at first, and then allow the user the option of enabling this button(ButtonX) by clicking another button. Let's call this ButtonY. I cannot get this to work. I am attaching the code I am trying. I have this AS added to ButtonY and ButtonX is the instance name for the button I want to de-activate-activate.

View 7 Replies

Jquery :: Div Over Flash In A Lightbox?

Oct 22, 2011

I have created a custom lightbox that displays a flash file. The app is required to open the jQuery Datepicker above the flash file.

Here is the problem; only the header, the month name and navigation appear over the flash app. Everything else is below it.

I tried the wmode=transparent trick, but it makes the Flash app transparent and you can see below it. Plus, I believe the datepicker is having the same issue, where the month navigator is above flash, and the numbers are below the app.

View 1 Replies

ActionScript 2.0 :: Use Of Lightbox In Flash?

Feb 13, 2010

how to add lightbox + XML + FLASH functionality in flash photo gallery - carousel flash.

View 1 Replies

ActionScript 3.0 :: Activating Webcam With Flash?

Sep 18, 2010

I am trying to activate a my webcam and run a live stream from it. Im running into problems though. I can get the webcam to turn on(the green light comes on). However, nothing is displayed. I have copied the code i am using to try and achieve this, hopefully its just a simple mistake.I am using Flash Builder 4 to put all this together.

Code:
package camera
{
import flash.display.Sprite;
import flash.media.Camera;

[code]....

View 2 Replies

Install Lightbox Within A Flash Cs3 Document?

May 27, 2009

I am using this tutorial to install lightbox within a flash cs3 as2 document[URL]..I got everything to work, now I am trying to set up the code to load an html page in the lightbox without changing the option to load jpg's as well.

So far I've tried changing the code in flash to say .html instead of .jpg and The lightbox keeps loading without ever finding the file.

View 1 Replies

ActionScript 2.0 :: CS3 Flash In Wordpress With Lightbox 2?

Mar 22, 2010

i've designed a strip of thumbnails in flash to go in a Wordpress site i'm working on, which when clicked need to open up images and videos using Lightbox 2. (Lightbox is already setup and working.)The problem is that i'm importing the links for each of the thumbnail buttons from a .txt file which works like this:

Code:
getURL(_root.link1, "_blank");

Text file:

[URL]

This at present just opens the image in a new window, how can i make this work with Lightbox?[URL]

View 15 Replies

ActionScript 3.0 :: Flash - Add More Pictures To The Lightbox?

Sep 1, 2010

Everything works just fine the only thing i need to know is how to add more pictures to the lightbox?

showcase.addEventListener(MouseEvent.CLICK,pop_up) ;
function pop_up(event:MouseEvent):void {
trace("test");
ExternalInterface.call("Design_Gallery", "images/image-1.jpg", "image-1");
}

View 8 Replies

Professional :: Similar To Lightbox For Flash?

Jul 16, 2010

I'm searching something similar to the lightbox effect in javascript, but for flash.
 
I already tried succesfully "flash lightbox v2" (http://blog.alancurtis.it/tag/flash/) but I'm searching something native for flash, without javascript.

View 1 Replies

Javascript :: Css - Lightbox Flash For Pages?

Jun 7, 2011

Does anyone know a lightbox in which I can load pages? I found one called lightbox-gone-wild but I am having problems with it.

View 1 Replies

ActionScript 3.0 :: Use Lightbox 2 With Flash Buttons?

May 31, 2011

I have a a flash movie with buttons and I want to open a link from these buttons to my lightbox 2.0. How would I do this?

I have entered this in the html script:

<script type="text/javascript">
function LightboxDelegate1(url,caption) {
var objLink = document.createElement('a');

[Code].....

View 5 Replies

Actionscript 3.0 :: Flash - Activating EventListener For An Object

Oct 24, 2011

In my Flash program, I am trying to run a function within an object. The object uses a class called "SkullDemon.as." The function I am trying to run is called "moveSkullDemon();" this function is coded within the "SkullDemon.as" class. My main document class is "TME2d_Main.as." Within that file I create an instance of the Skull Demon class like this:

[Code]...

View 2 Replies

ActionScript 2.0 :: Load A Lightbox Gallery From Within A Flash .swf?

Feb 6, 2009

want to load a lightbox gallery from within a flash .swf i no its possible because iv seen it done many times, and iv tried every tutorial on the net, most of which say the same thing, which I have done and it still doesnt work.So far I have created a javascript delegate which turns the flash command getURL into an anchor tag containing a rel="" attribute. Here is my javascript:

Code:

<script type="text/javascript">
function LightboxDelegate(url,caption) {
var objLink = document.createElement('a');

[code]...

I have then used a flash button to call the javascript function, in theory this should load my lightbox, however all that happens is the flash swf disappears and no lightbox overlay or image appears. I no that fksh objects do disappear when lightbox loads, however mine doesnt load. My ActionScipt on the flash button is as so:

Actionscript Code:

on (release) {getURL("javascript:LightboxDelegate('1.jpg','caption1')", "_self")}

View 1 Replies

ActionScript 2.0 :: Load A Lightbox Gallery From Within A Flash .swf

Jun 2, 2010

I want to load a lightbox gallery from within a flash .swf i no its possible because iv seen it done many times, and iv tried every tutorial on the net, most of which say the same thing, which I have done and it still doesnt work. So far I have created a javascript delegate which turns the flash command getURL into an anchor tag containing a rel="" attribute. Here is my javascript:

[Code]...

View 1 Replies

Professional :: Using Lightbox To Display Flash Content (swf)?

Dec 18, 2010

I want to use lightbox to display Flash video player.I would like to have lightbox load a page that has SWFObject code for displaying the Flash content. This page with the Flash content and SWFObject will have certain paramters and vars  Does anyone know of an example or tutoral for doing this?

View 9 Replies

Flash :: Professional - Launch Lightbox From Animation

Dec 20, 2011

Does anyone know of the best way to launch an iFrame video box in a lightbox from a Flash banner? I have a shopping cart and need to have the video which is served via iframe from a third party site displayed in a lightbox but can not find anything suitable.

View 1 Replies

ActionScript 3.0 :: Call Lightbox 2.04 From Flash Button?

May 10, 2010

I am building a web site for a friend.. Does anyone know if it is possible to open lightbox image gallery from a flash button? I would like to have a situation where the user can press one button and lightbox pops up with multiple pictures in that popup

View 3 Replies

ActionScript 3.0 :: Open A Lightbox 2.04 Effect From Flash?

Nov 12, 2010

I need very easy and basic instructions to open a Lightbox 2.04 effect from Flash.

I need to know where I have to write the code, for example do I write the HTML code in the Actionscript, or in my HTML file???

I managed to make Lightbox 2 work from HTML (click on the image). (take aay the dots from the www as I could not attach a link)

[URL]

Now, I want to have the same thumbnail in Flash but as a button and make it open that lightbox.

View 1 Replies

ActionScript 3.0 :: How To Create LightBox Effect In Flash

Jul 12, 2010

Need to get lightbox in flash working? Its either do this or create something similar to lightbox effect in flash. How to do the lightbox effect by creating in the flash?

View 1 Replies

ActionScript 2.0 :: Activating SWF Frame From Flash Button In Dreamweaver

Apr 20, 2004

I have a set of flash buttons in a left hand frame in dreamweaver in the right hand frame I have a swf file, is it possible for the buttons to control the swf! For example I want button 1 to make the swf jump to frame 1, button 2 make the swf jump to frame 2 ect....

View 1 Replies

ActionScript 2.0 :: Activating A Swf Frame From A Flash Button In Dreamweaver

Apr 20, 2004

here is my problem I have a set of flash buttons in a left hand frame in dreamweaver in the right hand frame I have a swf file, is it possible for the buttons to control the swf!!!!! for example I want button 1 to make the swf jump to frame 1, button 2 make the swf jumb to frame 2 ect ect ect

View 1 Replies

ActionScript 3.0 :: Xml Based Flash Photo Slideshow With Lightbox++?

Mar 26, 2009

I'm currently trying to beef up one of the websites I run, and make a better image slideshow for the gallery page. Currently... I have this page for my own website, with the lightbox effect installed correctly. The effect is very nice:When you click on an image, it loads it into focus on top of the page. This is also possible using flash.. using lightbox++. I hope one of you knows of this My question to you is... I want a page that loads the pictures via an xml file, and have the thumbs loaded, and each of those thumbs setup to load the full size version when you click on it.

View 2 Replies

ActionScript 2.0 :: Combine Flash And Simple Lightbox Effect

Oct 14, 2009

I am hoping to combine Flash (AS2) with a simple lightbox effect. I do not want a photo to be pushed to the fore, but a simple form, and wonder if there are any tutorials on this?

View 0 Replies

ActionScript 2.0 :: Lightbox - Hiding The Flash File Underneath?

Oct 27, 2009

I have a web site im making atm, the site is all flash , and i have a gallery with lightbox. But when light box is open, it seems to hide the entire web site, .

View 1 Replies

ActionScript 3.0 :: Make Lightbox Window Open From Flash?

Aug 19, 2010

how to make lightbox window open from flash. I just want to click a button to open a lightbox window.

View 1 Replies

Flash :: Professional - Install CS4 After Installing - Activating & Updating Photoshop CS5?

Mar 30, 2011

Can I install Flash CS4 after installing, activating & updating Photoshop CS5?

View 1 Replies

ActionScript 1/2 :: Use A Flash Button To Load External Website To A Pop Up Lightbox

Jun 10, 2009

I try to use a flash button to load external website to a pop up lightbox. I see a white box shows up but no content....
 
1. On the flash button: step1.onRelease = function() {getURL("javascript:LightboxDelegate('[URL]','Green Wallpaper')");}; 2. On HTML:

[Code]...

View 4 Replies

Actionscript 3 -:: Flash Lightbox Script For An Image + Movie Gallery

May 2, 2010

For a CDROM i'm working on, i'm looking for a method to display images with a lightbox effect. What is the best way to do it with AS3? Is there an AS3 lightbox script available?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved