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




Actions To Play Mc-move To Next Frame?



This may be a rather silly question but can somebody help me with this. I have a movie clip in frame 1, then my site starts in frame 2. What actions do I need to place in frame 1 to tell it to play the movie clip then once the movie clip has finished move onto frame 2? I just have the mc sitting in frame 1 and it plays then stops but doesn't move onto frame 2. Thanks in advance for any help.



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 07-19-2005, 01:13 PM


View Complete Forum Thread with Replies

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

Loade Move And Play From Specfic Frame
i am working on a project in which i have divided the entire site into different swf files. For example i have a main file which contains links like about us, contact us etc..
First i am loading the main file and on cilck of any link i loade the the pirticular movie on to level0 of the main movie. to naviget in the sub pages i am doing the same thing i am loading the movie on to level0 again. now my problem is if i have to go back to the home page. i loade the main.swf file. but this file contains a small animation in the starting. i dont want the user to see the animation every time he comes back to the the home page form the sub pages. Is there a possibility to say loademovie(main.swf,0) and _level0.gotoAndPlay("endofanimation");
i tried givingthis code on a button, but it dose no work.

on (release) {
loadMovieNum ("main.swf", 0);
_level0.gotoAndPlay(1);
}


some one plese help me..

[F8] Need Assistance Getting Movie Clips To Play And THEN Move To New Frame
Hello Everyone;

First, I am doing this on Flash 8, using Actionstrip 2.0... I'm using an actions layer to write my actionstrip, and a button layer to use behavior to get the frame moved to the right area to start the movies.

Here is the problem. I am attempting to get a total of 11 buttons to show 11 different movies (1 movie per button), and then once the movie is finished, it should load frame one again so the end user can click another button. So, frame 1 is without a movie, but has all 11 buttons for clicking. The buttons (the frame number depending on what movie I want it to show) then have:

on (release) {
//Movieclip GotoAndPlay Behavior
this.gotoAndPlay("2");
//End Behavior
}

to get the movie to move to frame 2. Which then has the following actionscript:

loadMovieNum("ripan1.swf", 50);
stop();

... I had to put the stop() command in because of needing to prevent the movie from quickly going to frame 3... But what I WANT it to do is to play the entire "ripan.swf" clip, and then go back to frame 1. I tried to do gotoandstop(1); but that did not allow the movie to load and play. Can anyone help me with this? This is very time sensitive, so I appreciate every bit of help I get. Thank you.

Trighap

How Do I Move This AS To My Actions Layer?
Hey all! I followed a tutorial a while back in my early scripting days to create an "infinite" menu. I have been adapting it for another site and whenever I try to move the code to my Actions layer in my timeline, my "reworking" of the code doesn't seem to quite . . . well . . .. "work" . . . this is probably CAKE, but would anyone else mind showing me how you would make this code accomplish the same thing from my Actions layer on the timeline?

Code:
onClipEvent (load)
{
xcenter=625;
speed=.2/10;
}
onClipEvent (enterFrame)
{
var distance=_root._xmouse-xcenter;
_x-=(distance*speed);
}

onClipEvent (enterFrame)
{
if(this._x >= 370)
this._x = 370;
}
onClipEvent (enterFrame)
{
if(this._x <= 222)
this._x = 222;
}


This code is attached to a movie clip with an instance name of: menuMC

Frame Actions Vs Object Actions
In preparation for AS3 which no longer supports object actions, I am on the process of converting flash movies created with Object actions in AS2 to Frame actions. While I understand some valid reasons for switching to Frame actions, I am discovering that converting button and clip actions to Frame actions is a very tedious process and so far, more than half the files I have tried to convert do not work. Having worked with Flash since version 3, I know about timelines, targeting and variable scope but this whole conversion process is driving me nuts! Is there a place that I can go to or tutorials available that teach how to attack this conversion? What are the main guidelines in converting from Object to Frame Actions? I have looked in the CS3 Help (from the program or Adobe online) and I have not found anything to guide me. Am I the only one experiencing this? Thanks for your help.
Yvan

