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




Linking Dynamic Menu Items?



Okay, i'm playing with tutorial 58 - Dynamic Menu with submenu, and I'm stumped on something that really shouldn't be that hard.

http://www.actionscript.org/tutorial...us/index.shtml

I've got the menu all done and now I am trying to use the submenu items to load dynamic jpgs into an empty MC. The tutorial explains how to link the buttons using getURL and I can do that fine, but of course the jpg just loads in a new browser window.

here is the generic AS on the submenu button using getURL:

code: on (release) {
myURL = eval("_root.urls"+choice);
if(myURL != null){
getURL(myURL);
}
}

Now, I thought I should just be able to use another command instead of getURL but I'm not sure what to use and everything I've tried goes kapuzt.

Here's what I've got:

code: on (release) {
subLink = eval("_root.slink"+choice);
if (subLink != null) {
GetURL(subLink);
}
}

the _root.slink value is this:

slink11 = "portjpgs/2003.01/01.jpg",pictMC,-20000;


So I guess two things

1) What comand should I use?
2) And how do I target the movie clip and depth? (I'm pretty sure I've got it wrong right now...)


Thanks for all your help,

Gabe



FlashKit > Flash Help > Flash ActionScript
Posted on: 02-03-2004, 08:32 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Dynamic Menu Question - More Than 9 Items In Sub Menu
Greetings,

I'm trying to use a dynamic menu from an actionscripts.org tutorial.

However it will only allow a maximum of 9 sub menu items. I would like to use up to 20. I believe it involves this line of script:

this[name+n].choice = (i*10) + n;

How would I change the actionscript in this file to allow that?

Thanks in advance.

Here is the relevant script:

//initialize main menu
for (i=1; i<=_root.total; ++i) {
//duplicate movie clip
menuMC.duplicateMovieClip("menuMC"+i, i);
//set new position
this["menuMC"+i]._y = this["menuMC"+(i-1)]._y+this["menuMC"+(i-1)]._height;
this["menuMC"+i].choice = i;
//create a variable to record the levels of the created MCs
levelTrack = i;
}
//initialize submenu by creating and positioning movie clips
for (i=1; i<=_root.total; ++i) {
//check to see if the item has a submenu
if (_root["subText"+i]>=1) {
name = "stext"+i;
for (n=1; n<=_root["subText"+i]; ++n) {
levelTrack += 1;
subMenuMC.duplicateMovieClip(name+n, levelTrack);
this[name+n]._visible = false;
this[name+n].choice = (i*10) + n;
}
//position first submenu item under parent
this[name+1]._y = this["menuMC"+i]._y+this["menuMC"+i]._height;
//position rest of submenu items
for (n=2; n<=_root["subText"+i]; ++n) {
this[name+n]._y = this[name+(n-1)]._y+this[name+(n-1)]._height;
}
}
}

//hide all the submenu items and return the main menu items to their start position
function resetMenu() {
for (i=1; i<=_root.total; ++i) {
if (_root["subText"+i]>=1) {
name = "stext"+i;
for (n=1; n<=_root["subText"+i]; ++n) {
this[name+n]._visible = false;
}
}
this["menuMC"+i]._y = this["menuMC"+(i-1)]._y+this["menuMC"+(i-1)]._height;
}
}
// called by clicking the main menu buttons, this shows the submenu and moves the main menu buttons to give them space
function submenuShow() {
resetMenu();
if (_root["subText"+choice]>=1) {
name = "stext"+choice;
for (n=1; n<=_root["subText"+choice]; ++n) {
this[name+n]._visible = true;
}
this["menuMC"+(choice+1)]._y = this[name+(n-1)]._y+this[name+(n-1)]._height;
for (i=choice+2; i<=_root.total; ++i) {
this["menuMC"+i]._y = this["menuMC"+(i-1)]._y+this["menuMC"+(i-1)]._height;
}
}
}

Loading Dynamic Menu Items From Sol
i am thinking of having users add items to a menu, from an sol. does anyone know if this is possible? If so, how can I dynamically pull menu items from a file.

any help would be greatly appreciated.

gkc

