DIRE * Need help with flash/xml for HW due tommorow :(

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Platypus

Lifer
Apr 26, 2001
31,046
321
136
Originally posted by: rh71
Originally posted by: CorporateRecreation
Ok it loads but now it's small as hell and the backround is white, anyway to change it to grey in the XML code and to make it larger?

Use this...
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="640" HEIGHT="480" id="menu" ALIGN="">
<PARAM NAME=movie VALUE="menu.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="menu.swf" quality=high bgcolor=#FFFFFF WIDTH="640" HEIGHT="480" NAME="menu" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>

If the size is too large/small... play around with the WIDTH/HEIGHT. About the menu being white and the rest of your page being gray, if you make your menu gray, the menu items will disappear because they're gray too. My advice to you is to change the rest of your page white instead of gray.

If you must make your menu gray, the code is:
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="640" HEIGHT="480" id="menu" ALIGN="">
<PARAM NAME=movie VALUE="menu.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#999999> <EMBED src="menu.swf" quality=high bgcolor=#999999 WIDTH="640" HEIGHT="480" NAME="menu" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>

BUT, you must then edit your XML file for colors to make the menu items show up as another color. (see the hassle?).

i change it to what your code is and now it's a white box again with a scroll bar and it's white? :(
 

rh71

No Lifer
Aug 28, 2001
52,844
1,049
126
Ok, one last attempt... try this (for a white menu, not gray):

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="100%" HEIGHT="100%" id="menu" ALIGN="">
<PARAM NAME=movie VALUE="menu.swf"> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="menu.swf" menu=false quality=high bgcolor=#FFFFFF WIDTH="100%" HEIGHT="100%" NAME="menu" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>

The only change is the width/height are now percentages. Adjust as necessary. If you're going gray, modify all instances of #FFFFFF to #999999 and then change you XML file for colors (so you can see the menu items).
 

agnitrate

Diamond Member
Jul 2, 2001
3,761
1
0
Getting closer Drew.... go for the gold!!! :)

Yeah, that's all I can say cause I have no clue about flash/xml but I'm still playing with your site.

-silver
 

Platypus

Lifer
Apr 26, 2001
31,046
321
136
Ok thanks for your help, I pretty much got it, but now when I change the XML values for font colour, they don't change :-\
 

rh71

No Lifer
Aug 28, 2001
52,844
1,049
126
Originally posted by: CorporateRecreation
Ok thanks for your help, I pretty much got it, but now when I change the XML values for font colour, they don't change :-\

Most likely because of caching. It's a pain in the @$$ to test these sorta things. Just clear your IE (assuming) cache and close ALL your IE's. Re-open it and load the page again.
 

rh71

No Lifer
Aug 28, 2001
52,844
1,049
126
Originally posted by: CorporateRecreation
Thank you so much rh71, got it :)

I just realized it's been 90 minutes since I first replied. Can I tell you how much I make per hour? ;)

j/k.. not a problem... have fun learning Flash.