Button Actions To Move Movieclips HELP
Ok I have a button, and when this button is clicked I want an instance of a movie clips to move down. I have written code to reposition it 80 pixels down, with a slow gradual motion. However, Instead of showing the movie clip moving slowly down into its position, it just jumps to the final position. I suspect that movieclips positions do not refresh until all commands inside a button action are performed. Is there a way to show my movie clips position through every interval? Here is my code.

goal = 80;
drag = 4;

button1.onRelease = function() {
while(_root.line1._y!=goal){
_root.line1.incY = ( goal - _root.line1._y ) / drag;
_root.line1._y += _root.line1.incY;
if(Math.abs(_root.line1.incY) < .1) {
_root.line1._y = goal;
}
}
}

In the above code "button1" is the instance of my button.
"line1" is the instance of the movie clip I am trying to move slowly.
"goal" is the final Y position of "line1"

Any help you all can give me would be appreciated. I am doing an all nighter on this site, so quick feedback would be appreciated.
Thanks

Object Created In A Frame's Actions Telling Parent Frame To Delete It?
I've got an object (an instantiation of my own class that extends Sprite) being created in the actions for a frame, like this:


Code:
import Scripts.CFoobar;

var foobar:CFoobar = new CFoobar();
addChild(foobar);

stop();
CFoobar then creates and manages some buttons, etc. At a certain point, CFoobar knows it's time has come, and it wants to be deleted, and have the frame go to another frame.

What's the best way to have it do this?

Calling Simple Actions After Moose.Move()
how can you call simple functions such as 'play();' after a 'moose.Move()' script has finished.

cheers, james

Make Flash Detect Current Frame Then Move To Another Frame Base On A Numeric Value
I need to get the current frame that being displayed and then move to another frame and stop based on a random number.

For example: A person rolls a 4 with a dice. Flash will move 4 frames from it's current frame.

Can anyone help out with this question?

Actionscrip Playing In Frame One. - But I Eventually Want To Move To Frame 2[MX04]
ok - heres a simple one I'm sure

I have 4 movie clip symbols. - each on a different layer - marching in a row

below is the script I have in a layer name "actions" on the main timeline

one_mc.onEnterFrame = function(){
this._x += 1;
}
two_mc.onEnterFrame = function(){
this._x += 1;
}
three_mc.onEnterFrame = function(){
this._x += 1;
}
four_mc.onEnterFrame = function(){
this._x += 1;
}
this works fine. but when my four_mc gets to 600 px accross the page, I want to move to frame 2 of the main timeline...and continue on with my movie.

Looking about I'm guessing I should maybe use the gotoAndPlay rule...but not really sure how.

I was starting with

four_mc.onEnterFrame = function(){
if (this._x <600){
this._x += 1;
}
}

- trying to say if four_mc is greater than 600px along X...I want to gotoAnd play from frame 2

...am I completely confussed?
PLEASE HELP...I'm very stuck!

thanks
tigercat

Image Quality Takes A Dive When I Move Everything From Frame 1 To Frame 3.
I'm not sure what's going on here. I decided I need to add a preloader to my site so I moved everything in frame 1 of the main stage to frame 3 so I could add in the preloader. Without the preloader, I tested it to make sure everything was moved over to frame 3 and that everything was working and now when I preview the movie in Internet Explorer all of the images (png format) are really jagged around the edges as if AA is not on anymore. Everything looks fine if its in frame 1, yet in frame 3 it looks bad. Any idea what's up and how to correct this?

Image Quality Takes A Dive When I Move Everything From Frame 1 To Frame 3.
I'm not sure what's going on here. I decided I need to add a preloader to my site so I moved everything in frame 1 of the main stage to frame 3 so I could add in the preloader. Without the preloader, I tested it to make sure everything was moved over to frame 3 and that everything was working and now when I preview the movie in Internet Explorer all of the images (png format) are really jagged around the edges as if AA is not on anymore. Everything looks fine if its in frame 1, yet in frame 3 it looks bad. Any idea what's up and how to correct this?

Actionscript To Make A Button Move From Frame To Frame
I'm trying to take a Powerpoint Presentation and put it into Flash. The problem is that I im not sure how I can get a mouse click to advance to the next frame. I want a user to click on the Flash item and go from frame 1 to frame 2 and so on and so on. What would be the best way to do this so it looks and acts like a Powerpoint presentation.

