URGENT, If Statement For A Sliding Movie Clip.
the version of flash that I'm is using is MX 2004 educational.
How do I set up a conditional statement to keep a movie clip from sliding off the stage when using the following AS to create the slide.
_root.onEnterFrame = function(){ my300d._y = my300d._y+(0.5*Stage.height-_ymouse)/10; };
FlashKit > Flash Help > Flash ActionScript
Posted on: 07-28-2005, 10:57 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Sliding Movie Clip Help
I am wanting to take an image and slice it up into smaller vertical pieces. On the rollover of one of the slices, that selected slice will slide out, like a filing cabinet and display contents inside. How can I do this? Through scenes or actionscript? Any ideas?
Sliding A Movie Clip
I have an MC which contains 7 images lined up verticaly, I have a mask which allows only one image to be visible at a time, and I have 7 buttons that correspond to each image. I'm trying to figure out how to get the MC to slide up and down to display the corresponding image when each button is rolled over. Basically I guess I'm just trying to figure out how to slide an mc into a different (x,y) cordinate everytime a different button is pressed. If anyone could help me out I would really appreaciate it.
Sliding Movie Clip
Hello all.
I have been following a tuorial on easing movieclips,
(http://www.peachpit.com/articles/art...p?p=26319&rl=1)
and cannot work out where i have gone wrong. I understand the code and what is going on, but nothing seems to work. If somebody could point me in the right direction i would be very grateful. I have included my fla.
Thanks in advance
Sliding Movie Clip
Hi,
I was amazed by a work on this site http://www.natzke.com/2002.html, the one called "webdaysigner" (menu on the right).
How could I obtain that? Is there anything (tutorial, etc) or anyone around that could help me to make that? I've been searching and searching but couldn't find anything close to that so far.
What I cannot figure out is a code that continuously loads pictures so as to create a seamless effect indefinitely...
Can anyone help me out??
Thanks a lot folks!
Lucas
Movie Clip Sliding In Then Out..
Ok, I am very new to flash..I used this to get a menu to slide in at the click of the button and it works superbly...however I can't figure how to get it to slide back out.
is there an easier code? i just simply want a mc to slide in from off-stage left at the click of a button, then slide out with the click of a button:
CODE: i grabbed this from the tutorial section and simply changed the x value to get it to slide horizontally.
onClipEvent (load) {
_x = 0;
_y = 0;
div = 5;
}
onClipEvent (enterFrame) {
_x += (endX-_x)/div;
_y += (endY-_y)/div;
_root.home.onRelease = function() {
endX = 0;
endY = 0;
};
}
Using If Statement From A Movie Clip
Hi
This is a tricky one for me that I just can't figure out.
I have 2 MCs on my time line (MC1 and MC2). I am trying to write some script.
In MC2 I am trying to write script saying: if frame in MC1 is frame 5, then play.
How can I do this?!
Thanks
Sliding Menu As Movie Clip
I built myself a sliding menu following the instructions here:
http://www.kirupa.com/developer/flash8/slidingMenu.htm
I works great as a standalone swf, but when I use it within a movie clip (I tried it as a swf imported into a blank movie clip AND as its own movieclip within a movie) it just doesn't work.
I am very new to actionscripting - and I have no idea what I'm doing wrong.
Thanks in advance,
dpo76
Sliding Movie Clip Interactivity
Hey All,
I have a client that is looking for a flash banner on their site that has a little interactivity in it...basically, just 4 sliding movie clips.
The effect that they are looking for is very similar to the "sliding movie" tutorial posted on this site: http://www.kirupa.com/developer/flash8/slidingMenu.htm
The only difference is that they do not want to have external buttons controlling when the movie slides, but rather you click the actual movie and it slides in or out.
I can't find the example that I wanted to show as a reference, so I hope that I can explain it correctly. Basically all of the clips will be partially revealed to start (4 of them) at the right of the stage (maybe 20 pixels or so), with the first clip the farthest to the left. When I click on them, they slide to the left and reveal themselves, taking whatever clip is in front of it with it. When you click another clip it shows by either sliding the others to the right or sliding itself to the left...I hope that I am making sense.
I can make the stage, but I suck in the action script department. If someone could show a simple example I will be forever in your debt.
Thanks.
Unloading A Movie Clip From A For Statement
Hi,
I have this code:
//create empty movie clips to place bin top, flame and bin bottom in that order
this.createEmptyMovieClip("holder_mc2",this.getNextHighestDepth());
this.createEmptyMovieClip("holder_mc",this.getNextHighestDepth());
this.createEmptyMovieClip("holder_mc1",this.getNextHighestDepth());
//attach movie clip/variables
var dsfInstance:DropShadowFilter = new DropShadowFilter(5, 45, 0x000000, 1, 10, 10);
var b:MovieClip = holder_mc2.attachMovie("binTop_mc","binTop_mc",holder_mc2.getNextHighestDepth());
var a:MovieClip = holder_mc1.attachMovie("binBottom_mc","binBottom_mc",holder_mc1.getNextHighestDepth());
//property values
a._x = 419;
a._y = 244;
a._width = 112.0
a._height = 140.0
b._x = 419;
b._y = 175;
b._width = 112.8;
b._height = 10.1;
a.filters = [dsfInstance];
//create for loop to place the flame particle on the stage many times
for(i=0;i<200;i++){
//places in temporary movieclip t
var t:MovieClip = holder_mc.attachMovie("flame","flame"+i,holder_mc.getNextHighestDepth());
// position the movieclip on the stage for y co-ordinates
t._y = 190;
t._x = Math.random()*80+(Stage.width/2+115);
//give the flame random sizes no larger than 80 pixels and no smaller than 20
t._xscale = t._yscale = Math.random()*80 + 20;
//randomize the frame the movieclip is going to start in the flame movie clip is 16 frame long so it will pick number between that
//because math.random produces decimal values we round the number using math.ceil to the high whole number
t.gotoAndPlay(Math.ceil(Math.random()*16));
}
what i want to do is remove the movieclip in the for loop off the stage when i click on a button. i can manage to remove the movie clips with the variables a and b but i cant do it with the one in the for loop.
i put this code in the button:
on(release){
play();
stopAllSounds();
a.removeMovieClip();
b.removeMovieClip();
t.removeMovieClip();
}
Is there a way to do this?
Previous And Next Buttons Sliding A Movie Clip
I have a movie clip that I'm sliding from left to right. I have this clip split up into 3 sections of information (710px wide) that will show at different times. I want to be able to slide the clip to the right when I hit next and to the left when I hit previous. However, I would like the mc to stop when it has reached it's end of the movie clip. I would like to be able to add as many sections as I'd like to the mc without it affecting the buttons. I have a function on the main timeline:
function moveMe() {
myPages.onEnterFrame = function() {
this._x += (_root.xPos-this._x)*.1;
};
}
stop();
and this on my previous button:
on (press) {
if (_root.myPages.xPos == 242) {//242 is my starting location
//do nothing
}
if (_root.myPages.xPos != 242) {
_root.myPages.xPos = (_root.myPages.xPos-710);
}
}
and this on my next button:
on (press) {
if (_root.xPos==-1003) {
//do nothing
} else {
_root.xPos == _root.xPos-710;
_root.moveMe();
}
}
I know this is a mess. PLease help! thanks!
Sliding A Movie Clip With Next And Previous Buttons
I have a movie clip that I'm sliding from left to right. I have this clip split up into 3 sections of information (710px wide) that will show at different times. I want to be able to slide the clip to the right when I hit next and to the left when I hit previous. However, I would like the mc to stop when it has reached it's end of the movie clip. I would like to be able to add as many sections as I'd like to the mc without it affecting the buttons. I have a function on the main timeline:
function moveMe() {
myPages.onEnterFrame = function() {
this._x += (_root.xPos-this._x)*.1;
};
}
stop();
and this on my previous button:
on (press) {
if (_root.myPages.xPos == 242) {//242 is my starting location
//do nothing
}
if (_root.myPages.xPos != 242) {
_root.myPages.xPos = (_root.myPages.xPos-710);
}
}
and this on my next button:
on (press) {
if (_root.xPos==-1003) {
//do nothing
} else {
_root.xPos == _root.xPos-710;
_root.moveMe();
}
}
[F8] Sliding Bar To Control Movie Clip Or Timeline
I am trying to create a section of a site, which looks quite like this one: http://www.circuitcity.com/ccd/gener....do?oid=163402 (click on DIGITAL SLR and see what I am trying to replicate).
I have created a sliding bar, created 3D animated sequences of my movie. But I do not know how to put these all together to control 3D rotation positions by sliding the bar handle... Need this ASAP!!!!!!!!!!! Please, give a helping hand!
I am a beginner in action script, so, I may need more detailed explanations.
Send your comments to leoform@earthlink.net
Best!
Movie Clip That Has Images Sliding Across The Sceen
I am creating a flash animation for the top (title) of my web site. I would like to create a movie clip that will continue to play aslong as the person is at the page. What I want to play in it is a "train" of images that slide across the screen. This animation will loop so it continues to play repeatedly. Does anyone have any advice on how to do this. I've looked for a tutorial, but can't find any.
Thanks
lmarshall
Sliding Movie Clip Size Restriction?
I'm building a site (well trying to!) with a sliding movie clip.
The movie clip slides horizontally to a given x coordinate on a mouse release from a navigation bar above curtesy of a simple array. So it's basically sliding along through the different site sections. Which works really well until...
My site is 900px by 700px - so my plan was to make one movieclip which contains 7 sections x 900px which then just slides along nicely. The problem is my movieclip exceeds the size limit for the stage!! Arrrgh- I didn't see that one coming!
Is there an easy way to get around this? The only way I can think of is to do them as separate movieclips which makes them appear off the stage at the right time one after another to slide in, joined together, but no idea how to code that because my actionscript is somewhat limited?
Any help would be massively appriciated! I've attached a sample to illustrate the basic principle behind what I'm trying to ahcieve...
Looping Else If Statement Without Reloading Movie Clip
I have a movie clip which contains a number of animated movie clips...when a specific variable is called out, I want to go to a frame and play the embedded movie clip (once). The problem is that it plays over and over again (until the variable changes). How can I prevent this from happening. Here is the code that I am using:
if (displayVar eq "var1") {
MC.gotoAndPlay("banner1");
} else if (displayVar eq "var2") {
MC.gotoAndPlay("banner2");
} else if (displayVar eq "var3") {
MC.gotoAndPlay("banner3");
} else if (displayVar eq "var4") {
MC.gotoAndPlay("banner4");
} else if (displayVar eq "var5") {
MC.gotoAndPlay("banner5");
} else if (displayVar eq "var6") {
MC.gotoAndPlay("banner6");
}
Using If Statement To Check What Frame A Movie Clip Is On
Hi there,
I need some help. What I have is a movieclip (instance name "nystate") with 3 keyframes in it, each keyframe has a movieclip with an instance name ("Start", "democrat" , "republican").
What I need to do is run an if statement that can look at the nystate movieclip and check what frame it is on. If on frame "Start" do this, else if on frame "democrat" do this else on frame" republican" do this.
How do I get the if statement to read which frame it's on? Also is it possible to do this with just frame labels, so I don't have to create mcs for the 3 frames.
To give you an overview of the project, it's a US election map that allows the user to choose democrat or republican for each of the 50 states, when they choose the party it adds a predefined figure to the total for that party.
What I need the if statement to do is know what party each state is on and change the total figures accordingly.
eg if the state is democrat and it gets changed to republican the totals need to change as follows, add number to Republican total and delete from democrat total. I've got the functions defined for updating the totals it's just the checking what party (if any) has been assigned to each state.
Hope that makes sense!
Here's where I'm at so far...
var arr:Array = new Array();
arr[0] = {NameRep:"nybtnRep", NameDem:"nybtnDem", Score:40, State:"nystate"};
arr[1] = {NameRep:"massbtnRep", NameDem:"massbtnDem", Score:22, State:"massstate"};
len = arr.length;
for (var n = 0; n != len; n++) {
sco = arr[n].Score;
refDem = arr[n].NameDem;
refRep = arr[n].NameRep;
stat = arr[n].State;
buttonsRep(refRep, sco, stat, statRep);
buttonsDem(refDem, sco, stat, statDem);
}
function buttonsDem(refDem, sco, stat) {
_root[refDem].onPress = function() {
if(_root[stat].Start);{
_root[stat].gotoAndStop("democrat");
addDemScore(sco);
txtDem.text = scoreDem+"";
this.enabled=false;
}
if(_root[stat].Republican);
{_root[stat].gotoAndStop("democrat");
addDemScore(sco);
txtDem.text = scoreDem+"";
deleteRepScore(sco);
txtRep.text = scoreRep+"";
}
}}
Creating Sliding Text Field In Movie Clip.
Is it possible at all? I have tried to put it to movie clip and it doesn't work so I'd like to. It's fine until I add borders where scroll is active. When I move cursor up and down, to move up or down, then it won't work properly... Like lag or something.
This is the code I am using:
Code:
panel.onRollOver = panelOver;
function panelOver() {
this.onEnterFrame = scrollPanel;
delete this.onRollOver;
}
var b = stroke.getBounds(_root);
function scrollPanel() {
if(_xmouse<b.xMin || _xmouse>b.xMax || _ymouse<b.yMin || _ymouse>b.yMax) {
this.onRollOver = panelOver;
delete this.onEnterFrame;
}
if(panel._x >= 89) {
panel._x = 89;
}
if(panel._x <= -751) {
panel._x = -751;
}
var xdist = _xmouse - 250;
panel._x += Math.round(-xdist / 7);
}
turtorial at www.gotoandlearn.com
Mesilane.
Load External Movie Into A Sliding Clip On Stop.
Guys, I spent days on this it's 5:30 am and I'm up figuring this out, yesterday I was up till 7am. I NEED HELP!!!
I have a sliding menu on a stage that is 700x500. the menu slides in a movie clip on a stage that has small movie clips inside for each of the 13 menu sections like : intro, overview etc...
I need each of those sections to load an external movie and ONLY PLAY IT When it detects that the sliding is done on each one.
This is the control2 that slides the movies: first frame has stop action, 2nd has code below and 3rd makes it go back to second.
Xsquare = _root.large._x;
Xdiff = _root.Xpos-Xsquare;
Xmove = Xdiff/3;
_root.large._x = Xsquare+Xmove;
this resides in a control clip at the root. then each of the buttons has this script:
on (release) {
_root.xpos = 2542;
tellTarget ("_root.control2") {
gotoAndPlay(2);
with coordinates changing every 750 px to account for the size of the stage since all the movies span across it.
How do I adjust this script to load the external movie when the control2 script stops sliding? Please help me before I totally go crazy.
Thank you.
pixelfan
my email: mayka06851@hotmail.com
Load External Movie Into Sliding Clip When Stops
Guys, I spent days on this it's 5:30 am and I'm up figuring this out, yesterday I was up till 7am. I NEED HELP!!!
I have a sliding menu on a stage that is 700x500. the menu slides in a movie clip on a stage that has small movie clips inside for each of the 13 menu sections like : intro, overview etc...
I need each of those sections to load an external movie and ONLY PLAY IT When it detects that the sliding is done on each one.
This is the control2 that slides the movies: first frame has stop action, 2nd has code below and 3rd makes it go back to second.
Xsquare = _root.large._x;
Xdiff = _root.Xpos-Xsquare;
Xmove = Xdiff/3;
_root.large._x = Xsquare+Xmove;
this resides in a control clip at the root. then each of the buttons has this script:
on (release) {
_root.xpos = 2542;
tellTarget ("_root.control2") {
gotoAndPlay(2);
with coordinates changing every 700 px to account for the size of the stage since all the movies span across it.
How do I adjust this script to load the external movie when the control2 script stops sliding? Please help me before I totally go crazy.
Thank you.
pixelfan
my email: mayka06851@hotmail.com
Problem "moving/sliding" Movie Clip
I have a large movie clip which sits on top of the stage which resembles a wall with photographs on it.
It is much larger than the stage so only a section of it is viewable at any time.
I would like to be able to smoothly move/slide it to specific locations (by coordinates) with a button click so that a specific area is shown.
I cannont find anything after searching which would allow me to do this smoothly (rather than just a solid jump to the new location.
Any ideas/hints/tutorials?
Thanks a lot,
-Ian
How Is This Sliding Clip Effect Achieved?
Hi,
I'm interested in recreating the rollover effect used on this site: http://sachawaldman.com/
When you mouse-over one of the buttons the thumbnail box scroll up OR down to display the thumbnail. Very cool. Can anybody put me on the path of building something like this for my portfolio site?
I'd like to be able to do it using dynamically loaded images, is this possible, or is this done using one large image strip?
Thank you.
Sliding A Content Clip Around As Mouse Moves?
Greetings. I need to build an interface holding a content movie clip that will extend out past the sides and top/bottom of the stage. I need that content clip to move around as the mouse moves over it. Like, you move your mouse to the right edge of the screen, and the clip scrolls left. Simple. You see these interfaces everywhere.
I'm wondering - what's the best way to accomplish such a task? As in, is it best (or normal practice) to just place mouse over zones on each edge, and start the scrolling on rollOver...or maybe there's a function method one could use that bases the clip's position on the current x/y of the mouse? Is there a scroller class that I read about, or was that someone's custom class?
Any input is greatly appreciated.
Still Cant Find A Working Example Of A Sliding Mover Clip With Marker
I posted on here a couple of days ago a question of how to make a sliding movie clip that uses a marker and some buttons to select what position it goes to when each button is clicked. I am thinking of using this technique in my online website or portfolio. I would also like to have it accelerate and decelerate to each section of the clip and that clip is to only move along the horizontal axis.
I posted to see if anyone could give me a working example as I had searched here and found nothing that was what I was looking for. Someone posted something which I am still having trouble getting to work. I appreciate the help I have received so far but was hoping someone else might have an example they could post to help me build my own.
please feel free to email me at pixelmagikau@yahoo.com.au
Cheers
Making A Movie Clip In A Movie Clip Go To The Next Frame Of The Original Movie Clip
I have a movie clip (for simplicity I'll call it movie_a) in movie_a I have another movie clip movie_b.
in movie_a i have a button that when pressed makes movie_b play (it has a stop frame every once in a while so the button acts as a "next" button)
I want it so that when i get to the last frame of movie_b and press the button, it will go to the next frame of movie_a
I hope that doesn't confuse u and u can help me solve this problem, as i am stumped and I've tried everything I could think of (which isn't that much as I'm not too good with actionscript)
thnx
Movie Clip Buttons Nested Inside Movie Clip Dont Work
Hi people!
im having a problem here.
in my first frame i have a movie clip named "menu_mc".
i have this AS for this movie:
Code:
this.menu_mc.onRollOver = function() {
menu_mc.gotoAndPlay(8);
}
this.menu_mc.onRollOut = function() {
menu_mc.gotoAndStop(7);
}
thats working ok, the menu_mc plays on rollover from frame 8 till frame 12 where stops.
On frame 12 (this is inside the menu_mc movie clip) i have another movie clip, named button1_mc.
and also i have AS controling that MC:
Code:
this.button1_mc.onRelease = function() {
getURL("index.htm", "_self");
}
The problem is that when i rollOver on menu_mc it work fine and the button1 appears, the problem is when i try to click button1...
doesnt work.
the swf you can see it on www.wt.com.mx/menu.swf
can anybody help me please?
what im doing wrong?
or what other ideas can you give me so i can make that work.
thanks!
Mouse Rollover On One Movie Clip Increase Decrease Alpha Of Another Movie Clip..
So I really haven't messed with Actionscript much for a couple years and here is my issue.
I have several movieclips I put together that will eventually be a menu for my website. When you roll over a menu option (movieclip) I am trying to get another movie clip to fade in giving the description of the menu item.
For example - when you roll your mouse over the 'Live Chat' option a brief text description would appear telling you what the live chat is about. This description is a seperate movie clip appearing away from the original menu.
I have made the movieclips for the menu and the movie clips for the descriptions. I tried this action on the menu option to get the description to fade in:
Code:
onClipEvent (load) {
this._parent.mc_text_discussionBoard._alpha = 0;
}
onClipEvent (enterFrame) {
this.onRollOver = function() {
if (this._parent.mc_text_discussionBoard._alpha<100) {
this._parent.mc_text_discussionBoard._alpha += 5;
}
};
}
But the alpha only increases on the description (mc_text_discussionBoard) by 5 when I keep rolling my move over and out and over again. It makes sense why it does that, but I'm not exaclty sure how to get it to continually increase the alpha by 5.
any help would be great and I am anxiously waiting to get this solved!
Kevin
Code 4 MovieClip Button To Load A Movie Clip Into A Placeholder Movie Clip.
Yeah that title sounds a little confusing...so i will explain:
Is there a way to tell a "movie clip button" that once it is clicked on to load a "movie clip" into a "movie clip placeholder". So instead of loading an external swf into the placeholder, it will be a movie clip from within the same library. Putting every single custom clip on the timeline would take a while, so that is why I thought it would be easier like this, and the other movie clips are not that large that I want to load into it so there is no need for external swfs, trying to keep it clean. Here is the code along the lines I am trying to go for.
__________________________________________
this.profile_mc.onRelease = function() {
placeholder_mc.loadMovie("profileSection_mc","plac eholder_mc","_root.content");
}
__________________________________________
- "profile_mc is the button I am trying to activate to load the
"profileSection_mc" into the "placeholder_mc". but so far no good.
- the movie clips are within the same library, not on the timeline or external library.
- Is this possible?
Movie Sliding
Hi,
I'd like to know how to make a movie behind a mask move from one point to another using the x,y position .
Basically the movie i've got is like a planetarium so when a user clicks on a button that says, e.g: "southern cross" the picture that is behind the mask just smoothly slides from a point to another. therefore,If user clicks on any other name it would just go from the "southern cross" to the one he or she wants to see.
Hope someone can help me,
Thanks..........................
Using A Button In A Movie Clip To Control The Movie(and Not Movie Clip) Timeline
Ok i have a button placed in a movie clip. I want this button, when released, to go in another scene, frame one, on the movie(scene) timeline and not on the movie clip timeline.
So i tried: gotoAndPlay("mission", 1); (mission is the name of my scene)
But it goes to the frame 1 of my movie clip, It would be great if someone could tell me how i can control the movie timeline while my button is in a movie clip
thaks
Vakarm
How To 'stop' A Movie Clip Within A Movie Clip Within A Movie Clip Loop
I've done searches, laughed, cried, and punched holes through the wall, but I can't figure this out.
I'm in Flash MX (pro) and I have a MovieClip on my main timeline (frame 1). Inside that clip is another animation (the static animation scrolling across the screen), and another inside of it of the static animation (6 characters on a train each animated uniquely).
Confused yet? Ha! OK, so I just want the damned animation on the main timeline to run once and then stop (or to 270 frames). I've tried:
myMovieClip.stop()
to no avail. I've tried attaching the script to the movie clip itself, and also to the frame.
Any suggestions?
Please Help With Sliding Menu Static Copy Works, Sliding Doesn't
I have a copy of the same sliding tab menu. On has actionscipt on the MC telling it to slide in/out. The other does not.
The moving one loses all it's sub-timeline actions.
The static one works fine. How do I get the moving to work?
Please help.
Will be very simple for the flash gurus out there.
RR
Sliding Doors To A New Movie.
Hi Guys/Girls
I'm designing a new site, in which I'm having my buttons on the top and the bottom of the movie, and in the middle will be the main content display area.
What I want to do is to have sliding doors close and then open to show the new content when a button is clicked. i.e. The movie will load and will have the doors shut and them open to show the welcome screen. When a user clicks on the "info" button, the doors will slide closed for a few seconds and then open again to show the "info" content.
I've worked out how to get the doors sliding, but I can't figure out how to make the movie know which movie to load once the doors have closed.
Can anybody help?
Leroy
Sliding In Movie Clips
Hello good pple of the forum,
Now i have two movie clips on the stage, one of the movie clips is positioned properly on the stage with the X and Y coordinates both at Zero this movie clip has an instance name of "pic1inst". The second movie is place to the right of the first with its X coordinates reading -300px and Y reading 0, this movie clip has an instance name of pic2inst.
In the first movie clip's timeline, on the 20th frame i have attached the following code thus:
PHP Code:
onEnterFrame=function()
{
if(_parent["pic1inst"]._currentframe==_parent["pic1inst"]._totalframes)
{
_parent["pic2inst"]._x+=-300
_parent["pic2inst"]._y+=0;
}
}
Basically, the above code will enable to second movie clip with the instance name of "pic2inst" to replace the existing movie clip named "pic1inst". This works just fine, but what i want is a situation whereby the second movie clip will slide in from the right to replace the existing movie clip.
Please bear with me just a beginner in actionscript.
Thank you
Help With Sliding Movie Clips
Hello all, my first post here. I've done a search and wasn't able to find what I need. Maybe I was searching for the wrong thing.
I'm trying to create a sliding featured media bar. It's a horisontal bar with several featured media items inside. You click on one of the arrows and the media inside the bar slides horizontally to reveal a new set of featured media items.
I've seen things like this on several sites, Most recently on Washingtonpost.com. http://www.washingtonpost.com/?reload=true SCroll down about half way and you can see it.
Just to make it clear, I'm not against learning. I'm really looking for a direction here.
Thanks in advance.
Creating A Sliding Movie
I have a script that I am using that makes a movie clip move right and left based upon its _x value. It moves more quickly the further it has to go. This works just fine but I have to apply the actionscript right onto the movieclip. How can I remove the actionscript from being directly on the clip and movie it onto the actions layer.
An example of this can be seen at http://www.tutorialized.com/view/tut...Flash-MX/10624
The actionscript for the file is as follows
PHP Code:
onClipEvent (load) {
_x = 0;
_y = 0;
spd = 6 ;
}
onClipEvent (enterFrame) {
_x += (endX-_x)/spd;
_y += (endY-_y)/spd;
_root.page1.onRelease = function() {
endX = 0;
endY = 0;
};
_root.page2.onRelease = function() {
endX = -220;
endY = 0;
};
_root.page3.onRelease = function() {
endX = -440;
endY = 0;
};
_root.page4.onRelease = function() {
endX = -660;
endY = 0;
};
}
Sliding Movie Clips
Hi,
I was amazed by a work on this site http://www.natzke.com/2002.html, the one called "webdaysigner" (menu on the right).
How could I obtain that? Is there anything (tutorial, etc) or anyone around that could help me to make that? I've been searching and searching but couldn't find anything close to that so far.
What I cannot figure out is a code that continuously loads pictures so as to create a seamless effect indefinitely...
Can anyone help me out??
Thanks a lot folks!
Lucas
Sliding Movie Controller
Hello, Kirup Forum!
I am not only new to this forum, I am a pretty new Flash user as well. I am running Flash MX on two machines: a Dual 1.8 GHz PowerMac G5 running Mac OS10.3.9 with 1.25 GB RAM, as well as a pretty standard 730 MHz Intel Pentium III with not much RAM.
I am preparing some project management graphics that will support a new tool for visualizing the progress of work, and I am wanting to create an animation with a sliding movie controller. I have put a copy of the (only half-finished) first graphic at the following URL:
http://www.projectfrontier.com/test/animationtest.html
or the swf file is at:
http://www.projectfrontier.com/test/animationtest.swf
If you open the file, you can see what I'm wanting the animation to accomplish (approximately), and I'd like to add an interactive controller so the user could manually scroll the graphic across the timeline to show the progress at different dates, with the slider controlling how fast (forward or backward) the movie progresses.
I confess that ActionScript (or any code, for that matter) is presently a VERY foreign language for me, but I am certainly eager to get better acquainted with it. I see several slider animations on this site, and I'm wondering if anyone can point me at a sample or a tutorial that is the closest solution to doing what I want to do, so I can study the code, and try to figure this project out?
Also, I'm wondering if there are some tutorial lessons out there (CD, QuikTime, video, etc.) that would make a good start at educating me on how to use this really awesome tool?
Thanks in advance for any help that may be offered.
Batey LLC
Sliding Movie Controller
Hello, Kirup Forum!
Sorry for posting this message both here AND in the Flash MX Forums, but I'm not sure which is the appropriate place for the question.
I am not only new to this forum, I am a pretty new Flash user as well. I am running Flash MX on two machines: a Dual 1.8 GHz PowerMac G5 running Mac OS10.3.9 with 1.25 GB RAM, as well as a pretty standard 730 MHz Intel Pentium III with not much RAM.
I am preparing some project management graphics that will support a new tool for visualizing the progress of work, and I am wanting to create an animation with a sliding movie controller. I have put a copy of the (only half-finished) first graphic at the following URL:
http://www.projectfrontier.com/test/animationtest.html
or the swf file is at:
http://www.projectfrontier.com/test/animationtest.swf
If you open the file, you can see what I'm wanting the animation to accomplish (approximately), and I'd like to add an interactive controller so the user could manually scroll the graphic across the timeline to show the progress at different dates, with the slider controlling how fast (forward or backward) the movie progresses.
I confess that ActionScript (or any code, for that matter) is presently a VERY foreign language for me, but I am certainly eager to get better acquainted with it. I see several slider animations on this site, and I'm wondering if anyone can point me at a sample or a tutorial that is the closest solution to doing what I want to do, so I can study the code, and try to figure this project out?
Also, I'm wondering if there are some tutorial lessons out there (CD, QuikTime, video, etc.) that would make a good start at educating me on how to use this really awesome tool?
Thanks in advance for any help that may be offered.
Batey LLC
Sliding Movie Clips
Hi,
I was amazed by a work on this site http://www.natzke.com/2002.html, the one called "webdaysigner" (menu on the right).
How could I obtain that? Is there anything (tutorial, etc) or anyone around that could help me to make that? I've been searching and searching but couldn't find anything close to that so far.
What I cannot figure out is a code that continuously loads pictures so as to create a seamless effect indefinitely...
Can anyone help me out??
Thanks a lot folks!
Lucas
Sliding Movie Controller
Hello, Kirup Forum!
I am not only new to this forum, I am a pretty new Flash user as well. I am running Flash MX on two machines: a Dual 1.8 GHz PowerMac G5 running Mac OS10.3.9 with 1.25 GB RAM, as well as a pretty standard 730 MHz Intel Pentium III with not much RAM.
I am preparing some project management graphics that will support a new tool for visualizing the progress of work, and I am wanting to create an animation with a sliding movie controller. I have put a copy of the (only half-finished) first graphic at the following URL:
http://www.projectfrontier.com/test/animationtest.html
or the swf file is at:
http://www.projectfrontier.com/test/animationtest.swf
If you open the file, you can see what I'm wanting the animation to accomplish (approximately), and I'd like to add an interactive controller so the user could manually scroll the graphic across the timeline to show the progress at different dates, with the slider controlling how fast (forward or backward) the movie progresses.
I confess that ActionScript (or any code, for that matter) is presently a VERY foreign language for me, but I am certainly eager to get better acquainted with it. I see several slider animations on this site, and I'm wondering if anyone can point me at a sample or a tutorial that is the closest solution to doing what I want to do, so I can study the code, and try to figure this project out?
Also, I'm wondering if there are some tutorial lessons out there (CD, QuikTime, video, etc.) that would make a good start at educating me on how to use this really awesome tool?
Thanks in advance for any help that may be offered.
Batey LLC
Sliding Movie Controller
Hello, Kirup Forum!
Sorry for posting this message both here AND in the Flash MX Forums, but I'm not sure which is the appropriate place for the question.
I am not only new to this forum, I am a pretty new Flash user as well. I am running Flash MX on two machines: a Dual 1.8 GHz PowerMac G5 running Mac OS10.3.9 with 1.25 GB RAM, as well as a pretty standard 730 MHz Intel Pentium III with not much RAM.
I am preparing some project management graphics that will support a new tool for visualizing the progress of work, and I am wanting to create an animation with a sliding movie controller. I have put a copy of the (only half-finished) first graphic at the following URL:
http://www.projectfrontier.com/test/animationtest.html
or the swf file is at:
http://www.projectfrontier.com/test/animationtest.swf
If you open the file, you can see what I'm wanting the animation to accomplish (approximately), and I'd like to add an interactive controller so the user could manually scroll the graphic across the timeline to show the progress at different dates, with the slider controlling how fast (forward or backward) the movie progresses.
I confess that ActionScript (or any code, for that matter) is presently a VERY foreign language for me, but I am certainly eager to get better acquainted with it. I see several slider animations on this site, and I'm wondering if anyone can point me at a sample or a tutorial that is the closest solution to doing what I want to do, so I can study the code, and try to figure this project out?
Also, I'm wondering if there are some tutorial lessons out there (CD, QuikTime, video, etc.) that would make a good start at educating me on how to use this really awesome tool?
Thanks in advance for any help that may be offered.
Batey LLC
Sliding In Movie Clips
Hello good pple of the forum,
Now i have two movie clips on the stage, one of the movie clips is positioned properly on the stage with the X and Y coordinates both at Zero this movie clip has an instance name of "pic1inst". The second movie is place to the right of the first with its X coordinates reading -300px and Y reading 0, this movie clip has an instance name of pic2inst.
In the first movie clip's timeline, on the 20th frame i have attached the following code thus:
PHP Code:
onEnterFrame=function()
{
if(_parent["pic1inst"]._currentframe==_parent["pic1inst"]._totalframes)
{
_parent["pic2inst"]._x+=-300
_parent["pic2inst"]._y+=0;
}
}
Basically, the above code will enable to second movie clip with the instance name of "pic2inst" to replace the existing movie clip named "pic1inst". This works just fine, but what i want is a situation whereby the second movie clip will slide in from the right to replace the existing movie clip.
Please bear with me just a beginner in actionscript.
Thank you
Making A Draggable Movie Clip Control The Location Of Another Movie Clip
http://www.kineticz.net/jba/residental.jpg that is a picture of what i am trying to do. the white bar at the bottom is the draggable movie clip and the group of 3 pictures right above that is the movie clip that i am trying to control w/ the draggable clip. I am having trouble writing a script that will do this. any help you can give will be much appreciated.
|