all groups > macromedia flash sitedesign > january 2006 >
You're in the

macromedia flash sitedesign

group:

Basic flash website


Basic flash website t1a0s
1/29/2006 10:03:10 PM
macromedia flash sitedesign:
I'm trying to make a flash movie to go on one of the pages on my website.
There's this one action (example can be found on
http://www.johnnypanic.com/theband.htm) where when you click on one of the band
member's top 5, another screen pops up with their top 5 things in it. How would
i go about getting something to pop up like this after clicking a flash button?
Any help would be greatly appreciated. I would try google, but i don't exactly
know what to google for :)
Re: Basic flash website mynameissam.co.uk
1/30/2006 12:00:00 AM
Hey man, You've got two simple options:

1) To get the page to open in a new window just add "_blank" to the end of
your button actionscript. so the code would be:

on (release) {
getURL("top5.htm","_blank");
}

2) If you want to control the size of the window you need to attach some
javascript.

on (release) {

getURL("javascript:void(window.open('top5.htm','_blank','width=775,height=775,
left=20, top=20, location=0,menubar=0,toolbar=0,resizeable=0'))");
}

Cut and paste that and change the url. The width and height values are pixel
dimensions for your new window. The location, menubar, toolbar, and resizeable
tags are options. 0 means no, 1 means yes! Do you can change whether the
address bar e.t.c is visible or the window is resizeable.

Hope that helps man, good luck with the band. My first Flash project was for
my band!




Re: Basic flash website Paul Andrews
1/30/2006 5:18:07 PM
[quoted text, click to view]

You don't need a new window to do this. Your main timeline shows the band
plus a button for each band member. There's a stop on the timeline.

When you click on a button, you jump (goto and stop) to a place on the
timeline where your information appears above that of the band (put it into
another level). But a button on that level to take you back to the main
timeline and stop.

You could also do this by having a button with the additional information as
the rollover. That way no buttons need to be pressed.

If you need more help let me know.

Paul

Re: Basic flash website Tali-who
1/30/2006 6:00:39 PM
Here?s a handy site too:
http://www.flash-db.com/

go under the menu ?Library?s/Tools? and choose ?JS Generator?
You just enter your specifications and it generates the code for your flash
buttons.
It?s beautiful *sniff!*
:cool;
AddThis Social Bookmark Button