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








Bug In Fisheye Menu With SimpleButtons


Hi there!

I rebuild this fisheye menu for AS3, and i'm using it on a list of TextButtons (which extend SimpleButtons). These buttons are childs of a Sprite, and when I hover over the Sprite, the fisheye becomes active. To the left of the list of buttons I built in a margin of 10 pixels. When I hover here, the fisheye works smoothly, and the buttons' height and y-position are renderend perfectly. However, when I hover over the buttons themselves, the the fisheye doesn't render good at all, there is no smooth flow. Just the original or the maximum heigths, and not even consistently.

When hovering the buttons, their 'overState' and 'upState' are rendered in sequence. It seems that there is some conflict between the fisheye adjusting the buttons' height and the button-hovering doing the same (maybe setting the height back to the original height when the buttons were instantiated).

Is there any way to overcome this problem? In the fisheye menu example above, an AS2 'FSelectableListClass' was used, but I cannot find any class in AS3 with the same features. Do I have to use something else than my TextButtons to populate the menu? I know the fisheye technique is working by hovering in the margin-area..

2 lines code from the menu-class. I put the buttons in an array for easy access:

Code:
var item:TextButton = kwButtons[i];
item.height = var h:Number = getAscendingH(i, focusSpan.beginIndex-1, focusSpan.yMin, DISTORTION);
Each state of my TextButton is a Sprite that contains a label (TextField w. format) and a background (Shape). The button's height is set when instantiated, and it's value at that point is it's maximum height (as when the mouse is on top of that button when the fisheye is working normally).

If you have any clue (at all) for solving this problem, please reply! Thank you!

Ontzettend




ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0
Posted on: 12-26-2007, 10:07 PM


View Complete Forum Thread with Replies

Sponsored Links:

XML Fisheye Menu
Does anyone know any tutorials on how to go about making a fisheye navigation that loads images via XML, etc, etc. ? Any help would be really appreciated.

thanks,
K

View Replies !    View Related
Stretching/fisheye Menu
I'm looking around for a menu like this

http://www.notredem.com/2003/index.html

anyone knows the example fla in horizontal sytle?

View Replies !    View Related
Labels On SimpleButtons?
How can I get a wee bit of text onto a SimpleButton so that it appears to have a label?

View Replies !    View Related
[fisheye]
And here´s another Pixel Bender/-Astro snippet… called “Fisheye“. This tiny bit of code generates a little fisheye-filter.



And I´ve posted the sources in my blog-post too...


Cheers
pwd

View Replies !    View Related
Fisheye Effect...
Helo,
I'm trying to make a fish eye effect, without any sucsses..

I found here a fishye example, http://flashmove.com/board/sig/timothee.swf,
but it too old, and the .FLA file is unavilable..

Can enyone help me?

Thank you!

View Replies !    View Related
Fisheye Flash
First of all, let me say that I am flash illiterate - I design lenses for a living. Specifically I design lenses for dome theaters. For one particular dome theater project we're working on, we would like to implement flash content. One reason for this is that we will have domes of different sizes and resolutions and the vector-based flash content is fully portable, scaling between them without re-rendering - right?

I've spent the last 2 days searching the web for a method to render fisheye images in flash. In the dome theater world this is called a "dome master".

So far it seems Swift (RAV3) is one possible solution. Using the Swift 3d MAX plugin, you can create a 3DS environment, aim the camera at a parabolic mirror and then fly through the world backwards. The alternative is to create a fisheye camera (f-theta).

Can any of you tell me if this idea will work? Is there another way to accomplish this? Has anyone done it before?

Thanks for your help.

D'nardo Colucci
elumenati.com

View Replies !    View Related
Fisheye Text/Images?
Does anybody know a simple way to fisheye fonts or images? (fonts in piticilar)?

-Xion-

View Replies !    View Related
[fisheye] A Pixel Bender Job...
Here´s a little Pixel Bender-Shader called "fisheye". So this tiny bit of code generates a little fisheye-filter.




Cheers
pwd

View Replies !    View Related
[Math] Fisheye Effect
I'm looking for a formula to create the "fisheye" effect on a set of points, as commonly seen in vector graphic editing applications, such as Illustrator of FreeHand. Example:
http://abeall.com/files/temp/fisheye.gif
(This is screen grabbed from FreeHand. Note that FreeHand also bends the edges between the points, I am not worried about this right now)

The following values are known:
Point x,y
Circle/ellipse height and width
Circle/ellipse center point
*I'm assuming that if I can find a reasonable formula, I can easily adjust it so that a "strength" value from -1 to 1 to will result in convex/concave results as shown.

Any ideas as to how to map these points such that it creates the shown "fisheye" distortion would be great.

My only guess, which is a very uneducated guess, is to map the points between 0 and 1 based on how close they are to the ellipse edge along a line forming from the ellipse center which intersects the point. That would be tricky for me, but I think I pull it off with the aid of wikipedia. Then I might be able to re-map those points to a curve formula from Flash's easing equations, and see if I can get interesting results -- but I have no idea if the results will look like what I show.

Thanks for any advice!

View Replies !    View Related
Samuel Wan's Fisheye List
Hi,
I am trying to use this Fisheye List component in FMX04, but I cant get it to work at all. I'm just wondering if anyone has used this before, and if someone may be able to help me figure out how to use it. It works fine in the source fla, but when i try to incorporate it into my own files, it doesn't work...I must be missing something, or having issues with component usage? (even copying and pasting the entire fla frames doesnt work...)

here is the demo:
http://www.samuelwan.com/downloads/c...eMenuDemo.html
here is the source file zip:
http://www.samuelwan.com/downloads/c...emenu_1_01.zip

I really needed to figure out a way to dynamically and flexibly list items using a tsunami style list, and I figured this would be a solution... If anyone has other ideas or knows how to create a dynamic tsunami list (that can accommodate any number of entries from an array) I would really appreciate the help!

Thanks=]

View Replies !    View Related
Multiline Text Using FishEye Component
Hi everyone,

I'm a Flex/OOP newbie and I've been trying to work with the wonderful FishEye component by Ely Greenfield and add the ability to display multiline text fields (really all I need is two lines instead of one). Has anyone been able to get this implemented? I assume I need to make some modifications to the CachedLabels class but I just can't seem to figure out where to begin. Can anyone shed some light?

Thanks!

View Replies !    View Related
Flashmo 133 Fisheye Open Like Lightbox.
Hi all.
How i open the pics in

http://www.flashmo.com/preview/flashmo_133_fisheye
to lightwindow style?
http://stickmanlabs.com/lightwindow/
Here is the Flash

Code:
stop();
import fl.transitions.Tween;
import fl.transitions.easing.*;

var filename_list = new Array();
var url_list = new Array();
var url_target_list:Array = new Array();
var title_list = new Array();
var description_list = new Array();

var i:Number;
var j:Number;
var tn:Number = 0;
var default_scale:Number = 0.6;
var new_scale:Number;
var center_x:Number = tn_group_mask.x + tn_group_mask.width * 0.5;
var half_of_tn_width:Number = 80;
var current_mc:MovieClip;

var total:Number;
var flashmo_xml:XML = new XML();
var folder:String = "thumbnails/";
var xml_loader:URLLoader = new URLLoader();
xml_loader.load(new URLRequest("works_thumbnail_list.xml"));
xml_loader.addEventListener(Event.COMPLETE, create_thumbnail);

var thumbnail_group:MovieClip = new MovieClip();
addChild(thumbnail_group);

thumbnail_group.mask = tn_group_mask;
thumbnail_group.x = tn_group.x;
thumbnail_group.y = tn_group.y;

tn_group.visible = false;
tn_title.text = "";
tn_desc.text = "";
tn_url.text = "";




//Luo esikatselu kuvan
function create_thumbnail(e:Event):void
{
flashmo_xml = XML(e.target.data);
total = flashmo_xml.thumbnail.length();

for( i = 0; i < total; i++ )
{
filename_list.push( flashmo_xml.thumbnail[i].@filename.toString() );
url_list.push( flashmo_xml.thumbnail[i].@url.toString() );
url_target_list.push( flashmo_xml.thumbnail[i].@target.toString() );
title_list.push( flashmo_xml.thumbnail[i].@title.toString() );
description_list.push( flashmo_xml.thumbnail[i].@description.toString() );
}
load_tn();
stage.addEventListener(Event.ENTER_FRAME, fisheye );
}
//Lataa esikatselukuvan
function load_tn():void
{
var pic_request:URLRequest = new URLRequest( folder + filename_list[tn] );
var pic_loader:Loader = new Loader();

pic_loader.load(pic_request);
pic_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, on_loaded);
tn++;
}

