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








Preloader Bar Not Moving


Hi,

can someone please take a look at my test loader and see how come the bar is not moving while the movie is loading? is it something wrong with the ActionScript?

Thanks




FlashKit > Flash Help > Flash MX
Posted on: 06-07-2003, 04:56 PM


View Complete Forum Thread with Replies

Sponsored Links:

Preloader-moving On To An Actionscript Based Preloader
Most of the sites I have designed have just used an "if frames are loaded preloader". However, I want to get a more effecient preloader by using the _framesloaded and _totalframes properties of the movie to give a more accurate preloader . I was wondering if anyone knew where I can find a good tutorial or see an example of an FLA that uses this style actionscript based preloader.

Please let me know so I can start working on figuring this out!

Thanks Dave

View Replies !    View Related
% Moving With Preloader Bar
How is this done.
Id like to move the % with the preload bar as it grows horizontally to the right.

I did a search but found nothing.

Also, im using flash 8 but i didnt know where to post this. can anyone help?

View Replies !    View Related
Moving Preloader
All I really want to accomplish with this is getting a circle to move from point A (0% loaded) to point B (100% loaded)

I have searched Google and only found how to make a preloader that manipulates an image into stretching while the movie loads.

Does anyone know how I can accomplish this "moving circle" preloader??? Any help would be greatly appreciated!

Thanks guys!

Have a great day!

View Replies !    View Related
Moving Percentage Preloader
Hi there,

Can someone tell me how to make a preloadbar that gives it's % that's loaded.The % text should move along withthe barsize.

Like you can see on the 2a the % is moving or like on http://www.kill-bill.com
(click on the liddle pic icons)

Big thx in advance,

Grtz

View Replies !    View Related
Preloader W/ Moving Percentage
anyone know how to make a preloader that's just a line with the percentage moving along the line as it loads. like on the fuel site. www.fuelweb.com
thanks

View Replies !    View Related
Progress Bar Of Preloader Not Moving, Please Help
Hello,

I've made a preloader, and the action script is working because the percentage complete number increases correctly, and once it is at 100% it moves the playhead to where it needs to go next, but I can't get the progress bar to move and show the percentage in a more visual way.

Here are the steps I went through when creating my preloader:

on my preloader sceen main stage I created a layer named preloader
using the rectangle tool without a stroke I made a bar
I converted the bar to a movie clip named preloaderMc
it has left registration
In the property inspector I named the instance of the MC preloader_mc
I double clicked the MC to work inside it
I selected and copied the bar, pasting it in place on to a new layer called progress, then changed it's color.
I made this bar into a MC called progessMc, it has left registration
I named the instance progress_mc
Then in the transform pannel I unchecked the constrain proportions box and put the percentage to 1%.
I locked the progress layer.
I made a new layer named percent_fld
I drew a text filed on the stage- with dynamic text
I typed in 100 and positioned it at the right side of the bar
In the property inspector, in the variable box I typed in display
Then I changed the number 100 to 0 instead
Back on the main scene I clicked on the mc to apply action scripting to it
I opened the actions pannel and switched to expert mode
this is the code I entered in:

onClipEvent (enterFrame) {
mctotal = _root.getBytesTotal () ;
mcloaded = _root.getBytesLoaded () ;

mcpercent = math.round((mcloaded / mctotal) * 100);
display = mcpercent + "%";

progress_mc_xscale = mcpercent;

if (mcpercent == 100) {
_root.play ();
}
}

Then I saved my file and tested my movie.
Once the swf was exported I turned on the bandwith profiler, and show streaming and put the debug spedd at 14.4.

As I said above the percentage loader shows accurately, but the progress bar doesn't grow to fill the space as it is loading.

If you can figure out what the problem is, please let me know. Thanks!

Kim

View Replies !    View Related
Moving A Reusable Preloader
Hi,

I've got a reusable preloader that I got from kirupa and modified, which works fine. I want to attach a movement script to it so when its in use it moves up a bit, then when its 100% it moves back down.


Code:
////////////////////////////////////////////////////////////////////////////////////////////////////////

speed = 8
elas = 1.3

function wobble() {
this.dy = this.ty - this._y
this.tempy = this.tempy/elas + this.dy/speed
this._y += this.tempy
}

