Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-02-2005, 02:19 PM   PM User | #1
mark87
Senior Coder

 
Join Date: Dec 2004
Location: Essex, UK
Posts: 2,636
Thanks: 0
Thanked 0 Times in 0 Posts
mark87 is on a distinguished road
Help With My Flash Menu

Hey, was wondering if anyone could help. Basically the menu on www.downfallband.co.uk - at a resolution of 800x600 it is hardly noticeable but at larger resolutions the white bars do not extend to the whole width of the page.

Hope you understand what I mean, here is the Flash file -

http://mysite.wanadoo-members.co.uk/...band/SMenu.fla

Any help would be much appreciated!
mark87 is offline   Reply With Quote
Old 01-03-2005, 12:24 PM   PM User | #2
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
your .fla is fine, its the way you embed your flash file that could be a problem find where you embed your flash file into your page and change that code to
Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100%" height="40">
  <param name="movie" value="menu.swf" />
  <param name="quality" value="high" />
  <param name="scale" value="exactfit" />
  <embed src="menu.swf" quality="high"  scale="exactfit" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="40"></embed>
</object>
what this does, is gives the width of the flash 100% size of the page, and using the parameter scale=exactfit it wont resize the height of your menu, its what you wanted i think but i dont know if you will like the look, it spreads out the links across the page if that is okay
you would also have to specify the margins in your css style code, you can do this by adding
Code:
margin-left:0px;
margin-right:0px;
to your body style so your new css would look like this
Code:
<style type="text/css">
  body {
    margin-left:0px;
    margin-right:0px;
    scrollbar-face-color: #262626;
    scrollbar-arrow-color: #FFFFFF;
    scrollbar-track-color: #000000;
    scrollbar-shadow-color: #000000;
    scrollbar-highlight-color: #595959;
    scrollbar-3dlight-color: #333333;
    scrollbar-darkshadow-color: #404040;
  }
</style>
hope that is what you were looking for
_Aerospace_Eng_ is offline   Reply With Quote
Old 01-03-2005, 04:27 PM   PM User | #3
mark87
Senior Coder

 
Join Date: Dec 2004
Location: Essex, UK
Posts: 2,636
Thanks: 0
Thanked 0 Times in 0 Posts
mark87 is on a distinguished road
Thanks for the reply, it helps so far as it seemed to solve the problem, but I don't really wish to have the menu so stretched out across the width of the page.

I should've explained better... If you place the mouse over the word 'info' the white bar extends nearly all across the page (this is how I want it to be), but if you mouseover 'news' the bar stops before it reaches fully right, and if you mouseover 'more...' the bar stops before it reaches fully left.

I hope I explained that good enough!

Last edited by mark87; 01-03-2005 at 04:30 PM..
mark87 is offline   Reply With Quote
Old 01-03-2005, 04:56 PM   PM User | #4
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
aight i see what you want to do now, unfortunately i dont have the time to edit the fla file for you but, what i can tell do is point u in the right direction if you find the corresponding buttons, you can click on each of the frames and position the white box in the movie clip, in order to make this easier, you would have to open the library, you can do this by clicking on the windows menu and then clicking on library, u will then get a panel that has all the movie clips, buttons, etc
_Aerospace_Eng_ is offline   Reply With Quote
Old 01-03-2005, 05:26 PM   PM User | #5
mark87
Senior Coder

 
Join Date: Dec 2004
Location: Essex, UK
Posts: 2,636
Thanks: 0
Thanked 0 Times in 0 Posts
mark87 is on a distinguished road
Ok no worries I shall take a look at it, although my Flash skill level is next to nothing! :P I'll ask if I need further help.

EDIT - I tried, couldn't see any difference in the widths of the bar between the different menu's . If you could advise exactly what to do that'd be really helpful.

Last edited by mark87; 01-03-2005 at 05:37 PM..
mark87 is offline   Reply With Quote
Old 01-03-2005, 05:49 PM   PM User | #6
mark87
Senior Coder

 
Join Date: Dec 2004
Location: Essex, UK
Posts: 2,636
Thanks: 0
Thanked 0 Times in 0 Posts
mark87 is on a distinguished road
Hmm in fact I just checked in a higher resolution and none of them seem to be the same length! Again, any help is much appreciated.
mark87 is offline   Reply With Quote
Old 01-03-2005, 06:08 PM   PM User | #7
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
i dont know how to get them to span across the screen using just by working with the fla file only way i know is the way i already showed u, but you can adjust the width of them by going into the library and finding the particular button you want to edit and double click on it, this will bring it into the work space and will highlight the layer that it is in, in that layer if you click on each frame you will see the menu change in the work space, you would have to edit the width of the menu in each frame to get it the way you want, personally think the way i showed you earlier made the site look a bit better, but thats just a personal preference, it gave the effect of more content, i dont know if that makes sense to you
_Aerospace_Eng_ is offline   Reply With Quote
Old 01-03-2005, 06:26 PM   PM User | #8
mark87
Senior Coder

 
Join Date: Dec 2004
Location: Essex, UK
Posts: 2,636
Thanks: 0
Thanked 0 Times in 0 Posts
mark87 is on a distinguished road
OK thanks I will just do what you suggested originally.
mark87 is offline   Reply With Quote
Old 01-04-2005, 02:25 AM   PM User | #9
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
when i have time i'll look at the flash file and try to edit for you, so you want the white bar to be all the way to the left and end a bit from the right? im not guaranteeing that it will span across the whole page
_Aerospace_Eng_ is offline   Reply With Quote
Old 01-04-2005, 11:25 AM   PM User | #10
mark87
Senior Coder

 
Join Date: Dec 2004
Location: Essex, UK
Posts: 2,636
Thanks: 0
Thanked 0 Times in 0 Posts
mark87 is on a distinguished road
It's ok, I did what you suggested and it will suffice, thanks anyway.
mark87 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:00 PM.


Advertisement
Log in to turn off these ads.