Dynamic Menu Items Disappearing Text?
hey, i have created a menu that dynamically loads text for each menu item from an XML file. it works fine, but i added a rollover event to each item, and when you rollover the items, the text disappears and will never come back until you reload the swf file!!
i tried a buncha things like reloading the text after the rollover effect was triggered, but nothing seems to work!!

heres my as code:

Code:


Menu_Data = new XML();
Menu_Data.ignoreWhite = true;
Menu_Data.onLoad = function() {
menuItem = this.firstChild.childNodes;
for (var i = 0; i < menuItem.length; i++) {
item = _root.attachMovie("itemClip", "itemClip"+i, i);
item._y = 20;
item._x = 120*i;
item.itemText.itemLabel.text = menuItem[i].attributes.name;
item.Url = menuItem[i].attributes.url;
item.onRelease = function() {
getURL(this.Url, "_self");
};
item.onRollOver = function() {
this.itemText.itemLabel.textColor = 0xFF0000;
this.button.goToAndStop(2);
};
item.onRollOut = function() {
this.itemText.itemLabel.textColor = 0xAAAAAA;
this.button.goToAndStop(1);
};
}
};
Menu_Data.load("menu.xml");




thanx for anything!
dT[]

Linking A Dynamic Menu From Laco Tweening Class
hi,
maybe somebody of you knows the tweening class from laco. I found a really interesting menu - example on the page:

http://laco.wz.cz/tween/?page=examples

(the first example on top)

as I understood the menu is generatet dynamicly out of the AS:

Code:
stop();
// add items to menu
ymenu_mc.addItem("01", {text:"News", color:0xFF0000});
ymenu_mc.addItem("02", {text:"Products", color:0x00FF00});
ymenu_mc.addItem("03", {text:"Portfolio", color:0xFFFF00});
ymenu_mc.addItem("04", {text:"Contact", color:0x0000FF});
I downloaded the FLA but I have no idea how to link the menubuttons?!

Where or how can I tell the buttons what to do. for example loadMovie...

maybe somebody knows what to do...

thanx dasend

LINKING Items In Combo Box
Ive having a problem with my combo box in flash mx. _I got to the point at which you can make the menu drop with the titles. _But now after, weeks of exstensive research, Im still having a problem to make the items in the menu selectable. _ I want to allow the user to select ex. Photography, and i want photography title to link you to the photography scene. _Is there any way possible you can take me through the steps to link my pages to items in my combo box.

Looking forward to hearing from you

Romal

Printing Specified Areas And Linking Dragable Items?
I'm pretty new to flash, and have dived right in. I'm making a fairly complex interactive "paperdoll" style program. You can see an early demo/beta version at www.selinafenech.com/demo.html
I need a bit of help to get it finished though!
First: When you make an instance dragable, is there a way to link/group it with another dragable instance on a different layer, so that when one is dragged, the other drags as well?
Second: I've read in the flash help a bit about specifying printable areas, but don't really understand or cant get it to work anyway. I want to be able to make only part of the movie print (eg, only the left side, rather than the whole movie). Is this possible?
PS, I'm using Flash 5

How To: Create A Drop Down Menu With XML Data For Menu Items
Can anyone help by showing me or pointing me in the right direction of how I'd go about creating a drop down menu and populating the menu items from an XML file?

I'm creating a tour sort of thing and I have it pulling in the slides of the tour from an XML file and all the next/prev buttons are working fine. I wanted to add a drop down menu from the top that has the menu items pulling in from elements from the XML file. Possible? Ideas?

Thx

XML Menu Tute: Reference Item Within Menu Items
With reference to: http://www.kirupa.com/developer/acti...pdown_menu.htm

Im using a version of this menu, but each menu item has another movie clip inside it.

I cant for the life of me work out how to give this sub clip its own function?

I've tried setting the onRelease to be triggered by the 'background' movie clip of the menu item but this stop the menu working, and when I reference any other sub clips like so: curr_item.someClip.onRelease ...there's also no response.

Where am i going wrong?

How To: Create A Drop Down Menu With XML Data For Menu Items
Can anyone help by showing me or pointing me in the right direction of how I'd go about creating a drop down menu and populating the menu items from an XML file?

