Hi i want to create a lightbox effect in flash. When i click on a button in shockwave file i want that lightbox comes on the screen. But i want that it work only in flash not in browser or html. if anyone knows about it pls help
Printable View
Hi i want to create a lightbox effect in flash. When i click on a button in shockwave file i want that lightbox comes on the screen. But i want that it work only in flash not in browser or html. if anyone knows about it pls help
you would 'make your own' then..
attach a 'semi' faded movieClip that covers your flash area/stage... and then plays/loads whatever it is you want to 'display'.
the TRUE lightbox works in HTML/Javascript and is called 'from' flash to the container (html document)... where a function is written.
You call/execute this 'javascript' function in the html doc by using ExternalInterface() instance..
didn't he said he needs this outside of browser?
any way, basic lightbox-like thing would be like this:
Code:var background:Sprite = new Sprite;
background.graphics.beginFill (0, 0.5);
background.graphics.drawRect (0, 0, stage.stageWidth, stage.stageHeight);
stage.addChild (background);
background (or stage).addChild (your image or dialog or whatever);
he said needed to work IN flash.. NOT in browser..
hence why I told him to make his own...
you also posted in AS3? (but were not in the AS3 section)