0.1 ? Cant Get X/y To Stay What I Tell It
Why would flash think it's allowed to do this?
I put in a co-ord like, say -260 and it decides, NO, IM GOING TO PUT IT AT -260.1. and if I say NO i want you at -260 i hit enter to confirm and it changes to -260.1 !!
I even try to compromise with the program, 'alright' i say 'lets just do 261. BUT NO. Then it changes to 261.1 ??? Any ideas?
~~ Seretha but frustrated !!!!!
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 12-28-2003, 08:15 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Why Does This Mc Always Stay On Top?
Hi!
I've just been looking at this rotating particle movie I've downloaded from flashkit and am trying to work out how it works:- http://www.flashkit.com/movies/3D/En...63/index.shtml
What I don't get for the life of me (and I appreciate its probably very obvious and I'm a bit fick) is why the rotating particle mc always plays above any other mc, regardless of where they have been placed in layers. Even if the particle mc is placed on the bottom layer of your movie its still viewable above any others.
This is the actionscript which reproduces the original particle:-
setProperty ("/p", _visible, false);
h = getProperty("p", _y);
i = 1;
while (Number(i)<=60) {
set ("r" add i, Number(random(41))+2);
set ("h" add i, int(i/2));
duplicateMovieClip ("/p", "p" add i, i);
set ("p" add i add ":r", eval("r" add i));
setProperty ("p" add i, _y, h-Eval("h" add i)*5);
sc = Number(random(30))+10;
setProperty ("p" add i, _xscale, sc);
setProperty ("p" add i, _yscale, sc/2);
i = Number(i)+1;
}
Can anyone tell me how to stop it happenning? -Or at least why its happenning!
Ta!
I Want It To Stay
i posted this in the Newbies section and it was suggested i try here. hopefully this image can speak a 1000 words
when "Audio" at the left is moused over, i have the window on the right fade in. how it is now, the mouse has to stay over "Audio" or the window disappears... i want the window to stay where it is until one of the other links at the left are chosen. but ideally i'd like it so that the user has to click to make it fade in (not just mouse over). any suggestions are greatly appreciated!
Swf, Stay, Sit
Hi Guys!!
Hope I explain my problem well enough for someone to solve it
I would like to create a small flash movie that when activated sits and remains on the screen infront of any application(s) the user may have opened at the time. Something similar to Clippy, the paper clip dude in Word.
Although I would like this movie to remain on the screen at all times unless the user decides to close it.
Is this possible to do in Flash?
Thanks in advance.
Mickey G
0.1 ? Cant Get X/y To Stay What I Tell It
Why would flash think it's allowed to do this?
I put in a co-ord like, say -260 and it decides, NO, IM GOING TO PUT IT AT -260.1. and if I say NO i want you at -260 i hit enter to confirm and it changes to -260.1 !!
I even try to compromise with the program, 'alright' i say 'lets just do 261. BUT NO. Then it changes to 261.1 ??? Any ideas?
~~ Seretha but frustrated !!!!!
MC You Stay Like That, MCs You Do This
Hi Guys,
I Have 4 buttons. When I rollover one, I want the others to disappear.
Can I have some help coding this please!?
I have tried with arrays, but you couldn't make it work.
thanks
Stay At Top
I know how to make a movie clip stay at the right side and the bottom of the screen but how do you tell it to stay at the top or the left??
Triggering A MC To Stay Still Or Wonder Off
I have an MC that follows my mouse trail. Within this MC is a button and another MC. Whenever I click on this MC, I want it to stop dead at _y = 20. If I click on it a 2nd time, it will return back to normal following my mouse again. How to do that? Thanks in advance.
AttachMovie Dun Stay?
This is my code:
on (release) {
_root.attachMovie("Voltage", "v1",1);
_root.v1._x=60;
_root.v1._y=300;
}
When I press a button, this code executes and an image appears in the work area.
I use this code to add 3 other items (c1, p1, n1) to my work area. But each time, when 1 item appears, the previous item disappears! :-(
Can someone please tell me how can I keep the graphics on my work area? I need to be able to press the buttons and create as many of each item as I like.
Thanks
But everytime,
How Do I Get Background To Stay?
I have an image I created in photoshop and I want to import it to flash and make little things move and disapear. I need to know how to import it and how to make it stay as the background. Any other advice anyone has about this type of project let me know. I am a real newbie to flash but I want to learn BAD!!
Follow But Stay Away
hi,
i am trying to build a site but for this, i am not able to do what i need, i need a moving menu, which will follow my mouse whereever i move, but keeps away say about 200 pixel, in the direction to which i move my mouse,
if my icon (on whose click the menu drops) is to the right exactly about 200px, and i can move my mouse over the icon but when i am exacty 201px away, the icon then starts to follow the mouse and come in 200px range,
what i mean to say is that when the icon is near the mouse, i can move anywhere around and over it, in a circumference of 200px, but as soon as i am out of its range, the icon follows and maintains the gap.
Help me do this
i have tried but cant figure a way out
this is the code i have used, but am not able to stop once it reaches the range:
onClipEvent (enterFrame)
{
//where we want to go = where we are + ((where we want to go - where we are)/N);
this._x = this._x +((_root._xmouse - this._x)/135);
this._y = this._y +((_root._ymouse - this._y)/135);
}
Button To Stay Down
How can I make a button that stays in a down state after I clicked it and moved the mouse and not going to the out state untill I click another button? If possible with basic button functions, because I've already made most of the things .. thanks
Text Won't Stay
I'm using Swish and i'm trying to build a quick and dirty prototype - just so I know I can do it BUT i've hit a bit of a snag. I have a square and a circle which on rollover, triggers some text to fade in. The problem is I can't figure out how to make the text stay when the mouse is over the circle or square.
I've attached my Swish file in case I didn't make myself clear
How To Get An Object To Stay?
hi there,
lets say I have an image of a circle which fades into view with a timeline effect. At the moment the circle fades in perfectly, but at the end of the effect it disappears. What I want to do is make the circle stay where it is for the remainder of the flash presentation, after it has completed fading in.
Your help is appreciated, thanks
Stay Scrolling When Down
I have been trying to get my head round scrolling and am not quite there (a bit of an understatement). I have managed to get a button to move and object left and another to move it right. However it only moves the object every time I click, I want to be able to keep the object moving if I keep the mouse down, also is there a code that makes the object look more like it's moving instead of jumping?????
on (press) {
mouse_x = _xmouse;
setProperty (_root.follow, _x, mouse_x+((getProperty(_root.follow,_x)-mouse_x)+10));
}
on (press) {
mouse_x = _xmouse;
setProperty (_root.follow, _x, mouse_x+((getProperty(_root.follow,_x)-mouse_x)-10));
}
How Do I Stay Within A Scene?
I'm using this script on a button within a specific scene of my movie: on (release) {
_root.gotoAndPlay(14);
}
and I want for the movie to go to that frame (14) within that scene. Instead, when I click on the button with that AS attached to it, it starts the whole movie over again.
What am I doing wrong?
Sincerely,
Furpants
Stay On Frame---> Go Next
does anyone know the code that allows you to stay on a frame until a movieclip ends, then goes to the next frame?
i have been trying to get this to work. all entries would be appreciated.
--DK
OnClick Stay?
A smaller problem ..
I've got a couple of buttons, when I press a button it should stay down until I press another button.
Ive also got an MC that runs when i move the mouse over and out.
In the first frame:
animate1=true;
Then actions on the button:
on (rollOver) {
if(animate1){
tellTarget ("rollover1"){
gotoAndPlay("forward");
}
}
}
on (rollOut) {
if(animate1){
tellTarget ("rollover1"){
gotoAndPlay("back");
}
}
}
on (release) {
animate1=false;
tellTarget ("rollover1") {
gotoAndStop("still");
}
}
What happens now is that the buttons move as they are supposed to, and stops when i click them, but it doesnt go down again when I press another button. What to do?
// t
Need An Mc To Always Stay On Screen
I have a very tall Flash application that I will be using as part of a Help Desk application .
The document is 1500 pixels tall. There is a little "control panel" on the right hand side of the screen that always needs to stay on screen , no matter how far down you scroll. The scroll panel is 510 pixels tall, and the registration point is toward the top/middle.
I have the code set so that now, if the mouse gets too far away from the panel, the control panel will travel down (or up) to find the mouse y position. But its a little choppy and sometimes you have to move the mouse to the extreme top or bottom of the screen to get it to position itself properly.
code:
_root.multiplier=60;
_root.pccount=103;
_root.dragmode=false;
function movepane(){
panely=_root.controlpanel._y
mousey=_root._ymouse;
if (mousey>panely+400){
_root.controlpanel._y=_root.controlpanel._y+multip lier;
multiplier= multiplier*0.99;
}else if (mousey<panely-100){
_root.controlpanel._y=_root.controlpanel._y-multiplier;
multiplier= multiplier*0.99;
}else{
multiplier=60;
}//end if mousey
}
Here is the link: try it out.
http://www.newmediatech.net/nuSite/helpdesk3.html
Filesize Seems To Stay The Same
I have a question. Im doing this animation, which is kind of long. Something that ive noticed, and what is strange is that the filesize seems to either stay the same eventhough i add more stuff in there, or it seems to actualy decrease even though i added more stuff in the animation. And also, like when i make a copy of the flash animation that i am working on, the copy is of a lower size than the original.
for example, the size of Flash file of the animation i am working on is 34.1mb, but when i do save as, and make a copy of that animation that i am working on, the copied version seems to be lower in file size than the original.And also another example, like when im doing this animation, and eventhough i add more stuff in it, or add more frames, symbols, and all of that, the file size remains at 36.1mb, and doesnt seem to increase. Im kind of stumped towards this.
Is Flash Around To Stay?
Hello, i was wondering this for a while. Since the WWW is always changing i was wondering if flash will be around to stay? or will another animation system come into play to replace flash? as i am going to be converting from a video player to a flash media player now...so need some kind of information otherwise i won't bother switching because it will be hard for me to change all of my flash media players over then.
Get Url But Page Must Stay
oke hear is the idea,
i hafe a page that split in 2 frames top-frame.html and main-frame.html.
in the top-frame i hafe the swf file whit sound.
in the main frame i hafe combind the main movie and a frame (example if i push a button in main movie the in fo wil showd in the frame)
!! but every time i press a button in main like about me or webcam it wil load the next page but it wil reload the mian swf to its working fine !!
know if i want to controlle the sound play/stop how do y gona do that?
i can't load it in the main swf like load in empty movie clip or empty container.
because my swf is reloaded everytime as i press a button thats means that my sound is starting over again.
sow know i want to push the stop button know its loading a soundoff.html in the place of top-frame.html
and the play button it must load the top-frame.html again.
is this possible?
greets Desmond
[F8] MC Btn Needs To Stay _down...
Hi guys i am searching for the actionscript to get my mc btn to stay down.
could you guys help me out?
This is the code on my 1st frame in my btn:
stop();
onRelease = function(){
}
I just don't know how to script the function for it to stay down when clicked.
Thx for the help!
Background To Stay
I have a picture that I want to stay as the background. It is on BG layer. I open a car on new layer and start F6'ing, but if I go to frame 10, bg is gone.
I want the BG to stay throughout my movie.
Stay On Page
Hi, i'm new and I am finally about to start my first flash. I'm also an artist, so I guess that will help a bit.
Ok, so this actionscript thing is new to me, although i've done html pages, I need to get familiarized with it and learn some commands. I just need a couple of things to get started.
Does anyone know an actionscript for keeping on one frame until a button is clicked or rather for looping on a number of frames until a button is clicked, what i'm trying to do is make a front page for my flash with a play button on it.
Please if there is anything that kind of goes without saying among advanced flash makers, dont leave it out because im just a beginner, all I need is an example of the script that i'm asking for and maybe how i should apply it. Dont worry I pick up on things fast.
Right Awnser Must Stay
Hi all,
I've got a little situation. It's like this. The user is supposed to enter correct awnsers in a field. However when the user has atleast 1 awnser wrong he goes to the next page/frame. While doing this the awnsers wich were right are removed (fields get blank again).
I want the fields wich had the wrong awnsers to become blank and the field wich had the right awnsers to keep those awnsers.
I'm not englisch so I hope you understand what I mean.
Greetz,
Xilas
Hover And Stay.
Hi wondering if anyone can help me. I am working on a flash file, which the starters can be seen at the top of http://www.lauraball.co.uk. I would like bar to stay extended when the mouse is over the bar and return when the mouse is moved.
Any help would be appreciated.
Neil
Why Does Red Not Stay Red In Flash
Hi all,
I hope you know an answer to my problem. I had build a concept of a website in fireworks and now want to place the head of the website in flash. There are some pieces of red in it (see pic "part 1" below). When i imported it in flash (or just copy-paste) the red gets a dark line and when i preview it in IE it's getting worse . Also when I change the preview settings to best quality it still has the dark round (see pic "part 2" below).
Could you please help me with this problem?
Thanks alot already!
Butons Stay On 'over'
I'm reposting this with a new link to the movie , and the .fla's:
If I press a button that toggles to the next MC and press the 'return' button, the next time I go back to the 'return' button MC, the button gets stuck in the 'over' state.
Here's a link to the problem, See how the first time you go, it is in its black 'off' state, but once you toggle to the previous clip, and then return, the button is in its red 'over' state? To get it to show up, hit button 1, return, and hit button3.
http://bornhuman.com/jacob.html
Here's how the buttons work, they're actually MC's w/ rollover states:
ActionScript Code:
this.onRollOver = function()
{ this.gotoAndStop(2);}
this.onRollOut = function ()
{this.gotoAndStop(1);}
Stay On Beat
I'm making a game that requires all the level detail to stay on beat with the music, so I calculated the beats per minute and set the framerate to a divisible number to see how many frames per beat there is. But the problem is.... It's ALWAYS off beat! Is there a way I could just make it lag slightly but still have everything on beat? Are there any other ways to do this?
Submenu Won't Stay Put
Just want to start off by saying this is an excellent forum and thanks for all the information, now here's my problem.
I've been messing around with smooth rollover effects for buttons and I've finally gotten it the way I like it. My only problem is I want the effect, which happens to be a submenu, to stay in place when it reaches the end. When the user rolls out on the button the effect reverses. Is there something in the effect I need to set code wise or in the main code itself. I'm not the greatest with AS so any help would be greatly appreciated.
Code:
effect.onEnterFrame = function() {
(animation) ? effect.nextFrame() : effect.prevFrame();
};
button.onRollOver = function() {
animation = true;
};
button.onRollOut = function() {
animation = false;
};
button.onRelease = function(){
getURL("http://www.blabhbalhbalh.com");
}
P.S. Thanks to all the posters in this thread, it helped me out a ton. http://www.kirupa.com/forum/showthre...tton+animation
Mouse Down And Stay Down
Im making a type of menu thing but I cant figure out how to make the button stay down while the mouse button is down as at present it just clicks once and then stops
please help Im sure Ive done this before but cant remeber how
Stay Same Web Address
Hello...
When any click go to menu on the bar home, about, contact there still stay same web address because there no / like www.address.com/address.....
you try check http://www.aslmovie.com/ .... how writting html ? becaues I want stay www.address.com when any botton .... but if you give me information then I start build flash so want stay web address...
thank you
The DIV Box Won't Stay In Place?
Hi, I am having a major problem with a site, it seems that when you view my site, some of the content boxes overlaps and they get OUT OF PLACE.
This happens when you resize your browsing window and when you change your resolution to small or big. I just can't get it to stay in the place i want to.
this is very very hard for me as i have showed it to all my friends and they are having the same problem.
Also, in firefox, and IE they seem to view differently, when you view it in IE everything seems fine and there is the overlapping and out of place problem, but on firefox, it gets worse, in the HOME page the main header (flash banner) doesn't load and shows a big white blank, and some of the images i uploaded won't show in firefox browser while it hsows everything in IE browser.
please help, here is the site.
www.gamecanopy.com
RemoveMovieclip But Mc Itself Should Stay
Hi,
I have a small problem with removeMovieclip.
Lets say i have a movieclip Main_mc wich has three mc's in it child1_mc, child2_mc and child3_mc.
When i use removeMovieClip(_root.Main_mc), everything is removed even Main_mc.
I know i can use removeMovieClip(_root.Main_mc.child1_mc), removeMovieClip(_root.Main_mc.child1_mc), removeMovieClip(_root.Main_mc.child1_mc)
But i don't know in advance how many objects are in Main_mc
So genarely i d like to be able to empty Main_mc so that everything that is inside will be removed but Main_mc has to stay.
Does anyone have an idea on how to achieve this.
Thanks in advance,
Gosa
Window Won't Stay On Top
when i double click fla files it opens in flash but then the window disappears behind the folder window a minor problem but it bugs me
Stay On One Frame
I use Flash 5.
As I understand I can stop playing frames in Flash
using "stop()";
Is there a way I can stay on one frame for 5 seconds and so delay playing next frames until 5 seconds expire?
Thank you.
Button Stay
how can you show which buttons have been hit already? many sites now use it, but i bury my self in code and cant figuire it out. please help
Same Cuepointname To Stay Within ...
Code:
myMedia.addCuepoint("name",290-300);
yes, i need to know what should i do to let my same cuepointName to stay within this range of seconds.
I have to do this becos as when my playheadTime scrub into within this seconds range, it will load "name.swf" .
Buttons Will Not Stay Down
http://www.ludditeskc.com/flash/menu.html
As you can see, after you click on a button, it will immediately play again.
I would like to have the button stay down until the user clicks on a different button, at which point the original button would pop back up. So I'm trying to figure out (1) how I can make the original button stay down; and (2) how I can make the original button pop back up when the user clicks on a different button.
Thanks in advance for you help!
Todd
Dialogs Won't Stay Put
Hey,
I've got a problem with my flash project (as you may have guessed) heres what's going on...
I have a scrolling backround, that, I programmed so, if the mouse rolls-over certain coordinates on the top and bottom of the screen, that the background would scroll in that direction.
This scrolling object is a huge bitmap that I converted into a "movie" symbol. Now, what I've done is open up the movie, and I'm putting buttons on it that come up with little dialogs when they're clicked.
My problem is: When the button is clicked for a dialog to appear, and then the movie scrolls, the diag scrolls with it. When I would much prefer it to stay where it is on screen, while the background scrolls as usual.
I did give it some thought myself, and I came up with something as simple as this:
panel being the background, and tag1 being the dialog
if (panel._y--) {
tag1._y--;
}
It seems easy enough, but that doesn't seem to make any effect no matter where I put it.
does anyone have any ideas?
Thanks in advance,
- Chris
Making A Window Stay On Top
After we open a pop up window from Flash, is there a way to make it stay on the top? I think it would take some Javascripting. But is it possible that it could be written thru flash!
thanks
nixthinx
OMG I Have A Migraine How Can I Get A Scene To Stay?
I am making a small movie and I have music....I have a start button for starting everything, but the scene that the button is in will move on whether or not u push the button. How can I get that scene to STAY UNTIL THE BUTTON IS PUSHED???? Someone told me I would have to loop that scene, but I have no clue how to do that. I hope I am making sense...lol Please help me if u can....someone...anyone....and thank you.
How Do U Get Something To Stay Up When U Press A Button?
how do u get something to stay up when u press a button?? say i press a button, then something pops up somewhere else, doesnt matter what, it just pops up and stays there...i need to know how to do that. see i can get it to stay there as long as my mouse is over the button but when its not i still want the stuff to be up after i pressed the button. plz help.
*for example scroll over the "I" on my site: http://24.214.78.173 (when its up, its ran off of my computer) it should show you my profile that comes up on the right, and when you take your cursor off of it it goes away. now i want that to stay there even when you dont have your cursor over it.
Thanks,
Flashboy311
Menu To Stay In Each Scene
I'm building a web site using a different scene for each of the menu buttons. (Don't know if this is the right way to structure a web site) Each menu option is a scene
Preloader
scene 1 - mainpage
scene 2 - events and locations
scene 3 - pictures
scene 4 - about
scene 5 - contact
menu button 1 would be main
menu button 2 would be events and loactions
etc...
Is this the right way to structure a web site?
I want the menu buttons to stay up on every scene that pops up when a person clicks a menu button. Each scene starts with a blank screen and a new movie appears.
OnMouseRelease..click And Stay
I'm having some trouble here. What I want to do is have the button stay a certain color when clicked. Also when I mouse over on the button i want the animation continue to play even after i clicked on it. here is the code for the round button.
"hello" is the animated movie clip.
on (rollOver) {
with (hello) {
gotoAndPlay(2);
}
}
on (rollOut) {
with (hello) {
gotoAndStop(1);
}
}
on (press) {
with (hello) {
gotoAndPlay(20);
}
}
heres the code for the square button.
"imstuck" is the animated movie clip.
on (rollOver) {
with (imstuck) {
gotoAndPlay(2);
}
}
on (rollOut) {
with (imstuck) {
gotoAndStop(1);
}
}
on (press) {
with (imstuck) {
gotoAndPlay(10);
}
}
if anyone can help me out, thatll be great. it's saved as flash 5.
Making An Image Stay
Well, i am devolping something for some, and it involves clouds and stuff. go here to see the example: http://www.badjon.com/ptsr/ptsr.html
when u click the hidden cloud in the movie i want the bleeding to keep going and stick to the last frame. right now when u click and hold it, it will play the movie and will bleed and stay, but when u unclick then it goes away. And i also wanna see if i can make the button only clickable around the actual cloud. right now you are able to click the part where it will bleed over, making the button big so i cant use any other buttons under it. Any help would be cool. thanks
Button Stay In Down Postion
How do I make a button that when it's clicked and the user has
moved their mouse away from the button it stays in the down postion?
|