function on_loaded(e:Event):void
{
if( tn < total )
{
load_tn();
}

var flashmo_bm:Bitmap = new Bitmap();
var flashmo_mc:MovieClip = new MovieClip();

flashmo_bm = Bitmap(e.target.content);
flashmo_bm.x = - flashmo_bm.width * 0.5;
flashmo_bm.y = - flashmo_bm.height * 0.5;
flashmo_bm.smoothing = true;

var bg_width = flashmo_bm.width + 10;
var bg_height = flashmo_bm.height + 10;

flashmo_mc.addChild(flashmo_bm);
flashmo_mc.graphics.lineStyle(1, 0x666666);
flashmo_mc.graphics.beginFill(0xFFFFFF);
flashmo_mc.graphics.drawRect( - bg_width * 0.5, - bg_height * 0.5, bg_width, bg_height );
flashmo_mc.graphics.endFill();

flashmo_mc.name = "flashmo_" + thumbnail_group.numChildren;
flashmo_mc.buttonMode = true;
flashmo_mc.addEventListener( MouseEvent.MOUSE_OVER, tn_over );
flashmo_mc.addEventListener( MouseEvent.MOUSE_OUT, tn_out );
flashmo_mc.addEventListener( MouseEvent.CLICK, tn_click );

flashmo_mc.scaleX = flashmo_mc.scaleY = default_scale;
flashmo_mc.x = thumbnail_group.numChildren * 94;

thumbnail_group.addChild(flashmo_mc);
}

function tn_over(e:MouseEvent):void
{
var mc:MovieClip = MovieClip(e.target);
var s_no:Number = parseInt(mc.name.slice(8,10));

if( s_no > 1 )
thumbnail_group.addChild( thumbnail_group.getChildByName("flashmo_" + (s_no-2) ) );
if( s_no > 0 )
thumbnail_group.addChild( thumbnail_group.getChildByName("flashmo_" + (s_no-1) ) );

if( s_no < thumbnail_group.numChildren - 2 )
thumbnail_group.addChild( thumbnail_group.getChildByName("flashmo_" + (s_no+2) ) );
if( s_no < thumbnail_group.numChildren - 1 )
thumbnail_group.addChild( thumbnail_group.getChildByName("flashmo_" + (s_no+1) ) );

thumbnail_group.addChild( mc );

tn_title.text = title_list[s_no];
tn_desc.text = description_list[s_no];
tn_url.text = url_list[s_no];
}
//Esikatselu kun päällä tuo info tekstin
function tn_out(e:MouseEvent):void
{
tn_title.text = "";
tn_desc.text = "";
tn_url.text = "";
}
//Esikatselukuvan painallus
function tn_click(e:MouseEvent):void
{
var mc:MovieClip = MovieClip(e.target);
var s_no:Number = parseInt(mc.name.slice(8,10));

navigateToURL(new URLRequest(url_list[s_no]), url_target_list[s_no]);
}

function runLightbox(eventObject:MouseEvent):void
{
var lightBoxCommand:String = "lightBoxInit('thumbnails/" + this.image + ".jpg');";
var url:URLRequest = new URLRequest("javascript:" + lightBoxCommand);
navigateToURL(url, "_self");
}




function fisheye(e:Event):void
{
thumbnail_group.x -= ( mouseX - center_x ) * 0.05;

if( thumbnail_group.x > tn_group_mask.x + half_of_tn_width )
{
thumbnail_group.x = tn_group_mask.x + half_of_tn_width;
}
else if( thumbnail_group.x < tn_group_mask.x - thumbnail_group.width + tn_group_mask.width )
{
thumbnail_group.x = tn_group_mask.x - thumbnail_group.width + tn_group_mask.width;
}

if( mouseY > tn_group_mask.y && mouseY < tn_group_mask.y + tn_group_mask.height )
{
for( j = 0; j < thumbnail_group.numChildren; j++ )
{
current_mc = MovieClip(thumbnail_group.getChildAt(j));
var distance:Number = Math.sqrt(
Math.pow( Math.abs( stage.mouseX - (current_mc.x + thumbnail_group.x) ) , 2)
+ Math.pow( Math.abs( stage.mouseY - (current_mc.y + thumbnail_group.y) ) , 2)
);

new_scale = 1 - ( distance * 0.002 );

current_mc.scaleX += (new_scale - current_mc.scaleX) * 0.2;
current_mc.scaleY += (new_scale - current_mc.scaleY) * 0.2;

if( current_mc.scaleX < default_scale )
current_mc.scaleX = current_mc.scaleY = default_scale;
}
}
else
{
for( j = 0; j < thumbnail_group.numChildren; j++ )
{
current_mc = MovieClip(thumbnail_group.getChildAt(j));

current_mc.scaleX += (default_scale - current_mc.scaleX) * 0.2;
current_mc.scaleY += (default_scale - current_mc.scaleY) * 0.2;
}
}
}
And here is the XML