////////////////////////////////////////////////////////////////////////////////////////////////////////

var empty = this.createEmptyMovieClip("container", "100");
empty._x = 0;
empty._y = 0;
my_mc = new MovieClipLoader();
preload = new Object();
my_mc.addListener(preload);
preload.onLoadStart = function(targetMC) {
trace("started loading "+targetMC);
pText.ty = 100
pText.onEnterFrame = wobble
};

preload.onLoadProgress = function(targetMC, lBytes, tBytes) {
pText.text = Math.round((lBytes/tBytes)*100)+"% ";
};

preload.onLoadComplete = function(targetMC) {
trace(targetMC+" finished");
pText.ty = 50
pText.onEnterFrame = wobble
};

////////////////////////////////////////////////////////////////////////////////////////////////////////

button1.onPress = function() {
my_mc.loadClip("http://www.kirupa.com/developer/actionscript/animation/picture1.jpg", "container");
};
button2.onPress = function() {
my_mc.loadClip("http://www.kirupa.com/developer/actionscript/animation/picture2.jpg", "container");
};
button3.onPress = function() {
my_mc.loadClip("http://www.kirupa.com/developer/actionscript/animation/picture3.jpg", "container");
};

////////////////////////////////////////////////////////////////////////////////////////////////////////

View Replies !    View Related
Preloader Moving On Too Fast
Hi,

I am working on http://www.makeproductshappy.com, its only in the early stages, but I am having some issues with the preloader. I have the same method for preloading all my other projects, but it doesnt seem to work well on this one.

If you go on to the site, you will see that the loading bar does not scale the whole width of the logo, it stops at about 30% or so, then moves on. And if you move your mouse left/right on the screen the object rotates, but not all of the images are loaded yet, so it loses its smoothness until its fully loaded.

Before I post any code up, does anyone have any ideas about the problem. Anyone had similar issues?

Thanks

View Replies !    View Related
Allowing My Preloader To Play Once Before Moving On?
my preloader animation is 24 frames long. when the movie is cached it all appears right away but i still have my preloader flicking up for the first frame which looks messy. i would much rather have it play the animation once and then continue with the movie. i tried adding 24 frames of space before my movie but it still just flashes up then plays the movie when cached... i know it can be done as ive seen it on others sites...
thx
lev

View Replies !    View Related
AS Moving Object Based On Preloader Percent
I am trying to move an object across the stage while my preloader is going. (i want two fists to meet when the preloader hits 100%). i am not very good with AS but i have tried things such as this.fist1_mc._x = percent + 100; but i am just taking shots in the dark at this point. i can post the file if need be.

conor

View Replies !    View Related
Moving Vertical Bar Which Holds Moving Thumbnail Images When Mouse Is Over
Hi!

im not completely new to Flash MX - have utilised all basic animation tween/morphing /buttons
and very simple action script- movie controls - stop , back ,forward etc

however i need a moving bar feature, e.g. a moving news reel or a vertical bar which holds a number of images i.e.10 and
when the mouse is over - i want it to move downwards and when is not over the feature i want it to stop moving
(or even instaed of the feature to automatically scroll images i could also use a button to press to move through the images)

then: the thumbnail images from the moving feature i need to be selectable which then produces a larger version of the image on
another section of the page.

i dont no if i put this thread in the right forum!

if any one knows of any tutorials or has any suggestions to help implement this feature

i would appreaciate any help!
- dont really know where to start with it!
thanks

(i have looked at the flash kit tutorials but havent found what im looking for
dont even no if this is more of an animation or action script questions)

View Replies !    View Related
Slowly Moving Smoothly - Moving Photos And Pixel Smoothing
So, I'm slowly....very slowly moving a small thumbnail across my stage. The problem is that when the pic moves over a pixel it looks choppy, I want it to look smooth. The border of it looks especially choppy, it's distracting from the site.

Is there a pixel-smoothing option for the stage? or some equivalent?

Does my question even make sense?

Please help.
Thanks

View Replies !    View Related
How Do You Create A "moving-bar" Preloader?
greets all,

I was wondering how to create a "moving-bar" preloader. You know, like what you might see when you are installing software on your computer or when downloading a file from the Internet. The more the program loads, the further the bar moves. In other words, something that doesn't just indicate that the movie is loading, but also shows how far until completion. Can it be done? a moving bar was the first thing that came to mind, but in essence anything that shows approximately how much time until completion would be cool.

Thanx!

View Replies !    View Related
How Do You Click On A Moving Button And Make It Stop Moving?
How do you click on a moving button and make it stop moving? Kind of like shooting a moving person i a flash game and they stop and die???

View Replies !    View Related
Moving Running Forward But Elements Moving Off Stage
I'm positive I've done it by the book. All symbols on the stage - one by one dragged them off the stage creating timelines - about 6 layers. Play the movie and all the elements start on the stage and move off. Just the way I wanted it but in reverse. Simple vertical and horizontal motions. My mistake must have been in the beginning somewhere - but where ?

View Replies !    View Related
Moving Across A Photo While Mose Moving With Acceleration
Do you know how to do this?
Example pages:
http://www.407.peugeot.com.pl/
http://www.pivotdesign.ca/

View Replies !    View Related
Moving Menu And Not (yet) Moving Arrows
Hi,

The title I guess say it all, huh?

But just to be sure.

I have a main menu wich goes right or left. Depends what categorie you choose. When it goes left I have to load a arrow movie wich goes left and for right has to load a moviw arrow which goes right (and not wrong). Thats means that there are two movies: arow left movie and arrow right movie. And both have to react at the moving menu, which were to load and play.
So first level would be the menu which ships from right to left.
Second level (under the menu) one of the arrow movie has to load depending which direction the movie goes.

(now Im confused. What was there I wanted??? A, right!)


I figured out that maybe its more confortable to load it from the library but also if it can be loaded from external files I dont mind. (I did the container thing before so I understand it a bit.

The arrow movies are movies played in the background, as the menu remains on top all the time.

The script for animating the menu is:

onClipEvent (load) {

_root.newposition = "null";

}

onClipEvent (enterFrame) {

current = getProperty(_root.drop, _x);

if (_root.newposition<current) {

distance = current-_root.newposition;

setProperty("_root.drop", _x, current-(distance*.1));

}

if (_root.newposition>current) {

distance = _root.newposition-current;

setProperty("_root.drop", _x, current+(distance*.1));

}

}

View Replies !    View Related
Moving Mouse Image Moving
hi everybody. i'm using flash professional 8 and i want to create something like this: http://www.kenzoparfums.com/FR/home/home_FR.html when moving the mouse on the stage the hole stage moves. how do i do that? thank you

View Replies !    View Related
Moving Objects: Moving Keyframes?
Can I move multiple layers on a timeline, so that they will all move. Basically I just want to move the location of the multiple layers.

Whenever I do this, it seems to move only some of them and thus the whole animation is messed, different starting points and ending points...a big mess.. It makes me want to cry.



Seems like there is an easy answer or I might just be the biggest chump on the planet.

Case

View Replies !    View Related
Moving Objects: Moving Keyframes?
Can I move multiple layers on a timeline, so that they will all move. Basically I just want to move the location of the multiple layers.

Whenever I do this, it seems to move only some of them and thus the whole animation is messed, different starting points and ending points...a big mess.. It makes me want to cry.



Seems like there is an easy answer or I might just be the biggest chump on the planet.

Case

View Replies !    View Related
Moving Across A Photo While Moving Mouse
Do you know how to do this?
As seen on 'http://www.pivotdesign.ca/'
main page.

View Replies !    View Related
Moving The Stage After Resizing - Or Moving All Objects On The Stage? Heeeelp
Hello! I'm in dire need of help!

I've been forced to resize the stage of my movie but as the stage is expanded to the right and down everything ends up in the wrong place. So I wonder:

Is there any way to move the stage rather than the contents thereon?

or

is there a way to move all the content on all layers and even all scenes simultaneously?

or

is there a way to expand the stage equeally on all sides rather than just right and down?

THANKS ALOT TO WHOEVER COULD HELP ME!


Freddy D, Stockholm, Sweden

View Replies !    View Related
How Do I Make A Fast And Easy Preloader Or A Hard Cool Looking Preloader
how do i make a preloader?? ive went thru many toutorials and they dont make sense to me i want a cool looking preloader if i can but if not!! a preloader that is jest flashing the words "loading" would be nice to know how to make....
im kinda new to flash MX and all Flash programs so could u explain verry well???

View Replies !    View Related
Preloader Not Showing In The Beginning? Did I Make The Preloader Wrong?
alright, it seems that my preloader does not show until the movie is about 85% loaded, and then after that it works fine. but how do i get the preloader to show from the begining? here is the site...

http://www.trikenit.com/6n/preloader.html

and here is the fla for the preloader

http://www.trikenit.com/6n/preloader.fla

if anyone could help me out with my preloader i would be so very grateful. thank you in advance.

View Replies !    View Related
Preloader For Importing Swf - Join To Initial Preloader On Level0
Hi all,
I have looked on many forums in order to sort this problem but can't quite get there.
I have a main movie (presentation.swf) which is a presentation which runs for about three minutes. After about a minute into the presentation it imports a swf (base.swf - placed onto level1) into the movie which then jointly runs together in realtime with the _root level0 movie. It all works fine. I have created a preloader on the root movie (presentation.swf - level0) which is OK but I can not work out how I can add the second swf (base.swf) onto the initial preloader. The problem is that I have lost the fla file of the base.swf file so can not add a preloader or any extra actionscript onto the base.swf file.

I have tried to see if by checking if level1 is loaded

Code:
if (_level1.getBytesLoaded() == _level1.getBytesTotal()){
_root.gotoAndPlay(20);
}

I have also tried to create a third swf which imports both the presentation.swf and base.swf but failed to produce anything.

The preloader that I have works well by its self. The code is shown below
Frame 4

Code:
_root.loadPercentage.text = "0";
_root.loadedBytesText.text = "0";
_root.ofLoadedBytesText.text = Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000;


Frame 5

Code:
_root.loadPercentage.text = (Math.floor (_root.getBytesLoaded() / _root.getBytesTotal() * 100));

_root.loadedBytesText.text = Math.round(((_root.getBytesLoaded() / 1024) * 1000) / 1000);
_root.ofLoadedBytesText.text = Math.round(((_root.getBytesTotal() / 1024) * 1000) / 1000);

// START OF WORKING OUT TIME REMAINING
counter = counter + 1;// the counter incrementing 12 times (12 - set by stage)a second
seconds = counter/12;// Converting the counter into Seconds

timeMinRemaining = Math.floor(((seconds/(Math.floor(_root.getBytesLoaded() / _root.getBytesTotal() * 100))*100)-seconds)/60);
timeSecRemaining = Math.floor((seconds/(Math.floor(_root.getBytesLoaded() / _root.getBytesTotal() * 100))*100)-seconds) - (timeMinRemaining * 60);
_root.TextTest1.text = timeMinRemaining;

if (seconds == Math.round(seconds)) {
if (timeMinRemaining == 0) {// If No minutes remaining then display only minutes remaining
_root.minRemainingText.text = "";
_root.minRemainingLabel.text = "";
_root.secRemainingText.text = timeSecRemaining;
_root.secRemainingLabel.text = "sec";
} else {// If MORE THAN 0 minutes remaining then display minutes and seconds remaining
_root.minRemainingText.text = timeMinRemaining;
_root.minRemainingLabel.text = "min";
_root.secRemainingText.text = timeSecRemaining;
_root.secRemainingLabel.text = "sec";
}
}

if (_root.getBytesLoaded() == _root.getBytesTotal()){// REDIRECT TO START OF SCENE
_root.loadPercentage.text = "100";
_root.loadedBytesText.text = Math.round(((_root.getBytesLoaded() / 1024) * 1000) / 1000);
_root.ofLoadedBytesText.text = Math.round(((_root.getBytesTotal() / 1024) * 1000) / 1000);
gotoAndPlay("PreloadComplete");// The preloader was used, therefore goto Close of Preloader
}


Frame 6

Code:
gotoAndPlay(5);


Please I would appreciate your help
Thanks

View Replies !    View Related
Preloader Issue - Code Is Correct, But Preloader Is Flakey
I'm using Flash MX 2004 to develop a flash-based website.

There is one main movie, and several external .swf's that are loaded into the main movie as needed.

All movies have a basic preloader, created as follows:

All movies have 2 scenes.
The first scene contains the preloader, which is 3 frames in total.

Frame 1 contains the following script:
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}

Frame 2 contains the following:
this.gotoAndPlay(1);

Frame 3 is blank.

There is a 2nd layer which contains a dynamic text box which calls the variable "loadText".

This preloader works great in the main movie. The main movie contains buttons which call external SWFs to be loaded into a holder MC on the main movie's timeline. When I load an external SWF into my main movie, the preloader doesn't show up at first. At about 60%, the preloader FINALLY shows up and counts the last 40% before the movie plays.

After several attempts, I noticed that the problem is not with the code itself, but might have something to do with the amount of data loaded into frame 1 of my movies.

Using the debugging tool, and looking at the graph that Flash provides when previewing a movie, I noticed that my main movie contains about 5kb of data in Frame 1, and as mentioned above, the preloader works just fine.

When previewing each of my external SWFs separately, I noticed that the amount of data on Frame 1 of those movies is much greater - 101kb.

After searching the help files, I read somewhere that Flash MX 2004 loads certain data into the first frame of the movie by default, and I'm guessing that THAT is what's causing the preloader not to show up instantly.

Would appreciate any help in clarifying this issue, as the site is completely done except for this preloader problem.

TIA.

View Replies !    View Related
Large Movie Preloader /External Preloader Question...
I have a fairly large movie (about 380KB) with a status bar preloader in the first frame. The problem is that I load a few of the MC's in the movie into ScrollPanes and then don't work unless I export them on the first frame (these MCs make up about 200KB). Therefore, there is no flash shown until it has loaded up about half way.

I tried to use an External Preloader, but that loaded the MC on level 1, and no buttons or functions within the entire movie worked properly.

My question is, is there a way to either use the external preloader and swap (or reload) the movie on level 0, or does anyone know a way to load the MCs on another frame other than 1, but before they load to the Scroll Pane? Any other ideas would also be appreciated.

Thanks!

View Replies !    View Related
Complex Preloader - Load Multiple Movies W/ One Preloader
Hello to all!

I haven't asked a good question in quite a while so here's one.

I know how to create a general preloader fairly well. What I want to do is take it one step further.

I want a preloader with a status bar...but here's the caveat...I want it to load multiple external movies instead of just one. So it would load one after another and show the status of each.

I can't think of a site off the top of my head, but it would show loading and then it would load...say audio player...shows text "Loading Audio Player" and then shows loading progress...and then...image loader...shows text "Loading Image Loader" and then shows loading progress, etc.

You get the point.

Any takers?

Thanks.

View Replies !    View Related
Fuse And Preloader: ZigoEngine.register() Slows Preloader
Here's something I came across and am wondering if anyone ran into this issue and found a workaround.

- My entire SWF is 200kB in size.

- I have a preloader on the first frame of my movie and its an animation which is about 24kB big.

- The rest of the content is on the third frame of my movie and also on the third frame is where I register the ZigoEngine.

Now, here's what's happening:

- The preloader doesn't show right away. There appears to be some 65kB-70kB added on the first frame when I register the ZigoEngine for Fuse.

- When the preloader shows, it's already at around 44%-50%

- If I remove the code where I do the registration, the preloader loads fine.

I am guessing the overhead is happening because the registration is global. But, is there a way I can fix this or is it impossible considering the nature of the Fuse registration call?

View Replies !    View Related
Actionscripted Preloader Content ....egomedia Preloader
I have aquired a preloader, it is the egomedia preloader by unclickable. I have the .fla if required...problem is that the content is an actionscripted animation. Now how the hell do I add actions to the .fla to make it operate as a preloader..The .fla basically is not a preloader but just a animation there are no references in the code to ifframesloaded etc..I would appreciate some help ..like I say I have the fla and could mail it to whoever..All someone could do is pop the actionscript in for me and explain to me how it works..thanks in advance

View Replies !    View Related
How Can I Make A Second Preloader Play If A File Is In The 1st Preloader?
OK I'm going to try to explain this

I have a preloader on my main movie to preload external files. This preloader preloads the external files and places them into a empty movie clip.

What I would like to do is have 2 preloaders if the 1st preloader was used, I would like the second preloader to be used there on after.

I'll try to explain what is happening I have 3 buttons to load 3 external files on a blank MC if a external file is present on the MC I what to use a second preloader. I need to use a second preloader because the first preloader is a progress bar that goes across the whole MC. If a external file is on the main I want to use a smaller progress bar.

If you have any suggestions I would appreciate your help

Thanks

View Replies !    View Related
Preloader Inside Preloader Type Thing
Hi,

I've got like a main page that has a preloader in a different scene. And in the main page I call loadMovie on first frame that load external swf that has same structure - preloader scene with a main scene (content for the main page) ... but the first preloader seems to wait to load the actual page and the external swf before if finishes. Why is the first preloader not just preloading for the home page and then once u are there the other preloader kicks in and loads the content??? Also the preloader seems to have a wait till 20 % before it actually appears on the screen how is that?

code is

frame 1
-----------------------------
total_bytes = _root.getBytesTotal();
kb = int (total_bytes/1000)
loaded_bytes = _root.getBytesLoaded();
kb_loaded = int (loaded_bytes/1000);
remaining_bytes = total_bytes-loaded_bytes;
kb_remaining = int (remaining_bytes/1000);
percent_done = int((loaded_bytes/total_bytes)*100);
bar.bar2.gotoAndStop(percent_done);
ifFrameLoaded ("main", 1) {
gotoAndPlay ("main", 1);
}
--------------------------------
frame 2

gotoAndPlay(1);

Cheers

View Replies !    View Related
Moving An Mc.......
Hello, I am fairly new to actionscripting and I am having a problem. A have an mc that I want to slide to a certain X Coordinate when you move your mouse over a button.

I can get the mc to move according to the buttons and stuff but I can't seem to get it to slide there, it just appears in that spot instead of sliding over there.....I also when to make it kinda of bouncy, I want it to move to that spot dast and then go a bit past it and bounce back, etc....to make it more realistic.


Any help would be appreciated.


PS: What ways would you recommend learning actionscript. I mostly wanna learn all the functions and that type of things.

View Replies !    View Related
Moving MC Via Another MC
Hi everyone --

I have a MC instance that needs to be moveable left and right via two arrow buttons on its sides. There are other elements to the interactivity, but that's the crux of where my problem lies.

The arrow buttons each tell an individual MC on the same timeline to compare the position of the MC I want to move (also on this same timeline) to a mask object, so we can stop the movement when the moving object reaches either end of the mask (the moving object, called thumbnailrow, is longer than the mask). I'm using a MC to hold the movement script (rather than just putting it on the arrow buttons) so that I can loop it, and thereby make a smooth constant motion when the arrow buttons are pushed.

Here is the script for the movement to the left:

mask_x = getProperty("_root.mask", _x);
mask_w = getProperty("_root.mask", _width);
thumbnailrow_x = getProperty("_root.thumbnailrow", _x);
thumbnailrow_w = getProperty("_root.thumbnailrow", _width);
if ((thumbnailrow_x+thumbnailrow_w)>(mask_x+mask_w)) {
setProperty ("_root.thumbnailrow", _x, getProperty("_root.thumbnailrow", _x)-5);
}

I suspect I have a problem with how I'm trying to get and set the x and width values of the "thumbnailrow" and "mask" instances, as all those variables show up as "undefined" in the debugger.

I've put the SWF here:
http://www.borderwalker.com/redcross...pt_07chris.swf

And the FLA here:
http://www.borderwalker.com/redcross...pt_07chris.fla

Does anybody have an idea why the timeline won't move?

Thanks!


-Chris Watkins
-chris@logicalsolutions.net

View Replies !    View Related
Moving
how can i make an object move in the direction it rotates.

EXAMPLE : UP = forward - DOWN = backward - RIGHT = rotate - LEFT = rotate

View Replies !    View Related
Moving
how can I create movement using action script?? I mean, for example, a symbol that moves to the right when the movie is played but without just appearing iits new position
Thanks a lot

View Replies !    View Related
Moving Mc Up Or Down
Hi,

I've got a movieclip that I want to move in a random way up or down, left or right.

The code I use:

onClipEvent (load){
richting_x = Math.random() + 0.01;
richting_y = Math.random() + 0.01;
}

onClipEvent(enterFrame){
this._x -= richting_x;
this._y += richting_y;
}

This works but I want to also make the -= and += random. So the clip doesn't only moves to the left and down.

Is there an ellegant way to do this?

TIA, Danielle.

View Replies !    View Related
Moving
I would like to make an object mouvable by the user (with the mouse). How can I do this?

View Replies !    View Related
Moving Man
I once saw a nice intro with moving men.
The weird thing about the men was that you only saw the borders and inside the men were empty (white).
Now my question is how can I do this?
Could someone please help me?
I really want to know.

P.S: If anyone has great ideas for an intro for a musicsite, you can always tell me:-)

View Replies !    View Related
Moving A MC
How can I move a MC with AS from where it is to another specified point. BUT, not just making it appear in the new position, I want it to "MOVE"
Thank you very much

View Replies !    View Related
Moving Around
I once visited this amazing website and what the flash could do was, when u hold down one of your mouse button and you could move around the webpage which means u could move around it. does anyone know wat could the script be ??

View Replies !    View Related
Moving MC
Help Please !
Please help me with scripting.
I would like to put code on my button
that will get property from where MC is on the screen and
move it to position that I want,but I want that MC move
slowly to my position.

thnx

View Replies !    View Related
Help With Moving MCs
Can some one show me a simple example (if there is one) of moving two or more MCs to two or more different positions on the stage by the press of one button, without tweening? Let's say I have three circles (each a different MC) in deifferent spots on the stage. Lets also say I have a button on the stage, and when I press it, the circles all move to new spots that I determine (for the sake of my own sanity let's also say everyhting is on the same layer on the main time line). If I am beginning to sound like a tutorial, it's cuz I've spent the last four days doing them. Regardless, I can't seem to find one that helps me grasp this. I did post this in the newbies forum, but no replies as of yet so here it is. Anyways, an example of this I think will help me better understand a number of other action script basics. Thanks.
-scigoat.

View Replies !    View Related
Moving .fla From Pc To Mac
I try to move a .fla from pc to mac, but I cannot access it from the mac. The icon shows on the desktop as a blank sheet of paper, but it takes up as much space as the original fla that I moved via email. It still has the .fla ending in the file name

Any suggestions?

View Replies !    View Related
Not Moving
I have a movie clip that is supposed to move movieclips when you press A or Left.

Heres what I have
code: onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT) or Key.isDown(Key.D)) {
scroller._x = scroller._x+5;
level._x = level._x+5;
objects._x = objects._x+5;
}
}


I cant figure out what is wrong. I tried just Key.LEFT and just Key.D but neither works.

View Replies !    View Related
Moving A MC
hi there,
How can I move a circle(up) clicking it (instead of a button?)
and again click it again to move it down ...?

View Replies !    View Related
Moving Hit Box
I have a button that on the over state a movie clip has the button grow to about 3x it's original height. That part works fine and dandy, but I am having problems with the hitbox.

If I create a hitbox to cover the original size of the button (say 10 x 10), then only that small portion of the full size button stays active (the bottom 10 x 10 of the full 10 x 30 button). But if I make the hitbox as large as the finished animation (10 x 30) then the button becomes active when I rollover the top of the hitbox which is not what I want either.

Now that I have probably confused the heck out of you all, let me ask if there is anyway to have a hitbox that grows?

View Replies !    View Related
Moving Pop Ups? HOW?
Any ideas on how THIS EFFECT WAS DONE?

View Replies !    View Related
Moving Pop Ups? HOW?
Any ideas on how THIS EFFECT WAS DONE?

View Replies !    View Related
Moving
Plz help me. I have a MC that can move but i dont know how to make a boundary. Plz help me somebody.

View Replies !    View Related
From A To B, When B Is Moving?
Hi,

For several affects I'm trying to create, I'm hoping to find an easy way to make a line that always connects two points, even when one or both of those points are moving. For an example of what I mean please visit http://www.BostonMathTutor.com/flash . I would hope there is some simple way to do this without scripting, but if that is necessary, I'll do it. I found some examples posted in which lines automatically connected points the user could move, but I'm hoping for something simpler.

Any help seriously appreciated.

Thanks,
John

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