I'm creating a tour sort of thing and I have it pulling in the slides of the tour from an XML file and all the next/prev buttons are working fine. I wanted to add a drop down menu from the top that has the menu items pulling in from elements from the XML file. Possible? Ideas?

Thx

Actionscript Carousel - Linking Items To Multiple Areas Of HTML Page
Hello,

I am trying to modify some actionscript that is generating a carousel and importing images from an xml file.

I want to make it so that each item (image) is clickable and can go to a particular section on a seperate html page - the same idea as using page jumps with id's.

How do I set this up???

Here is my current actionscript code:


Code:
import mx.utils.Delegate;

var numOfItems:Number;
var radiusX:Number = 300;
var radiusY:Number = 75;
var centerX:Number = Stage.width / 2;
var centerY:Number = Stage.height / 2;
var speed:Number = 0.009;
var perspective:Number = 220;
var home:MovieClip = this;

var tooltip:MovieClip = this.attachMovie("tooltip","tooltip",10000);
tooltip._alpha = 0;

var xml:XML = new XML();
xml.ignoreWhite = true;

xml.onLoad = function()
{
var nodes = this.firstChild.childNodes;
numOfItems = nodes.length;
for(var i=0;i<numOfItems;i++)
{
var t = home.attachMovie("item","item"+i,i+1);
t.angle = i * ((Math.PI*2)/numOfItems);
t.onEnterFrame = mover;
t.toolText = nodes[i].attributes.tooltip;
t.icon.inner.loadMovie(nodes[i].attributes.image);
t.r.inner.loadMovie(nodes[i].attributes.image);
t.icon.onRollOver = over;
t.icon.onRollOut = out;
t.icon.onRelease = released;


}
}

function over()
{
home.tooltip.tipText.text = this._parent.toolText;
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
home.tooltip.onEnterFrame = Delegate.create(this,moveTip);
home.tooltip._alpha = 100;
}

function out()
{
delete home.tooltip.onEnterFrame;
home.tooltip._alpha = 0;
}

function released()
{
trace(this._parent.toolText);
getURL("projects_and_development.html");
}

function moveTip()
{
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
}

xml.load("icons.xml");

function mover()
{
this._x = Math.cos(this.angle) * radiusX + centerX;
this._y = Math.sin(this.angle) * radiusY + centerY;
var s = (this._y - perspective) /(centerY+radiusY-perspective);
this._xscale = this._yscale = s*100;
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale) + 100);
}

this.onMouseMove = function()
{
speed = (this._xmouse-centerX)/20000;
}

Drop Menu With Toggle Menu Items
I am having an issue with the toggle state of a couple of buttons in a menu.
I have provided a simplified version of a menu system I am trying to build as a zipfile attachment.

the first menu is empty. For this demonstration it has no purpose but to move the main time line from from frame 1, to frame 2.

The second menu (on frame 3) turns off and on two movie clips that are loaded externally. I have no problem initially loading them, and no problem turning them off and on with the toggle switch's loadMovie and unloadMovie commands.

The problem comes when I've unloaded a movie using the toggle button in the second menu, then click on the first menu. When I've clicked on the 2nd menu again, the toggle switch isn't in the same state that it was last left in. I have no idea how to make it remember which state it was in.

Is there someway I could ask,
"If movie is not loaded, got to off state.
If movie is loaded, go to on state." ?

Here is a zip file with the FLA files and the external SWF's.

Here is the menu in action:
Click here

Please help if you can.

Help With Menu Items
this maybe a little confusing, but ill try to explain.
i have a menu that is 5 little boxes, with smaller,lighter coloured box in the middle of each. when i rollover a menu item, i want the little box to move onto the mouse, but not exiting the bigger box (so the mouse has a magnetic effect on the smaller boxes only when rolled over the boxes they are contained in). then when i roll out i want the little box to snap back into centre with an elastic effect. i have seen this done before and would like to know how its done. its a shame i dont have an example to show you or anything decent of my site so you can get a better idea of what im after.
if any of you understand what i want, a solution would be very very very much appreciated.
cheers guys
jh

