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








Tab Order In My Movie


How do I change my TAB order?

Is it even possible?




FlashKit > Flash Help > Flash ActionScript
Posted on: 12-15-2002, 08:34 AM


View Complete Forum Thread with Replies

Sponsored Links:

Help With Flash Movie Z-Order
I placed a Flash Movie on my site but I'm having a problem with a Javascript Menu that I have on the top of my web page. When you MouseOver one of the options of the javascript menu a sub menu drops down showing more options. The problem i'm having is that the submenu drops down behind the Flash Movie. Is there a setting in the flash movie to declare a Zorder so I can place it behind the Javascript Menu. The zorder for the Javascript Menu is 1000.
I appreciate any help that anybody can give me.

Thanks

ES

View Replies !    View Related
Z-order Of Movie Clips
createEmptyMovieClip takes a parameter for the depth of the clip. How do I associate that with static clips already created in the movie? Everything I create (no matter how high the number) is higher than any static clip I have.

View Replies !    View Related
Movie Clip Order
I'm fairly new to flash and am working on making an intro movie / navigation. The final product I would like to have is have the logo fly in, then have a bar come up the side, fold out and have the navigation in there. I don't really have much trouble with the animation, I just need to have the intro play completly before the navigation comes in. Right now I have these in two movie clips. Is there some action where I can say after movie clip one is finished playing, play movie clip two? Or should I use a totally different way to go about it? Thanks in advance

View Replies !    View Related
Tab Order In Flash Movie
Hello -

I am creating a form in flash with multpile input fields and I need some help with figuring out how to control the order in which field you go to next when you hit the tab button. On this same movie i have a login area with two more input textfields. Halfway throught tabbing throught the form it will jump over to the login fields. Is there any way to control this?

Any thoughts would be appreciated!

View Replies !    View Related
Movie Order Switching.
I am loading movies dynamically using:

loadMovieNum("mov1.swf",1);
loadMovieNum("mov2.swf,2);

At some points in the running of the main movie. I need to be able to bring the contents of mov1.swf in front of mov2.swf. Is there any way to do this? Better still, is there a way for a movie to take focus when the user clicks on it?

View Replies !    View Related
Movie Clips Order
Hello,
sorry for my English
I started make my site and I made lots of movie clips for it (each about from 20 to 30 frames, some about 200 frames), and I put each movie clips to keyframe in the scene (like 1st keyframe 1st mc symbol, 2nd keyframe 2nd mcsymbol, 3rd kf etc.)
I'd like to trigger them with action script -- when last frame of 1st movie clips is played, gotoAndPlay 2nd keyframe and play 2nd movie clips , and again when last frame of 2nd movie clips is played, go to and play 3rd keyframe.
Does it makes sense?
I know how to put them with frames like I know that 1st movie clips has 20 frames, so then I put 2nd movie clips to 21st keyframe etc. but then the timeline will be about three hundreds or more frames long and it is confused. I just want to use action scripting.
PLEASE help me.

or maybe you have another idea how to put the movie clips to the scene

View Replies !    View Related
Movie Clips In Order?
Hey guys... this is probably a stupid question, but I have a series of movie clips that I need to be played one after the other, but I can't figure out how to do it without them playing at the same time. I've searched and searched but found nothing I thought would help me, and so I come to you geniouses thank you!

View Replies !    View Related
Loading Swf Movie One After Another In Order
Hi guys,

Please I have been searching for this answer but without any luck. Now, the problem is...

I have one main stage in Flash 8 where I am loading different swf's into a main movie clip. And since some of swf's are bigger then others they are loading randomly. I would like to know is there a script that can put some of the swf's on hold and load them as the scipt tells in which order?

In my scenario i would like to place them to load in some order in my main movie clip.

I am relativley now to flash, but I have basic scills to do some basic stuff.

Thank you all for help in advance!

View Replies !    View Related
Movie Clips In Order?
Hey guys... this is probably a stupid question, but I have a series of movie clips that I need to be played one after the other, but I can't figure out how to do it without them playing at the same time. I've searched and searched but found nothing I thought would help me, and so I come to you geniouses thank you!

View Replies !    View Related
Movie Load Order Problem - Please Help
Hi everybody

I got a entire site in a single 500 kbytes swf file. This site has 5 section, each one with 100 kbytes.

Before the intro, I did a small preloader with the large bitmaps and symbols.

The movie loads, and keeps loading up the 500kbytes is reached.

THE PROBLEM: the menu does not call the fifth part of the site without loading the first four ones. The flash loads the swf linearly. I can't load a frame without all previous ones are loaded - when you click for the fifth section, it calls the last frame loaded.

How can I fix this?

Thanks

View Replies !    View Related
Changing The Order Of Movie Objects
i'm trying to switch a movie from the backfround to the foreground position so that it is in the top most position for special condition. Is there any way to do that with script so that it is changed in runtime?

thanks,
joebe

View Replies !    View Related
Parent Movie Interferes With Tab Order
Hi,

I have a flash email form that loads into a parent movie interface.
I want the user to be able to use the tab key to jump between fields in the form, so I have set the tab index of each field using a repeat loop.

Unfortunately, when tab is pressed it is intercepted by movieclips in the parent movie that form part of a menu system in the interface.
This seems odd as the movie clips in question only hold event handlers for mouse interaction, not keyboard interaction.

Anyway, I was wondering if there is an easy way to stop these movieclips responding to key presses and pass them on to the child movie instead?

Thanks!

View Replies !    View Related
A Button Gives Order To A Movie Clip.
What I want is to have a "show text" button.
Clicking it a text is appearing (a movie clip) that is slowly moving.
The text must not start form the beginning if the button is pressed again.
How can I do this?
Thank you.

View Replies !    View Related
How Can I Layout Movie Clips In Order?
Hello folks... what I'm trying to do is create a list of artist for a record lable.. and I want one movie clip to represent an artist. I would like for the finished product to layout like this in flash:

Artist1_mc

Artist2_mc

Artist3_mc

... I'm already guessing that I would have to make a for statement to loop through the number of movie clips I have.

But I'm just wondering how can I get each movie clip to stack correctly under the one before it?

View Replies !    View Related
Change Order Of Movie Clips
I have flash document with 4 movie clips. I want the user (not on the web) to be able to rearrange the order of the clips by dragging the thumbnails in play order from left to right. They would then be able to save the document for playing later. The next time they play the movie, they could rearrange the movies and save the order for playing at a future time. Can anyone point me in the right direction for tutorials to read that might help me accomplish this? I know how to drag objects, but having those objects control the play order and the saving of the play order is what I don't know how to do. I have seen this done before though. Thanks, Rich

View Replies !    View Related
Tab Order, Multiple Scenes In Movie
My file has two Scenes. A loader Scene and a main Scene. At the end of the Loader scene is a start button that then loads the main scene. Fairly straightforward.

I have added tab orders to each of these scenes, setting it so that only essential items respond to tabs. The Loader Scene tabs perfectly, but the Main scene does not. Once the main scene has loaded, Flash utterly ignores all of my tab order settings and tabs through every element on the page.

However, if I remove the Loader scene, the Main scene tabs perfectly.

If I change the order of the scenes so that the Main scene loads first, and the loader scene just sits in the background. The main Scene tabs perfectly.

If I set it so that the Main Scene has a command on the first frame to jump to the Loading Scene (which is now second in the load order), the main scene tabs perfectly, but the Loader Scene tabs through every element and ignores my tab settings.

Near as I can figure, Flash does not allow for tab settings to exist for any scene beyond the first in the load order. Is this the case, or am I just missing something here? Also, I am setting tab settings using the accessibility panel in CS3.

View Replies !    View Related
Playing Movie Clips In Order
Sorry if this sounds obvious but I've been racking my brain trying to figure this out for a while! I'm creating a flash presentation in CS3. I have created each section of the presentation as seperate movie clip symbols - How do I get my seperate movie clip symbols to play in the correct order? I've tried adding the movie clips to different layers of the main timeline and also on different frames on 1 layer but this doesn't seem to work. Any help would be greatly appreciated. (I need the movie clip symbols to finish playing there sequence before it moves on to the next movie clip symbol)

View Replies !    View Related
Order Movie Clips On Mouse Over
Have four movie clips on same frame/stage. On mouse over each one plays individually and overlaps the others. I need a script that will bring forward the movie clip that is currently moused over sending the previous clip behind the current clip. The clips are named btnB_mc, btnC_mc etc.. None of the clips need to have any onRelease functions.


Thanks for any help.









Attach Code

btnB_mc.onRollOver = function () {
btnB_mc.gotoAndPlay("_over");
}
btnB_mc.onRollOut = function () {
btnB_mc.gotoAndPlay("_out");
}

View Replies !    View Related
Stacking Order For Movie Clips
Hi Have have 3 buttons made that when clicked on it loads a movie clip. I have all that done but I want to know if you can change the stacking order so that if you click on button three that will load, and then if you click on button two I want that movie clip to go over the first movie.

And lets say if you want to go back to that first movie, I want the second one to go in the background and the other one to be view able.

this is a preview of what I have done.click

Im not sure if I make any sence :S

View Replies !    View Related
Stacking Order For Movie Clips
Hi Have have 3 buttons made that when clicked on it loads a movie clip. I have all that done but I want to know if you can change the stacking order so that if you click on button three that will load, and then if you click on button two I want that movie clip to go over the first movie.

And lets say if you want to go back to that first movie, I want the second one to go in the background and the other one to be view able.

this is a preview of what I have done.click

Im not sure if I make any sence :S

View Replies !    View Related
Load Order Of Nested Movie Clips
I find it disturbing that load clip events for child MCs occur after the load event for parent MCs. I would expect that when a parent load event is fired, you would be guaranteed that all contained children are also loaded. Unless I am mistaken, this is not the case.

The inner/child MC is just a couple of items such as a text box and such. The load on the inner child works fine. This is where I define my properties, functions and events. The wrapper MC just encapsulates all of this and allows me to stick it all in the library. When I drop (reuse) an instance of the wrapper MC onto the stage and try to hook up to MY event handlers in the wrapper MC's load clip event, I find that the properties, functions and event definitions on the innter MC have not yet ben set up.

Anyways, I have a work around which seems a little cludgy to me. The enterFrame event DOES seem to wait until all child MCs are loaded. As such, initialization can be done the first time that event is entered as such:

onClipEvent(enterFrame){
if (this._initialized == undefined){
this._initialized = true;
obj.setOnChangeValue(_root.HandleIt);
}
}

Note that obj is the instance of the inner MC. setOnChangeValue sets my event handler (which is defined in the wrapper MC).

Does this seem like a strange approach to you? I don't really like the enterFrame approach, but I don't see another way due to the load order.

Thanks,

View Replies !    View Related
Can A Movie Remember The Order In Which External Swf's Are Loaded
Desperate for in depth explanation

I have a main movie that loads in external movies, I want flash to remember what order the movies are loaded in and store the information for retrieval. I will then have a back button on each external movie and when you click the back buton it retrieves the previous movie.

I know this is a big question, I do understand actionscript basics but am just starting to get into storing values in variables and arrays, I think the biggest stumbling block for me with this challenge is how can flash remember what happened five or six steps previous.

Appreciate any help or advice or links to tutorials on this.

Thanks

View Replies !    View Related
Play Movie Frames In Random Order...
Is there a way to play frames from a movie clip in random order?
Thanks

View Replies !    View Related
Who Can I Play 50+ Movie Clips In A Random Order
I have a movie which displays a number of movie clips in a random order...or so that's what I want it to do. Can someone direct me to the proper scripting so I can learn it?

I want the the movie to begin with the first random movie clip, play it till the end, pause for about 10 seconds and then move to the next random clip.

Thanks
Nick

View Replies !    View Related
Drawing Order Of Curve Behind Loaded Movie
Hi,

I'm having an issue with the draw order of curve that's drawn using Actionscript. In terms of the order of execution of the function call, I have a SWF loaded first using the loadMovie function. Then I call the curveTo function with certain parameters to try to draw a curve on top of the loaded movie. However, the strange behavior is that the line is hidden behind the movie clip. I've used swapDepths, but it wasn't working for me. Also tried using the createEmptyMovieClip function with a depth number assigned, but didn't do the trick. Any suggestion?

View Replies !    View Related
Controlling Movie Clip Play Order
Good Day,
I have a web site that opens with two movie clips. One (A) folds open some navigation menus, the other (B) opens some rectangles that hold content. I want "A" to play out then, once it is played, I want "B' to start. It sounds simple but I cannot get the right code. I need something I can use for other applications in other pages. I have this code so far; (naigation_mc = "A" page01_mc = "B")


if (navigation_mc.play=true) {
page01_mc.gotoAndStop("start");
} else {
page01_mc.gotoAndPlay("start");
}

Perhaps there needs to be more code to controll this?

View Replies !    View Related
Playing Movie Clips In Reverse Order?
Hi all...

Is it possible to play frames of a movie clip in reverse?

I have a button inside a MC named ANIM that tells it to goto frame 5 and play... so it plays 5-10. On frame 11 there is a back button.. is it possible to play frames 10-5 to get a reverse animation? If so... how?

I think to play in the proper order my button should say:

on (release) {
_parent.ANIM.gotoAndPlay(5);
}

Frame 10 has a stop action. So when I get to frame 11 with the back button what code should I put on there?

Thanks!!!

View Replies !    View Related
The Order Of Scripts When You Duplicate A Movie Clip
When I duplicate a movie clip, it seems like I can't immediately call its functions. Also, it seems like any variables that I set immediately after that will be overwritten if they are defined in Frame 1 of the duplicated clip. What is the order of events when you duplicate (or create) a movieclip, and is there any way to get around this, say by waiting until the new clip loads and runs its frame1 script?

Thanks a lot!

View Replies !    View Related
Preloading Several SWFs In Order In The Main Movie
what is the simplest way to preload several SWFs into the main movie, one after another? The objective is to make the next swf to load just after the previous one has been fully loaded, reducing the wait of the preloadings.

Another important details is that the others swfs have to be "invisible" for the user, until he clicks on the "load" button, that will actually show the swfs and hide the previous one.

View Replies !    View Related
Drag And Drop Re-order Movie Clips
Has anyone seen or done anything like this before?

I want to create a Drag and Drop where there are a given number of movie clips and if I drag one of those movie clips vertically above or below another movie clip it will reorder the movie clips. I'm sure it has something to do with hitTest, but I really have no idea where to go from here. I basically have an Actionscript Layer and 1 movie clip in my library of a width of 540x75 with a Linkage of "topicItem". My stage is 550x400

I can get all the movie clip instances to attach to the stage in the correct order and position. I can drag any of those movie clips up or down. So now I need to figure out how to tell Actionscript that when the currently dragged movie clip "d1" is dragged below movie clips "d2" and "d3" to shift "d2" to the previous "d1._y" and shift "d3" to the previous "d2._y".

Any suggestions, sites, code?

Here is the current code that I have:


Code:
itemX = 5;
itemY = 2.5;
zDepth = 10;
itemCount = 5;
currDepth = 1000;

for (var i = 1; i <= itemCount; i++){
trace ("hi " + i);
_root.attachMovie("topicItem", "d" + i, zDepth * i, {_x:itemX, _y:itemY});
itemY = itemY + 80;
trace ("d" + i + " = " + this['d' + i]);
trace("");
this['d' + i].topicName.text = "Topic " + i;

this['d' + i].onPress = function(){
startDrag(this,false,5,2.5,5,322.5);
this.swapDepths(_root.currDepth);
_root.currDepth++;
xstart = this._x;
ystart = this._y;
}

this['d' + i].onRelease = function(){
stopDrag();
this._x = xstart;
this._y = ystart;
}

this['d' + i].onReleaseOutside = function(){
stopDrag();
this._x = xstart;
this._y = ystart;
}
}

stop();
Thanks in advance.

View Replies !    View Related
Playing Movie Clips In Reverse Order?
Hi all...

Is it possible to play frames of a movie clip in reverse?

I have a button inside a MC named ANIM that tells it to goto frame 5 and play... so it plays 5-10. On frame 11 there is a back button.. is it possible to play frames 10-5 to get a reverse animation? If so... how?

I think to play in the proper order my button should say:

on (release) {
_parent.ANIM.gotoAndPlay(5);
}

Frame 10 has a stop action. So when I get to frame 11 with the back button what code should I put on there?

Thanks!!!

View Replies !    View Related
The Order Of Scripts When You Duplicate A Movie Clip
When I duplicate a movie clip, it seems like I can't immediately call its functions. Also, it seems like any variables that I set immediately after that will be overwritten if they are defined in Frame 1 of the duplicated clip. What is the order of events when you duplicate (or create) a movieclip, and is there any way to get around this, say by waiting until the new clip loads and runs its frame1 script?

Thanks a lot!

View Replies !    View Related
Random Movie Clip Duplication In Order
random movie clip duplication in order
i have 48 boxes, each row has 9 boxes and each column has 6 boxes so it is 9 x 6. Each box size is 80 by 80 pixels with 2 pixels between each box vertically and horizantally.

when my movie starts, i want the initial box1_mc clip to duplicate itself randomly to generate 48 boxes on the stage in their spot.

How do i achieve this. I know how to duplicate them randomly on stage but not in their actual spot and remember that they only have to be duplicated only once.

Please help!

View Replies !    View Related
Random Movie Clip Duplication In Order
i have 48 boxes, each row has 9 boxes and each column has 6 boxes so it is 9 x 6. Each box size is 80 by 80 pixels with 2 pixels between each box vertically and horizantally.

when my movie starts, i want the initial box1_mc clip to duplicate itself randomly to generate 48 boxes on the stage in their spot.

How do i achieve this. I know how to duplicate them randomly on stage but not in their actual spot and remember that they only have to be duplicated only once.

Please help!

View Replies !    View Related
Why Do I Have To Click On The Flash Movie In IE In Order For It To Animate?
Hi all,

I have a website - http://www.watchdoghosting.com - that if you go to it in Firefox, the flash movie at the top plays just fine. However, if you open the same URL in IE, you have to click the flash image at the top in order for it to start working.

What can I do to make it play automatically without clicking on it in IE?

Thanks in advance!

View Replies !    View Related
Changing Movie Clip 'layer' Order Command?
Hey all,

my problemo is: I have 10 movieclips placed on the main timeline. Each of these clips has an swf loaded into it using the loadmovie into target command.

When 1 of the 10 is selected I need it to 'come to the front' of all the other clips, as the others are made inactive and a second-level nav appears for the active clip.

Is there a command like (in designer speak) bringmoviecliptofront?

Help much appreciated..save me re-coding alot of work!

View Replies !    View Related
Play Movie Clip Frames In Random Order?
I'm sure there is a way to do this, but I can't seem to find anything. May I ask, how I would play movie clip frames in a random order?

Thank you

View Replies !    View Related
OnLoad Nested Movie Clip Execution Order
So I have a fairly large project and I've come across this annoying issue

Say I have a class 'GUIElement' that extends MovieClip and in the constructor I simply have "trace("constructor for " + _name);" and then in onLoad() I have "trace("onLoad for " + _name);"

Of course, on the stage I have the actual movie clips linkage'd to GUIElement. Now when I execute I get the following kind of output:

constructor for parent
constructor for child1
constructor for child2
onload for parent
onload for child1
onload for child2

Now to me that seems pretty unintuitive because, according to this, the parent is finished loading before the children! Instead, I would expect output more along the lines of:

constructor for parent
constructor for child1
constructor for child2
onload for child1
onload for child2
onload for parent

So far it isn't causing any huge problems, just minor annoyances. For example, say I want to run some function on the children as soon as the parent is loaded.. well the obvious place(..to me..) is to put the function call in the onLoad, but if the children aren't even loaded yet and the function is reliant on that then it won't work!

Can anyone shed some insight on how to do this properly? I apologize if this issue has been talked about before, I had no idea what to search for regarding this specific problem.

-James

View Replies !    View Related
Loading Multiple Movie Clips In Random Order
I have a flash file that loads random movie clips. The code below is on frame 1. I have a gotoAndPlay at the end of the timeline to start it over so it will cycle through all of the clips instead of playing one. I don't think this way is really the best way to do it...but it's what I have so far. Ideally what I need to do is have it cycle through the movie clips in random order, preferably not starting over until it has gotten through them all, but at least not playing the same one twice in a row. Any suggestions are greatly appreciated.










Attach Code

filename = ["rc.swf", "sealy.swf", "labcorp.swf", "baldor.swf", "parker.swf", "sae.swf", "philips.swf", "electrolux.swf", "cox.swf", "gojo.swf", "dolby.swf", "3m.swf", "loreal.swf", "icg.swf", "carlon.swf", "ici.swf", "redcross.swf", "rainsoft.swf", "lt.swf", "gentek.swf", "lesco.swf", "br.swf", "tremco.swf", "ra.swf", "novartis.swf", "ss.swf", "jabil.swf", "tcp.swf"];
path = "http://www.tmrdemos.com/tmrwebnew/flashlogos/";
i = filename.length;
k = Math.floor(Math.random()*i);
loadMovie(path+filename[k], movieTarget);

View Replies !    View Related
[flash8] AS Rollovers And Movie Clips Stacking Order
I used the super helpful tutorial at: http://www.kirupa.com/developer/mx20...ton_effect.htm to answer my question, but now I have another one.

I followed the tutorial exactly to create rollover animations of islands on a map. The islands are all on one layer and have all been converted into movie clips. Each of these movie clips have their own script to run when a user rolls over each one and to disappear when the user rolls out.

The only thing is that when one island does its animation, it is being covered up by an island adjacent to it.

How do you control the stacking arrangement of the movie clips so that if one plays, all the others are behind it and not over it?

To see the swf, go to http://www.tokkisom.com/splash_map2.html

View Replies !    View Related
Movie Clips Appearing On Stage In Random Order?
Hello flasher,

I was wondering if anyone can help me out on this little setup. Lets say i create 6 movie clips by drawing out 6 squares:

width: 80
height: 40

then I move them to off stage somewhere. Stage dimensions are:

Width: 1000
heigth: 600

I want to load my 6 movie clips (6 sqaures) in random order onto on lets say left hand corner of my stage within first left corner. I want clips to move in (animate in) from off stage to assigned stage location.

This is what I understand:

I will create:

onClipEvent (load) {

width = 600;
height = 800;
speedX = 5;
}

onClipEvent (enterFrame) {

this.movie1_mc._x = Math.round(Math.random()*5);

}

and so on and on....

I will eventually work in the speed.

I have tried moveTo() function but it doesnot fulfill the animation requirement which I would like to see. moveTo() simply puts the object to x and y assigned cordinates where as I want function that would show visual move.

Any help would highly be appreciated.

Thank you.

T

View Replies !    View Related
Making Multiple Movie Clips Play In Serial Order
Hi!

What I would like to do is

1) Load an external SWF, or a movie clip into a blank movie
2) Have the movie play when this clip is finished loading.

