Ho questo menu in flash: http://www.sitowebflash.com/caccavelli/Flash_Menu.swf
Dovrei mettere il testo del secondo pulsante "linea libero servizio formato famiglia" su due righe, così:
linea libero servizio
formato famiglia
ho provato mettendo un
tra una parola e l'altra ma non funziona.
Come posso risolvere? grazie
questo menu funziona con il file menu.xml:
codice:<?xml version="1.0" encoding="UTF-8"?> <menu type="Flash Menu Labs Open Source Edition (Vertical) www.flashmenulabs.com" > <spec_menu_params is_physic_enabled = "1" webmaster_text = "Smaple webmaster text" webmaster_url = "http://flashmenulabs.com" enable_soft_wave_when_appear = "1" comment = "to use this effect you should set is_physic_enabled = 1 " base_shift_x = "20" comment = "basic shift of the menu X" base_shift_y = "0" comment = "basic shift of the menu Y" appear_effect_pos_type = "0" comment = " Position Effect when appearing; 0 - no pos effect; 1 - from random pos; 2 - from sides" disappear_effect_pos_type = "0" comment = " Position Effect when disappearing" appear_effect_opacity_type ="1" comment = "Opacity Effect when appearing; 0 - no opacity effect;1 - simple fade in; 2 - luminiscent lamp" disappear_effect_opacity_type = "1" comment = "Opacity Effect when disappearing" flex_coef = "5.9" comment = "Physics, flexibility coef" decay_coef = "1.25" comment = "Physics, decay coef" random_coef = "0.0" comment = "Physics, coef of randomnes of physic parameters" /> <app_disapp_eff> <eff_pos max_time_to_wait = "0" accel_coef = "5" base_speed = "100" jump_coef = "0.33" even_odd_side_dist = "71" /> <eff_opacity max_time_to_wait = "0" time_to_appear = "2.1" time_to_disappear ="2.1" /> </app_disapp_eff> <level numb= "0" comment = "for root menu level" fixed_menu_width = "120" comment = "minimum width of menu item. Setting to -1 make it autosized " menu_height_coef = "1.2" comment = "the resulting menu height will be text height multiplyed by this coef" dist_between_menu_items_x = "0" dist_between_menu_items_y = "1" > <font comment = " font parameters in 3 states normal, mouseover,selected" size = "12" underline_normal = "0" underline_mouseover = "1" underline_selected = "1" bold_normal = "0" bold_mouseover = "0" bold_selected = "0" color_normal = "0xFFFFFF" color_mouseover = "0xFFFFFF" color_selected = "0xFFFFFF" /> <place_dist border_dist = "10" comment = "distance between menu item left border and text" /> </level> <level numb= "1" comment = "for all menu sublevels" fixed_menu_width = "10" comment = "minimum width of menu item. Setting to -1 make it autosized " menu_height_coef = "1.1" comment = "the resulting menu height will be text height multiplyed by this coef" dist_between_menu_items_x = "2" dist_between_menu_items_y = "1" > <font comment = " font parameters in 3 states normal, mouseover,selected" size = "11" underline_normal = "0" underline_mouseover = "1" underline_selected = "1" bold_normal = "1" bold_mouseover = "1" bold_selected = "1" color_normal = "0x424242" color_mouseover = "0xEEEEEE" color_selected = "0xEEEEEE" /> <place_dist border_dist = "10" comment = "distance between menu item left border and text" /> </level> <menu_structure> <item> <item text = "linea libero servizio" url = "" url_self = "1"> </item> <item text = "linea libero servizio formato famiglia" url = "" url_self = "1" > <item text = "Overview" url = "" url_self = "0" /> <item text = "History" url = "" url_self = "1" /> <item text = "Team" url = "" url_self = "1" /> <item text = "Partners" url = "" url_self = "1" /> <item text = "Career" url = "" url_self = "1" /> </item> <item text = "linea derivati" url = "" url_self = "1" > <item text = "Multi-device" url = "" url_self = "1" /> <item text = "Monitoring" url = "" url_self = "1" > <item text = "Temperature" url = "" url_self = "1" /> <item text = "Humidity" url = "" url_self = "1"/> <item text = "Acceleration" url = "" url_self = "1"/> <item text = "Wind Speed" url = "" url_self = "1"/> <item text = "Light Detectors" url = "" url_self = "1"/> </item> <item text = "Nanotechnology" url = "" url_self = "1" /> <item text = "Solar Energy" url = "" url_self = "1" /> <item text = "Electric Cars" url = "" url_self = "1" /> <item text = "Electric Scooters" url = "" url_self = "1" /> </item> <item text = "Products" url = "" url_self = "1" > <item text = "Eagle-M" url = "" url_self = "1" /> <item text = "Eagle-2M" url = "" url_self = "1" /> <item text = "Controllers" url = "" url_self = "1" /> </item> <item text = "Support" url = "" url_self = "1" > </item> <item text = "Contact" url = "" url_self = "1" > </item> </item> </menu_structure> </menu>

Rispondi quotando