| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Aug 2005
Posts: 14
|
Popup inside of flash-ala psyop.tv site
What i'm trying to do is imitate what psyop.tv have done. When you click on a thumbnail, you can click play and a little popup window will come up with the portfolio item. Their setup is similar to mine, the left hand side is for choosing the catagory/item which then does loadmovie on the right which shows thumbs. I then want it so if i click on the thumbnail or the view project button it will load a little popup window inside flash that loads another movie (like them, i'm showing video work) which can be closed after viewing it. I don't care if you can't move the window or whatever-just as long as it appears on top. Originally, i was just going to use this method to open a html window http://www.kirupa.com/developer/flas...pup_window.htm but it seems to get blocked on my machine-and this seems to be the smarter way. How hard is it to set something like this up and can anyone point me in the right direction? Keep in mind i've only ever used really simple actionscript. |
|
|
|
|
|
#5 (permalink) |
|
Registered User
Join Date: Aug 2005
Posts: 14
|
That part probably is, but closing the window-i have no idea. I assume actionscript or something. *edit* According to flashkit, to put the video window at the front requires swapDepths. like this: movie1.swapDepths(movie2); (just in case anyone else is interested) Anyone else have an idea how i would shut the open movie on top? Last edited by misterkyo : 11-02-2006 at 23:48. |
|
|
|
#6 (permalink) |
|
Iris Folder
Join Date: Apr 2003
Location: smokey
Posts: 2,643
|
easiest way. Create the player as a movie clip in your library. Set it's linkage to export for actionscript (in the clip info panel). Attach an instance of the clip at your required depth using attachMovieClip(); when you click the thumbnail. Then you can use removeMovieClip(); to close it on a button within the clip once you've finished. Use the flash help 'to read up on those actionscript commands - or google 'em. |
|
![]() |