So I have a movie with some content, but I want the external swf to finish loading before this content is displayed. I know how to import the swf, and get everything to work, it's the timing I can't seem to nail down...

Any help would be greatly appreciated.

Thanks!
-m

View Replies !    View Related
Pass Variable In Order To Link To Certain Frame In Flash Movie
i'm trying to pass a variable to my flash movie in order to make it go to and play a particular frame (referenced by its label in the actionscript).

i found the following on a message board and have attempted to implement it:
Here's a php example:

Let's say your external party wants to link to a frame label
"externalParty1"

Their html button would have this link

<a href="yourSwfPage.php?label=externalParty1&">Click here</a>

Now yourSwfPage.php has been sent a label variable in the query string which
is all you need. You will pass this on to your swf file like this in the
object tags.


<!--Your regular object tags here -->

<!--The variable which came in via the query string above -->
<!--is sent to flash from here via PHP -->
<param name="movie" value="yourSwf.swf?label=<?print urlencode($label);?>&">

And finally in your swf file you would have a method to manage the label
instruction

In yourSwf.fla have this on the first or second frame of the _root

//Did an external link come in?
if (typeof label != "undefined") {
this.gotoAndPlay(label);
} else {
//otherwise no external label so normal play
play();
}//end ifbut it doesn't seem to be working. is there a mistake in this information? can anyone advise on how else to accomplish this if this is not the correct way?
many thanks!!

View Replies !    View Related
Playing Movie Clips In An Order, Preferably With A Slight Pause
I'm afraid my grandiose plans are a bit beyond my meager coding skills. I'm trying to recreate something I did just using the timeline. It's a series of small tweens on text, moving some text, morphing some. I'd like to have them occur in an order, much like what you can do on the timeline.

I'm using MX. This is what I tried so far:

I have a button and two movie clips, clip1 and clip2, and I named the movie clips in the PI. Each clip has a stop action in frame one and a stop action at the end.

On the button, I put

PHP Code:





 on (press) {
    _root.clip1.play();








This plays the first clip. Then on the first clip, on the last frame of the clip (in symbol editing mode), I put


PHP Code:





 _root.a=1 







I put this code on the second clip on the stage:


PHP Code:





 onClipEvent (enterFrame) {
if (_root.a == 1) {
play()
_root.a=2
}








When I push the button, I get part of the effect I want. The first clip plays, and then stops at the end and the second clip starts. Then the second clip plays, but instead of stopping at the end, it goes to the beginning and stops.

Can someone help me either fix the way I was doing it, or do it a better way? Thanks

View Replies !    View Related
Order Form - Order Fields?
hi,

i just donīt get how to make the input fields become in a secuencial order when you press the tab button,
i mean give them the order i want,

and also, if you use the sendmail.asp in the server,
there also are very disorganisated,
with no specific order,

do any of you solve this deal ????

ok thanks

View Replies !    View Related
Drawing Order / Z-order
I've noticed that AS provides some functionality for setting the render ordering of sprites/objects onscreen, but it doesn't seem a very easy system. It kind of looks like you haveto know the index of every item to be able to do anything?

2 Examples I need to control this:

1)I load a pre-created SWF representing a game level. There is a background image and then a few things in front of the background. Now I dynamically ad sprites to the level. The sprites should always be shown in front of the background, but behind the other pieces of scenery.

2)I have many sprites on screen moving around. I want the drawing order to be that sprites lower down the screen are "nearer" than those higher up, so the drawing order should be to draw sprites in order of decreasing y-coordinates. Obviously sprites are moving around so the ordering needs to change often.

Can anyone tell me the kind of thing I need to do to make these situations work? There doesn't seem to be an easy way to just say "put this item behind that one", unless I plain misunderstood the docs?

Thankyou

View Replies !    View Related
Change The Order Of The Movie Clip In Flash ( Flash MX Zip Files Attached)
Dear Sir,



I have created a movie where there are buttons I am calling the movie clip from the library by clicking the the button . Each movie clip is high in file size due to its large graphics. So, I have put a preloader into the first frame of each movie clip. The problem is, how can I change the order of the moive clip that is called inside the movie. Also I need to change the transparency of the layer I am hereby sending you the fla files also. I need your kind help sir.

Reagrds

Rajesh

View Replies !    View Related
Change The Order Of The Movie Clip In Flash ( Flash MX Zip Files Attached)
Dear Sir,



I have created a movie where there are buttons I am calling the movie clip from the library by clicking the the button . Each movie clip is high in file size due to its large graphics. So, I have put a preloader into the first frame of each movie clip. The problem is, how can I change the order of the moive clip that is called inside the movie. Also I need to change the transparency of the layer I am hereby sending you the fla files also. I need your kind help sir.

Reagrds

Rajesh

View Replies !    View Related
Change The Order Of The Movie Clip In Flash ( Flash MX Zip Files Attached)
Dear Sir,



I have created a movie where there are buttons I am calling the movie clip from the library by clicking the the button . Each movie clip is high in file size due to its large graphics. So, I have put a preloader into the first frame of each movie clip. The problem is, how can I change the order of the moive clip that is called inside the movie. Also I need to change the transparency of the layer I am hereby sending you the fla files also. I need your kind help sir.

Reagrds

Rajesh

View Replies !    View Related
Change The Order Of The Movie Clip In Flash ( Flash MX Zip Files Attached)
Dear Sir,



I have created a movie where there are buttons I am calling the movie clip from the library by clicking the the button . Each movie clip is high in file size due to its large graphics. So, I have put a preloader into the first frame of each movie clip. The problem is, how can I change the order of the moive clip that is called inside the movie. Also I need to change the transparency of the layer I am hereby sending you the fla files also. I need your kind help sir.

Reagrds

Rajesh

View Replies !    View Related
Change The Order Of The Movie Clip In Flash ( Flash MX Zip Files Attached)
Dear Sir,



I have created a movie where there are buttons I am calling the movie clip from the library by clicking the the button . Each movie clip is high in file size due to its large graphics. So, I have put a preloader into the first frame of each movie clip. The problem is, how can I change the order of the moive clip that is called inside the movie. Also I need to change the transparency of the layer I am hereby sending you the fla files also. I need your kind help sir.

Reagrds

Rajesh

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