Menu Items
Hello world,
Im a very very new in flash and have a problem,please if you can help me please.I have a flash menu in http://blazon.europarus.eu and want to change the menu text but can change only the first text,please how can I change the all text?when you put the mouse the same text will be apear with other color,but when changind the text there apears only the text in first line.please help me with that.the address is blazon.europarus.eu

XML Menu Items
Hi,
All the menu items work fine EXCEPT for:
I click on PROGRAMS or SAFETY, that has 4 sub menus, which expand beautifully. Now say if I click on LIFE (3 sub-menus), only 3 sub-menus of the SAFETY or PROGRAMS collapse. Please advise.

Next, how do I make a specific sub-menu clickable. I am not sure how to click on Programs>ITEM 0, so that it goAndStop(3). I need to specify for each sub-menu
Thanks

Scrolling Menu Items
Hi there,
I´m looking for some scripting help in order to make the same function with some pictures when you push a button and they scroll horisontally. You can see an example at http://www.mediegruppen.net - try to push one of the menuitems and the pictures are scolling. Has anyone tried to make that function - if you have I would be pleased if you could tell me how it works and perhaps send me an example...

Thanks a lot,
Thomas

Loading Menu Items Using ASP
hey people,

i need to know how to make a dynamic menu generated from my access database using ASP. can anyone suggest some good tutorials or shed some light on the sugject?

thanks heaps!

mish

Items On A Moving Menu
Hi,

I'm trying to make a menu that pops out when rolled over (you've seen it a thousand times). The problem is that since I've applied the on(action) script to the movie clip, any buttons or other clips I place on the moving movie clip itself dont respond to their own on(action) scripts. Here's what I have so far (without any menu items).

http://www.clintbalcom.com/photoTest.htm

How can I add movie clips and/or buttons to the menu that pops out that will actually work when rolled over and out...? Is it only buttons that dont respond from within a movie clip?

Thanks...help!!
Clint

How To Hide Menu Items
I want to creat an animated logo , which will remain on top of the screen ,
I need help on two aspectes
How to hide the menu of flash player, only logo should be visible as stand alone item.
how to change its property to remain "always on top"
best regards
Nadeem

Hightlighted Menu Items
There is what i want to do, lots of flash website are doing it and i want to know how to do it.

In a flash navigation menu when you click on a button, that button stay highlighted to show you where you are in the website. Like if the rollover state was freezed.

Here is a website that is doing it...

http://www.karinabednorz.de/

Just navigate in the menu at the top of the page you will understan my question, also i have notice that the buttons highlited have no action at all, it is normal cause you're already in that section of the website.

Zooming Menu Items
Hi

It's been a while since i've used flash and it's certainly changed a lot.

I've seen a menu i'd like to adapt for my site but i need a bit of a push in the right direction to refresh my memory. Any tutorials or stuff... I'm using MX2004

The menu is at www.skint.net

its the menu on the left...

thanks in advance

Moving Menu Items HELP
Hi. I'm trying to make a web page, with four links (that I assume would be best as MC's) and an image in the middle of the page. I want to make it so that when you click one of the links, eg. PICS, that the four links would move to the bottom of the screen, the image would fade out, and the pics page would then load in the middle of the screen.

Now I ASSUME that what I'm trying to do is heavily controlled by actionscript, but I'm pretty much a n00b at in depth actionscript. So if you could keep the explanation in lamens terms, that would be much appreciated. If not, if there is a template or tutorial of some kind, that I can look at and pretty much take the code from, that's fine as well.

Transitions And Nav Menu Items
I'm a php, mysql guy but new to flash as.

My flash app has a menu with 4 buttons. I would like each button to, on hit, animate a transition that moves from the current section to the next section (i.e. about us to contact us). I understand how to make gotoAndPlay work, my question is simply how to make the animation function. For example, if I'm on About Us and click Contact Us, how do I organize the flow of masks so that the animation works for other buttons as well?

I know this sounds confusing, but I am certainly confused! Help, please!

Help With Sliding Menu Items
Hi I'm new.

