Help with making a flash movie...go to frame and looping

How do I make it so that in my flash movie when it gets to a
certain frame in the movie it skis to another frame? Where and what
is the action script? like when it gets to frame 150 i want it to
go back to frame 1 so it can be animation for like a animated menu.
anyone know?

If your movie contains exactly 150 frames, then you don't
need to write anything. It will loop automatically. If it contains
more than 150 frames, put the command 'gotoAndPlay(1)' in the 150th
frame.

Similar Messages

  • Need help with making website flash banner/header

    Can you loop in flash catalyst? I am new to catalyst and flash pro, so I am sorry if this is simple...
    I have designed 3 art boards in Photoshop and imported them into flash catalyst. I would like to have the art boards show for about 4 to 5 sec and then transition to the next slide or art board, I need this to happen automatically. Also there are buttons on each slide to redirect to any single art board. Example button 1, 2, 3.
    I have already made the links, but I do not know how to set up the art boards to start looping on load of web page. I have seen this done on many websites, am I using the right program? I have both which one should I use? Can anyone recommend an easy tutorial that will show me step by step how to make my art boards transition? Can anyone help?
    Thank you. Teresa

    You might nose around in the Flash Catalyst forums:
    http://forums.adobe.com/thread/587302
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Help with making JLabel visible for a few seconds only

    Hello guys,
    I need help with making a JLabel object visible for a few seconds only and disappear when a JButton has been clicked.
    Here is piece of code where I add mouse listener to the JButton object in my case is (jrbFigure1) and
    when is called sets icon and text to the JLabel jlbl object:
    jrbFigure1.addMouseListener(new MouseAdapter() {
    jrbFigure1.addMouseListener(new MouseAdapter() {
    public void mouseClicked(MouseEvent e) {
    jlbl.setIcon(cross);
    jlbl.setText(wrong);
    This piece of code is in a switch statement, the statement is in a method.
    The JLabel jlbl object is added in a panel in the constructor of the class.
    I really hope someone could help me on this issue.
    I would like to thank you in advance for any help or advice given.

    Bobson wrote:
    Sorry for posting my issue twice, I thought, I posted it in a wrong forum:)It's OK. We'll ask the mods to delete the other thread.
    I want the label to appear for X seconds when then button is pressed and disappear after that.Then a Swing Timer is what you want to use.
    I need to do this in a number of cases from a switch statement because I several buttons.Better to have several ActionListeners, one for each button or each type of button, rather than one ActionListener with a large switch statement, a so-called switch-board listener. They're messy to debug and upgrade.
    I tried to use Swing Timer, but I cannot set it properly.Go through the Sun Swing tutorial on Swing Timers. It's all outlined for you there: [http://java.sun.com/docs/books/tutorial/uiswing/misc/timer.html]

  • Help.  ipad air flashes between white apple logo and unlock screen?

    help.  ipad air flashes between white apple logo and unlock screen?  how do i fix this ?

    You can try resetting your iPad by simultaneously pressing and holding the Home and Sleep/Wake buttons until you see the Apple Logo. This can take up to 15 seconds so be patient and don't release the buttons until the logo appears.
    Try again to see if the problem persists.

  • Need help with AS3 to play movies

    Here is my what I'm working with: Flash CS3, AS3. I have 4
    buttons and 4 movies (each button will be asigned to play one of
    the 4 movies).
    Not sure if this is the best layout but here is what's
    included in my file. I have an Actions layer, 4 buttons (on 4
    different layers), 4 embedded movies (on 4 different layers...all
    about 5-8 seconds long). I'm sure this is simple but figuring out
    the code for AS3 is like learning Chinese....I need major help with
    this.
    Lets say that my buttons have instance names like button1,
    button2, button3, button4, and my movies have instance names like
    movie1, movie2, movie3 and movie4. Here's the catch. I don't want
    the movies viewable (or seen) until the user selects one of the
    buttons. So if the user selects button1 the movie will appear (next
    to the button without any contols...just a movie with a border) and
    play. If the user hovers off or moves the mouse off the button, I'd
    like for the movie to disappear.
    Can someone please give me the the code needed so that when I
    select button1 that it will play movie1, button2 w/ movie2....and
    so on.
    Thanks for your help!

    Here is the link to the fla file.
    http://joshhicks.com/flash/flashfile.html
    I updated the link to the latest swf
    http://joshhicks.com/flash/del2.html
    I added stop(); to the 1st frame of each moive and this fixed
    the movies from playing in the background unseen. If you can help
    me with one last question...then the file will be complete. As of
    now when you select one of the movies, it plays once thru and
    starts back at frame one (loops) which is the way I want it to
    play. But if you hover off one of the buttons while the movie plays
    (lets say when the movie is showing the number 2) when you go back
    to view the same movie, it will start where you left off (it will
    start on the fram showing 2 and not 1). How can this be set up to
    play from the beginning of each movie everytime you happen to go
    back and click on the button? Thanks

  • Help with smooth scrolling (masked movie clip)

    Ok, I really need help here, and I'll be very grateful for
    help before Monday.
    Someone has made a movie with a different set of text on each
    frame, the text goes out of the viewable area.
    I have been asked to make these frames appear in a pop-up on
    another flash and be scrollable.
    i thought this would be easy...just cut and paste them into a
    movie clip, then using a mask to hide the rest of the text.
    However, it is going painstakingly slow.
    Seems to be a performance issue, but it might be my code.
    Any help with the code, or optimisation elsewhere would be
    helpfully.
    Heres a simplified version of the flash;
    www.darkflame.co.uk/flashwork/Flash_popuptest.fla
    Code for the scrolling;
    _global.MoveUp = function(text) {
    _root.ITproduct.IT_productlist._y =
    _root.ITproduct.IT_productlist._y+6;
    updateAfterEvent();
    //trace('press');
    Called and stopped by;
    on (press){
    //this._parent.IT_productlist._y =
    this._parent.IT_productlist._y +10;
    //_global.scrollon = "yes";
    clearInterval(IntervalID);
    IntervalID = setInterval(MoveUp,100);
    updateAfterEvent()
    //updateAfterEvent();
    //MoveUp();
    //scroll on
    on (release) {
    //this._parent.IT_productlist._y =
    this._parent.IT_productlist._y +10;
    clearInterval(IntervalID);
    updateAfterEvent();
    //scroll off
    which is linked to a button.
    I dont know if this is a actionscript problem, or the way the
    page is made, or both.
    Any help would be appreciated.
    Thanks in advance,
    Thomas Wrobel

    you have extraneous graphics on-stage that are slowing the
    scrolling (and even causing problems in the authoring environment).
    here's your file with those graphics removed:
    http://www.gladstien.com/Files.popupTest.fla

  • I NEED HELP! Making a flash email form using php.

    Hi, my name is Sean, I'm making a flash contact form using php for a website.
    I'm having a hard time with the php. Can some one help?
    Click here to download my source.

    Satellite A505-S6005 
    ACPI Flash BIOS version 1.40 for Satellite A500/A505 (PSAT6U/PSAT9U)
    When you execute the download file (sat6v140.exe) it decompresses into several files in the sat6v140 folder. 
    Among those, is the readme.txt attached, which explains how to create the CD.
       Burn a CD or DVD from an ISO file
    -Jerry
    Attachments:
    readme.txt ‏14 KB

  • Help with a scrolling flash panel

    Hello, Ive used the excellent tutorial to create a scrolling thumb panel (http://library.creativecow.net/articles/brimelow_lee/scrolling_thumbnail_panel/video-tutor ial.php)
    It works brilliantly and I have movie thumbs linking to a flash player. It all works fine, what Im needing help with is to change the scrolling.
    At current it scrolls up and down according to where I have set the 'line', I would like it to scroll up and down near the top and the bottom, rather than all the time (effectively creating a dead zone in the middle). I cant figure out how to change the code to get this to behave as required.
    Please Help!
    Below is the code used:
    panel.onRollOver = panelOver;
    function panelOver() {
    this.onEnterFrame = scrollPanel;
    delete this.onRollOver;
    var b = stroke.getBounds(_root);
    function scrollPanel() {
    if(_ymouseb.yMax || _xmouseb.xMax) {
    this.onRollOver = panelOver;
    delete this.onEnterFrame;
    if(panel._y >= 278) {   //FIRST BUTTON 'Y' POSITION
    panel._y = 278;
    if(panel._y <= -177) { //CHANGE '229' TO THE 'Y' POSITION OF THE LAST BUTTON IN THE 'PANEL' MOVIE, POSITIONED VISIBLE WITHIN THE BOARDERS.
    panel._y = -177;
    var ydist = _ymouse - 251; //POSITION ON STAGE OF UP/DOWN SCROLLING 'LINE'
    panel._y += -ydist / 150;   //SPEED OF SCROLLING (LOWER = HIGHER)

    use:
    panel.onRollOver = panelOver;
    function panelOver() {
    this.onEnterFrame = scrollPanel;
    delete this.onRollOver;
    var b = stroke.getBounds(_root);
    function scrollPanel() {
    if(_ymouseb.yMax || _xmouseb.xMax) {
    this.onRollOver = panelOver;
    delete this.onEnterFrame;
    if(panel._y >= 278) {   //FIRST BUTTON 'Y' POSITION
    panel._y = 278;
    if(panel._y <= -177) { //CHANGE '229' TO THE 'Y' POSITION OF THE LAST BUTTON IN THE 'PANEL' MOVIE, POSITIONED VISIBLE WITHIN THE BOARDERS.
    panel._y = -177;
    var ydist = _ymouse - 251; //POSITION ON STAGE OF UP/DOWN SCROLLING 'LINE'
    if(_ymouse>lowerY || _ymouse<upperY){
    if((_ymouse>lowerY){
    ydist=_ymouse-lowerY;  // define lowerY
    } else {
    ydist=_ymouse-upperY;  // define upperY
    } else {
    ydist=0;
    panel._y += -ydist / 150;   //SPEED OF SCROLLING (LOWER = HIGHER)

  • Help with making your own theme... (question)

    I have a Imovie HD 6.0.3, I wanted to make my own theme. The other themes are great, but i want to create my own, so I could show to make friends. I cant find anything related with making a new theme. PLEASE, PLEASE, PLEASE help me...

    Hi
    As Klaus1 writes - or taking the full step over to FinalCut.
    Here there is no themes in Express and a few title themes in FC Pro.
    BUT - When You master it - You can make nearly anything You like.
    Except themes - ready to be imported into iMovie - This require even more skill
    and very special tools eg to make the drop zones etc.
    Your - Using FCE/P and loving it Bengt W

  • MAC OS 10.6.8 Using Safari 5.1 Needing Help With Updating Adobe Flash

    Hello-
    Recently Adobe Flash installed an icon in my System Preferences and when I click the icon there are several tabs.  One allows updates to check automatically.  It says it will install the latest version of Flash without having to remove the previous version, but I have never been told that a newer version is available unless I clcik "check now."  although "Check for updates automatically" is checked, I do not know where it tells me a newer version is available.  Also, there has been 5 "newer versions" available since this icon was installed in System Prefeences, I have only found out about the newer versions when I clicked "Check Now."  If I read that with this new way to install the latest Mac version of Flash does not require me to uninstall the previous version of Flash how do I install the most recent version of Flash?  Does it come in an email?
    Since it is not telling me that there is a more recent version of Flash unless I click "Check Now" should I still do it the way I used to install the latest version of flash?  (The way before this icon was added to System Preferences)?
    I would appreciate help with updating Flash to the most recent version.  I used to uninstall the older version, restart the browser and download the most recent version and install it.  It always worked find but this was before there was an Adobe icon in my system Preferences.

    Hello,
    The way you used to do this (uninstall, restart the browser, etc.) is still definitely valid and probably the "safest" way to get a new version installed.  Uninstalling shouldn't be required, but it definitely doesn't hurt.  If you feel comfortable doing it the old way, please feel free to continue using that process.
    As for notifications, this is a bit trickier, but in general you should be notified within 30 days (or so) after a new player is released.  This usually occurs when the browser loads swf content.  Clicking the button will, like you mention, immediately check.  Another alternative to finding out when a new player is released is to subscribe to our Flash Player Releases feed.
    Is there a way to be automatically notified when a new Flash Runtime release is made?
    Thanks,
    Chris

  • Help with creating a flash banner

    Hi,
    I need some help with a creating/replicating a flash banner I
    saw online. I cant find it anymore but I will do my best to
    describe it.
    The banner had multiple images layered on top of each other
    horizontally. Each image covered the image to the left of it. When
    you moused over an image the image expanded to full size while the
    other remained contracted.
    How can I create something with the above description? Are
    there any good tutorials for something like this or maybe someone
    can provide me with a few tips/tricks for doing this?
    I am proficient in PShop and a beginner with Flash so the
    design portion is not the hard part, just the programming/setup in
    flash is what has me stumped.
    Thanks in advance for any assitance.
    Regards,
    Mike
    Hookah Life

    Update:
    The banner on this template has an exact example of what I am
    shooting for.
    http://www.algozone.com/zencart-templates-zc03c00287-p-1191.html

  • Help with buttons on flash!

    i'm currently building an interactive flash website with
    videos. i have a menu page (frame 1) with small videos and buttons
    on each of those videos, which take you to a larger version of that
    video. however, all of my buttons seem to be attached to eachother
    for some reason. when i export my project to test it and i click on
    one of the small videos, they all take me to the same frame, same
    larger video. why would this happen? i created all of these buttons
    seperately and they all go to different frames. how do i fix this?
    i would appreciate help from anyone!!!

    some details are probably going to be needed to over specific
    help. but, in general, your problem would be caused by using a
    for-loop (or while-loop) variable in your button handlers and the
    remedy would be to use a perisistant variable.

  • Need help with andriod system -flash player.

    Am using an andriod tablet ZTE with vrsion 4.0 plus as per manufacturer info pamphlet. I have tried to install/ download flash player for this tablet and no luck at all. Can Adobe AIR  work well enough to view content on training video presentations even when it says that I need a flash player. I am new to this computer and android stuff and have no luck with help from my teenage kids either. Any info , assistance and guides is super greatly appreciated . Any direct answers can be sent to [email protected] or leave message here and I will check again in the mornings . Thanks for any feedback. Cheers and best regards rickyrem51.

    There is no Flash Player for Android anymore, and there won't be another. Android (Google) recommends using a "serverside" browser if you need to view Flash content with an Android device. The recommend "Dolphin" or "Puffin". BOTH are free in the GooglePlay Store.

  • I need help with my shockwave flash it is crashed i need help fixing

    I need help with shockwave flash it is crash i need help fixing it

    http://forums.adobe.com/thread/1195540

  • Making a flash movie delay before starting for the first time

    Flash noob here. I've currently got a little bit of
    actionscript in my flash movie which makes it loop a couple times,
    and then pause, before looping over again, and then pausing again,
    and wash-rinse-repeat, which is fine.
    But now what I also need is to add a small bit of code
    (preferably on the first frame) which allows me to set a delay
    time, that the movie will just appear to be paused, but it should
    ONLY do this the first time. Every other time, the movie should
    loop like it does normally.
    The reason is because I've got about 3 movies on my page,
    when one stops moving, I want a 2nd one to start, then when that
    one stops, the 3nd will start, and when the third one stops, the
    1irst one will start again, etc. so I have to time it just
    right.

    If it might help, here's the code I have so far. The movie
    has 17 frames. But that shouldn't matter, I was going to just go by
    the loop count, and try to even them up that way.
    frame 1
    function pause(){
    play();
    clearInterval(timer);
    loopCount=0;
    frame 16
    if (!loopCount) {
    var loopCount:Number = 0;
    loopCount++;
    if (loopCount < 5) {
    this.gotoAndPlay(1);
    } else {
    this.gotoAndPlay(17);
    frame 17
    stop(); // 60000 = 1 minute
    timer = setInterval(pause, 10000);

Maybe you are looking for