Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Site Design / June 2007



Tip: Looking for answers? Try searching our database.

Need help Today!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Raytown - 28 Jun 2007 18:46 GMT
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
dzedward - 28 Jun 2007 19:01 GMT
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?
EasyLancer - 28 Jun 2007 19:14 GMT
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.

>I am new am very new to flash. I have published a flash website and am
>getting
[quoted text clipped - 17 lines]
>
> Raytown
Raytown - 28 Jun 2007 19:49 GMT
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
Raytown - 28 Jun 2007 19:18 GMT
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);
dzedward - 28 Jun 2007 19:28 GMT
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);
Raytown - 28 Jun 2007 19:56 GMT
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
dzedward - 28 Jun 2007 20:06 GMT
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?
Raytown - 28 Jun 2007 20:16 GMT
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.
dzedward - 28 Jun 2007 20:36 GMT
where i place "_blank" is where you would place "_self".. self will open in current frame, blank opens a new window
Raytown - 28 Jun 2007 21:17 GMT
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!
dzedward - 28 Jun 2007 21:34 GMT
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);");
}
Raytown - 28 Jun 2007 20:43 GMT
ok I'll do that then. Thank you!
Raytown - 28 Jun 2007 21:41 GMT
Thank you for your help. You have been very patient and helpful! Have a great night.
dzedward - 28 Jun 2007 21:44 GMT
you're welcome. good luck!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.