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








Stopping Movie Scaling?


I'm new to flash and I've created a simple flash movie but don't want it to scale. I've been told about the 'fs' command but don't know how to use it.

can anyone help on this easy request

cheers

kotoman




Ultrashock Forums > Flash > Flash Newbie
Posted on: 2004-03-23


View Complete Forum Thread with Replies

Sponsored Links:

Stopping Flash's Movie Scaling
This has probably been covered before, and I am sorry if you find this post spam. But I a desperately in need of help and the problem is so vague that I cant find any tut's or info on it.

What I want to do it create a flash movie with defined borders and no scaling on it. so its basically like a normal animated gif, but with the advantage of having the compression of a flash file. Please can someone help me, as I need to figure this out really quickly <=/

View Replies !    View Related
Stopping A Scaling Action
I have a logo slowly scaling, but i cant stop. It just keeps growing. How can I stop its scaling after a few seconds? Here's my bootleg code so far...

onClipEvent (enterFrame) {
var amount = 1;
for (var i = 1; i<=amount; i++) {
this._xscale == this._xscale++;
this._yscale == this._yscale++;

I'm hardcore amateur, forgive naivete. Thanks for any help.

View Replies !    View Related
No Resize/scaling A Movie Clip On The Scaling Stage...
I know this has probably been answered here already, but I've search through all the threads with "scaling" and "resizing" and can't find the solution.

Basically I have a GUI element on a gallery that I don't want to scale, while the rest of the page is free to resize/scale.

I think I need to add a listener of some sort to the stage, but I'm not sure how to do this. If you can point me to a thread where this has already been answered, great! Otherwise I would be grateful for any help you could provide here.

View Replies !    View Related
Stopping A Action Scrpit Without Stopping The Movie ?
Hello all,

I new to flash and used a snow script i found on flash kit. Anyway my problem is i cannot stop the snow half way thought the movie ?

Link to the working file

http://www.megaupload.com/?d=S0ZNMFP6

Thanks

View Replies !    View Related
Stopping A Action Scrpit Without Stopping The Movie ?
Hello all,

I new to flash and used a snow script i found on flash kit. Anyway my problem is i cannot stop the snow half way thought the movie ?

Link to the working file

http://www.megaupload.com/?d=S0ZNMFP6

Thanks

View Replies !    View Related
Stopping A Movie Without Stopping Submovies
I have a looping animation contained in another movieclip, the parent clip stops on about frame 20 and this causes the submovie to stop playing, is there anyway round this.

View Replies !    View Related
Non-scaling Object In Scaling Movie
Does anyone know - Is it possible to have an movie clip, that retains a fixed pixel size e.g. 200x100 inside a flash movie that scales to 100% to fit browser window?

View Replies !    View Related
Scaling And Not Scaling In One Movie
Hi!

I´m creating a movie in witch I want curtain ellements (vector images) to scale to 100% of

the users screen and other ellements (pixel images) to stay at a fixed size and position.

Take a look at the following site:
www.hi-res.net
When you scale the browser window, the background photo scales with it; it stays fullscreen.

However, the menu stays at its original size.

The effect is possible without using html layers (see source of www.hi-res.net). Anyone

knows how to make this work within 1 swf through actionscripting?

Thanks,

Jef

View Replies !    View Related
Stopping A Movie
I made my flash intro but it keeps looping.
What I want it to do is stop but the music keep playing in the background...
is their anyways I can do this?
thanks

View Replies !    View Related
Stopping A Movie
www.peaseblog.com -click on the brown leaf. Does anyone know how to make this movie stop looping?

View Replies !    View Related
Stopping An ActionScript Movie
Hi,

Does anyone know how to stop an ActionScript movie with a Skip Intro button?

My skip intro button jumps to the next scene but finishes playing the AS movie in the next scene. I've tried Tell Target but it doesn't work.

Any info would be GREATLY appreciated.

View Replies !    View Related
Stopping A Movie On The Last Frames
hi there guys.

i have a problem in flash where i have done a very simple movie in flash for my band, i have various images faded in and out, but then i have text on the last few frames that i would like to stay on the screen with an image so you can click the image and it will take you to a linked page, the problem is though i cant get it to freeze on the last frame, instead it disappears and stops (i made it stop from unchecking loop in dreamweaver) but i dont understand it.

Please could you help me? i have got no hair left i have pulled it all out

Thankyou

Dan

View Replies !    View Related
Stopping A Movie Midway Anyone?
Hi all,
Thanks mike for the global variable solution.
Does anyone know how to stop a movie at a particular frame?
For eg: if u've written this inyour script--
gotoAndPlay(1)
and u want to stop it at some intermediate frame.
is there a way to do it?
Please let me know.
thanks.
triveni.

View Replies !    View Related
Stopping Movie When Finished
I made my first movie but it either keeps looping or inserted into Dreamweaver (choosing no loop) disappears. I want my movie to stop and for viewers to be able to select from a menu- Thanks!

View Replies !    View Related
Stopping A Movie Clip
My movie clip consists of 1 rotating image and on the next level down there are buttons based around that image.

How can i get the movie clip to stop rotating when i roll over the buttons that are 1 level beneath?

Thank you

View Replies !    View Related
Stopping A Movie With A Tween
Newbie question here...I think I am having a brain lock. I have a movie that tweens into position while it is playing. At the end of the movie I want it to stop and remove itself from the page. When I put a stop action at the end of the clip it stops as soon as the tweening is done and doesn't finish the movie. Any ideas?

View Replies !    View Related
Stopping Movie For A Few Seconds?
hi
i've got a movie that normally stops
so that the user clicks the choice he wants
and then goes on like that.

but now i need this movie to play all the way till the end
and loop (it's for an exposition, it will be projected to a screen)

the problem is how to make it stop for just a few seconds, each time the movie arrives to the frame i want.

does anyone understand me? (my english aint too good).

View Replies !    View Related
Movie Clips Not Stopping
i have this huge problem, i am making a game divided by scenes, and it's supposed to work like this:

once you complete the level after 60 secs (with a getTimer) you go to frame 10 where you find the endGame screen and a button to replay the game. the issues is that the movie clips of the target (let's say the enemy spaceships) keep looping and once you start again the level the getTimer function doesn't work so the level never ends

my question is, how can I tell all movie clips and random stuff to stop completly and to refresh all over again when you want to play the game again so it can run without no problems

if you could see the file this is the url
http://pixelzinc.ath.cx/docs/untitled.swf

thanks for all your help!!

View Replies !    View Related
Stopping Loop Of Movie
This is the situation:

In scene 1 I have a movie called 'movieke', this movieke loops.

I've placed this movieke in scene 1, and I created a button, now I want to stop the loop of this movieke by pressing the button.

I use the following actionscript when the button is released:
on (release) {
_root.movieke.Stop()
}

But it doesn't work, looked everywhere, can't find the solution.

Thanks for your help.

Greetz,
BruteD

View Replies !    View Related
Problems Stopping Movie
Hey, I have a button that right now when clicked plays then stops, however you have to keep your hand on the mouse, I'd like the movie to play ,stop,then stay there till you hit another button,
Any help would be great
Brownie

View Replies !    View Related
Stopping All Movie Clips?
In my flash movie, I am duplicating a movie clip many times.

However, when the timer hits 0, I want to move to a different frame. No problem there but when I do, the previous dupped movie clips linger around.

Is there a way to stop this without doing a 1 to 500 loop and setting visible to false on 500 items (when all but 1-50 are gone). Sure, I could do a last 50 loop but is this really the only way?

I tried moving to a new scene too, no dice.

need something like allmovies._visible=false

Thanks

View Replies !    View Related
Stopping A Movie Clip
here's the scene...i want a movie clip to play just once...presently the first scene in my movie is only the length of one loop (time wise)...so i have an action set on the last frame to goto and play the next scene, where i have some simple animation inlcluding alpha effects..it doesn't work and it must be something i'm not doing with the movie clip i put into scene 1...hope that makes sense..cheers for any advice..still a bit new

View Replies !    View Related
Starting And Stopping A Movie
How would the user start and stop a movie by pressing a button?

Thanks

View Replies !    View Related
Starting And Stopping A Movie In MX
I've made a movie using MX and have inserted it into a site I made using Dreamweaver. I want to start and stop the movie when I rollover and rollout... Any Suggestions? – Todapopo

www.verlanderdesign.com

View Replies !    View Related
Help With Stopping A Movie, And Then Playing It Again.
I'm trying to make a flash movie, and I have text popping up. And I want to have a button after the text so when you click it, the text goes away and the movie starts up again.

Like this, text pops up, people read, and when they are done, they click the button to continue the movie. But I have no idea how to do this simple task. Please help!

View Replies !    View Related
Stopping A Movie Before It Plays
Hi,

I'm trying to stop a movie before it plays. I added a layer and on frame 1 I put in the actionscript code: stop();

When I test the movie, everything is stopped, but one of the sounds still plays. What do I need to do to make sure the sound doesn't play?

Tanya

View Replies !    View Related
Stopping A Movie Clip?
Ok before I ruin everything I worked on I would like to know how you make a movie clip stop like I want a guy to speak and than when he's done speaking I want his mouth to stop moving how would you do this?

View Replies !    View Related
Stopping A Movie Clip...
Am I missing something here? Is it not possible to add a STOP action to a movie symbol so that it plays out the animation and then stops on the last frame?

e.g.
I've done an animation of a (not fully circular) ball rolling to its side as a movie clip. I then imported this movie into the stage and added a motion tween to make the ball look like it is rolling to a stop. It's suppose to stay in that position for the duration it's visible. When I add a stop action to the movieclip's final frame it doesn't seem to have any effect, so I have resorted to converting it to a graphic and dragging out the last frame beyond the time it is visible

This just seems a little absurd, is there a better way?- or is this what everyone does...

View Replies !    View Related
Loop Without Stopping Movie
hello is it possible to create a loop that increments an action, say increasing the height of a graphic, without using a physical frame loop i.e. action on a frame and time line looping to that frame... But that still uses the movie frame speed to increment the action so it doesnt happen instantaneously?

View Replies !    View Related
Stopping Sounds (for The Whole Movie)
I really feel stupid, but i did not find (in Koolmoves) a regular way to stop (and to enable) the sounds for the whole movie, only to stop the current playing one.
Do i need a snippet of action script to get that piece of magic to work?
Which one?

Thanks folks!

Laszlo

View Replies !    View Related
Stopping A Movie Clip
Hi everyone!

I created a movie clip and two buttons that control it from right to left.
I am using this actionscript:

var speed = 5;
leftButton.onPress = function() {
mcName.onEnterFrame = function() {
this._x -= speed;
};
};
rightButton.onPress = function() {
mcName.onEnterFrame = function() {
this._x += speed;
};
};
rightButton.onRelease = function() {
delete mcName.onEnterFrame;
mcName.stop();
};
leftButton.onRelease = function() {
delete mcName.onEnterFrame;
mcName.stop();
};

Is there a way to stop the movie clip once it reaches a point on the X coordinate? I just don't want it to leave the stage if the buttons are pressed too much. Any suggestions?

View Replies !    View Related
Movie Clip Not Stopping
God, will I ever not feel like a Flash beginner?

Here I have a simple movie clip object with it's own actions layer, with a stop(); command at the end of it. This movie clip object is then placed on the main timeline - however, the movie clip does not stop. Crazy! Any ideas? I am simply putting the movieclip on the main timeline manually, i.e. dragging it there. When I play the main clip, I see my nested movieclip, but it doesn't stop. When I play the movieclip independently, it stops at the right place. Do I need to insert more frames in the main timeline so that it registers the stop on the movieclip? I thought movieclips behave independently of the main timeline?

Much thanks.

View Replies !    View Related
Stopping Movie Clips - Please Help
I need to stop all movie clips within a parent movie clip. Normally, I would just address them by name - the problem here is, I don't always know the names.

I'm creating a class to be included in various projects by various artists. The class is going to be imported at root level and must stop all frames of all movie clips.

Is this possible?

View Replies !    View Related
Stopping All Movie Clips Via AS?
Using a "pause" button on the main timeline I'm trying to find a way to stop playback (pause) and then begin playback (resume) of not only the main timeline but all movie clips that are embedded on the main timeline.

Using simple stop() and play() statements attached to a button I can have the main timeline stop and resume, but I would like to stop any movie clips that are used within the Flash file. I'm guessing some kind of array that contains the names of all movie clips and then possibly a loop statement that tells each one to stop.

Any suggestions on how to make this happen?

Thanks!

View Replies !    View Related
Stopping A Sound In Another Movie
i have a sound playing in the main swf via the sound object. i have another swf loaded over that one and i need a button on the 2nd swf to stop the sound in the first swf.

View Replies !    View Related
Stopping A Nested Movie.
I am trying to stop a nested video clip. When i put the path to the clip separated by . and then stop nothing happens. This is kinda driving me nuts. I can stop the entire character I created but not his legs. Any help would be most appreciated. I am using the syntax...path.stop();

Cheers

View Replies !    View Related
Stopping And Starting A Movie
I have a Flash movie which is going to have several hotspots where when a user moves their mouse over a photo will be displayed (a different photo for each hotspot). http://www.get2thepoint.org/g2p/about_usx.php - at present there are just 2 hotspots (the orange and one other dot). I want the photo to stay till the user moves their mouse out. I tried putting a stop() on the last frame and a on (rollOut) { play(); } action on the button to get the movie back to frame 1. It worked unless the user moved their mouse out of the hotspot before the movie had finished playing in which case it all went pear shaped.

Any suggestions please? The fla file is at http://www.get2thepoint.org/g2p/resources/aboutus3.fla

Thanks
G :)

View Replies !    View Related
Stopping A Flash Movie
could anyone perhaps tell me how i can stop/pause a movie for 5 seconds...
My current movie is 40 frames long and i need to pause it at frame 34 for about 5 seconds...before continuing on to frame 40...without user interaction (no buttons or mouse actions)

i did a search on the adobe site but the link seems to be broken:
"How to use GetTimer to pause a movie (TechNote #14207)"

View Replies !    View Related
Movie Keeps Stopping After 45 Clicks
Hi,
My flash movie keeps stopping after I've clicked 45 times and I've no idea why. There are lots of buttons on the page and when you click them they count how many times the buttons has been clicked and display this in a dynamic text box underneath the button. Not very exciting I know, but very useful at school. When I've clicked one button 45 times or a combination of buttons adding up to 45 the movie goes white (my buttons disappear). I'm quite new to flash so sorry if this is really basic.
Thanks,
Zoro

View Replies !    View Related
Stopping Movie Clip
Here is the problem. I am an actionscript newbie. I have a movie clip moving across the stage on the main timeline and want to stop it when it reaches a certain x value. I can't seem to get it to stop and stay still at position -700. Any help would be great!! Below is the code







Attach Code

onClipEvent (enterFrame) {
this._x += 1.5;
if (this._x == -700) {
this._x == -700;
}
}

























Edited: 11/18/2008 at 10:00:32 AM by Ger75

View Replies !    View Related
Stopping A Movie Automatically
I've been combing through the content on this site. All very good stuff for somebody as green as myself. Unfortunately, I've run into a hiccup that I can't find a solution for...

So, I have flash encoded movies playing inside the site. Once I hit a link that takes me to the frame, the movie loads and plays. Here’s my catch: Once I click on any other button to take me to any other part of the site (in the same SWF, just another part of the timeline), the movie audio can still be heard, so obviously the movie is still playing/loading in the background. Now, I fooled around with creating a function that would stop a list of movie files that are in the site if any of a list of buttons are pressed. This gives me null errors back when movies that aren’t being accessed are triggered to stop. Also, this is an extremely clunky way to tackle this.

My question is this: Is there a way I can create a function attached to the page the movie is on or the movie itself to tell it to stop playing when the user leaves the page. A function independent of any particular button or movie so that it can be used universally on additional pages with various movies without having a great deal of editing of the ActionScript?

Thanks so much in advance!

Logan

View Replies !    View Related
Stopping My Movie Clip At _x = O
I have made a modified infinate menu, and I would like to make it stop at the begining and the end.

Here is the code that I have so far. What can I add to it to make it happen?

onClipEvent (load)
{
speed=-1;
}

onClipEvent (enterFrame)
{
_x+=(speed);
if (_x > 0) _x=-4603.3;
if (_x < -4603.3) _x=0;
}

View Replies !    View Related
Stopping A Movie Clip
Okay, a more specific question in relation to the "clockwork" thread I posted earlier...

In my animation I have a movie clip that is constantly spinning, but is it possible to make a button stop the movie clip wherever the movie is at - then when the button is released, have the movie continue playing from where it stopped?

I know it's retarded, and it probably has a really simple explanation, but Flash eludes me when it becomes technical..

Your help would be MUCH appreciated...

View Replies !    View Related
Stopping Movie For Certain Time?
How can i stop a movie let's say for 60 seconds

EDIT: and then restart at the frame where i stopped it...for sure...._)
Help me please

View Replies !    View Related
Stopping A Movie Clip
I have made an infinite menu using the tutorial HERE, except i have replaced the contents with images and have placed into a larger flash document which will be a web page.

The problem i have is that wherever the mouse is on the page, the images keep scrolling and because the page is much larger than the example given, it scrolls extremely fast when the cursers over the other side of the page(which looks awful). Is there any action script i can use to stop the scrolling when i move the curser outside a given area?

Thanks for any help, you have an amazing site here
Nealo

View Replies !    View Related
Stopping Many Movie Clips
good day members
small help i need
first of all i use FLASH 5

i have for exmaple 5 movie clips on the main stage

Now i want to stop all the movies in on code
is that possible guys???????????


thanks guys

View Replies !    View Related
Stopping My Movie Clip At _x = O
I have made a modified infinate menu, and I would like to make it stop at the begining and the end.

Here is the code that I have so far. What can I add to it to make it happen?

onClipEvent (load)
{
speed=-1;
}

onClipEvent (enterFrame)
{
_x+=(speed);
if (_x > 0) _x=-4603.3;
if (_x < -4603.3) _x=0;
}

View Replies !    View Related
Stopping Movie Clip
Another relative newbie with a movieclip problem....

I have a movie clip ("snow") playing on the main stage using random numbers plus other assorted math to generate falling snow effect but I'm unable to stop it, even when the movie continues to the next scene.

Ideally I'd like to stop it using an onrelease command in a different layer, or alternatively stop it when the main movie reaches the first frame of the next scene.

The problem seems to be a duplicateMovieClip command attached to the frame that the movie clip sits in.

for (k=0; k<20; k++) {
duplicateMovieClip(this.snow, "snow"+k, k);
}

Is this what's causing it to just keep going forever? If so, what command will stop it? Thanks.

View Replies !    View Related
Scaling Movie
Hi guys

I know a similar subject has been addressed elsewhere, but the other posts haven't helped.

I want to be able to resize a movie and have it scalable on the fly, rather than fitting exactly to a browser window etc. Embarrassingly I completed a Flash MX course yesterday in which I was shown how to do this and have already forgotten. The Publish Settings are at 100%x100%, but I'm sure there was something under Document Settings as well.

~RedCirce

View Replies !    View Related
Scaling The Movie.
Hi!
Imagine the situation: my Flash object is a part of HTML
document. Now I move something in flash out of flip broad
by
setPropert("_rooot.FullMovie.Cell",_x,getProperty( "_rooot.FullMovie.Cell",_x)+500)
for example.

The size of the full clip is now grosse. So, I have to increase the size of the table where the flip is, to become the same scale of the element in flip like it was befor.(It's my purpuse)
getURL("javascript:WinResize(500,500)");
in HTML:
<script>
function WinResize(xxx,yyy){
MainTable.width=xxx;
MainTable.height=yyy;
}
</script>
where MainTable is the ID of the table with flash object.
After all this operations the flash object scales itself.
And move to the right. Whats the problem?
I try resize _root.FullMovie and move it but it's very hard
to find the right values of parameters. And I find it not elegant. Please help!

View Replies !    View Related
MC Changes Movie Scaling
I have a swf(originally made 750X400 and published to 100%X100% with Salign). The movie seems to play just fine until I click one certain button.

The movie is in Japanese -- so the button in question is the top button on the far left (there are two buttons on the left-- this one has the word "and" in the text -- if that helps).

When I click on this "and" button a smaller swf is supposed to play in the top-right corner. The second swf was made at 595X317 and it is positioned so that the entire second swf is within the original movie.

But when I click on the "and" button the second movies loads up in the right corner but the whole movie loses it's 100% scale. It seems to bring the entire move back to original size 750X400.

Does anyone know what is causeing this rescaling? How can I get the second swf to play without readjusting the original movie 100% scaling? I am using Flash MX and Dreamweaver MX.

Thanks,
Matt
http://www.ebc4u.org/Intro/matt5a.htm

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