all groups > macromedia flash sitedesign > june 2007 >
You're in the

macromedia flash sitedesign

group:

Need help Today!


Need help Today! Raytown
6/28/2007 5:46:25 PM
macromedia flash sitedesign:
I am new am very new to flash. I have published a flash website and am getting
compaints that my buttons are not working. I assumed it was because the viewer
did not have the latest flash download. However I tested that issue and the
buttons were still not functional. This is only happening to some viewers. It
works perfectly fine for others. Any suggestions on what could be wrong? I'm at
a loss since I'm new to flash.

my website:
www.westcoastbroadcasting.com/jugfest/index.htm

I really need help as soon as possible. I expect a large amount of viewers
today and thru the week.

Thank you for your help!!!

Raytown
Re: Need help Today! dzedward
6/28/2007 6:01:31 PM
first off, i'd start with putting in a preloader for you site, it was just a
brown background with a white box for about 4 minutes, and thats on high speed
LAN connection.

im not sure what buttons youre talking about, if you mean the 'Artist Lineup',
then the top one opens in new tab, the rest try and open in a pop-up, which
gets blocked with my browser settings... ok, it appears all your buttons open
in a pop-up besides the top in Artist Lineup.. so thats probably the problem,
most will have a pop-up blocker on which makes them think it's not working..
what is the script for your buttons?
Re: Need help Today! Raytown
6/28/2007 6:18:30 PM
Thank you for your help so much! I am still learning. I do not know how to make
my pages change in the same page and not pop-ups. Below is my actionscript for
the glowing ticket info button on the home page.

Also, I would like to keep the artist buttons as pop-ups, I just don't know
how to include in the script to be only 819x790 in size and w/o a menu bar and
scroll bar. Below is the Action script for the artist Lee Brice.

Thank you!

//TICKET INFO BUTTON//
function Ticketinfo(event:MouseEvent):void
{
var targetURL:URLRequest = new
URLRequest("http://www.westcoastbroadcasting.com/jugfest/ticketinfo.htm");
navigateToURL(targetURL);
}
ticket_info.addEventListener(MouseEvent.CLICK,Ticketinfo);


//LEE BRICE BUTTON//
function leebrice(event:MouseEvent):void
{
var targetURL:URLRequest = new
URLRequest("http://www.westcoastbroadcasting.com/jugfest/leebrice.htm");
navigateToURL(targetURL);
}
lee_btn.addEventListener(MouseEvent.CLICK,leebrice);
Re: Need help Today! dzedward
6/28/2007 6:28:27 PM
are you using javascript to open in a popup?

here

function Ticketinfo(event:MouseEvent):void{
var targetURL:URLRequest = new
URLRequest("http://www.westcoastbroadcasting.com/jugfest/ticketinfo.htm",
"_blank");
navigateToURL(targetURL);
}
ticket_info.addEventListener(MouseEvent.CLICK,Ticketinfo);


//LEE BRICE BUTTON//
function leebrice(event:MouseEvent):void{
var targetURL:URLRequest = new
URLRequest("http://www.westcoastbroadcasting.com/jugfest/leebrice.htm",
"_blank");
navigateToURL(targetURL);
}
lee_btn.addEventListener(MouseEvent.CLICK,leebrice);
Re: Need help Today! Raytown
6/28/2007 6:49:51 PM
I'm not sure how to do what you have said :

"Lots of work needed optimising the finished file sizes & better to use
loadMovie to load your movie clips into different levels in the flash
player, than keep opening new browser windows."

I made everything symbols I even traced some bitmaps and optimized those. My
buttons however I know are what the bulk of the problem is. Is there a proper
way for making button smaller in file size. I simply converted my images to
buttons and within that button I made them movies so that I could add affects.
Is that not correct? I'm really sorry. I think i am in over my head with
optimization and making everything smooth. Any help would be greatfully
appreciated.

Raytown

Re: Need help Today! Raytown
6/28/2007 6:56:13 PM
Message for dzedward

See I'm so inadvanced at this I still dont know how to use Java ? I know I'm
working with "Actionscript" in flash. I have used a pop-up script before in
another project that was html based. So I'm a little confused when
incorporating the two together. Am I supposed to put a Java script for a pop
up within my html in front page or within my .FLA file with the actionscript?

Thanks:)
Raytown
Re: Need help Today! dzedward
6/28/2007 7:06:01 PM
for the preload issue, you need to use bytesloaded and bytestotal, you can make
a new scene and place that scene before the other scene, the create a preloaded
that looks to see if bytesloaded == bytestotal, then it advances to the next
scene.. you can google flash CS3 preloader and im sure you will find some
script. i'd provide it, but i havn't worked with AS3 yet, im just going off the
live docs.

about the buttons.. are all your buttons coded the same?
Re: Need help Today! EasyLancer
6/28/2007 7:14:03 PM
It's a nice website. I can see you've done alot of work on the artistic
side. But every button seems to open a new window with a seperate movie in
it & they all seem to take ages to load and I have a fairly fast cable
connection.

Take my word, your visitors will soon become disenchanted with it. Better to
have an under construction page I would have thought, until you get it all
working a bit more smoothly.

Lots of work needed optimising the finished file sizes & better to use
loadMovie to load your movie clips into different levels in the flash
player, than keep opening new browser windows.

Hope that helps. All the answers are in the Help files.


[quoted text, click to view]
Re: Need help Today! Raytown
6/28/2007 7:16:17 PM
Thanks I'll Check out the preloader.

Yes all my buttons are coded the same. I would really like to make the pages
to change in the same window. I thought all I would have to do is use "_self"
in place of "new" in my actionscript and it did not work.
Re: Need help Today! dzedward
6/28/2007 7:36:09 PM
Re: Need help Today! Raytown
6/28/2007 7:43:13 PM
Re: Need help Today! Raytown
6/28/2007 8:17:31 PM
Yay it worked!
Can you suggest anything about the pop-ups. I don't know how to begin with
that. Do I put something in the actionscript to tell it to pop-up and what size
window ..etc.?

If so, do you know what that script looks like or where find it. Thank you
soooo much for your help!
Re: Need help Today! dzedward
6/28/2007 8:34:45 PM
well in AS2 it would be this:See attached. As of now, I cant tell you what it
would be in AS3... I really have no desire to dive into AS3 as of yet.. I have
no reason to.. but you can use this and search around, maybe this will help
you out some.

my_btn.onRelease = function(){
getURL
("javascript:NewWindow=window.open('http://www.yoursite.com/popup.html','newWin'
,'width=400,height=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=
No,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}
Re: Need help Today! Raytown
6/28/2007 8:41:07 PM
Re: Need help Today! dzedward
6/28/2007 8:44:59 PM
AddThis Social Bookmark Button