Layering Images Over Mx Buttons...
For my first question I sure hope I'm able to get help I also in hopes you understand the question.
Ok there are a couple challenging parts to this:
I'm Designing an application(all the back end stuff complete) I'm now working on the interface with three navigation menu buttons (let say tab1 tab2 tab 3), I want to be able to do simple mouseover and onrelease events. clicking tab 1 would present the objects of tab 1 e.t.c...simple enough right..? also
I need resources/tutorials to hover effecst to change the color of the buttons on mouseover.
(its so easy to do in js/html)
Here's where things got tricky, this app is fully functional using mx.controls.Button; is there a way to layer an image over that maybe to have all its funtionality?
here goes an image to get a visual of the effect im trying to get
http://www.anobleworld.com/frontend/...ckground_n.png
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 09-13-2004, 10:23 AM
View Complete Forum Thread with Replies
Sponsored Links:
Layering Images Over Mx Buttons...
For my first question I sure hope I'm able to get help I also in hopes you understand the question.
Ok there are a couple challenging parts to this:
I'm Designing an application(all the back end stuff complete) I'm now working on the interface with three navigation menu buttons (let say tab1 tab2 tab 3), I want to be able to do simple mouseover and onrelease events. clicking tab 1 would present the objects of tab 1 e.t.c...simple enough right..? also
I need resources/tutorials to hover effecst to change the color of the buttons on mouseover.
(its so easy to do in js/html)
Here's where things got tricky, this app is fully functional using mx.controls.Button; is there a way to layer an image over that maybe to have all its funtionality?
here goes an image to get a visual of the effect im trying to get
http://www.anobleworld.com/frontend/...ckground_n.png
View Replies !
View Related
Layering Background Images
Alright heres what im working with:
http://www.jumnious.com/crimson/index.swf
Me and my cuz are building a website for a band, hes gone for the weekend, hes the photoshop/illustrator/artsy guy, im the flash/coder guy. Just messing with a few ideas. I made a transparent BG image and its got a transparent hole in it. When i click a button, (next bg button i guess), I want an image to load underneath that image. I want a lot of images be able to load underneath this image, they will be the same size as the flash file. What would be the best way to do this. make an array, and load it in from a for loop? Im more c++ based so im not exactly sure what the syntax it would be. Anyone know a quik tut on something of this nature, any feed back is appreciated.
Also, this file is 1024px wide, what is the best way to insert this into a html document that centers it in the middle vertically and horizontally? How do i make the buttons on top of the browser go away when u click the link to open the index.htm file. And i want it to be full screen. I think its width=(width)-1 or something like that.
Thanks,
Acid
View Replies !
View Related
Layering Background Images
Alright heres what im working with:
http://www.jumnious.com/crimson/index.swf
Me and my cuz are building a website for a band, hes gone for the weekend, hes the photoshop/illustrator/artsy guy, im the flash/coder guy. Just messing with a few ideas. I made a transparent BG image and its got a transparent hole in it. When i click a button, (next bg button i guess), I want an image to load underneath that image. I want a lot of images be able to load underneath this image, they will be the same size as the flash file. What would be the best way to do this. make an array, and load it in from a for loop? Im more c++ based so im not exactly sure what the syntax it would be. Anyone know a quik tut on something of this nature, any feed back is appreciated.
Also, this file is 1024px wide, what is the best way to insert this into a html document that centers it in the middle vertically and horizontally? How do i make the buttons on top of the browser go away when u click the link to open the index.htm file. And i want it to be full screen. I think its width=(width)-1 or something like that.
Thanks,
Acid
Oh yea, im using flash MX
View Replies !
View Related
Layering Buttons?
I am making a flash site where a custom cursor is used - you know, using the mouse.hide command and startdrag on the symbol I use for the cursor:
Mouse.hide();
startDrag("cursor", true, -3.6, 190.3, 1011.7, 604.5);
The symbol I use for the cursor I have set as a button, because when the user clicks, the cursor image changes into a different image.
However, any navigation buttons on the site (on a layer under the cursor image) do not work when clicked and I get the following error message in the output window when I export:
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 2: on handlers may not nest within other on handlers
on (release) {
Is there any way to get it so the buttons underneath the cursor image will work while still having the cursor behave as a button?
Note: I use Flash MX
View Replies !
View Related
Layering Buttons?
Hi,
I'm currently making a map of the UK. The idea is you roll over an area (ie Scotland) and the area grows to about 200% so you can see the cities clearly, then you move the mouse off the area and it goes back to it's original size. I want each city to be a clickable URL but because the cities are sat on the expanding area button they conflict with each other, when i place my mouse over a city the area button thinks i've rolled out and tries to resize back to its normal size.
I hope i've explained that okay!
Any Ideas?
Jo
(EDIT: heres how it currently looks - http://www.cheaplimohire.com/flash-map/index.php)
View Replies !
View Related
Buttons Inside Move Clips - Undoubtedly A Layering Issue
Hi,
Working in Flash, I have button instances located in a movie clip that is located in yet another movie clip and set on the main timeline. As a result, the buttons lose their functionality, as they cycle repeatedly through the different states and won't recognize when the cursor is set atop them. Reading other forums, I have an idea this has something to do with the layering, but I can't find any concrete fixes for the problem.
Any help would be greatly appreciated.
View Replies !
View Related
BUTTONS & IMAGES
Hey
hope you guys and girls can help again! i am trying to create...and not getting very far!
ok, i have imported a gif image into flash, i want the image as a small icon which you would then 'hover' over and the image would cover the page.... to do this the image is a 'button'...have i doen this right so far?
problem...the image quality is CRAP when you hover over the smaller image, the original file sizes and resolution of the images are really high....when i try doing this with a jpeg or a tiff on the .swf file where the images are supposed to be....its blocks of bright colours....!
am i going mad...should i give up now!
View Replies !
View Related
Buttons And Images
Hey
hope you guys and girls can help again! i am trying to create...and not getting very far!
ok, i have imported a gif image into flash, i want the image as a small icon which you would then 'hover' over and the image would cover the page.... to do this the image is a 'button'...have i doen this right so far?
problem...the image quality is CRAP when you hover over the smaller image, the original file sizes and resolution of the images are really high....when i try doing this with a jpeg or a tiff on the .swf file where the images are supposed to be....its blocks of bright colours....!
am i going mad...should i give up now
View Replies !
View Related
Using Images And Buttons
Hi,
Im not sure how to do this, basically I want a button once clicked to be replaced by a picture, if that makes sense, so if there was a blank square, once that blank square is clicked, it reveals a picture, without appearing like a new image has appeared instead..
I have the image file in my library
and I have the squares which I have converted into buttons,
but in the code how do I specify that upon selecting a particular button, a particular picture appears?
if I go about it by saying for example:
on (release) {
if x != true && y != true) {
SetProperty ()
if (turn == "x") {
x= true
}
else {
y = true
}
how do I ensure that if x=true then an image of x will be shown, and if y=true then an image of y is shown.
sorry if this is basic :/ im trying to follow a book, but its not helping much
View Replies !
View Related
Why Are My Buttons Just Images?
iv done the down, over hit frame designs and specified on release to jump to a url.
i go to scene and drag the button from the library onto the scene page,
i export the movie as flash and also tried publish, but i just find the original still image and mouse events have no effect.
i go back to button, edit and check the 4 down, over frames have my new designs still there, and yeh they are.
so i dont know what im doing wrong.
i cant find any info in any tutorials on why its being like this,
i know iv probably missed something obvious.
so.. its your turn now, please enlighten meŽ!
View Replies !
View Related
Layering Help
I have been working with flash for a little under a week now, and I think I have a pretty good understanding of the program, however, I am having some trouble. I have a mouse over pop up button so that the images can be enlarged, however due to the layers the pop up always wants to be underneath the other layers that it is beneath.
I have tried putting all the buttons in the same layer, but the same things happens.
It appears unavoidable. I was wondering if somone knew how to get the images to appear infront of other layers even when they are under other layers?
I would post a pic of what I am talking about, but it appears that this board does not support that.
Any help would be grately appreciated.
View Replies !
View Related
Layering Help
Does anyone know if it is possible to layer your flash on a webpage? On my site i have 2 flash items that are intentially overlapped, but the one i want for on top is stuck behind the other flash item. If anyone knows how to correct this or even if it is possible to correct this then email me or respond. Any feedback whatsoever is appreciated.
Thanks
View Replies !
View Related
MC Layering HELP Please
I wasnt sure if this was a question for the newb section or this bigger less familiar forum but here goes small question in the big help pond.
I have a simple site im working on. There are 3 button instances on the left that when rolled over they play a movie clip that fills most of the screen(not over the buttons) with a tween to a filled square and then depending on which button was rolled over load a certain variable from a text file and display it in a dynamic txt field. The problem i have is that all 3 button instances are on one layer but i want whichever button is rolled over to be "on top" if you know what i mean. What happens is if i roll over button 3 and then roll over button 1 button 1's output is under button3's output. I hope that makes sense if not i can reword it / upload link the sources.
-----Lemme know if im in the wrong place or if this description sucks if it does i will fix it after work and things prolly middle of the night tonight
View Replies !
View Related
Layering?
I'm having trouble with movieclips. When I click a button I want a movie clip to play and it does but when I click another button I want a movie clip to play on top of the previous one. The problem is that it'll play behind it (thats how the layers are arranged).
View Replies !
View Related
Layering?
Hi guys,
Im basically creating a blackboard writing effect..
I've been following this tutorial here...
http://www.rnel.net/tutorial/Flash/10883
However, when I go to erase the text, the blackboard erases too...
What am I doing wrong guys?
This is really pissing me off, I can do it in Photoshop using layers, but not with Flash.
By the way, i am using flash CS3.
View Replies !
View Related
Layering Help
Hi guys, just a quick question on layering and mouse clicks
I have a background that runs a function when clicked with a MouseEvent.CLICK listener. Now, when I add a child on top of that background, and click that child that I just added, it still runs the background MouseEvent.CLICK function. What is the reason for this, or what am I doing wrong here? I am clicking the new movie clip on top of the background, not the background
Thanks for your help, this doesn't seem to make much sense but I'm guessing there is a super easy answer out there
View Replies !
View Related
Layering Help
Hi guys, just a quick question on layering and mouse clicks
I have a background that runs a function when clicked with a MouseEvent.CLICK listener. Now, when I add a child on top of that background, and click that child that I just added, it still runs the background MouseEvent.CLICK function. What is the reason for this, or what am I doing wrong here? I am clicking the new movie clip on top of the background, not the background
Thanks for your help, this doesn't seem to make much sense but I'm guessing there is a super easy answer out there
View Replies !
View Related
Using Transparent Buttons On Top Of Images.
hey all. heres a problem that maybe somebody can help me out with :
on my main stage, i have two layers: one layer is a an imported quicktime file, and another layer is a still image. the image in on top of the movie. what i want to do is this:
when the file starts, i want the image to be completely transparent (thus, you can see the movie playing underneath it). then, when you mouseover the image, i want that small section of the image to appear. thus, as your mouse moves around the image, it appears in those areas where your moust moves across it. im sure this has something to do with creating a bunch of transparent square buttons and overlaying them on top of the image, as well as using masks in a creative way. however, i cannot think of the exact actionscript to implement this idea. can anybody please help me out? thanks so much.
peace
john
View Replies !
View Related
Buttons Linking To Images
i have 15 buttons. that i want to link to 15 images. the images are named like picture0.jpg picture1.jpg picture2.jpg all the way up to picture14.jpg.
i want when a user clicks one of the 15 buttons the image above loads. say he choose button 5, picture4.jpg would show above.
any ideas how to go about this?
Any help, script, fla appreciated.
oliver
View Replies !
View Related
Buttons, Links, Images Etc.
I'm working on a flash website. I first was trying to make little submenus, but they weren't working. What I've discovered is flash doesn't let you have a button within a button. I started off by making a single button that I had made do all of the color changes and general visual part of the button and then I used a bunch of copies of that for all the different buttons on the menu and made them all buttons of their own that I put the actionscript on to make them go to the correct pages. I started out making submenues off of those buttons, but I got frsturated by that not working so I decided not to use them. But one of my problems here is that when I say test movie the buttons don't go to the pages they are programmed to go to. They do change colors and stuff. So the button within is working, but the more important one isn't. Obviously a solution to this would be to make it all one button that does the visual part and the actual changing of pages, but I'm wondering if there is an easier way to do it. Something to note is that when I just select "Enable Simple Buttons" they work, and they go to the pages and change color.
My other issue is that I've got a lot of pictures I would like to have on this site and I realized it would make the end file size pretty big just putting them all in there, so I was wondering if there is a way I can make flash link to images that are hosted on the internet and display them regularly within the page like they aren't. Or, if each page could load individually that would be nice, instead of the whole thing loading at the beginning. If anyone can help me with any of this that would be much appreciated.
View Replies !
View Related
MOVING IMAGES With Buttons
Hi.. I'm sure this question has probly been answered before but I was wondering how to make an image move to the left or to the right with a click of a button... for example if there was one long HORIZONTAL image... how could I make it so that once I clik a button the image will scroll from one side to the other...
IF ANYONE COULD HELP ME WITH THIS I WOULD GREATLY APPRECIATE IT.
P.S: I know how to do this with Tweens.. I was wondering how to do it with actionscripting
I am going to be using this effect for the "ALBUMS" part of this website
COLD4LIFE RECORDS
View Replies !
View Related
MOVING IMAGES With Buttons
Hi.. I'm sure this question has probly been answered before but I was wondering how to make an image move to the left or to the right with a click of a button... for example if there was one long HORIZONTAL image... how could I make it so that once I clik a button the image will scroll from one side to the other...
IF ANYONE COULD HELP ME WITH THIS I WOULD GREATLY APPRECIATE IT.
P.S: I know how to do this with Tweens.. I was wondering how to do it with actionscripting
I am going to be using this effect for the "ALBUMS" part of this website
COLD4LIFE RECORDS
View Replies !
View Related
Photohop Images In Buttons
Hello there
Can anyone help me with the following:
I want to create a button that consists of a Photoshop Image of a Circle that changes to another Photoshop Image of a Circle when the mouse hovers over it.
The image would obviously have white edges/background in Photoshop so how would I make the white transparent when it gets imported into Flash?
Thanks in advance.
View Replies !
View Related
Images Into Frame With Buttons
I wanted to have 10 or so buttons and by clicking each button It would bring up
a different picture from the library (Or a folder on my pc) onto the movie.
But I would like this to be done with one frame (If Possible)
Sort of like a dress up game but adding the pics with buttons instead of dragging them around.
I have tried different codes but nothing works
Anyone know how I can do this ?
Thanks
View Replies !
View Related
[F8] Buttons Interactiong With Images.
I got this site.
My problem is that i don't really know how to make the main images change when a user goes over the buttons. So it's like ... you put the mouse over Home and it changes the main image to a sandwich. you put the mouse over Our Company and it changes to a lettuce or something like that.
Any ideas?
Thanks in advance
P.S.: I have absolutely NO clue about actionscript but i have quite a lot of experience from other programming languages.
View Replies !
View Related
Targeting Images With Buttons
I'm going to dumb this down to the absolute lowest common denominator as I've tried to get help with this on another forum and spent the entire time just explaining what I mean. lol. Here goes:
For the sake of argument lets say we're working with:
Buttons: A, B, & C
SubButtons: a.1, a.2, & a.3
Images: 0, 1, 2, & 3
Overlay Image: 0.1, 0.2, & 03
A brief description of each of the above:
Buttons are going to be just that, a button with simple rollover that upon clicking will change a target image.
SubButtons are just another set of buttons.
Images are the target image that should change.
Overlay Images are images that will load "on-top" of the Images to change their appearance slightly. Example; decals on a car.
Alright, what I'm looking to do is have buttons A, B, & C below target image 0. If you clicked Button A, target Image 0 would change to Image 1. If you click Button B, Image 2 would load in the same target area above, replacing Image 1. Now at the same time I'd like to incorporate a set of "SubButtons" that upon clicking wouldn't change the main target image, just throw up a new image above the target image to change it's appearance ever so slightly. Say for example I click Button A again which loads Image 1. I click SubButton a.1 and some green stripes overlay ontop of Image 1. If the user clicks Button 2, the green stripes stay there, just the target image below changes.
I have some flash experience but it's been a while since I've used the program. I just picked up a student edition of CS3 and the interface is completely different from what I'm used to. Any guidance you guys could give would be greatly appreciated! Thanks in advance, hopefully you can help me.
View Replies !
View Related
[CS3] Help Making (PNG) Images Into Buttons.
Hi all, I am very new to using flash and I'd like to use some icons (PNG) I have to insert into my flash in the form of buttons.
Could anyone point me in the direction of an understandable tutorial or perhaps give me some help?
I've imported the graphic and then converted into a button, I have then assigned the over/hit etc properties and then i go to add the actual actionscript and it tells me 'actionscript cannot be added to this'.
I know I am abviously missing something so any advice would be appreciated.
Many thanks
Sliilvia
View Replies !
View Related
Using Loaded Images As Buttons
hey,
i'm dynamically loaded a number of images from an xml file. i want to use these images as buttons but the code doesn't work.
Code:
for(var u = 0; u < imageLength; u++){
var thumbImages:String = "thumbImages" + u;
this.createEmptyMovieClip(thumbImages, this.getNextHighestDepth());
this[thumbImages]._x = 0 + (80 * u);
this[thumbImages]._y = 100;
var thumbURL = _root.portfolioXML.firstChild.childNodes[r].childNodes[2].childNodes[u].firstChild.nodeValue;
trace(this[thumbImages]._x);
loadMovie(thumbURL, thumbImages)
this[thumbImages].onRelease = function(){
trace("test");
}
}
does using a string variable instead of the intance name prevent this from working. any ideas
thanks
adam
View Replies !
View Related
Help Making (PNG) Images Into Buttons.
Hi all, I am very new to using flash and I'd like to use some icons (PNG) I have to insert into my flash in the form of buttons.
Could anyone point me in the direction of an understandable tutorial or perhaps give me some help?
I've imported the graphic and then converted into a button, I have then assigned the over/hit etc properties and then i go to add the actual actionscript and it tells me 'actionscript cannot be added to this'.
I know I am abviously missing something so any advice would be appreciated.
Many thanks
Sliilvia
View Replies !
View Related
Images And Buttons Disappeared
Was building a slide show and had buttons on stage with the larger image in the middle. It was working fine then all the images and buttons disappeared. They are there but it looks like the alpha is "0". When I try to add another image to convert to a button or to the slide show it is there but not there.
View Replies !
View Related
Help Making (PNG) Images Into Buttons.
Hi all, I am very new to using flash and I'd like to use some icons (PNG) I have to insert into my flash in the form of buttons.
Could anyone point me in the direction of an understandable tutorial or perhaps give me some help?
I've imported the graphic and then converted into a button, I have then assigned the over/hit etc properties and then i go to add the actual actionscript and it tells me 'actionscript cannot be added to this'.
I know I am abviously missing something so any advice would be appreciated.
Many thanks
Sliilvia
View Replies !
View Related
Swaping Images For Buttons
what is the action script code, and what else is needed, to make my buttons change color (indeed image) on rollover?
I have got this from the manual:
366ActionScript classesonRollOut (Button.onRollOut handler)onRollOut = function() {}Invoked when the pointer moves outside a button area. You must define a function that executes when the event handler is invoked.Availability: ActionScript 1.0; Flash Player 6ExampleIn the following example, a function that sends a trace() statement to the Output panel is defined for the onRollOut handler: my_btn.onRollOut = function () {trace ("onRollOut called");};onRollOver (Button.onRollOver handler)onRollOver = function() {}Invoked when the pointer moves over a button area. You must define a function that executes when the event handler is invoked.Availability: ActionScript 1.0; Flash Player 6ExampleIn the following example, a function that sends a trace() statement to the Output panel is defined for the onRollOver handler: my_btn.onRollOver = function () {trace ("onRollOver called");};
how do I hanlde the trace() statement??
Thanks,
Dario
View Replies !
View Related
Using Xml Loaded Images As Buttons
I am new to actionscript.
i know this has been hashed over in various forms before but i have honestly been working at this for over a week. I got a script from Kirupa on loading images for photogallery with xml, but I do not want to use "next" and "previous" buttons but want to use the images themselves as buttons to load the larger images, prefferably on rollover. Right now i have the thumbnails loaded but can only give them on event handlers as a group not individually. i will post the fla I could be way off with the way I am approaching this, i don't know. thanks for your patience and help! I can also post a link for an example website that I am trying to create.
View Replies !
View Related
Disappearing Buttons And Images
This one has me stumped, I've got two arrows (right and left) in a movie clip on the scene. They are hidden when the page first opens, and I have them appearing when clicking on the menu. After appearing, they stay a few seconds and then disappear. I've got a stop command in the movie clip.
For my images, those are in another file and dropped into a blank movie clip to load. When you rollover the submenu they appear but after a few seconds they dissappear like the arrows. I have stop commands in that seperate file under each scene and a stop command in the blank movie clip.
Help!!!
Thanks!
View Replies !
View Related
Using Xml Loaded Images As Buttons
I am new to actionscript.
i know this has been hashed over in various forms before but i have honestly been working at this for over a week. I got a script from Kirupa on loading images for photogallery with xml, but I do not want to use "next" and "previous" buttons but want to use the images themselves as buttons to load the larger images, prefferably on rollover. Right now i have the thumbnails loaded but can only give them on event handlers as a group not individually. i will post the fla I could be way off with the way I am approaching this, i don't know. thanks for your patience and help! I can also post a link for an example website that I am trying to create.
View Replies !
View Related
Disappearing Buttons And Images
This one has me stumped, I've got two arrows (right and left) in a movie clip on the scene. They are hidden when the page first opens, and I have them appearing when clicking on the menu. After appearing, they stay a few seconds and then disappear. I've got a stop command in the movie clip.
For my images, those are in another file and dropped into a blank movie clip to load. When you rollover the submenu they appear but after a few seconds they dissappear like the arrows. I have stop commands in that seperate file under each scene and a stop command in the blank movie clip.
Help!!!
Thanks!
View Replies !
View Related
Scrolling Images As Buttons
I found this tutorial on how to create a scrolling image bar.
http://www.flashadvisor.com/tutorial...X_2004-21.html
What I'm having trouble with is how to take each image and make it a button to another page in the site. It's part of a portfolio and each thumbnail goes to the full view. Anyone have any insight?
Thanks
View Replies !
View Related
Masking JPG Images Within Buttons?
I'm creating buttons that contain masked screenshot JPGs (dark b/w versions in the OFF position that lite up in the ON position). Everything works fine when I'm editing the button, and when I test the button on the Stage inside Flash MX. But when I export the .SWF, the mask doesn't work -- I get the entire JPG stretching across where it shouldn't.
I know this is a little obtuse, but has anyone else seen this before? Is there a way to fix it (other than tearing apart the buttons and figuring out a way to rebuild them that doesn't use masks)?
Thanks!
View Replies !
View Related
Rollover Buttons With Images
Hey all,
I have a UILoader loading an image, and I'm making that into a button. I've added a addEventListener so that when you click it fires an event
The event tries to redraw the button with a new image.. so far ZERO luck.
Code:
private var dataLoader:UILoader = new UILoader;
dataLoader.source = "assets/off-tab.png";
dataLoader.mouseEnabled = true;
dataLoader.height = 23;
dataLoader.width = 121;
dataLoader.addEventListener(MouseEvent.MOUSE_DOWN, clickMe);
private function clickMe(evt:MouseEvent):void{
evt.target.source = "assets/on-tab.png";
}
This is the error I get:
Error #1056: Cannot create property source on flash.display.Loader.
Thoughts? TIA
C
View Replies !
View Related
Duplicate Mc Layering?
Hi,
I've been having a problem usind the duplicate mc actionscript. I'm duplicating a movie successfully. The depth for this command is straight forward for duplicating of mc's on a particular layer.
The problem I am having is that when the movie clips have been duplicated, they seem to appear above every other object on the stage even though the layer that they are supposed to be on (in the timeline) is at the bottom.
I have been fiddling around for a while and cannot get this bug sorted. Can you help?
here is the code that duplicates the movie clip
_root.number = 3;
for (i=1; i<=_root.number; i++) {
duplicateMovieClip (_root.s, "s" + i, i);
s._visible = false;
cheers
J
View Replies !
View Related
Layering Problem PLEASE HELP
I am using an open source fla from Ultrashock.com and I can't seem to get the layers to work correctly when I try to load something...
Everything is currently loaded into Level 0 and if i load a movie I cannot get "underneath" the dropdown menus...
Is there a way to load the menu on a higher level and then load the movies underneath the menu? or is there a better way to do this??
Here is a summary of the code:
onClipEvent (load) {
mainSections = new Array(":: home", ":: services", ":: hot buys", ":: resources", ":: contact");
subSection0 = new Array("welcome");
subSection1 = new Array("duplication", "conversion", "post production", "production", "cd / dvd");
subSection2 = new Array("video", "audio", "post equipment", "service deals", "other");
subSection3 = new Array("forum", "q & a", "links", "faq");
subSection4 = new Array("map", "personel");
for (i=0; i<mainSections.length; i++) {
attachMovie("mainButton", "main"+i, i);
myButton = this["main"+i];
myButton.subs = this["subSection"+i];
myButton.button.value = mainSections[i];
myButton._x = myButton._width*i;
// -- build subsection buttons for each main button
for (x=0; x<myButton.subs.length; x++) {
myButton.attachMovie("subButton", "sub"+x, x);
mySub = myButton["sub"+x];
mySub.button.value = myButton.subs[x];
mySub.button.outYpos = myButton._height+(mySub._height*x);
}
}
// -- function that opens the subsection on rollover
function openSubs (target) {
for (i=0; i<this[target].subs.length; i++) {
subMenuCounter = 0;
this[target]["sub"+i].button.newY = this[target]["sub"+i].button.outYpos;
currentOpen = target;
}
}
// -- close subsections function
function closeSubs (target) {
for (i=0; i<this[target].subs.length; i++) {
this[target]["sub"+i].button.newY = this[target]["sub"+i].button.oYpos;
}
}
// - this is the fuction you would change to load content, or add more functionality to the buttons
function doSubSection (target, sub) {
_root.currentSelection = target+sub+".swf";closeSubs(currentOpen);
}
}
View Replies !
View Related
Layering SWF Movies
I have 3 separate SWF movies. One is my main homepage which is on level 0. The other one is a website SWF and resume SWF. I have no problem loading the web SWF and resume SWF on top of the homepage, but I have a close button in web and resume. When you click on the close button I want it to go to a certain frame in my homepage. I am having the problem of whenever I click on the close button it plays from the beginning the homepage SWF.
Can you help me?
View Replies !
View Related
Layering Layers
I have created 5 movie clips with rollovers, each on a layer below the one above.
Therefore when I rollover the one at the bottom the four movie clips above it all show through, because they are on layers above it.
Therefore how can i make it so that the one i'm rolling over is always on top of the others.
Thanks
lee
View Replies !
View Related
|