Thanks

Trying To Make Movie Play Frame X To Frame Y Then Switch To Frame Z..
Hello,

I was hoping someone could help me out with an issue I'm having. I have my flash on multiple scenes, and would like to play an animation when clicking on the navigation button before switching to a different scene.

I'm halfway to accomplishing this.

Here is what i used


Code:
_root.gotoAndPlay("changepage1");
_root.onEnterFrame=function(){
if(this._currentframe=="changepage2"){
gotoAndPlay("Home2",1);
}

}
The above code is on a blank keyframe. Changepage1 is the start of the animation and Changepage2 is the end of the animation.

Upon clicking the navigation button it plays the above scenes.

However it doesn't change scenes to scene "Home2".

Thank you in advance for all your replies.

Looping Sound In Frame Then Move To Next Frame
hello all,

I come to the swf lords for help.

Please look at the following code that I'm trying to use in flash player 9 when trying to use Actionscript 3.0

First let me tell you my objective: I'm trying to play a sound to continually loopwhile in frame 2 plays. When frame 2 finishes playing out I use gotoAndStop(3) and I want the frames 2 sound to stop playing so I can start frame 3 sound.

Now this is what really happens: In some attached code the sound frame 2 will carry over to frame 3 and not stop. Other code, the frame 3 will be called even before frame 2 starts playing.

************************************************** ************************************************** ****************************
stop();


/*
import flash.media.Sound;
var trans:SoundTransform;
var mySndCh:SoundChannel;
var mySnd:Sound = new Sound(new URLRequest("sound/mymusic.mp3"));

function playMusic():void
{
mySnd = new NameOfSound();
mySndCh = mySnd.play();
mySndCh.addEventListener(Event.SOUND_COMPLETE, loopMusic);
}

function loopMusic(e:Event):void
{
if (mySndCh != null)
{
mySndCh.removeEventListener(Event.SOUND_COMPLETE, loopMusic);
playMusic();
}
else
{
gotoAndStop(3);
}
}
*/
-------------------------------------------------------------------------------------------
/*
import flash.media.Sound;
var trans:SoundTransform;

trans = new SoundTransform(1, 0);
var snd:Sound = new Sound(new URLRequest("sound/mymusic.mp3"));

var i:int;
for (i = 0; i < 1; i++)
{
snd.play()
}
*/

--------------------------------------------------------------------------------
/*
import flash.media.Sound;
var trans:SoundTransform;

trans = new SoundTransform(1, 0);
var snd:Sound = new Sound(new URLRequest("sound/mymusic.mp3"));

var i:int;
for (i = 0; i < 2
{
if(i++)
{
snd.play(0, 2);
}
}


*/


************************************************** ************************************************** *****************************

Please let me know what I'm doing wrong

Thank you for your time,

-lexeo602

Play() Actions
Hi. I've just been wondering, do movieclip.play() or movieclip.gotoAndPlay() work as I think they do in the main timeline?

Okay here's my problem.

I have a movie clip in the first frame of the main timeline named "test". In this clip, is a little animation, with the first frame bearing a "stop();" action.

When i insert a "test.gotoAndPlay(3)" into the first frame of the main timeline, it will goto and stop at frame 3, instead of carrying on playing. "test.play()" doesn't work either.

I can make the movie play however, if i use the same actions on a button, in another movie clip using "_root.test.play();", with movie clip actions, and also by extending the clip to 5 frames in the main timeline, and moving the actions to the second frame.

Another question is why

onClipEvent(load){
test.play();
}

doesn't exactly work but enterframe and mousedown do?

tHankews =)

How Can I Get 2 Actions To Play At Once?
I need these to actions to play at the same time, but it only plays the first one if I have them in the same frame. Putting them seperate on two different frames, 1 apart from eachother kind of works, but its still a little off... How would I put these two together, to make them play as a double?


Code:
if (_root.diff == 2) {
duplicateMovieClip(down, _root._currentframe, _root._currentframe);
setProperty(_root._currentframe, _x, _root.maindown._x);
setProperty(_root._currentframe, _y, _root.spawnline._y);
// end
}
and


Code:
if (_root.diff == 2) {
duplicateMovieClip(up, _root._currentframe, _root._currentframe);
setProperty(_root._currentframe, _x, _root.mainup._x);
setProperty(_root._currentframe, _y, _root.spawnline._y);
// end
}
Please help.

Helpneed Script 4 Play Button To Play From Current Frame
This must be simple but I cant work it out. I have a video in a movie clip and want to assign a play button wich continues from the current frame if you pause the movieclip, instead of starting from the beggining!!!

I thought it'd be something like

on(release) {
_root.myvideomovie.gotoAndPlay(nextFrame);
}

but obviously not!

Hope thats not so stupid it shouldve been in the newbies section, ok it probably should've been but it is actionscript!

Move Can Only Play Once?
Hello,
this is my first post. I'm having a weird issue with my preloader and was hoping someone has seen something like this before.

The opening movie will play fine the first time around, the preloader..um..preloads..and the movie plays. But then if the user presses reload, the preloader just goes around in circles. A link to the directory where you can find all the components is below.

My movie is coded very ugly as this is my first attempt at actionscript. I will clean it up once the code works.

Thanks for helping me out.

http://www.ifae.com/test

webguy

Move Frame By Frame In What FLV Player?
I'm in the process of designing a website, and I want to use Flash as well as Quicktime. The site deals with stock footage, so the beauty of Quicktime is that the user can simply move through the video frame by frame and choose exactly the shot he or she wants. But when it comes to Flash, is there a player available that will allow the user to move through the clip frame by frame?

Klein

I Need A Movie Clip To Play, Stop And Play Again In The Next Frame
I need a movie clip to play, stop and play again in the next frame. So pretty much i have to get the movie clip to play once and stop then when you go to the next frame it should play again once and stop again. What i have is a slide show type thing where you click on the next button to advance to the next frame and in each frame i have all the animations in their own movie clips.

-Thanks

Should Be Easy. How Do I Get A Frame In A Movie To Go&play A Frame In Main Timeline?
Hi,

I trying to get a frame in a movie clip (that's 1 level down the hierachy) to gotoAndPlay a frame that's on the main timeline that's labeled "Fade1".

How do I do it?

Any help is greatly appreciated.

I'm using Flash 5.

Dan

Script On Button To Play Scene/clip From Frame To Frame
I there an action script that will allow the user to click a button and it will only play a section of the movie? Such as so many frames of a scene (like frames 20-176) or of a movie clip?

Thanks
ryan

Cant Get Frame In Main Timeline To Play Frame In Movie Clip
Hi all,

Ok, I want a section of a movieclip to play up until a certain frame on the main, or _root timeline. Then I want a different section of the same movie clip to play. Now I have the movie clip all set up all fine and dandy, yet I cant get it to the frames or 'section' it is playing when it reaches the apropriate frame. I have the following code on the _root timeline frame.


Code:
gotoAndPlay("stop");
(I have a frame label "stop" where it should be) Is this the right code I should be using? It has worked in the past, but it has been in between an on (something) event/action (not quite sure of the correct termanology there)

Please help.

Looping Scenes To Go From First Frame To Last Frame And Rollover Button Play
I'm trying to figure out:

a) how to loop a scene to go from the first frame to the last to the second last etc

WHILE

b) having the scene play either forwards or backwards (as above) while the user has their mouse over a button but making the scene pause when the users mouse isn't over the button.

can anyone help me????

Assigning Actions To Buttons To Play Responding MC's
Hi everyone,

I have a problem that I don't really know how to solve. I'm going to try to explain it as clearly as I can.

I'm building a Flash website. I have a navigation which buttons trigger the movie clips responding to the button. E.g.: When "Portfolio" button is clicked, a movie clip that's supposed to play accordingly will appear and play. When another button is clicked, e.g.: "Experiments" button, the "Portfolio" movie clip will play the ending and disappear then the movie clip responding to the button which had been clicked ("Experiments") will appear and play. As far as what I have done now is assigning the "on (press, release)" command to each button. The actions attached to the "Experiments" button is:

