Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 242
  • Last Modified:

Flash Popup Window

I am creating my portfolio in flash and I would like the user to click on the image or the text and a smaller window with the image and a littlebit of information to appear on the left hand side of the screen with out a menu bar or scrollbar and i do not want it to be resizeable either.  I used Rexmor's script that I found but that did not work.  Does anyone have any suggestions.  I would be very grateful.

And do you think this is okay to do design wize?  i want the user to be able to see the image very well but it does not go with the design i created.
0
crayonblue
Asked:
crayonblue
2 Solutions
 
henrywwCommented:
this question keeps on coming and the preloader as well ...

see if this helps

http://www.experts-exchange.com/Web/WebDevSoftware/Flash/Q_20525048.html

have a javascript in the html where ur flash is embeded and call it to open a popup window
...

cheers
0
 
ZefferCommented:
you can do what you want entirely in flash..and make the pop-up window look exactly like a browser window.

in your main movie make a new movie symbol
design a panel with content the size and style you want
put a cross like in a browser window in the top right corner
drag an instance to the stage where you want it to appear
give it the instance name..popUp1
on the first frame of the main movie put the code


onClipEvent (load) {
 _root.popUp1._alpha=0;
}

on the image or text to call the window (these can be either button instances..or put a hotspot button over them)
put the code

on(release){
 _root.popUp1._alpha=100;
}

so the popup panel can be closed..on the cross button inside the clip you made..put the code..

on(release){
 _root.popUp1.alpha=0;
}

Z

0
 
ZefferCommented:
course last alpha above should be _alpha

Z
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
henrywwCommented:
oooops ...

sorry ... i misunderstood the question!!??

hey Z i still could figure the method u mentioned in the fading bg textbox ... (may should post it there)

cheers
0
 
ZefferCommented:
no I don't think you misunderstood the Q as it is asked Henry..I'm just taking a lateral and more practical approach with my answer..
>>hey Z i still could figure the method u mentioned in the fading bg textbox ... (may should post it there)<<
totally don't understand this statement..please elaborate

Z
0
 
0099Commented:
personally i do like pop-up windows anymore except it has to service its purpose but i designed my first portfolio with pop up windows. it's a big mess...too many windows opening up. right now i am designing mine differently. i would put my images inside of it.

i would suggest to put the pop-up window in the centre. there are javascripts out there to help you. if you need the codes let me know.
0
 
rexmorCommented:
//put this script on your first frame of scene1

Movieclip.prototype.openWin = function (url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
getURL ("javascript: var myWin; if(!myWin || myWin.closed){myWin = window.open('" + url + "','" + winName + "','" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar + ",location=" + location + ",directories=" + directories + ",status=" + status + ",menubar=" + menubar + ",scrollbars=" + scrollbars + ",resizable=" + resizable + "')}else{myWin.focus();};void(0);");
}

//then on the button

on (release) {
//url, winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable
  openWin("about.html","blank",400,200,0,0,0,0,0,0,1);

}

hope this work for you.

regards,

rex
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now