Ok here is my problem I am trying to make a menu that has items that slide out when you mouse over them then fall back in place if you mouse off. If they slide out all the way then i want them to drop down a sub menu. Right now i am stuck at getting them to slide out when i mouse over them. they just slide out at the beging of the animation.

here is the script i am using.

ActionScript Code:
onClipEvent(enterFrame){
if (this.onRollOver = true){

_root.xChange = Math.round(this._x - 200);
_root.xMove = Math.round(_root.xChange/15);
this._x -= _root.xMove;
}
else
_root.xChange = Math.round(this._x - 0);
_root.xMove = Math.round(_root.xChange/15);
this._x -= _root.xMove;
}
If you are wondering how I got this far its becaus i used some script from one of the tutorials on this site.

Help would be very much appreciated.

Scroll Xml Menu Items
I have created a vertical menu from xml file.

I create movie clip that holds menu items that are attached dynamically.

I want to allow the menu items to scroll if there are too many to fit into the movie clip and be visible on the stage.

any thoughts welcomed...

Menu Items Not Appearing
Hello, hoping someone might be able to help on a probably simple, but puzzling problem I'm having.

I have a button menu pretty much completed; however, when I publish it, the small numbers (01-06) on the left do not appear. I've attached links to how it should look (#1) and what I'm getting (#2):

#1 http://www.waterbuffalofilms.com/main.htm
#2 http://www.davidandnat.com/WBF/main.html

I've tried fiddling with the masks, but can't seem to figure this out. Haven't used Flash in a while, so it could be poor memory on my part ><
Thanks in advance!

Add GetURL To Menu Items
Hello -

Trying to add getURL links to each of the menu items in this fla: http://www.softwarelessons.com/flash/27.fla but can't seem to do it. All help will be greatly appreciated!

Thanks,
John

Approaching Menu-items
Hi

I may be taking on too big a task here (especially since I'm not too familiar with flash), but here goes:

I want to have a menuitem approach the mouse pointer when you move the pointer towards it - is this possible?
All I know is that it's possible to have graphical items relate to the mousepointer, like in this page

Any suggestions were to start to accomplish something like this?
And for you sceptics out there, let me quote Locke from Lost: "Never tell me what I can't do!"

Scaling Menu Items?
I'm working with a horizontal variation on this menu:

http://www.kirupa.com/developer/acti...pdown_menu.htm

Is there a way to make the menu buttons scale according to their content?

Adding Menu Items On-the-fly
I want to create a submenu from my array.

var subArray:Array = new Array("aboutUs", "whoweare", "whatwedo");

I need to

(i) create a button for each of the an instance name from the array

(ii) add the name to the button in a textbox

(iii) fade the button on to the stage

The fundemental problem I have is creating the buttons by iterating thougth a loop.


Any help would be great

Best Way To Creat Menu Items
Hello,

I have a menu that is basically several text links. Should I create a class that extends MovieClip and have the constructor take a string and a click event function, then just create a bunch of them -- or is there a better way? I would like them to have a rollover effect, should I somehow make them buttons?

Can't Create Menu Items With XML
I've been trying to follow the instructions on This tutorial, but it doesn't want to work correctly. I looked at everything, and now I'm not sure what I'm missing.

Below is a link of a rar file of what I have done so far. I don't want to have a close button, or visible hidden thing going, so I removed those. Not sure if that's what's causing the problem. Help would greatly be appreciated. Been trying to get this to work for hours now.

Here it is.

~RB

Problems With Pop-up Menu Items
Well, I thought I could figure this one out, but alas.

I'm trying to do something very simple with a navagation bar. I want to have submenu items pop up when the main menu items are rolled on. I've managed to get that far, and the submenu items link to their respective sites properly.

However, the main menu item buttons are not working once their submenus pop up. It's like the button is behind something that's keeping it from becoming clickable.

I've moved things around, and have found ways to make the main buttons work. But when I get those working, suddenly the submenus stop popping up. I just keep going in circles.

Any help would be great.
Thanks.

How To Put Hyperlinks In The Items Of The Menu Bar
How do i put hyperlinks in each of the items of the menu bar component?
Please help...

Thanks

An newbie fascinated with flash programming...

Help With Pop Up Menu (Sub Menu Buttons) Linking To Frame On Main Timeline
Hi,
I really need help with my flash project. I've created a pop up menu by having 4 buttons on the main timeline which I made into a movie clip which has an instance name of menu_mc. Inside that movie clip I have my sub menu created and the menu works great. My only problem is that I can't seem to link the submenu buttons to the frames created on the main timeline. I've tried all the action script I can think of. One example I am using is

menu_mc.contact_btn.onfiltered= function() {
gotoAndStop("Scene 1", "contact");
}

This is where I am trying to link the Contact Button (which is a submenu button of the About button) to the contact frame which is located on the main timeline. Please help me if you can. Thanks.

Individual Listbox Items Linking To Individual External Text Files?
Alright, I've been at this for a while now, and I'm stumped. I've gotten as far as getting a listbox with a list of articles to display the articles in a dynamic text box, only i can only get it to work if i use one huge external text file that contains all the articles. what i want is to have each item on the list open up its own external text file, i.e. for each item on the list, there exists a separate text file. Can anyone offer any insight into this? I'm about ready to put my fist through the monitor, and that would suck because this is a really nice monitor

Thanks!

Individual Listbox Items Linking To Individual External Text Files?
Alright, I've been at this for a while now, and I'm stumped. I've gotten as far as getting a listbox with a list of articles to display the articles in a dynamic text box, only i can only get it to work if i use one huge external text file that contains all the articles. what i want is to have each item on the list open up its own external text file, i.e. for each item on the list, there exists a separate text file. Can anyone offer any insight into this? I'm about ready to put my fist through the monitor, and that would suck because this is a really nice monitor

Thanks!

Loading Menu Items From A File.
I'm doing a small diagnostic tool for a friend that has a drop down menu with a list of systems to select from that once clicked sets the variable "system_select".

The catch is, I need to load a list of systems from a plaintext file (to make the system easily expandable).

Here's an example of the file I've used up till now:

-----
theList=<a href="javascript:changeSystem('ws330')">Precision 330</a><br>
-----

This puts the item "Precision 330" onto the menu, and uses a small script to change the variable "system_select" to "ws330".

This worked fine and dandy, until I tested it on Nutscr... errrr, Netscape and it wouldn't work at all. Trying it using a projector file also failed (since there is no place to run the script from).

Now, is there anyway I can have the same index file approach, but change the variable without resorting to javascript? Something like: "<a href="actionhere:value">Precision 330</a>"?

Controlling Menu Items With Keyboard
i tried to look for tutorials which may have covered what i want to be able to do, but i couldnt find anything...

i've got three movieclips im using in a menu, which are links to certain scenes in the movie. what i want to be able to do is have the user be able to select each option with the keyboard up/down keys; as you would be able to do in a video game for example. can anyone give me any pointers on how to do it?

thanks

[MX] Resizing Menu Items Using _xmouse
I was wondering if any one knew how to create a menu similar to the MacOS X dock or like the green text column here http://www.fox.com/24/season1/guide.html

i made one but it goes really weird and jumpy after certain numbers.

i made a MC in an MC on the stage with the MC code:


Code:
onClipEvent (enterFrame) {
if (_parent._xmouse<100 and _parent._xmouse>0){
_xscale = 100-_xmouse
_yscale = 100-_xmouse
} else if (_parent._xmouse>-100 and _parent._xmouse<0){
_xscale = 100+_xmouse
_yscale = 100+_xmouse
}
}


i put some restraits on it, so it doesnt go extrememly small, but anyways any suggestions?

Loading An Swf From Collapsible Menu Items....
hi there, i am busy with a collapsible menu and need to make the menu and sub-menu items load an swf file.
Any ideas?

I have found this script to open a URL, but i need to load an swf...

ON THE MAIN TIMELINE:-
stext21 = "nbc";
urls21 = "http://www.nbc.com";

ON THE BUTTON:-
on (release) {
myURL = eval("_root.urls"+choice);
if(myURL != null){
getURL(myURL);
}
}

getURL(myURL, "_blank");

I have attached my file here so you can have a look....

Thanks

Fadein Menu Items/buttons
i didnt really explain it right last time
this is what i want to do: i want to have a certain word fade in and then once it has faded in i want it to act as a button, and when you click the word it hyperlinks to another page.
so i guess i have to convert the word to a movie clip and apply a motion tween. but how do i get it to work as a link after it has faded in to 100%. a button within a mc, or a mc within a button? i tried something where i changed the properties of the symbol instance to button at the end of the fade in and then added the getURL actions to that frame and that worked - EXCEPT it only worked when i was trying it with a just a word on a blank bakcground. but what i actually need is this word to fade in on a layer of red and this seems to cause problems - because when i play the animation the word does not fade in and appears from the beginning. any ideas? i need to figure this out sort of soon. thanks for help

Drag Items Out Of Scroller Menu
http://www.jordans.com/planengine/jrd001RP.swf

I need to do something just like this...click on build a room, choose a room. Side menu has furniture options to drag out onto floorplan....

Not sure how this is done. I have the drag and drop working in a scrollbar...but once the item is dropped (duplicated), when I scroll...it also scrolls.

Please help...thanks!

fitchic77@yahoo.com

~fit

Drag Items Out Of Scroller Menu
http://www.jordans.com/planengine/jrd001RP.swf

I need to do something just like this (the drag and drop out of the menu). To view this....click on build a room, choose a room. Side menu has furniture options to drag out onto floorplan....

Not sure how this is done. I have the drag and drop working in a scrollbar...but once the item is dropped (duplicated), when I scroll the menu...it also scrolls the dropped image. I know the dropped image needs to go somewhere else so this doesn't happen???

Please help...thanks!

fitchic77@yahoo.com

~fit

How To Call This Menu Items Dynamicaly
i tried to make menu and now i dont know ho can i call the particular items of this menu and send on certain frame

thanks a lot for help!

Drag And Drop Menu Items
Hi there.

I found a site a while back (I have NO idea what site it was) that used small animated movie clips as menu options. You could grab and drag a given menu option into a main player area, and it would begin the animation.

I'm working on implementing something similar into my application, and have got draggable movie clips working.

My problem is that I don't know how to make it so when the option is dropped into the player region, it plays the movie.

Any thoughts/tutorials/suggestions?

Thanks!

Making Menu Items Appear One At A Time
I've tried this code but it doesn't work. "menuItems" is an array with the names of the menuitems. How would I get the menu items to appear one at a time. With this script, they all appear together at the same time. Thanks for any help!!

Code:

for (i=0; i<menuItems.length; i++) {
setInterval(mi(menuItems[i], i), 4000);
}// end for
function mi(mit, i){
_root.attachMovie("wsbut", mit, 100+i);
// position menus and set text
_root[mit].posMe(defX, i*defY+10);
_root[mit].txtSet(mit);
}

[F8] Certain Menu Items Not Appearing On Publish
Hello, hoping someone might be able to help on a probably simple, but puzzling problem I'm having.

I have a button menu pretty much completed; however, when I publish it, the small numbers (01-06) on the left do not appear. I've attached links to how it should look (#1) and what I'm getting (#2):

#1 http://www.waterbuffalofilms.com/main.htm
#2 http://www.davidandnat.com/WBF/main.html

I've tried fiddling with the masks, but can't seem to figure this out. Haven't used Flash in a while, so it could be poor memory on my part ><
Thanks in advance!

Multiple Menu Items Won't Close
I am working on this
www.invisatex.com

I am trying to make the movie clips work so that if you click on one it opens and if you click on a diffreent one the one that is open closes....right now I have thme where u must click to open and click to close so that if you click a different one they both stay open...wow...hope that all made sense...is there an action script that can make this work.

Hide Context Menu Items
Hi, new member here.

Is it possible to hide the "copy" and "paste" context menu items for a TextField when a user right clicks on a TextField? I know you can use the ContextMenu object to hide built-in items for the flash player, but I haven't been able to figure out how to hide the built-in items for the TextField menu.

Thanks.

Copyright © 2005-08 www.BigResource.com, All rights reserved