on (release, press) {
_root.portfolioMov.gotoAndPlay(24); --> frame 24 is the ending
_root.experimentsMov.gotoAndPlay(2); --> frame 2 is the beginning
}

And the actions attached to the "Portfolio" button is:

on (release, press) {
_root.portfolioMov.gotoAndPlay(2);
_root.experimentsMov.gotoAndPlay(24);
}

But I'm gonna have to type all the MC's in each buttons to have them play the ending and disappear. Then all the MC's will play the ending together. And buttons are usually clicked randomly. I'm sure there's a way of doing this, I just don't know yet how. Do you know how I can do this effectively? Maybe with the "when" command? Creating an array maybe?

Hope you can help me.

Regards,

Ziye.

Basic Play And Clear Movieclip Actions AS2 / CS3
CS3
AS2

Hi, I have two problems, they seem pretty basic, but i just can't figure out the syntax.

1. I have a movieclip that stops on frame 5, but i need it to resume when clicked and start playing again on frame 6
-this is a movie clip, i cant just say something like: (or can I???)

on (release) {

gotoAndPlay(6);

}

2. Once I get the playhead moving, the code i have now to work requires a click, i would need it to be activated automatically once frame 10 is played ( or a frame label is hit). How do you get a function to activate just when a frame is reached?
(i need it to unload an external swf)

var nextimage:String = "";
//
function getimage() {
imgholder_mc.loadMovie(nextimage);
}
//

clear_mc.onPress = function() {
_level0.imgholder_mc.unloadMovie();
};



Your input would be very appreciated.
I've fought with this for a very long time.

thanks
James.

Mouse Move - Movie Play
ok, now since there is actually a site out there that is doing what I have been trying to accomplish for about 7 months now, I can ask...

http://www.yulia-nau.de/

does anyone know how to make a movie play like the nav in this site when you move the mouse across the screen?

I'm doing a site for a client and need their shoes to spin as the user will move the mouse across the screen.

maybe does someone have a .fla built to show?

any help would be greatly appreciated. thanks mates.

Waiting For A Movie To Play, Then Move On
heres what i am trying to do. i have a movie clip that i want to play. i understand taht if i place the movieclip in a frame on the main scene, and have the movie stop at that frame, it will continuesly play that movie clip. now is there a way to have the main scene stop at that movie clip with the stop(); code, wait for the entire movie to play, and then move on to the next frame?

On Release, Play Frame, Then Play Movie?
I am creating a site, and it has a animation that it has to play before loading the next section. What I cant figure out is what function I need to create so that when a user clicks on the vision button it will play the frame after stop(); which will close that section, then have it load the frame for the section that the person clicked on. The only way I can think of doing this is creating 3 different close animations for the three sections. But I figure there has to be a way to have it play the one close animation and then goto the frame which is the portfolio section or vision section (depending on the button clicked).

Thanks for the help.

On Release, Play Frame, Then Play Movie?
I am creating a site, and it has a animation that it has to play before loading the next section. What I cant figure out is what function I need to create so that when a user clicks on the vision button it will play the frame after stop(); which will close that section, then have it load the frame for the section that the person clicked on. The only way I can think of doing this is creating 3 different close animations for the three sections. But I figure there has to be a way to have it play the one close animation and then goto the frame which is the portfolio section or vision section (depending on the button clicked).

Thanks for the help.

Play New Flash File And Play Frame
Hi, i wish to on enter frame in flash document 1, to load and play frame 21 in flashfile 2.. is this posible?

ps. im quite newbee in flash :oops:

[CS3] GotoAndPlay Exeption (example: If MC1 Frame 30 Is Loaded, Play MC2 Frame 5)
Hi, for a long time i've been struggling to achieve this effect, that is an action script that would allow me to make an exeption. i playes with variables and stuff but i never got it right:/

i have a button, and i have an action assigned to it:

menubutton2.onRelease = function():Void {

content2.gotoAndPlay(2);

IF content3 is on frame 10, i want it to play content3 frame 15,
IF content3 is on frame 1, i dont want it to do anything with content3

};

If only AS could be that easy....

if anyone could help me with this one i would feel relieved... thanks in advance

