Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Dropdown Rootmenu In Flash MX


Hi,

Lets start of with: I'm new here... Hi to everyone!

I found this site when I was searching for some scripts and good solutions for Flash.

Prob' my problem is really simple for some one who masters flash -which I dont.

I would like to know if there is any simple way of making an menu which looks like this:

START
INFO
CONTACT

and when you click on START

START
- PROJECTS
- TRAVEL
INFO
CONTACT

and then when you click on start again it will go back to starting position.

I hope I made everything clear for you, otherwize just ask!

Thanks in advance!

/C




ActionScript.org Forums > Flash General Questions > Other Flash General Questions
Posted on: 12-11-2007, 02:48 PM


View Complete Forum Thread with Replies

Sponsored Links:

Form Dropdown Help, One Dropdown Works How Do I Code The Other ?
I have a form with 2 comboboxes. One mc is comboselect the other comboselect2. My php code is:

<?php
$sendTo = "myemail@email.com";
$subject = "Contact Flash Form";
$headers = "From: $name<$email>
Reply-To:$email";
$message = "1.Name:$name
4.Email:$email
5.Contact Address:$address
6.Inquiry:$temp
7.Comments:$com ments";
mail($sendTo, $subject, $message, $headers, $category);
?>

the flash AS on submit button is:
on (release) {
trace(name+'
'+email+'
'+address+'
'+temp+'
'+ comments);
}
on (release) {
loadVariablesNum("contacts.php", 0, "POST");
_root.nextFrame();
}

the flash AS on one of the comboboxes is:
this.stop();
myData = new Array('New York', 'Beverly Hills', 'Miami', 'other');
for (i=0; i<myData.length; i++) {
comboselect.addItem(myData[i], i);
}
function comboDisplay(component) {
temp = component.getSelectedItem().label;
}
comboselect.setChangeHandler("comboDisplay");

2nd combobox AS:
this.stop();
myData = new Array('10mil', '50mil', '100mil');
for (i=0; i<myData.length; i++) {
comboselect2.addItem(myData[i], i);
}
function comboDisplay(component) {
temp = component.getSelectedItem().label;
}
comboselect2.setChangeHandler("comboDisplay");

only info comes through is for the 2nd combobox - 10mil, 50mil, or 100mil
what do I need to add to the PHP and AS to have the other combobox info be emailed ?

View Replies !    View Related
Flash Dropdown X And Y
Hi,
I am attaching movies through linkage i my library, and that part is working fine. They are loading into an empty movie clip. The attached movie that loads has a couple dropdown boxes in it, and when I click on the dropdown box, the contents of the drop down has a different X, Y coordinate. It hangs out all the way to the left of the screen top justified? Is there a way to force an X,Y for the drop down, or have it not do that. Below is my attach movie code.

_root.attachMovie("Sarasota", "hotel_loader_info", _root.getNextHighestDepth(), {_x:442.0, _y:11.5});


the attached clip "Sarasota, has a form with dropdown boxes on its frame2.

Thanks for your help

Mike

View Replies !    View Related
One Dropdown Affects A Second Dropdown, HOW?
i have an HTML form where one dropdown (DEPARTMENT) causes another dropdown (AUTHORIZE) to to have it's contents changed.

For example, if the user selects 'Accounting' from DEPARTMENT, then in the AUTHORIZE dropdown, only Accounting department names appear. The user then has to select one of the names.

I want to do the same thing in a flash form, can I just copy and paste my scripts? I am using arrays.

ANY help is greatly appreciated!!!!!
THANKS!

View Replies !    View Related
Reading In From A Dropdown In Flash...
Okay im doing a basic flash menu driven interface for a module.. and ive hit a problem...


Ive ask a user to enter there name so that it can be used later on in a certificate at the end of a quiz.

It Reads username + " has completed the quiz" (this bit works fine)

Now my main problem is on the same frame where the user enters there name, there is a drop down when they state if they are a boy or girl.... i wanted to use this later on the certificate frame to contiue the above so it says:

he (or she) " has a score of"

But i dont have a clue how to do this.. help!!!!!!

View Replies !    View Related
Dropdown Menu Help In Flash MX
Hi,

I'm having serious difficulties trying to make my dropdown menu work. I've gotten the whole movie clip so that when I mouse over it, it shows the other three subcategories, but when I click in either one of them they don't connect to the other scenes of my project...

I've make such sub-buttons to be tracked as menu items, and tracked as buttons and none of these options work. Each one of these sub-buttons have a "on release" action script "to go to and stop" on frame 1 of x,y, or z scenes...

Basically my sub-buttons are dead as a tired donkey!

I need help, I've been dealing with this for weeks.

Thanks community!

View Replies !    View Related
Flash Dropdown Banner Ads
I'm sure everyone has seen the "New" types of banner ads, which are flash movies being played OVER existing content. There are examples everywhere.

You'll go to a web site, the HTML content will load, and then all of a sudden an ad for MASTERCARD will show up out of knowhere.

Does anyone know how to do this? Or at least, does anyone know how to create a flash movie with NO background color or a TRANSPARENT background. I can get a flash movie to pop up on a page ... but I'd like to make it so that the HTML page will "peek" through the transparent part of my Flash movie.

Any ideas?

View Replies !    View Related
Flash And Javascript Dropdown
i was wondering... with java you can make some sort of division inside a webpage, where you can click on a button orlink then something will open under it, showing text, or a picture...

now here's the q:

can we use javascript to make a dropdown containing a flash file?

View Replies !    View Related
Flash Dropdown Menu Help
Hello experts

I bought the flash dropdown menu from www.flashmenufactory.com and when i install the software and start it, i get a message "Cannot Create Active X Component"

I have the latest flash player installed also but i dont know why i get that msg when i try to create a dropdown menu.

Pls help.

Thank You

View Replies !    View Related
[F8] Flash Dropdown Navigation
Hello all;

Having trouble with dropdowns sticking in Flash (mouse not registering rollout/rollover correctly) -

I'm currently using a mc rollover function that tells another mc to dropdown; with a hit-test to tell the dropdown not to go away when you rollout of the initial mc onto the dropdown mc;


Code:
this.onRollOver = function(){
gotoAndPlay("btnOver");
_root.1_roll_mc.gotoAndPlay("Down");
}

this.onRollOut = function(){

this.gotoAndPlay("btnOut");

if (_root.hitTest(_root.1_roll_mc._xmouse, _root.1_roll_mc._ymouse, true)) {
_root.1_roll_mc.gotoAndPlay("9")
}

else if (_root.hitTest(_root.1_roll_mc._xmouse, _root.1_roll_mc._ymouse, false)) {
_root.1_roll_mc.gotoAndPlay("Up");
}

}

I also tried a series of if, then statements to eliminate the sticking, saying when you rollover this movie clip, tell all other movieclips to go away;


Code:
on (rollOver) {
if (_root.2_roll_mc._currentframe == "9") {
_root.2_roll_mc.gotoAndPlay("Up");
}

else if (_root.2_roll_mc._currentframe == "1") {
_root.2_roll_mc.gotoAndStop("1");
}}
I got some of these ideas in posts, but haven't eliminated the issue.

Basically I'm trying to understand the most error-proof way of doing these dropdowns as this is my first all-flash site design.

An example I found (http://80.ufc.com/) works really well, I figure it uses some other scripting as well.

Thanks-

View Replies !    View Related
Flash And Dropdown Menus
Hello,

I am designing a website including a flash movie and a dropdown menu. The flash movie is currently showing over the menu. How do I fix this?

Thanks.

View Replies !    View Related
Flash MX Dropdown Menu
How can I make a simple dropdown menu in Flash, without using XML? I have attached the .fla file. This is for a school assignment, so I need this really soon. I want the boxes below the headings to appear/dropdown when the heading is hovered over. This is targeted at elderly people, so it needs to be simple. Any help would be much apreciated.

~Doo Doo

View Replies !    View Related
Flash Dropdown In Dreamweaver
I'm a Flash novice, but...

I've created a dropdown menu in Flash (MX 2004), but when I put it in my webpage, the table cell takes on the size of the entire stage instead of just the "button." This is a hybrid HTML/Flash site.

Any ideas on re-sizing?

View Replies !    View Related
Flash MX Dropdown Menu
How can I make a simple dropdown menu in Flash, without using XML? I have attached the .fla file. This is for a school assignment, so I need this really soon. I want the boxes below the headings to appear/dropdown when the heading is hovered over. This is targeted at elderly people, so it needs to be simple. Any help would be much apreciated.

~Doo Doo

View Replies !    View Related
Dropdown Menu (rollover) In Flash 4
Hi,
Is there a way of creating a drop down menu when you rollover or click a button, revealing other menu items in Flash 4.
Thanks

View Replies !    View Related
Creating A Dropdown List With Flash 5?
How can I create a drop down list where a user can choose a page, and, after he has choosen from the dropdown list, he is automatically taken to the page choosen from the list?

View Replies !    View Related
Flash Movie On Top Of Dropdown Menu?
I have a html document with a javascript drop down layer menu in the top.
Under the menu I have a flash movie.

Problem is:

When I mouse over the drop down menu the flash movie is on top of the drop down so you can't see the menu.

Can somebody help me please??



Regards

Godowsky

View Replies !    View Related
Dropdown Menus On Banner Ad's. Flash 5
Can you put a dropdown menu on a banner-ad? If so, would it be compatible with Flash 5?

View Replies !    View Related
Dropdown Menus And Submenus In Flash Mx
hello...

i am having the worst time trying to do dropdown menus in flash mx. does anyone have any suggestions for finding examples and help with the actionscript code? some of the examples that have been posted are in different languages and/or too difficult to fit what i'm trying to do. the main navigation bar is horizontal across the page and i'd like to do virtical dropdowns with submenus underneath each selection. if anyone can help, i'd be so thankful...

regards

View Replies !    View Related
Where In Flash Mx Can I Find The Dropdown Menu
http://www.flashkit.com/tutorials/Ac...-870/index.php if ya go to this turtorial then it's not for flash mx and i can't find the dropdown menu plz help me

View Replies !    View Related
Dropdown Submenu Over A Flash Movie?
Hello all,

With the help of Fireworks, I have a JavaScript navigation bar across the top of my site in one table and a FlashMX movie (.swf file) directly below it in another table. The nav bar has dropdown menus on mouse over and these are the problem...

I want the dropdown submenus to drop OVER my .swf movie and they're consistently dropping down behind the Flash movie thereby hiding the menu choices.

Is it at all possible to force my submenus to drop down over the top of my FlashMX movie? How would I accomplish this little miracle? Modification of the JavaScript or the Flash movie?

TIA!!

View Replies !    View Related
Flash Sitting UNDER An HTML Dropdown?
I have flash (that lives in a DHTML) layer, that appears after a few seconds. That works fine, the problem is that there is an HTML dropdown menu on the page as well, and it sits above the flash layer. I need my Flash to sit above EVERYTHING on the page. I thought that no matter what, flash will ALWAYS sit on top of HTML in IE.

I searched the threads here in FK and found that what I am having trouble with should not be happening. The threads I have read were from people that did NOT want their Flash to be on top of the HTML drop down, but it was. this is weird...

Please help!

Thanks!

View Replies !    View Related
Flash Dropdown Menu Over Html
Hi!
Is there a way of having a flash dropdown menu go over the html page and if so what script do i need to use to do this? The dropdown swf is inserted into my html page so i can have the sites text in html -
any help muuuuuuuuuuch appreciated!

Martyn

View Replies !    View Related
Flash Interaction With Dropdown Menu HELP
www.entellium.com the drop down menus at the top are dropping behind the flash animation so they are unable to be clicked, can anyone help??
thanks

View Replies !    View Related
Dropdown Menus In Flash Slides
can anyone help me out here.

i want to create a flash slide presentation with navigation. the main proplem is i have a drop down menu in the main presentation screen, that i want to be usable in all screens,

at the moment the depth of the main presentation screen is below the rest (even the nested screens) so when i use the drodown it drops behind objects

how can i make this menu stay on top, without having to put the menu on every single screen?

please help...............

View Replies !    View Related
Flash Showing Above Dropdown Menu...
I know there is a bit of code that can be added so that the Flash file goes behind dropdown menus, instead of the top layer as it is set for default... What is the code?

View Replies !    View Related
Flash Embed And Css Dropdown Issues
Hey all, Ive got a flash animation which has photographs of nice things in it. I also have a css drop down menu which disappears behind the flash anim on load. I thought this was easily fixable setting the wmode to transparent - didnt work, tried opaque, didnt work, then i read that you have to make all of ure images as transparent png files. All well and good, but the onyl transparency u can get through fireworks is with png 8 which looks crap !! Can anyone offer any advice>?

cheers!!!!

View Replies !    View Related
Getting Flash Dropdown To Display Over HTML
I'm sure this is a stupid question, but I'd really appreciate anybody's input.

At http://www.echobloom.com/index2.php I've got a dropdown menu that, with all menu options fully extended is ~210 px tall (the main menu options themselves are only about 35 px tall). I'm trying to get the HTML elements in the page to display directly under the main menu options, as opposed to under the entire menu (which sort of defeats the purpose of the dropdown) - but I can't get my Flash to display ontop of the HTML.

Right now, there are essentially two elements - the Flash menu is in a div, which is at a z:index of 2. The HTML element is in a div with a z:index of 1, position:relative, and bottom:160px;. The HTML keeps appearing in front of the menu. Any helpful ideas?

View Replies !    View Related
Problem With Flash Dropdown Menu
Hi Friends

I am a new to Flash, I have following problem with flash dropdown menu -

I have a flash dropdown menu, when i try to incorporate in my htm page as -

<table>
<tr><td><embed ... menu.swf> </embed></td></tr>

<tr><td><img src="main.jpg"></td></tr>

</table>

the problem is first td automatically increases the height to accomodate full dropdown menu
leaving significant white space between both rows, same problem also comes when the next <TR>
contains some another flash file.

I would like to have dropdown to appear on that image or on flash file as we see normally

thanks in advance

cooldeep

View Replies !    View Related
Flash Dropdown Menu Issue
Hey Everyone,

I've got this dropdown menu I've built in flash and it doesn't always drop down on rollover... sometimes you have to rollover it 2x or aproach it from the bottom... its a tricky thing! I can't figure it out....

I'll attach the file; check it out and let me what needs to be tweeked to make it work

Thanks so much in advance.
mark

View Replies !    View Related
Flash Blocking CSS Dropdown Menu
I have a flash animation right below my navigation. The nav has drop down menus done in css/html. The flash appears on top of the submenus when they popup.

Has anyone ran into this problem and found a solution.

Z-Index doesnt seem to work.

Thanks
Dan

View Replies !    View Related
Problem With Flash Dropdown Menu
Hi Friends

I am a new to Flash, I have following problem with flash dropdown menu -

I have a flash dropdown menu, when i try to incorporate in my htm page as -

<table>
<tr><td><embed ... menu.swf> </embed></td></tr>

<tr><td><img src="main.jpg"></td></tr>

</table>

the problem is first td automatically increases the height to accomodate full dropdown menu
leaving significant white space between both rows, same problem also comes when the next <TR>
contains some another flash file.

I would like to have dropdown to appear on that image or on flash file as we see normally

thanks in advance

cooldeep

View Replies !    View Related
Dropdown Menu Hiding Behind Flash Movie
Can anyone help me!!?
I have a dropdown menu using Javascript in an include file for the top navigation of my site, and on the homepage there is a flash movie. When you navigate the dropdowns they appear behind the flash movie? anybody any ideas how to bring them to the front.?

View Replies !    View Related
Javascript Dropdown Menu Over Flash Movie
Help please.

I have a flash movie that is located below a javascript drop down menu system. The problem is that the flash movie seems to mask or block the drop down menu. Is there anyway to keep the menu system above the flash?

thanks in adavance.

mr.funk

View Replies !    View Related
Javascript Dropdown Menu Over Flash Movie
Help please.

I have a flash movie that is located below a javascript drop down menu system. The problem is that the flash movie seems to mask or block the drop down menu. Is there anyway to keep the menu system above the flash?

thanks in adavance.

mr.funk

View Replies !    View Related
Javascript Dropdown Menu Over Flash Movie
javascript dropdown menu over flash movie

Help please.

I have a flash movie that is located below a javascript drop down menu system. The problem is that the flash movie seems to mask or block the drop down menu. Is there anyway to keep the menu system above the flash?

thanks in adavance.

mr.funk

View Replies !    View Related
How To Stop Flash Player's Dropdown Menu?
Hi...

What I'm interested in is that... if you click the 'third mouse button' in the Flash player, you get this dropdown menu, with options such as zoom, play, and 'about Macromedia' and stuff.

For some websites, when you click the third mouse button, you only get two options, instead of ALL others... How do we do that?

View Replies !    View Related
Flash Covers Dreamweaver Dropdown Menu
Situation:Have page in Dreamweaver MX.
Page has navigation dropdown menu using built-in DW-MX tool.
Beneath this menu, added a Flash animation.
Problem:Animation "masks" the java dropdown menu.
Is there something I can do to remedy the situation?

Many thanks in advance for your help.

Jason Brennan
Information Systems Auditor
Georgia Institute of Technology

View Replies !    View Related
Flash Covers Dreamweaver Dropdown Menu
Situation:Have page in Dreamweaver MX.
Page has navigation dropdown menu using built-in DW-MX tool.
Beneath this menu, added a Flash animation.
Problem:Animation "masks" the java dropdown menu.
Is there something I can do to remedy the situation?

Many thanks in advance for your help.

Jason Brennan
Information Systems Auditor
Georgia Institute of Technology

View Replies !    View Related
Flash Moive Blocks My Dropdown Menu
Hi,

I have a dropdown menu that is coded by javascript and HTML. Everything works well, such as the hidden/visible layers. However, I have a flash movie below the menu. Whenever the dropdown menu overlaps with the flash movie, the menu will be hidden by the flash movie. I tried to use CSS to set the flash movie to the lowest layer, and made the dropdown menu on top of the flash movie, but the movie still blocks the menu. This only happens on PC. On Mac browsers, I don’t encounter this kind of problem. Does anyone have a solution for me?

Please take a look at the website, then you will understand better.
shiningchinatown.org/AAFE/

Thanks
Yishan

View Replies !    View Related
How Do I Create A Drop Down Or Combobox Dropdown In Flash 8
I need create a control with a several names x number could be 2 to 20 names in the control the control needs to be a symbol that i can drop on the page in a scene better said is the stage being viewed at the time in a frame. The control needs to contain the names or could be actual loaded from a action script. How does one go about just getting the contol created and droped on the stage. The user will open up the control and it will list the names user selects the name and the name will be displayed in the text box when the control closes - Can you help me explaining the best way to go about this and give me a example of how to do it. THANKS!!!!

View Replies !    View Related
Dropdown Menu Not Showing Over Flash Banner
dear flashkit,

I am making a website with a simple top menu (the links have drop down menus). Right below, i placed a flash banner which plays a short movie. (the structure is similar to the adobe.com site). I have already embedded the flash correctly but my problem is that the drop down menus don't show when the flash banner is inserted in the html page.

For the drop down menus, i used a simple one which i got from dynamic drive.
They work just fine without the flash banner.

Any help would be appreciated.

Tks, intan

View Replies !    View Related
[CS3] Dropdown Menu And Flash-banner Problem
Hi!

I have made a flashbanner. You can see it here: www.randersbib.dk (it's the one with the man that looks exhausted).

But there is a anoying problem: When you roll the cursor over the dropdown menu in the top, the parts of the dropdown that crosses the banner disapears behind the banner.

Do anyone know how to solve this problem, so that the dropdown menu wont disapear behind the banner?

Cheers Kasper

View Replies !    View Related
Flash Dropdown Menu Links Do Not Work
What I am trying to do is this:
A Flash drop down menu - I have
A MovieClip instance "servicesMCinst" with
CODE
// dropem is a label at frame 10
servicesMCinst.onRollOver = function() {
servicesMCinst.gotoAndStop("dropem");
}
// start is a label at frame 1
servicesMCinst.onRollOut = function() {
servicesMCinst.gotoAndStop("start");
}
END CODE
and similar for another one or two more MC instances.
For each MC at frame 10 (ie. "dropem") I have included some buttons below
each other.
each of the buttons has the code:
CODE
on(release){
getURL("http : // somewhere ");
}
END CODE

When I test, the showing and hiding of the dropdown buttons is fine
BUT
The buttons are not acting as a button acts ie.
There is no change in its mouse normal view vs mouse over view (or mouse
down view)
Also the getURL is not performed.

I guess it is simply just NOT recognising the mouse.

This has caused me so much time and effort, I would so much appreciate any
help you are prepared to give me.

Patrick

View Replies !    View Related
Initialise Flash Dropdown Menu In HTML
I am creating an email campaign with a click-through to a contact page on our site. I can initialise the Flash file to go to the contact page direct, but I don't know how to initialise the Dropdown menu component to go to a specific value at the same time. Can anyone help?

View Replies !    View Related
Insert Dropdown Menu In Flash File
I have one Flash file that simply has a JPEG map as a background image. Then I have another file with a dropdown menu. Can I save a swf file of the drop down menu, import it into my map Flash file, then place it on top of the map?

If so, please explain how. I've tried importing a swf of the dropdown into the map file library, then dragging it onto the map. However, it imports as a graphic symbol rather than a movie and the dropdown function doesn't work. (The menu works perfectly as a standalone swf).

I would like to keep the menu file separate as I need to make a bunch of different versions of the menu and drop them over different areas of the map.

The end product will look something like this menu that was built for me by a subcontractor. I'm trying to figure out how to do it myself rather than sub'ing it out.

http://www.sandiegohomesbythesea.com/Coastal_San_Diego_Communities/page_1813864.html





























Edited: 08/10/2007 at 05:10:36 PM by Suz Stephens

View Replies !    View Related
Flash With Javascript Dropdown Menu - Level?
I know the answer to this, but I want to be sure I'm right.

I have a webpage with a JavaScript drop-down menu.

I have flash piece right below that JavaScript dropdown window.

When the user mouses over the JavaScript menu, the menu drops down and disappears behind the flash piece below it so that users cant see the options on the dropdown.

Any idea how to allow the JavaScript to pop up OVER the flash?

I was thinking the answer is: There is no way, as flash retain the top level of an HTML page in order to pass mouse commands.

Ideas?

Thanks

View Replies !    View Related
Flash Google Adsense Ads Over Dropdown Menus
My vbulletin forum has adsense ads right under the navigation bar where the "quick links" and other drop down menus are.

Anyways, when Google shows flash based ads the drop down menus are hidden by the flash ad.

I've done some searching and found people talking about this line of code:
Quote:




<param name="wmode" value="transparent">




I must not understand how to use it because to me it looks like something you would have to add to the flash file which I have no access to since Google shows whatever ad they want.

Any help on this? What is the solution? Code examples would be awesome!

THANKS!

View Replies !    View Related
How To Make Smooth Dropdown Manu With Flash.
its me krish

i want know that how tomake a smooth drop down manu in flash .

i hope..........

View Replies !    View Related
[Flash-AS3.0] Problem With Dropdown Menu Class
Hi everybody! i'm learning how to use classes, and i'm developing a set of classes which construct a "panel-kind" dropdown menu, driven by an XML file...

the concept i'm working on is this:

on the main timeline i have a function that reads the content of the menu.xml file, shown here
Code:

<menuset language="ENG">
       
        <state ID="1" labelColor="0xB3B3B3"/>
        <state ID="2" labelColor="0xFFFFFF"/>
       
        <menuSpacing x="10" y="0"/>
        <panelOptions alpha="0.5" round="10"/>
       
        <menu ID="1" label=":Bitamine:" panelColor="0x00000" lineColor="0xFFFFFF">
           
            <section label="News" labelColor="0xFF6600" ID="31"/>
            <section label="Partners" labelColor="0xFFFFFF" ID="32"/>
            <section label="Profile" labelColor="0xFFFFFF" ID="33"/>
           
        </menu>
       
        <menu ID="2" label="Portfolio" panelColor="0x000000" lineColor="0xFFFFFF">
           
            <section label="Graphic" labelColor="0x00FF00" ID="12"/>
            <section label="Webdesign" labelColor="0x00FF00" ID="22"/>
            <section label="Misc." labelColor="0x00FF00" ID="23"/>
           
        </menu>
       
        <menu ID="3" label="Contact" panelColor="0x000000" lineColor="0xFFFFFF">
           
            <section label="Contact" labelColor="0x0000FF" ID="34"/>
           
        </menu>
       
        <menu ID="4" label="Users" panelColor="0x000000" lineColor="0xFFFFFF">
           
            <section label="Login" labelColor="0xFF0000" ID="41"/>
            <section label="Register" labelColor="0xFF0000" ID="42"/>
           
        </menu>
       
    </menuset>


For each "menu tag", the function creates an instance of a "PanelMenu" class, and for each "section tag" of the menu, the PanelMenu creates an instance of a "PanelItem" class, which contains the label TextField and the ID information for the project page to call...

each "PanelItem" creates an instance of a class called "PanelEvent", which dispatches an event containing the ID of the PanelItem clicked... i think is the only way to do it, i am wrong?

i tested the whole system, and everything works as expected, but now i have the problem for which i ask for help here... i have to capture the event where the function for setting the page resides (on the main timeline) and i don't know how to do it...

here is the PanelEvent class
Code:

package {

    import flash.events.EventDispatcher;
    import flash.events.*;
   import flash.display.*

    public class PanelEvent extends EventDispatcher
   {
        public var panelItemID:Number;
      public var panelItem:MovieClip;

        public function PanelEvent(item:MovieClip, itemID:Number):void
      {
         panelItemID = itemID; trace(itemID);
         panelItem = item;
         panelItem.addEventListener(MouseEvent.CLICK, dispatchID, false, 0, true);
        }

        private function dispatchID(evt:MouseEvent):void
      {
         trace("Dispatching event for PanelItem "+panelItemID);
         
            dispatchEvent(new Event("PanelClick"));
        }
    }
}


the tracing of ("Dispatching event for PanelItem "+panelItemID) occurs, and i think also the dispatching o the event, but now, assuming i have to listen to the event to occur by the main timeline, how i have to do it? i think by writing

this.addEventListener("PanelClick", handleClick, false, 0, true)

isn't it?

please, help me understand, i'm new to classes writing, and' i'm stuck on this problem since a week....

any help will be really appreciated! THANK YOU

View Replies !    View Related
Question About Dropdown Xml Driven Flash Menu Template
Ok, I have been messing with this flash stuff for a while now,
and I am starting to think I am not cutout for this. Here is my question:
I am working with the stock menu template that comes with flash mx.
I have it basically the way I want it accept I want to use it as a navigation bar (not only to make new browser windows). Can anyone tell me what to do? You can see the failure in action here
This is the attempt of making a new website by someone who would pay for it if he had money
Any suggestions?
Can this be changed in the xml?
I need a whole load of help with this website thing. If anyone is feeling gracious please don't hesitate to contact me.
Many thanks in advance for any help and/or opinions,
Heath

View Replies !    View Related
Flash Movie Clashing With Fireworks Dropdown Menu
My dropdown menu disappears behind the flash movie. Is there a way to cure this?

http://www.mc2.com.ky/beta/q&h/html/cayman.html

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved