Slide-nav
Using this code on a slide-nav
Code:
onClipEvent (enterFrame) {
if (_parent.mainVar == 0) {
homeX = (-_parent._xmouse)+194.3;
} else {
homeX = (-_parent.mainVar)+0;
}
thisX = _x;
diffX = homeX-thisX;
if (_parent.mainVar == 0) {
moveX = diffX/2;
} else {
moveX = diffX/1;
}
_x = thisX+moveX;
}
Problem is that the images slides even though om moving the mouse outside the MC. How to fix that?
/ pand
Ultrashock Forums > Flash > ActionScript
Posted on: 2003-05-14
View Complete Forum Thread with Replies
Sponsored Links:
Reload/Restart Slide In Slide Presentation
Quick Question. I'm using flash CS3 and making a flash slide presentation. How do I make it so when i press the "next slide" button, that the "next slide" starts from the first frame each time? Right now, when I have it set, if it has already played once, it stays at the end.
I'd like to to start from frame 1 each time I click next, or previous, and each time it does so. So that it automatically reloads that slides contents each time I go to that slide.
Right now, each "next slide" button only has:
Code:
on (release) {
// GoTo Next Screen behavior
var screen = null;
var target = this;
while((screen == null) && (target != undefined) && (target != null))
{
if(target instanceof mx.screens.Screen)
{
screen = target;
}
else
{
target = target._parent;
}
}
if(screen instanceof mx.screens.Slide)
{
screen.rootSlide.currentSlide.gotoNextSlide();
}
// End GoTo Next Screen behavior
}
View Replies !
View Related
[CS3] Slide Out Menu W/ Flash Slide Show
I stumbled across this website and figured you may be able to help me. Since I am the "computer guy" at our church, I have been asked to design a website for them. I know the very basics of website design but figured I'd give flash a try. I have attached what I would like our menu to look like. This was designed in Photoshop as is the rest of the website (not shown). Basically, I want the pictures to become a Flash slideshow and then the menu to slide out to the left when the mouse is over it and whichever word (HOME, ABOUT US, etc) the mouse is over, that word will slide back to the right to the original position. Then, if someone clicks HOME it will go to the Home page and such. I also want the menu to slide back when the mouse is not over it. How in the world do I do this? It's an idea I had in my mind but unfortunately I don't know enough about Flash to do this. If someone can step me through this step-by-step or has any code, that'd be great. Thanks in advance guys!
View Replies !
View Related
Convert Horizontal Slide To Vertical Slide
Hello,
I have a simple script that moves an MC left and right of X according to the mouse location on the X-axis and I'd like to tweek it so it moves on the Y-axis according to the mouse's location on the Y-axis and I can't seem to get it to work. Seems simple enough, yet I don't seem mathematically/logically up to the challenge. Here's my original code:
onClipEvent (enterFrame) {
_root.xChange = Math.round(_root._xmouse-this._x);
_root.xMove = Math.round(_root.xChange/100);
this._x -= _root.xMove;
if(this._x <= 10){
this._x = 10;
}
if(this._x >= 450){
this._x = 450;
}
}
If someone could post back what I need to do to make this vertically oriented I'd sure appreciate it. Thanks,
Llyfre
View Replies !
View Related
SLIDE PRESENTATION - NAVIGATING TO FIRST FRAME OF EACH SLIDE?
Hello -
Newbie needs some help -
I'm creating a Flash Slide Presentation. A number of the slides have brief animations, and timelines of up to 30 frames.
The first time I page through, each slide begins on the correct frame (#1). When I page back or forward a second time, the screen remains static on the last frame of the timeline.
How do I make it so that each time I navigate (or renavigate) to a screen, the animation will play from the beginning, starting with the first frame?
Thanks,
- Markobooga
View Replies !
View Related
Made It Slide Out But Can't Make It Slide Back....
Hi there,
I have made a button that when you rollover it has a different colour slide out from under it (makes it look slightly 3D). However, when the pointer moves off the button the other bit that slid out just goes. I want to make it slide back and go, can I do this? I've been trying and have made the opposite tween etc but don't know where I am going wrong.
Please feel free to look at the file for a better understanding: http://www.dbsgames.co.uk/new_about_usTEMP.fla
View Replies !
View Related
HELP: FLV Video On Slide Won't Wait Until Slide Is Displayed
Hello folks,
I am putting together a slide presentation in Flash 8 and I am loading video (FLV format) into a few of the slides. The problem is that as soon as the slide presentation starts, so do the videos (even though the first slide has no video)! I have been able to get the videos to not play right off the top by setting autoplay to false, but then how do I get the video to play once I display the slide that it is on?
Any help would be greatly appreciated.
Glen
View Replies !
View Related
How To Create Slide In Slide Out MENU ?
Example I have button on the top of the screen "MENU"
When u click on it Window slide down with menu!!!
When I click on close button it slides back off the screen!!!
I was trying to do using different levels but it didnt work because I want to use navigation buttons in slide in slide out menu!!!
Post action script here or do quick flash file and email it to me digital_plasma@yahoo.com.au
Thank U in advance !!!
View Replies !
View Related
Timer Pushes To Next Slide In Slide Doc
I realize this may be the simplest question ever, but I just can't find it anywhere... I don't know actionscript yet and I am simply trying to go from one slide to the next slide with a timer within a slide document in Flash 8. The behaviors are great for interaction for go to next slide and go to first slide, but how do I get all of those things to happen so many seconds after a slide loads, instead of it being triggered by the action of the user?
View Replies !
View Related
Button Navigating From Slide To Slide
I have a question about using buttons (rather than a playbar) to navigate in swf files. I am not very versed in actionscript.
I'd like to create buttons that can be used to move from slide to slide in swf files. Basically a "Next" and "Back" method. Click the next button and the user goes to the next slide, the SWF file "waits" for another button click to advance.
The method should be somewhat "generic" in nature. No calls to any specific file or slide. Basically a component that can be used with any swf file.
Is such a method possible?
Thank you,
TPK
View Replies !
View Related
Slide Show Image Dispears 3 Minutes After Slide Show Is Stopped - Why?
I have created a slide show with a stop button. The buttons stops; but after about 3 minutes of being stopped, the image just disappears and all I see is the movie's background. Does anyone know why this is occuring? If so, is there a quick fix for this issue?
PS: I used one of the goToAndPlay Key Frame events built right into my software; I assume it was this (to make movie stop):
Code:
on(release) {
stop();
}
View Replies !
View Related
Slide To The Left..... Slide To The Right.... HOW?
how is the sideways (to the left and right) scrolling image effect done?
like when a button is clicked the images scroll to the selected one while flying past the ones that arent selected.
example: http://www.darktowerproject.org
is there a tutorial or .fla anywhere showing how this navigation concept is accomplished?
View Replies !
View Related
Slide In Slide Out OnRelease
Hey all,
I am bulding a flash mp3 player that I want to be able to hide and reveal onRelease of a button.
So, when a user enters the page the music player is visible from the right of the page. On the music player there is a minimise button so the user can hide the player. On release of this button the player slides to the right stopping and leaving a tab for the user to click and slide it back in.
I have made this kind of work but in a really messy way: with a movieClip and tween, 2 frames of buttons etc...
I guess this should be possible with one button and action script that moves the movieClip _x a certain amount and then _x the same amount back using maybe an if statement? Ideally with some ease.
Anynoe no of any egs? Or tutorials for simialr functionality...
Many thanks in advance
Henry
View Replies !
View Related
Help Me With Pic Slide
I would like to create a page with 2 buttons next and previous
when I hit on next there will be loaded a pic above it?? My prob is,
is it possible that when I make a map with the pictures in it and if I add a new pic in this map and I press Next he automaticly finds it :/
Grtz Insa
View Replies !
View Related
Vol And Pan Slide
okay i havd made a vol and pan slide. And amazingly they work, they actually slide along the bar. Any way I have 3 songs one in frame 2 one in frame 3 and one in frame 4. All i need to know is how to link the vol/pan control to the frames.
http://www.flashkit.com/tutorials/Au...-727/index.php
This is the one i have been following how ever when i get to the chapter
Creating and Linking The Sound Object
mine is different coz my sound is on a frame.
View Replies !
View Related
Slide Bar
Hi, I want to create a movie control slide bar. I have a scene with lots of animation, (60 frames long, 20 layers) and I want to be able to control the animation with a Slide Bar so that the user can move back and forward just by dragging a slider.
All other tutorials that I can find on the net about slide bars all seem to dynamically scale something not play a movie or a scene!
Can anybody help, please.
Thanks!!
View Replies !
View Related
Slide Up Box
at the bottom bar of the site I want 4 tabs that are to different parts of the the site - contacts, about, etc.
When you click the tab (button) the box attached to the button - then slides up to cover the screen - you then have text - links - etc. inside that box.
When you click on aother box the first box slides back to place - showing the tab (button) and the other comes up.
How might I go about doing this?
Do I build eash box then have it layers behind so it only shows the tab and then add action script (what would it look like) to make them go up and down as clicked.
Thanks for your time and Help.
JT
ATL
View Replies !
View Related
How Do They Do This Slide?
http://www.swishzone.com/products/si.../mainmenu.html
This is a very nice menu system but unfortunatly I can figure out how it's done, it gets a little complicated. I would appreciate any help to figure this out because my boss is now stuck on using this method.
Thanks
View Replies !
View Related
The ICE Slide
I am making a photoalbum and have various movieclips shaped like polariod pictures, which i can grab and move around on a virtual table top. (a top view of all the pictures scattered about.)
I want the polaroids to be able to be thrown around and decrease speed like they are on ice. The harder you grab and toss the pictures the harder they slide, then eventually hit the side of the frame like they hit a wall.
could anyone point me to a tutorial, or even give me a brief explainition of the concepts for this effect.(remember, i already know how to create the clips, grab and move them to the top of the pile and release them at another point.)
View Replies !
View Related
Slide Y Or X In AS3?
Hi everyone,
This is my first as3 question, god this as3 is freaking me out, anyways.
I have attached some source files...
http://www.sbdesigns.ca/slideFiles.zip
slideY_A2.fla file is what I would like to accomplish in as3,
cool, easy right!!
Now my question is, how do I do this in as3?
I have started it the best I can in as3, lol!
Any help is mucho mucho appreciato, what?
View Replies !
View Related
Car Slide
i was working on a birds eye car game and was wondering how to get the car to slide. can anyone point me in the right direction, i've been searching and searching and finally decided on registering.
View Replies !
View Related
Slide In,Slide Out
Hi everyone on the www.rainerbehrens.com website how do they achieve the effect of having the righthand photo "slide" in while the left one "slides" out while browsing the photogallery?
View Replies !
View Related
Slide...
Hello how can I make my button symbol "slide" upwards?
I have tryied
Code:
on(rollOver) {
gotoAndPlay(2);
}
where frame 2 is the animation and it still did not work.
View Replies !
View Related
Help With Slide Bar
I created my own stop, play, pause buttons and slide bar to go along with my movie. the code necessary to make them work is below. It used to work seamlessly... however, it stopped working. the slidebar specifically doesn't work at all. can anyone take a look at the code below and tell me what you think it's wrong...?
this is my website, you can go to it and see that the slide bar at the bottom doesn't work... any help will be appreciated. http://www.dmusseb.com
videoclip.stop();
playing = false;
top = progress.slider._y;
bottom = progress.slider._y;
left = progress.slider._x;
right = progress.bar._width - progress.slider._width;
barlength = right;
this.onEnterframe = function()
{
if (videoclip._currentframe == videoclip._totalframes) {
playing = false;
videoclip.stop();
}
if (dragging) {
frame = Math.ceil((progress.slider._x/barlength)*videoclip._totalframes);
videoclip.gotoAndStop(frame);
} else {
frame_fraction = videoclip._currentframe/videoclip._totalframes;
progress.slider._x = (frame_fraction*barlength);
}
}
playbutton.onRelease = function(){
videoclip.play();
playing = true;
};
stopbutton.onRelease = function(){
videoclip.gotoAndStop(1);
playing = false;
};
pausebutton.onRelease = function(){
videoclip.stop();
playing = false;
};
progress.slider.onPress = function(){
dragging = true;
startDrag(progress.slider,false,left,top,right,bot tom);
};
progress.slider.onRelease = progress.slider.onReleaseOutside = function(){
dragging = false;
if(playing == true){
videoclip.play();
}
stopDrag();
}
View Replies !
View Related
Slide Y Or X AS3
Hi everyone,
This is my first as3 question, god this as3 is freaking me out, anyways.
I have attached some source files...
http://www.sbdesigns.ca/slideFiles.zip
slideY_A2.fla file is what I would like to accomplish in as3,
cool, easy right!!
Now my question is, how do I do this in as3?
I have started it the best I can in as3, lol!
Here is the AS2 code...
Code:
Code:
circle.onEnterFrame = function() {
current_y = circle._y;
slideTo_y = current_y-_root.circle_y;
circle._y = current_y - (slideTo_y/2.5);
};
btn.onRelease = function() {
_root.circle_y = "250";
}
Here is what I have in AS3 so far...
Code:
stop();
Code:
btn.addEventListener(MouseEvent.MOUSE_DOWN, SLIDEY);
function SLIDEY(event:MouseEvent):void {
circle.y = 20;
}
btn.buttonMode = true;
Any help is mucho mucho appreciato, what?
__________________
View Replies !
View Related
Slide Bar Help Please?
Hi
Does anyone know how I can get this effect please. Just in case the link doesnt work, Im looking to make a horizontal sliding bar (like a volume slider) but instead of changing the volume, I want an image (that is next to the slider) to change. Hope this makes sense. Cheers to anyone who can shed some light on this for me.
http://www.dejoria.com/index.php?pid...=&variant_id=&
Ok so ive just checked and the link doesnt take you to the right page. If you click on 'now click here to choose your diamond'you'll see the example Im on about.
View Replies !
View Related
Slide Nav
I have a sliding nav with 3 images on it, seems to work great except when it goes back to slide (1) it does not look "natural".
Is there a way of adding some script on the last frame to make it look more seamless when it loops back to slide (1)?
For a better visualization I will upload the FLA file here.
Thank you in advance for helping the flash community
S
http://www.malomedia.com/02.fla
View Replies !
View Related
Slide
Hi,
I want to make a flash that when you move your mouse on the x axis myMC will go to right and left, and when you move the mouse on the y axis myMC will zoom in and out..
I see lots of works like this, but I need a tutorial, a sample FLA
Thank you for your co-operation.
View Replies !
View Related
Help With Slide And Bounce
I'm trying to make some text slide onto the screen and then bounce naturally when it hits its required position.
I would also like to fade it it as it slide.
I'm sure all this can be done with actionscript but all I get so far is the slide movement.
View Replies !
View Related
Slider That Does Not Slide...grr
HI, I realize there are 5,000,000 slider questions and examples on here and on the net but I haven't found the answer to this -- something that seems simple!
I'm making a slider that must move incrementally as the user drags over an area of the slider. I've structured the slider with a number of invisible buttons under the drag area to represent the increments of movement. In this slider, there are 9 increments so there are 9 invisible buttons under the slider area. Ideally, I would like the user to be able to grab the slider and drag along its length -- activating each invisible button as it drags over them.
BUT (HERE IS MY PROBLEM), once it encounters one button, it does not activate the rest. I realize on(dragOver) is not suitable because you have to drag back into the button after leaving it. So I tried on(dragOut) but it still does not activate the next invisible button.
Here's my code on each button:
Code:
on (dragOut) {
// the slider animation from frames 1 - 9
_root.nav.zoomer.slider.gotoAndStop(1);
// here would be the rest of the code to zoom the object
}
So, as the user hits the next invisible button, the slider moves to the next frame (or previous) in its animation and the object zooms up or down depending on wherever the user drags.
Here's a quick example to show the UNdesireable behaviour. http://www.lucidiastudios.com/tempexample/slider.swf
...and the .fla:
http://www.lucidiastudios.com/tempexample/slider.fla
If anyone can assist or give a good working example, I would be grateful!
Thanks,
Jessica
View Replies !
View Related
Slide Navigation
I know that there is someone nice
that can show me how to make
a site with movies
that slide like in here:
http://www.bumbleandbumble.com/bb.html
that you have a feeling of continu....
Do you make it with separate movies
or tell target
or WHAT?
View Replies !
View Related
Slide Show
Hi I am making a slide show where you can cycle backwards and forwards through .swf files.
I have them loading and cycling though but I am having trouble with the sizing is there any way to size them dynamicly.
View Replies !
View Related
Slide Nav Menu Help
To all,
I have downloaded an .fla file here at flashkit and tried duplicating it for learning purposes but my nav doesn't work. I can't seem to find what I am missing.
Can someone be kind enough to take a look at the file?
Thanks in advance.
kusaDJ
[Edited by kusadj on 09-26-2001 at 03:09 PM]
View Replies !
View Related
Slide Show Help Please
Hello,
I nned help creating a slide show file like the one seen here: http://www.hollywood.com . It's the animation at the top that has three different images flashing in the frame with the words "get full story" on one of the buttons at the bottom. If someone can tell me how they would approach doing this in Flash I would greatly appreciate it.
Thanks,
tdsilk2
View Replies !
View Related
Slide Show
I want to make a simple slide show with some family pictures. I would like to put the pics in an array and loop my program to call out each picture in the array instead of having a program with 1000 frames.
Is this possible or is there a better way to accomplish this?
I looked through the tutorials, but didn't see anything off hand. If there is one please give me the link.
thanks.
View Replies !
View Related
Slide Should Be Easy
alright hey again fellas. Here is what i need help with.
I have a movie i want to scroll text in using actionscript. in this movie i have 3 mc's: up (up button) down (down button) and scroll. Now i have the scroll movie clip masked to hide it partially ( ofcourse ). Now what i want to do is rollover the up and have the scroll mc move up. until i roll off. and the same for down. also i need to make the scroll stop at a point not allowing it to go any higer or lower.
my dimensions are: 228px wide and 222px height
please help guys
pea
View Replies !
View Related
Slide Show Of .swf's
Hi,
This might be silly. I have a movie that contains thumbnails (buttons) that call each an .swf movie, that is basically a big photo. This was done with loadMovie, etc.
Now I also need that the big images can be controlled by a forward and back arrows, so this arrows would call in a relative way, the next movie. I have named the swf files consecutive numbering...
http://studiocom.com/scott/work.html
Can I do this? Is it an action script? Does anyone here can help me out?
Thank you!
View Replies !
View Related
Slide Show
Is there a way to make a slide show in Flash as you do it in go-live with a next and prev button. I want each photo to load upon request, when either button is pushed. All the photos are located on a server allready! Is there a way to do this? I know that you can make a slideshow within flash but then all the pictures would have to be included in the swf file right? Or is there a way to do it like that in Flash?
View Replies !
View Related
Slide Shoe
How would I go about making a flash animation to show various pictures?
For example show a picture the sort of pixelise effect into another picture.
Is there an example of this sort of thing I could look at?
Cheers,
Ally
View Replies !
View Related
Slide Question
im making a site that all the pages are going to be layed out horizontally in one big mc. I want to load each page's content after the background image slides into place and stops. How do i make the mc load after it stops for each section.?
View Replies !
View Related
Really Basic; No One Gets It...please Help With Slide In...
here i go again....have u ever seen a nav where there are several buttons, and a bar "floating" beneath them
when u press a button, the bar slides under the button with a decreasing speed
[1]how do u achieve the basic slide w/decreasing speed that "eases" in?
[2]how to achieve the slide under button effect..
simple stuff, im an idiot, sorry for wasting time,
View Replies !
View Related
Button Slide
I have a button, that when highlighted has a bar slide out the side, though when i roll off the button it just dissapears, how can i create the effect of having the bar slide back in again when rolled out?
View Replies !
View Related
Slide Outs HELP *SOB*
I have created a rollover slide out effect in flash..
when I rollover the botton a movie clip plays and it slides out, now my problem is that when I rollout and the move clip is half way "out" I need it to slide back from that half way possition. hos do I do this Please help me
Bruce
View Replies !
View Related
Slide Effect
I recently purchased a great CD by one of my favorite guitarists and I went to his site http://www.ronnyjordan.com and I saw theis cool effect where the site would slide whenever you click on a navigation button. How can I do this?
View Replies !
View Related
Slide Menu
How can i make a slide menu load in another flash file?
I can make the slide menu works but if i want to load him in another flash file he doesn't work.
View Replies !
View Related
|