Tell _root To Goto Frame And Then Play Certain Frame Of Movieclip?
Hi!

How do I get this to work?

When you click a button I want my flash to go to the frame label where the movie clip is located, and then play a certain frame of that movie clip.

Thank you!

Frame Actions
I am having trouble getting frame actions to work in Flash 5. I have 3 movies all with the same frames except with change in text. The first movie has two scenes. All three movies are going to play at the same times. Except that movie 1, at the last frame, in scene 1 is suppose to go to and play scene 4, frame 1, and at the end of the last frame for scene 4, it is suppose to go to and play current scene, frame 1. This does not happen. The movie just stops and the frame actions are not activated. Please help.

Help With Frame Actions
Basically I'm trying to make some drawers in a box go in and out.

When you click on one drawer, it slides out.
Then when you click on the another drawer it will open, and the one that was open closes.
Each drawer is a button inside of a movie clip. and the movie clip has the open and close animations.
The open animation starts on frame 2 of each drawer movie, and ends opening on fram 8. Then the closing animations starts on frame 9 and will go to and stop on Frame 1.

this is the code I was using:

on (release) {
gotoAndPlay(2);
if (_root.box.drawer1, 8){
_root.box.drawer1.gotoAndPlay(9);
}

My guess was like using the ifFrameLoaded script, though that only works for Preloaders, so I tried something like you see above. I'm trying to say that if the drawer1 movie is on Frame 8, then when you click on any other drawer it will play the close animation. And if the drawer1 is not on frame 8 then nothing will happen when you click on other drawers, except that the drawers you click on will do their own opening animation themselves. Make Sense?
Anyways.. the problem I am having is with this code, when I click on a another drawer that has this code in it.. and drawer1 is closed, it opens with the other drawer I clicked on.
So, yeah.. anyways.. any help would be great!!

Frame Actions...
Frame Actions:

I am currently making a game, called Rancher. Every thing goes fine untill you reach the loaction of which the flash program randomly selects a monster for you. It's all fine and dandy, then when you go back to the town the monsters not there!

In the frame actions in the Town Scene I have this:

_root.hare._visible = 0;
_root.Naga._visible = 0;
_root.wolf._visible = 0;
_root.dino._visible = 0;
_root.Golem._visible = 0;
_root.Suezo._visible = 0;

In the button actions in which it is in the scene of the monster cut-scene at the end of it I have this:

on (release) {
gotoAndStop("Town", 1);
_root.Naga._visible = 1;
}

In _root.Naga._visible = 1; Naga is for all the other monsters up there, I didn't want to spam this thread with same AS just differnt names.

Me my self, I thought it was the frame actions, If any one else knows why this is happening; Please let me know.


Thanks in advance

Radio Button Stops Move At End Of Play
I have two radio buttons that are controlling my flv movies. The first one is "cont" which is for continuous play, e.g. once the current movie is finished it starts the next one in the order list.

What I want to add a radio button that, when selected, will only allow the end-user to view one movie at a time. If they want to view the next, or any movie for that matter, they must select the movie from the drop-down list.

Here's the actionscript that I have currently. Thanks in advance for any help. I'm new to this.

____________________________________

var xml:XML = new XML();
xml.ignoreWhite = true;

xml.onLoad = function() {
var nodes = this.firstChild.childNodes;
for(i=0;i<nodes.length;i++) {
list.addItem(nodes.attributes.desc,nodes.attributes.flv);
}
vid.play(list.getItemAt(0).data);
list.selectedIndex = 0;
}

xml.load("playlist.xml");

var lList:Object = new Object();
lList.change = function() {
vid.play(list.getItemAt(list.selectedIndex) .data);
count = list.selectedIndex;
}

list.addEventListener("change",lList);

var vidList:Object = new Object();

var count:Number = 0;

vidList.complete = function() {
if(cont.selected) {
if(count == list.length-1) {
count = 0;
}
else {
count++;
}
}
vid.play(list.getItemAt(count).data);
list.selectedIndex = count;
}

vid.addEventListener("complete",vidList);

Can't Make Flash Move Play On Localhost
Here is my code

<tr>
    <td colspan="3" valign="top">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/..." width="554" height="216">
        <param name="movie" value="images/test.swf">
        <param name="quality" value="high">
        <embed src="images/test.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="554" height="216"></embed>
    </object>      
    <!--- <img src="images/Billboard_Aboutus_add.gif" width="554" height="216"> ---></td>
  </tr>

Everytime I run this webpage on my local host i.e http://127.0.0.1/index.cfm. My webpage doesn't play the movie and keeps asking me for a user name and password for the webserver!

Anyone know whats going on? Something wrong with my code?

Frame 1 Actions Bypassed
I've noticed that very often, if you gotoAndStop(1) that certain ActionScript calls (such as stop()) are sometimes ignored, and the movie will play from that point, for example. I remember someone else referring to this once as a bug in Flash (even back in ver. 4), but never read anything very definitive about it.

Can someone point me in the right direction? my guess is that there's a technote on MM's support site about it, or some posts on the more popular forums, like were-here, but I'm not really sure what to try searching for.
[Edited by verto on 11-21-2001 at 08:00 AM]

Sound And Frame Actions
I am having real problems.
I have a long sound (a song) in a mc called sound on the main timeline. The main timeline loops whilst the sound plays.
I want to break the loop when the sound is finshed.

I have put the following on the a frame at the end of the sound mc before the very last one.

_root.gotoAndPlay(261);

but it seems to ignore it completely I have set the sound to be 'stream'

Anybody any suggestions?

Assigning Actions To First Frame
Newbie here, just wondering how to assign an action to the first frame which makes the movie play, then when it gets to frame 40, it stops to wait for user input. If it makes a difference, i will be using a preloader which has yet to be made/intergrated. Do I just assign an action that instructs goto and play frame one, and add another action that says stop at aforementioned frame? Any assistnce would be appreciated. This forum has been of great assistance to me, I hope to find results to this quandry...

Q

Problems With Frame Actions
I'm lost with frame actions,
I want to build a slide bar to scroll text.
Why if I write the following on frame #1
I get an error (script slowing down your system)
---------------------------------
if (movie._ymouse == previouspos)
gotoAndPlay(1);
else
nextFrame();
--------------------------------

Problems With Frame Actions
I'm lost with frame actions,
I want to build a slide bar to scroll text.
Why if I write the following on frame #1
I get an error (script slowing down your system)
---------------------------------
if (movie._ymouse == previouspos)
gotoAndPlay(1);
else
nextFrame();
--------------------------------

How Do I Repeat Actions In A Frame
hello
sorry for being stupid
i made some variables equals something
such as:

x= y
y= math.w/e(blahblah)

but what i want it to do is keep changing,
i see the script

if(i=0; i<this; i++)
how does that work?
if anything will that work?

How Do You 'unload' Actions Before You Get To The Next Frame?
I am having issues with the same dynamically loaded images and text staying on the screen when I get to the next frame. How do I get these to go away when I get to the next frame?

I am using _root.createTextField and _root.createEmptyMovieClip to load text and an image to the screen. I have actions on each frame, one right next to the other, but I have different actions on each frame.

Thank you!

Should All Actions Go On The Same Layer Frame?
1.) If I need to apply a stop action and actions for a button on frame 1, should these be placed on different Action layers? So a Frame Actions layer and a Button Actions layer?

2.) If there are multiple buttons on the same frame, should a separate layer be created for each button action that will need actions applied to it?

Thank you.

Need Some Help With Frame Actions/behaviors
The dimension of my flash file is around 850 by 800, so it is a little too big for most screen sizes. The problem I am having however is that I want each frame to start back at the top. When I click on the next button or previous button, it shows the frame in the same orientation as the previous one. Any help please?

Repeating Frame Actions
How do make it so that the actionscript on a stopped frame repeats itself instantly over and over again, kind of like with OnClipEvent (enterFrame) although that only works for movie clips and I want to have the actionscript on the frame?

And does anyone have any idea of what framerate flashstuff on a nice website should have?

Frame Label Actions
Does anybody know if there are any commands which relate to frame labels?

Such as:

Finding if a specific frame has a label and its name.

or

returning an array of a movieclip's frame labels




????

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