Computing.Net > Forums > Web Development > Flash and HTML

Flash and HTML

Reply to Message Icon

Original Message
Name: heluvatuff
Date: February 20, 2004 at 12:27:10 Pacific
Subject: Flash and HTML
OS: Windows XP
CPU/Ram: 512
Comment:

I created a menu with submenus in Flash and I am having trouble placing it on my webpage. I can get the menu to display and function on the page, but I am having trouble with the formatting. When I place the menu on the page, it bumps all of the text on the page 600px below the menu.

The menu, when not expaned is about 100 px, but when it is expaned it is 600px. The text below the menu gets bumped 600px below the menu before the menu is open because the flash object is taking up that much space.

Is there a way to "bump" the text up against the bottom of the menu so that when I open a subMenu item the menu item goes over the top of the text.



Report Offensive Message For Removal


Response Number 1
Name: Jamie_McCoy
Date: February 20, 2004 at 14:31:28 Pacific
Reply: (edit)

have u got a link to the web page so we can see your problem clearly?

Regards, Jamie McCoy


Report Offensive Follow Up For Removal

Response Number 2
Name: heluvatuff
Date: February 20, 2004 at 16:35:11 Pacific
Reply: (edit)

Sorry about that.

http://heluvatuff.no-ip.org:6885/menu.html

Any help or ideas for better flash development are welcome.


Report Offensive Follow Up For Removal

Response Number 3
Name: ehab
Date: February 23, 2004 at 15:21:54 Pacific
Reply: (edit)

hi .. i don't understand what you really need ..
but if i got it right .. you need to put a text under the submenus (when they open) ...
if so..
1- don't do that since that will make your site messed up ...
2- if you wanna do so , i guess the only way is to add the text into your flash movie , as a part of the movie ... and put the menu layer above the text layer ...
if i didn't answer your question , plz try explaining more ... :(

bye .. and good luck on your site ...


Report Offensive Follow Up For Removal

Response Number 4
Name: 3Dave
Date: February 24, 2004 at 07:14:26 Pacific
Reply: (edit)

You can achieve what you want with layers but it may not be visiable in 100% of browsers. Have a look at this:
http://www.loopcoms.com/temp/menu.html


Report Offensive Follow Up For Removal

Response Number 5
Name: ehab
Date: February 24, 2004 at 13:58:55 Pacific
Reply: (edit)

hi 3Dave
hi all...
its true your text will not be visible on all browsers , but it will be visible on all computers that have a flash player installed , and now all new windows version's have it already in the operating system ...
so , if flash player will not be installed , the text will not be viewed , and same to the menu that will not be viewed too ...
thanks all ..

ehab


Report Offensive Follow Up For Removal


Response Number 6
Name: heluvatuff
Date: February 24, 2004 at 14:05:41 Pacific
Reply: (edit)

That's what I figured.
I didn't want to put the text in the flash portion. Rather, I wanted the flash movie to some how go on top of the html text on the html page.

Thanks for the help, but it looks like I'm at a loss.

Thanks all


Report Offensive Follow Up For Removal

Response Number 7
Name: 3Dave
Date: February 25, 2004 at 03:33:20 Pacific
Reply: (edit)

When I said it wont be visible in all browsers, I was not referring to whether they have the flash plugin installed or not but whether it is able to render a transparent background for the movie. Have a look at the page I modified (http://www.loopcoms.com/temp/menu.html) in IE which works fine and then try it in mozilla....


Report Offensive Follow Up For Removal

Response Number 8
Name: gloit
Date: March 5, 2004 at 15:09:19 Pacific
Reply: (edit)

Have you tried using a style sheet to put the menu on a different z-index then the rest of the page? For example give the menu a z-index of 2 and the rest of the page a z-index of 1. Not positive this will work but worth a try as it only takes a couple of seconds.


Report Offensive Follow Up For Removal






Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Flash and HTML

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge