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




Graphics Move When I Make A SWF.



Hi!
Something strange has happend. Whenever I Preview
or make an SWF, some of the graphics has moved a
couple of pixels. This just started to happen a day ago.
I cant recall I´ve made som strange things with my
computer (more than usual ) or installed any
new programs. Is there any easy solution beside
reinstall FLASH?
Thanx for your help.
-Sundance Kid-



ActionScript.org Forums > Flash General Questions > Other Flash General Questions
Posted on: 09-12-2003, 06:08 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Make One Box Move On Roll Over, Make Other Box Move On Click
Okay here's the story: I have one box that moves the way I want it to on roll over, moves over my nav buttons and stays over them after you click one of them. The clicked button becomes where the box snaps back to. I have another box that I want to stay where it is until you click on a button. If you click on a button the box will move under the button that I have clicked on. Every attempt so far to get the second box to do that usually negates the other box's ability to do anything. Please, any help or suggestions?

Make One Box Move On Roll Over, Make Other Box Move On Click
Okay here's the story: I have one box that moves the way I want it to on roll over, moves over my nav buttons and stays over them after you click one of them. The clicked button becomes where the box snaps back to. I have another box that I want to stay where it is until you click on a button. If you click on a button the box will move under the button that I have clicked on. Every attempt so far to get the second box to do that usually negates the other box's ability to do anything. Please, any help or suggestions?

[F8] How To Move 3 Graphics By Only Moving One
I have an unusal request.......

I want to animate an arm but by only moving 1 part. How I plan to achieve this is to create the arm out of 3 parts :

1) The upper arm
2) fore arm
3) hand.

But I want to animate the whole arm based solely on moving the hand.

By moving the hand in any direction, the rest of the arm will follow as if it was real. Ie, I want the upper arm to move from a fixed (solid) point (ie the shoulder rotation point).

The forearm will obviously have to move in 2 directions, 1) to follow the hand pivot point and 2) to pivot at the elbow and move the upper arm around it's shoulder pivot point.

I suppose it's best explained in the attached jpg file.

Any way of doing this ?

Where/how Do They Get/make These Graphics?
on this site where do they get these graphics
http://www.cscentral.com/fun/flash/h...ituation_2.php
do you know how or where to make or get these graphics?

How Do I Make A Graphics Explode?
How do i make a graphics explode???? What are the step by step procedures do i TRACE BITMAP and what else do i do?? please help me!

[MX04] How To Make Graphics Fly In From Far Away
I would like to have some graphics appear one at a time as if they came from a distance (depth or 3D I guess you'd say) then dissapear. I'm sure its simple but I'm just not able to figure it out. Thanks for your help from a new newbie.

Script To Make Graphics Wobble
Hi guys new hear can any one help with making opening graphics shimmer or wobble
regards bondidj

How Do You Make Vector Graphics Thicker?
When doing vectors, I want the lines to be thicker like in a cartoon. Is this possible?

Can I Make Links In Flash Containing Remote Graphics
Can I make links in flash that contain in the address, a link to the graphic to display for the link? I have affiliate links that have banners I link to that reside on their site; they change them all the time so I can't just copy the current graphic to paste as a link button. Can I put them in a flash movie?

How To Make Filled Vector Graphics In Flash 5?
Hi there

I am making some draggable vector graphics in Flash 5 (by using Actionscript to place draggable movieclips on the stage and connecting the dots). I would like to fill the spaces between the lines, but can't seem to find a way... Help!

Thomas

How Can I Make Cool Nintendo Like Graphics With Flash
I've been seeing it more and more. How do they do that. Is it just taken off nintendo roms. Or is it actually done that way. Either way how can I learn this?

[F8] Does Flash Always Make Pictures I Draw Into Graphics?
I draw a picture in flash, then I Convert it to a Movie Clip. I double click it so I am inside the movieclip. now lets say I create a new keyframe at frame 10. then I edit the picture in frame one, frame 10's picture is edited too? Is there a way to stop this, or do I have to put the edit on a different layer?

p.s. when I click the pic within the mc, in the properites bar it says it is a graphic.


Thanks,

JAck

How Do Fantesy Interfaces Make Such Nice Graphics
How do you make Fantesy interfaces style of realistic graphics? Any programs that are special?
Come here for the links.
http://www.firestormpc.com

FLASH 8 - Button To Make Graphics Appear In Frame.
Hi Guys

Imagine this to illustrate what i want to know...

Imagine a Windows PC. You click a Start Button, It makes the start menu appear wherever you are on the computer, whatever folder/window/software you have running.

Liken it to a flash movie, the Start Button is our Main Button. The start Menu is the graphics i want to appear in a set place.

Hope someone can help

Thanks

How Do I Make Effects Or Graphics Fade Out When Mouse Cursor Goes Off Botton?
Say I have a circle pop up around a button when the mouse is over it. How would I get the circle to fade out, instead of just disappearing, when I take the mouse cursor off of it? Thanks.

How Can I Make A Little Move?
Hi,
I need some help. I want to make "a thing" to move on keypresses. I tried with :
on (keydown(<"left">) {
tellTarget("/left") {
gotoandPlay(1);
}
}
But nothing happens, I hope somebody can help me with this
Thanks anyway :)

answers: micky_nijs@hotmail.com

How To Make Mc Move?
I have a movieclip that when you click a button I want to change x-position. For the life of me I can't figure out what is wrong.

On frame 1 I am using:

x=getProperty("circle", _x)

to get the location of the circle. Then on a button I am using the script:

on (press) {setProperty, x=_x + number(200)}

It isn't working. Anyone know what the problem is or how I can make the circle move. I did some searching here and all I can find is how to make things move around randomly and with the mouse. I want this to be a button action and I only want it to move in the x plane.

Can't Make It Move
i have a movieClip called fishy...

and i don't now how to put the script in it to make it move..

move meaning just go from left to right of the screen and disappear when it gets off the screen.

someone pls point me to the right direction.

thanks...

How To Make It Move ?
Hi there,

I just created the swf file with AS3 which has 5 external images.

http://sitemirage.com/sample02/test.html

I want to load it in another swf (no need to create another swf actually) like 470*170 stage size and move this swf on it, like right to left, fade in and out.. But I'm totally stuck now, because we can't write any action on MovieClip itself or timeline can we ??

If I can't use onEnterFrame or something with AS3, how can I move this swf on the timeline??

Please help me!!

How Do Make Eye Move Around?
http://www.sunbelt-software.com/stu/eye.htm

I wonder if anyone of you know how to do something like this? Sorry if this has been mentioned before.

Thanks!

How Do Make Eye Move Around?
http://www.sunbelt-software.com/stu/eye.htm

I wonder if anyone of you know how to do something like this? Sorry if this has been mentioned before.

Thanks!

How Do They Make This Move?
Hello everyone,
Happy Holidays,
Can anyone tell me how they think they make the rooms go left to right with actionscript?
Thanks
Right to Left?

How Make A Mc Move?
i've got a movieclip named neato.  it contains 2 movieclips.  1 is named supernav.  the other is named morebutt.  i am wanting the _y property of supernav to change by 10 when you rollover morebutt.  here is the script i've attached to morebutt:

onClipEvent(enterFrame){
  if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
          _parent.supernav._y + 10;
    trace(_parent.supernav._y);
    }
}

when i test the movie the _y traces but does not change.  what am i doing wrong?

Make An MC Move The Timeline?
My first frame in the main timeline have a stop(); action. In this first frame an MC with 15 frames runs, at the 15th frame I want to have a script that says somewhat this:

gotoAndStop(_root.frame2)

Or something. I don't really get this with the levels, how they work etc.

How To Make A MC Move Smoothly ?
This is my problem...

I have a Movie Clip with instance name fullimage, containing 7 images.
I also have 7 buttons with the thumbnail of each image.
I managed to move the MC and see the desired image (when pressing a button), using the _x property.
I can't make the MC to move smoothly from one position to the other.
I've tried this._x = this._x + 1; or -1; within a loop, but every time i press a button
i get an error message that the script made the MC slowly etc.

Can anyone suggest a solution please?

Make The Camera Move
I've got an image but now I want that the 'camera' moves. The image is a 3D model. In the beginning the camera is pointed at his head, but then I want the camera to move and turn to his feet. And at last I have to see the model from under his feet. I'll explain it with an image.
The x is the model and the - is the camera:

Beginnig :
_
X

End :
X
-

I hope you'll get it
Thanks

How To Make MC's Move In Integers Only?
How do you make a scrolling movie clip only move vertically in integers so that the text doesn't get blurred? What is the code for that? Thanks!

How To Make The CURSOR MOVE ON
Does anyone know how to make the cursor move on to the next input box in a single frame when the user hits the <Enter> key. Currently when i press enter the cursor disappears. I need the cursor to move to the next input box. Below are the codes i use, could any kind person help me amend the codes so that the cursor moves on tho the next input box ... It's really URGENT !!!
================================================== ===================

on (keyPress "<Enter>") {
if (user3lon eq "hostname London") {
gotoAndPlay(30);
} else {
setProperty("errormsg2", _x, "148.4");
setProperty("errormsg2", _y, "352.1");
}
}

================================================== ===================
1) user1lon is the inputbox variable name
2) hostname london is the answer expected from the user

Cant Make Fish Move
Ok, im trying to do a remake of the game fishy. Yes i'm have permision from xgenstudios.com, so dont get all angry at me. I've run into some problems though. I'm trying to get it to run through a loop with a counter variable going from 1 to 8, and then making duplicating a movie clip and naming it "fish" + the counter variable, then making it go across the screen. Heres my codes:


I'm escpecially doubtfull of the lines that are like
var fish" +numEnemy =5
I saw this in some other code and it worked there, but i dought its working now.

// In one controller object

onClipEvent(load) {
var numEnemy =0;
var wantedEnemy = 8
var sound = 1;
var qual = 1;
speeds = new Array()
}


// In the fishmaker

// Load fish when we enter the game frame
onClipEvent(enterFrame){

while(numEnemy < wantedEnemy){
numEnemy++
//Cycle through i to set each fish
duplicateMovieClip(basicFish,fish" + numEnemy,numEnemy);
fish" + numEnemy._y = random(400)
speeds.numEnemy = random(10) - 6
if (speeds.numEnemy == 0){
speeds.numEnemy = 1
}
if (speeds.numEnemy >=0){
fish" +numEnemy._x = -100
fish" +numEnemy._xscale = random(99)+1
}
else
{
fish" +numEnemy._x = 650
fish" +numEnemy._xscale = 0 - (random(99) +1)
}
fishcolor= new Color(fish" +numEnemy)
cTransform = new Object()
cTransform.ra = 50
cTransform.ba = 50
cTransform.ga = 50
fishcolor.setTransform( cTransform )

}

}



// and in the fish thats being copied

onClipEvent (enterFrame) {
if (_name != "basicFish") {
var fishnum = _name.substring(5,6)
Number(fishnum)
_y = _y + speeds.fishnum
if (speeds.fishnum < 0) {
if (_y == -100){
removeMovieClip(this);
numEnemy--
}
}
else
{
if (_y == 650) {
removeMovieClip(this);
numEnemy--
}
}
}
}

Please give me some help here,

J

Make A Graphic Move Away?
um, i'd like to know how you make a graphic/button/movie clip move away from the mouses position.

very softly/ as if gravity was pushing it away, strong enough to make the object hard to catch.
can somebody reply with the code and specify the variable tat if modified the object will move away from the moue faster.
thanks.

How Do I Make People Move Like This?
how do i make my stick people move like they do in this movie and how do i do the 3d effect near the end....i cant seem to figure out how because i dont think they just redrew everything
http://www.hackernetwork.com/flash/stickdeathx.shtml

How Do I Make My Buttons Move Using AS?
I have a typical set of four buttons arranged horizontally to create a menu. When the user clicks any of the buttons, the clicked button needs to move to the first position. When clicked, the clicked button needs to move to a y position slightly above the the rest of the buttons. Simultaneously, the button currently in the first position needs to move to a y position slightly below the rest of the buttons. Next the remaining two unclicked buttons need to move together (if they are not already together) opening up position four. Next, the clicked button moves horizontally to a position directly above the first position. Simultaneously, the button that originally occupied position one moves in the opposite direction horizontally to a position directly below position four. Finally, both of the bottons will move vertically in the respective directions necessary to position themselves next to buttons in position and three.

Since the buttons may originate from a different position each time clicked I need to use a series of conditional statements to determine which direction to move and how far. For some reason I only see the end result of the conditional statements and not the actual movement. What do have to do to see the movement?

Is It Possible To Make Something Move Up Until It Hits Something?
I am trying to make a game where you move around and press up/down/left/right and go in that direction until you hit something.
code:

onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
this.gotoAndStop (4);
this._x += 10;
}
}
onClipEvent (enterFrame) {
if (hitTest() == block) {
stop;
}
}

i was thinking something like that would be in use because teh block would be teh object it would stop moving at. But i don't think it would work as i want to make block as a large MC with grahics inside. But the problem is when it hits nothing in the middle it will probably stop. Does nay1 have a link or a useful tip to give me a helping hand?

Can Anyone Help Me Make This Object Move?
Hello

I'm stuck on my coursework which is in for Tuesday

I've got a shape that is a movieClip and i want it to move around in random directions inside a larger shape and bounce off the walls. I can make it move around by itself when i enter the frame by using this:

onClipEvent(enterFrame) {
speed = 10; //if it is, then set a variable we call speed to ‘10’
angle = random(2); // set desired angle
speedX = Math.cos(angle*Math.PI/180)*speed;
speedY = Math.sin(angle*Math.PI/180)*speed;
this._X += speedX;
this._y += speedY;
}

But I want it to stay still and only start moving when it is clicked with the mouse. So i tried putting this at the beginning:

onClipEvent(mouseDown) {
x = _root._xmouse;
y = _root._ymouse;
if (this.hitTest(x,y, true)) {

This makes the object move when it is clicked on but it only moves if the mouse is down and is over the object so when i click it it moves and then stops.

Is there a way i can make the object move only when it is clicked on and keep moving and bounce off the walls?

Also, there are several small shapes inside the larger shape and i want them all to move when clicked on. How do i make sure that only the shape clicked on moves and stop them from all moving at the same time?

Please help :S

I hope that made sense

Make This Move Quicker?
Hi All,

Need some help on something that sounds simple but is proving far from simple!!

I found a .fla file on ultrashock for a simple "walking bot" shoot em up type of game - the little tank/ship follows the mouse and fires on the mouse click. It is all working and just what I needed for my movie...

...but for the life of me I can not make the tank move faster when the cursor moves further away it just carries on at a set speed.

The tank can also be controlled by arrow keys which may be the reason for the slowness of the ship but even so surely there is a way to make the ship move faster than it does?

The AS is in a seperate file to the actual movie and I am attaching it at the end of this thread...

as I say it sounds simple but can 'I' work it out????

Be grateful for any pointers

D

I have attached the .fla and AS file too

_x Position How To You Make It Move?
I am trying really hard to make this menu look cool and slide left to right. I have all the _x and _y positions needed..but as you click it just appears there.
Is there a way to make it MOVE there? Tween with an ease?
please help! Ive tried to figure this out all day (I'm new to actionscripting)

My Script:
//Button functions
installation.onPress = inst1;
staffing.onPress = staffing1;
pressr.onPress = pressr1;
abouts.onPress = about1;

installation._visible = true;
staffing._visible = true;
pressr._visible = true;
abouts._visible = true;

function inst1() {
gotoAndPlay("Installation");
staffing._x = 325.9;
pressr._x = 414.9;
abouts._x = 483.9;
inst._x = 4.0;
bgselect._x = -12.6;
bgselect._width = 337.9;
staffing.enabled = true;
installation.enabled = false;
abouts.enabled = true;
pressr.enabled = true;
}
function staffing1() {
gotoAndPlay("Staffing");
staffing._x = 105.8;
pressr._x = 414.9;
abouts._x = 483.9;
inst._x = 4.0;
bgselect._x = 105.5;
bgselect._width = 310.0;
staffing.enabled = false;
installation.enabled = true;
abouts.enabled = true;
pressr.enabled = true;
}
function pressr1() {
gotoAndPlay("Press");
staffing._x = 105.8;
pressr._x = 194.8;
abouts._x = 483.9;
inst._x = 4.0;
bgselect._x = 193.8;
bgselect._width = 290;
staffing.enabled = true;
installation.enabled = true;
abouts.enabled = true;
pressr.enabled = false;
}
function about1() {
gotoAndPlay("About");
staffing._x = 105.8;
pressr._x = 194.8;
abouts._x = 263.9;
inst._x = 4.0;
bgselect._x = 263.9;
bgselect._width = 344.1;
staffing.enabled = true;
installation.enabled = true;
abouts.enabled = false;
pressr.enabled = true;
}

Make This Mountain Move
hi,

does anyone have a tip on how i can make these clouds on this mountain appear to be gently and softly moving?

thanks!

How Can I Make The Screen Move?
Insted of making th ebackground move how can i make the screen move?

I hope i made some sences

How To Make A The Whole Screen Move
Hi all, i saw some site tat can make the whole screen move and it look interested, sample site below

http://www.orangesherbert.com/high.html

is there any tutorial to how to make it.

thxs for reading.

How Do I Make One MC Move When Interaced?
New Problem. Client wants a form to move when the menumovie clip folds out. Check out the site: http://www.grahamarchitecture.com/test/test.html

When the menu move out, it should shove the text to the right. I've tried to find tutorials on this but I don't even know what to ask for.

This was a six hour project and now its at twenty and the client is upset because its going over budget. I told him every change (over and above original specs) can take anywhere between five minutes to several hours and I charge hourly. I'm not that experienced with flash above making simple sites. This is what I call a "boomerang" project because I can't get rid of it.

Make This Mountain Move
hi,

does anyone have a tip on how i can make these clouds on this mountain appear to be gently and softly moving?

thanks!

Can I Make An MC Move By The Mouse But Not Have Anything Dragging?
can i make an MC move differently according to the mouse but not have anything dragging?

HOW They Make Things Move SO SMOOTH?
yes, right, i don't get it! For example, 2advanced.. Lines, buttons, splashscreens move very smooth there, but when i try to make something move (insert->motion tween), line or bground.. it moves like.. like i don't know what... I don't get it! Please, ppl, explain, I'm beggin you!

Make MC Move To New Position And Stop
How can I make an MC move to a new position X and Y and stop. I also want it to reach the position horiznontally as the same time it reaches it vertically. - please help? Thanks@!

How DO You Make A MC Move With Actionscript I'm Dumb Please Help Me
What I would like to do is move a circle shape from the left to the right where it would stop. After it stops I would like to make the circle get bigger. How would I go about doing this with actionscript. I know How to do it with motions tweens but that is so boring. Please help a dumb person become smart thanks...

How Do I Make An Mc Move To Where The Mouse Is On Click?
i want to be able to clikc and have a mc move to where the mouse was when i clicked... how do i do it?

I Want To Make My Nav Buttons Move - Design Help
Hi,

I'm trying to figure out the best way to implement my idea. I want these images that will eventually act as butttons to move separately and scale. They start out large and get smaller. I'm thinking that maybe I should put all the buttons in an MC for management. Scalling the MC will scale them all at once, but moving the MC will also move them all at once. I want them to move separately.

I want the buttons appear large on the screen, move to a desired location and scale. Then they will be used as a navigation which will call upon external .swf files to be loaded into separate levels.

Also, this navigation is a separate .swf that is loadel into a different level, which works.

Lisa

HELP Load External.swf Then Make It Move
Hi

I am trying to load an external .swf into a MC in my flash movie.
Then I want to add a motion tween to the MC to make it move from one point to another.

I have the script below which loads the external .swf into the MC.

onClipEvent (load) {
loadMovieNum("Pic1.swf",1);
}

But the .MC with the .swf inside it doesn't move even though I have added motion tween to the MC.

Why is this?

Make A Flash Move Over A Web Page
Hi guys
do u know how to make a flash move/travel over a web page.
I have come a cross this couple of times but clueless of how to get it done.

could some one pls let me know the codeing or the simplest way to get it done

thanks

Dimuth

Copyright © 2005-08 www.BigResource.com, All rights reserved