Code:
<?xml version="1.0" encoding="utf-8"?>
<thumbnails>
<thumbnail filename="flashmo_128_elegant.jpg" url="http://www.flashmo.com/preview/flashmo_126_envelope" target="_blank"
title="Item No. 1 (128 elegant)"
description="Elegant Design - Flash website template, subpages for products, AS3 contact form" />

</thumbnails>

View Replies !    View Related
Multiline Text Using FishEye Component
Hi everyone,

I'm a Flex/OOP newbie and I've been trying to work with the wonderful FishEye component by Ely Greenfield and add the ability to display multiline text fields (really all I need is two lines instead of one). Has anyone been able to get this implemented? I assume I need to make some modifications to the CachedLabels class but I just can't seem to figure out where to begin. Can anyone shed some light?

Thanks!

View Replies !    View Related
Multiline Text Using FishEye Component
Hi everyone,

I'm a Flex/OOP newbie and I've been trying to work with the wonderful FishEye component, (shown here: http://www.quietlyscheming.com/blog/com ... component/) by Ely Greenfield and add the ability to display multiline text fields (really all I need is two lines instead of one). Has anyone been able to get this implemented? I assume I need to make some modifications to the CachedLabels class but I just can't seem to figure out where to begin. Can anyone shed some light?

Thanks!

View Replies !    View Related
2D Fisheye / Tsunami Effect On Grid Of Squares/tiles.
Greetings

I'm sure youre all familiar with the Flex component over at http://www.quietlyscheming.com/blog/...d-fisheye-v02/ . But since I don't have Flex and I only need this effect on 16 (4x4) tiles, I was wondering if anyone could help me get started in the right direction, in Flash 9, AS2.0.

Does anyone know of any tutorials or script examples I could look at? Or even any other examples of this effect on other websites. Anything can help.

I started out making a very long script for the first square, which basically consisted of 15 tweens. Didnt take me long before I realised I would have to do this all over again, if I suddenly needed 5x5 or even just 4x5.

So, like i said. You help is always greatly apreciated.

View Replies !    View Related
Flash Menu With Multiple HTML Pages - How To Pass Variable To Menu On Refresh?
please note this topic is also posted at AS under this title:
Flash Menu 4 HTML pages - pass variables on page refresh
-----------------------------------------------------------------------

So the subject is a hint as to how hard it is to search on this simple idea.

Will be very greatful for some help today!


PROBLEM DETAILS:
I am building a swf menu for an HTML site. It has the following buttons:

SectionA

SectionB

SectionC

What I want to do is modify the text when the HTML page for the correspoding section is loaded. So, if I click on "SectionB", SectionB.html loads. Now I want that button "SectionB" in the swf to have a background glow.

Of course the catch is, that each time a new HTML page loads, it reloads the swf menu (No Frames please!). So, naturally I know I can just tell the swf menu to go to a certain place in the timeline where there is the glow graphic behind "SectionB". But the swf needs a variable saying it is on a Section B HTML page. (of course I could build a seperate swf for each section - but that seems stupid.)

THUS....


MY QUESTION:
How do I pass a variable from a swf on one HTML page (that is being replaced by a new HTML page!), to a swf on a new HTML page.

Can I do this with a GET/POST or something?

Thanks!
-AB
Birdsong is online now Edit/Delete Message

View Replies !    View Related
Drop Down Menu PROBLEM-Down State For Sub-menu Item Linked To External SWFs?
Hi nice to meet everyone. The drop down menu I'm referring to is located in the main movie. The menu is a movie clip with the buttons inside and I have each button as 'track as menu item' in the properties. The buttons are linked to external swfs that load in the empty movie clip on the main movie stage. Everything loads perfectly no problem. I can't seem to figure out the right code to put on the sub-menu items/buttons in the drop down menu to show the 'down' state when the corresponding movie is loaded (i.e., about-main button, philosphy(menu item). When the 'philosphy' swf loads how do I get the 'philosphy' button that is in the main movie to show the 'down' state until another button is pressed on the menu? I hope I explained myself clear enough without confusing anyone!

Below is a sample of the code that I currently have on the the regular buttons that DO NOT sub-menu items:

on (release) {
gotoAndStop("home");
_root.contents.loadMovie("home.swf");
}

And here is the code that I currently have on the main buttons that have sub-menu items:

on (release) {
_root.contents.loadMovie("philosphy2.swf");
setProperty("_root.home", _visible, "0");
}

I have searched everywhere on the net, tutorials and still can't find the answer, I've been working on this for almost a week now and I just can't get it right.

Thanks again your help is greatly appreciated!

View Replies !    View Related
Dynamic Menu AS2.0/XML - Seperating Main Menu Title MC From Dropdown Item's MC
Hi everyone, this is my first post in this forum, I appreciate all the help

I've got a dynamic menu using AS2.0 that's being populated by an XML file, it's quite complete and is working fine, the only thing I'm having trouble with is assigning a new MC to the Titles so the visual design (Text and background) can be different from the rest of the dropdown menu.

What would have to be done to capture the menuNodes and isolate them form the rest. Below is the XML that I’m using, the highlighted (red, bold, italic) text below is what I’d like to capture and seperate from the rest of the submenus for the menu title in my flash project.

XML
----------------------------------------------
<?xml version="1.0"?>
<menu name="Atletas">
<menu name="Clubes">
<submenu name=""></submenu>
<submenu name="Botafogo">
<entry name="Player 1"/>
<entry name="Player 2"/>
<entry name="Player 3"/>
</submenu>
<submenu name="Flamengo">
<entry name="Player 1"/>
<entry name="Player 2"/>
<entry name="Player 3"/>
</submenu>
<submenu name="Flamengo">
<entry name="Player 1"/>
<entry name="Player 2"/>
<entry name="Player 3"/>
</submenu>
</menu>
<menu name="Atletas">
<submenu name="Gilberto"></submenu>
<submenu name="Jose"></submenu>
<submenu name="Joao"></submenu>
</menu>
<menu name="Posicoes">
<submenu name="Atacante">
<entry name="Gilberto"/>
</submenu>
<submenu name="Meio">
<entry name="Jose"/>
</submenu>
<submenu name="Zagueiro">
<entry name="Joao"/>
</submenu>
</menu>
</menu>
----------------------------------------------------------

attached is the screencapture of my flash design to understand what I'm talking about a little better.

Thanks for all the help

View Replies !    View Related
Drop Down Menu-Down State For Sub-menu Item Linked To External SWFs?
Hi nice to meet everyone. The drop down menu I'm referring to is located in the main movie. The menu is a movie clip with the buttons inside and I have each button as 'track as menu item' in the properties. The buttons are linked to external swfs that load in the empty movie clip on the main movie stage. Everything loads perfectly no problem. I can't seem to figure out the right code to put on the sub-menu items/buttons in the drop down menu to show the 'down' state when the corresponding movie is loaded (i.e., about-main button, philosphy(menu item). When the 'philosphy' swf loads how do I get the 'philosphy' button that is in the main movie to show the 'down' state until another button is pressed on the menu? I hope I explained myself clear enough without confusing anyone!

Below is a sample of the code that I currently have on the the regular buttons that DO NOT sub-menu items:


ActionScript Code:
on (release) {
    gotoAndStop("home");
    _root.contents.loadMovie("home.swf");
}

And here is the code that I currently have on the main buttons that have sub-menu items:


ActionScript Code:
on (release) {
    _root.contents.loadMovie("philosphy2.swf");
    setProperty("_root.home", _visible, "0");
}

I have searched everywhere on the net, tutorials and still can't find the answer, I've been working on this for almost a week now and I just can't get it right.

Thanks again your help is greatly appreciated!

View Replies !    View Related
Highlighting Menu Option On Flash Menu In HTML Page
Hi Folks,

I have created a Flash menu to work with an HTML based site (the menu is the object in all the pages), but I would like the menu option to stay highlighted when clicked. I've created a series of buttons that highlight when they are scrolled over, but when they are clicked, the button returns to its normal state, as it should. I did come up with a not-so-nice solution, by loading a new movie whenever the user clicks on the option, and the new movie has the menu selection highlighted. Is there a way for the user to click on the menu option and have it stay highlighted until a new menu selection is clicked without having to create mutliple movies?

View Replies !    View Related
Docking Flash Menu/Menu That Stays On The Bottom Of The Screen
i have a site designed but im attempting to get the navigation to stay docked on the bottom of the screen.
i've spent hours searching the web trying to come up with the solution but haven't succeeded
what im trying to do can be seen on the following site: http://www.mcbd.co.uk/

i want the nav to stay on the bottom of the screen when the page is resized.

if anyone can point me in the right direction it would be greatly appreciated.

thanks

View Replies !    View Related
Flash Sliding Menu / Horizontal Dynamic Picture Menu
Hello,

I am quite fascinated by the effect used to scroll a variety of pictures left and right with the ability to halt on a particular picture to click and navigate to another area of a site. Could anyone point me to a tutorial on how this is done? An good example of the effect may be seen on this site:

http://www.calatrava.com (click on the "slide show" link)

Would appreciate any pointers. Thanks!

View Replies !    View Related
Is There Anyway To Disable The Flash Player Dropdown Menu (not The Context Menu)
Greetings,
I am aware of how to reset the right-click context menu to just "settings", but when the file is opened in Flash Player directly from a computer instead of on the web, the drop-down menu in the player is still available. You can even press ctrl+enter to play. My searches just come up with solutions to the right-click menu, and I have a client who wants me to get rid of this menu for a game I've already made.

If you don't think there's even a way to do this, could you just tell me that so I can inform my client?

Thank you either way

[Using MX 2004 if it matters]

View Replies !    View Related
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.

View Replies !    View Related
Flash Sliding Menu / Horizontal Dynamic Picture Menu
Hello,

I am quite fascinated by the effect used to scroll a variety of pictures left and right with the ability to halt on a particular picture to click and navigate to another area of a site. Could anyone point me to a tutorial on how this is done? An good example of the effect may be seen on this site:

http://www.calatrava.com (click on the "slide show" link)

Would appreciate any pointers. Thanks!

View Replies !    View Related
Tightest Menu Structure - Switch/case? BEST MENU
I'm looking to start building a new menu. I want to script it as tight as possible. There will be 7 buttons. When one is pressed, I want it to stay "pressed" until another is pressed.

What is the tightest way to structure this? I want to keep all script off of the buttons themselves. I was wondering if using a switch/case type structure would be best.

I searched a bit for what i was looking for, but could not find it. Does anyone have a example/thread they could throw my way?

thx.

View Replies !    View Related
How To Highlight An Active Menu Item In A Flash Menu
Hi,

I have a flash menu and I want each menu item to be highlighted according to which page it is on (e.g. Highlight the 'about us' link when the user is in the about us section) to save having to create more than one swf. At the moment I have all the highlights made invisible like this:

highlightOne._visible = false;

But have no idea how to make the swf know what page it is on or how to make a highlight visible accordingly.

Can anyone help me out?

View Replies !    View Related
Flash Menu Transparent Over A Static Html Menu, Can It Be Done?
To ensure I have noticeable menu items (if user does not have flash installed)acting as a menu that, in principle, is part of the background.

I have made a nice little flash menu and would like it to mimic the menu text underneath it. So, transparent flash over a static html menu, can it be done?

View Replies !    View Related
Menu Fades In On Rollover, But Buttons In Menu Not Working.
Hi,

My menuMC fades in to 100% when rollover the transparent button and fades outs upon rollout the transparent button.
However, the buttons in my menuMC is not working. Logically speaking, with the transparent button on top of my menu bar, it sorta blocked out my menu buttons. Any suggestions/other way around it ?

this script goes to my transparent button

ActionScript Code:
on(rollOver)
{
     _root.menuMC.fade = "in";
}

on(rollOut)
{
     _root.menuMC.fade = "out";
}

this script goes to my menuMc with buttons inside

ActionScript Code:
onClipEvent(load)
{
     this._alpha = 0;
     fade = 0;
}

onClipEvent(enterFrame)
{
     if(fade == "out")
     {
          if(this._alpha > 0)
          {
               this._alpha -= 5;
          }
          else
          {
               fade = 0;
          }
     }
     else if(fade == "in")
     {
          if(this._alpha < 100)
          {
               this._alpha += 5;
          }
          else
          {
               fade = 0;
          }
     }
}

Appreciate what helps i get.

View Replies !    View Related
Help Finding A Vertical Colapsable Dropdown Menu With Sub-menu's Within
Hey there.
Can anyone point me in the right direction. Im looking for some open source
files with sort of a vertically based colapseable menu. Something with say for example
5-6 main buttons and then your able to open them- to view sub menu buttons within them...

Thanks very much!

View Replies !    View Related
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

View Replies !    View Related
Menu Vs. Submenu Appearance : XML-Driven Drop-Down Menu Help
I love Senocular's XML-Driven Drop-Down Tutorial. But I can't seem to get it to make the menu headers look different from the submenus.

Any help?

See the tutorial

Much appreciated.

(and if anyone is interested, i've turned it into a horizonal menu... reply and i'll post the code. better yet, help me fix the GUI issue and i'll post it )

View Replies !    View Related
Menu Navigation Help Desperate Moving Menu Buttons
Hi On my flash site i have a list of buttons, when i rollover one of the buutons i want sub menu buttons to appear below it and push the other buttons down to make space, and on moue out the buttons to move back up to original place, how can i go abut doing this? hope someone can help really desperate

View Replies !    View Related
Menu Fades In On Rollover, But Buttons In Menu Not Working.
Hi,

My menuMC fades in to 100% when rollover the transparent button and fades outs upon rollout the transparent button.
However, the buttons in my menuMC is not working. Logically speaking, with the transparent button on top of my menu bar, it sorta blocked out my menu buttons. Any suggestions/other way around it :confused: ?

this script goes to my transparent button

ActionScript Code:
on(rollOver){_root.menuMC.fade = "in";} on(rollOut){_root.menuMC.fade = "out";}


this script goes to my menuMc with buttons inside

ActionScript Code:
onClipEvent(load){this._alpha = 0;fade = 0;} onClipEvent(enterFrame){if(fade == "out"){if(this._alpha > 0){this._alpha -= 5;}else{fade = 0;}}else if(fade == "in"){if(this._alpha < 100){this._alpha += 5;}else{fade = 0;}}}


Appreciate your help. Thanks

View Replies !    View Related
Flash Expanding Menu Instead Of Javascript Drop Down Menu?
I am trying to make a flash file that will take the place of a javascript drop down menu. I need to have a slim horizontal menu bar surrounded top and bottom by the rest of the HTML webpage.



The function of the flash menu would be such that when one of the buttons are moused over > the menu would expand over the HTML images below it with more menu buttons.



This is really easy to do with javascript but I want the creative freedom flash offers. Does anyone know how I can create a flash file that can expand larger than it’s original size on the webpage



I have seen some really neat flash banner ads that definitely are on top of other html. Maybe I could do something like that.



Please let me know any ideas or resources I could use to do this.



Thanks.

View Replies !    View Related
Senocular's XML Drop-Down Menu - How To Use Different Clips For Menu And Item?
I have been playing with the Senocular's tute on xml, and was wondering how i would implement one look for the menu items and one for the submenu's.

I tried doing if statements (if name attribute = name, the use a different clip) but that didnt seem to work.

Any ideas?

View Replies !    View Related
Combine XML Menu Tutorial With Verticle Sliding Menu
Hey Guys,
IM trying to combine the dynamic XML menu tutorial found here on Kirupa with a tut ive found else where.

Now I under stand how the sliding tutorial works, but its based on some fixed dimensions.

Obviously the dimensions of the XML menu can change as items are added ...if any one could take a look a source (below) and tell me where to start referencing the variouse dimensions involved?

The news.xml and news.fla files contain a rough working model of the XML menu in case they are fo any use?

LINK: www.nineironmusic.co.uk/scrollmenu.zip

Scroll menu AS:


ActionScript Code:
mouseX = _ymouse;menuX = menu._y;if (mouseX > 280) {    diff = (mouseX-280)/15;}if (mouseX < 220) {    diff = (220-mouseX)/15;}if (mouseX <= 250 && menuX <= 56) {    setProperty("menu", _y, menuX+diff);}if (mouseX >= 250 && menuX >= -204) {    setProperty("menu", _y, menuX-diff);}if (menu._y >= 56) {    menu._y = 56;} else if (menu._y <= -204) {    menu._y = -204;   }gotoAndPlay(2);


Thanks... once again!
Zaid

View Replies !    View Related
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?

View Replies !    View Related
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

View Replies !    View Related
Menu Vs. Submenu Appearance : XML-Driven Drop-Down Menu Help
I love Senocular's XML-Driven Drop-Down Tutorial. But I can't seem to get it to make the menu headers look different from the submenus.

Any help?

See the tutorial

Much appreciated.

(and if anyone is interested, i've turned it into a horizonal menu... reply and i'll post the code. better yet, help me fix the GUI issue and i'll post it )

View Replies !    View Related
Menu Navigation Help Desperate Moving Menu Buttons
Hi On my flash site i have a list of buttons, when i rollover one of the buutons i want sub menu buttons to appear below it and push the other buttons down to make space, and on moue out the buttons to move back up to original place, how can i go abut doing this? hope someone can help really desperate

View Replies !    View Related
How Do You Pull Up The Type Pop-up Menu, And The Frame Pop-up Menu?
I'm halfway though a tuturial, and it asked me to pull up the Type pop-up menu, and the Frame pop-up menu, and i have no idea.

View Replies !    View Related
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;
}
}
}

View Replies !    View Related
Linking Problems W/ Cool Menu FX Menu
Hi, I have a Flash site that I created a side menu for using Cool Menu FX and can be viewed at the link below:

http://www.graphicdesign-nh.com/fc2/fcflashsite.html


The menu loads externally in the Flash site using the LoadMovie command. I set up links for the side menu buttons using Cool Menu FX to go to specific frame labels specified as named anchors (ie., fcflashsite.html#howworks) in the Flash site file. If the menu file is opened in Macromedia Player, the buttons work in that they open the browser window and it goes to the correct anchor label in the Flash site file. However, when the menu is viewed in the site as in the above URL the buttons don't work at all. Any ideas what is wrong? It seems like something simple. Please let me know. I'd appreciate any help. Thanks!

View Replies !    View Related
LInking Problems W/ Cool Menu FX Menu
Hi, I have a Flash site that I created a side menu for using Cool Menu FX and can be viewed at the link below:

http://www.graphicdesign-nh.com/fc2/fcflashsite.html


The menu loads externally in the Flash site using the LoadMovie command. I set up links for the side menu buttons using Cool Menu FX to go to specific frame labels specified as named anchors (ie., fcflashsite.html#howworks) in the Flash site file. If the menu file is opened in Macromedia Player, the buttons work in that they open the browser window and it goes to the correct anchor label in the Flash site file. However, when the menu is viewed in the site as in the above URL the buttons don't work at all. Any ideas what is wrong? It seems like something simple. Please let me know. I'd appreciate any help. Thanks!

View Replies !    View Related
Context Menu -standard Menu Add Copy?
Hi,

Im working on a flash project and was wondering if its possible to change the standard context menu to include the "copy" function of the edit context menu. Basically, I would like my static text to be able to be copied with the right click menu choice "copy" that would come up for editable text. Is this possible?

Thanks,
Yvette

View Replies !    View Related
[F9] Roll-out Menu With Sub-menu: Clickthrough Issues
Simple question - I'm sure this is common, but I couldn't find what I needed:

I have a roll-out menu with several submenus. All are placed on the main timeline however (the submenus aren't inside the main menu MC). The obvious problem is: when the user rolls over one of the sub-menus, the ROLL_OUT action is triggered and the main menu rolls back in.

How can I set a sprite or mc to recognize moue actions, but also allow them to "sink" through to another level?

View Replies !    View Related
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.

View Replies !    View Related
Scolling Menu With Drop Down Menu In Side
hey all im trying to design a site with a scrolling menu which will let you scroll from page to page also on each page there is a drop down menu. I was wondering how I would go about doing this. Thanks all for your help.

from Rublink182

View Replies !    View Related
XML/Flash Menu - Making Menu Horizontal
Hi guys, I am trying to make the xml menu horizontal. I have manged to get it horizontal, the first submenu is right below however the following submenus go to the right. Can someone help me with this?

Thanks

View Replies !    View Related
Horizontal Scroll Menu With Drop-down Menu Over It
hey guys, i'm running MX 2004 pro.
here's what's going on:

i've got a horizontally-scrolling menu (in a movieclip) that is constructed similarly to the tutorial here: http://www.flashkit.com/tutorials/In...-815/index.php

in the same .fla, there is also a drop-down menu, that when down covers part of the scrolling menu. this, of course, triggers the scrolling menu. ideally, the scrolling menu would instead continue to scroll, and be unaffected by a user selecting an item from the drop down menu.

in the timeline, i have the following code pasted onto the instance of the horizontal scrolling menu:

onClipEvent (mouseMove) {
xmousepos1 = _xmouse;
ymousepos1 = _ymouse;
if (xmousepos1>xmousepos2 && ymousepos1>-45 && ymousepos1<60) {
_root.scrollclip.nextFrame();
}
if (xmousepos1<xmousepos2 && ymousepos1>-45 && ymousepos1<60) {
_root.scrollclip.prevFrame();
}
if (ymousepos1<-45 || ymousepos1>60) {
play();
}
xmousepos2 = _xmouse;
ymousepos2 = _ymouse;
}


how could i modify this so as not to be affected by the drop down menu? unfortunately, moving the position of the drop down is not an option.

thanks for reading and thanks for your time,
decerebrate

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