Question - New to Flash

I am new to flash and building a simple picture slideshow with buttons for the next frame and previous frame to use on a website. I have two questions. 1. How do I get the pictures to start over at the beginning once I get to the last frame? Right now I can only got forward or backward. 2. I tried to use a video clip in the last keyframe and when I test the movie in Flash it works fine but when I posted the .swf file to the website all of the pictures played except the video clip. I am using the following action script:
stop();
next_btn.onRelease=function(){
nextFrame();
prev_btn.onRelease=function(){
prevFrame();
I am a complete rookie. Any help would be much appreciated. Also any recommendation on where to learn to work with action script would be useful
Thanks
MRCARZ

It looks like you are working with ActionScript 2.0 here where you would actually be hoping to integrate ActionScript
3.0 and above (3.0 is the latest out right now).  The two types of AS are very different in structure and 3.0 is much more like JavaScript and other ECMA scripting languages that incorporate Object Oriented Programming (OOP).   I don't know a lot about OOP other than it can be used to house Classes and call upon them in an organized fashion to save you a lot of coding in the long haul.  Don't worry about OOP right now.
Where you should be looking for resources are online and in books.  There are lots and lots of books about ActionScript 3.0--just check your favorite online book retailer and also do a web search for ActionScript 3.0 tutorials.  You will probably find one that will explain how to code the logic for you to return to the first frame of your timeline and continue going in the forward direction and vice versa if you were rewinding and wanted to loop to the last frame and continue going in the backward direction of your timeline.
Also, there is the ActionScript 3.0 Reference Manual which ships with Flash and will allow you to look through code examples.  Just go to your Help menu for Flash Help.
Message was edited by: markerline

Similar Messages

  • About in tears from new adobe flash player 10.3 not working

    After installing the new Adobe Flash 10.2.153.1 on my Windows7 64 bit computer, it can not be found when using my IE8 (does not show 32 or 64 bit only 256-bit).
    I have uninstalled using your reference on "please read: when asking Flash Player questions" and then reinstalled. It is on the programs list as installed but when I go to a site that needs me to use Adobe Flash it says I need it install it. Whn I go to the adobe web site to verify that I have installed Adobe Flash it only has a box with a small red x in the corner.
    I have updated my devices drivers.  I do not completely understand what a "kill-bit" is; however, I have gone into my registry and there is no registry keys that have {d27....etc}. There are many other numbers and most have a compatibilty flag of 0x00000400. So I must not have a "kill-bit" for Flash Player set. Not sure what that means.
    Can you help me? And have I given you enough info?
    Thanks for any help you can give me.

    FYI - have uninstalled adobe flash player since we last replied should I try to install again?
    I have checked this too and
    *Shockwave Flash Object installed and Enabled. version 11.5.7.
    * Yes at medium now (was at med high)
    * have mcafee but just installed tonight your recommended microsoft security essentals (did a quick scan tonight)
    * C:\Windows\SysWOW64\Macromed\Flash - FlashInstall (txt file) and Install (txt file)
    * No error messages - was told it was installed successfully
    thanks!

  • Large file folder with question mark is flashing on screen.

    Just turned on computer for the first time and a large file folder with a question mark is flashing on the screen. I am unable to do anything and have restarted and it does the same thing.  Please help!

    It does this when it can't see the operating system. You didn't give much information but I'm assuming it's a brand new mini and you aren't using any external drives for the operating system. If that's the case then yes, reinstall OS X. Put your install DVD into the optical drive and reboot. As soon as you hear the chime, hold down the "C" key on your keyboard (or the Option key until the Install Disk shows up). That will force your Mac to boot from the install DVD in the optical drive.
    If reinstallation isn't possible, or if the problem continues after reinstallation, then you need to exchange it for another, because something is keeping the operating system on the drive from being read.

  • I'm trying to install the new Adobe Flash Player, but the program comes up blank

    As the topic suggest; I'm trying to install the new Adobe Flash Player, but the program comes up blank. I tried uninstalling and reinstalling the program, but it still comes up blank. I really hope someone could help me with this problem. I have Macbook Pro OS X 10.7.5

    Sorry, this question is not resolved. I accidentally made it "This question is Assumed Answered."

  • I have tried to install the new Adobe Flash Player 11 dozens of times, but it will only install to 7% and then stops.

    I have tried to install the new Adobe Flash Player 11 dozens of times, but it stops at 7%.   What to do?

    Sorry, this question is not resolved. I accidentally made it "This question is Assumed Answered."

  • Help... I'm new to Flash

    Hello,
    I am new to Flash development and I've created a simple flash
    website with links/buttons on the left and on the right a content
    box.
    My question is how to make transitions or effects after you
    click one of the links on the left, to make the content part load
    up into a special effect, something like random tiles flipping over
    displaying the new content corresponding to the button on the left
    that you click. Are there any tutorials that would be helpful? I'm
    also trying to create a special effect that loads the entire flash
    in a cool way, not having the flash just appear simply but appear
    with a special effect.
    Any help would be appreciated,
    Alan

    You can insert ananimation in a movieclip with an alpha
    transition. Load it on a higher level as the button is clicked on a
    lower level.
    There are many examples, there are about as many ways to do
    it also.

  • New To Flash - Developed Slideshow

    Is there anyway that I can set the window size for the
    slideshow when the user clicks on the link to open? Right now it
    opens in a new window that shows the background color.
    I would like for it to display as when I hit ctrl+enter to
    test the slideshow.
    Is the *.swf file the only file that I need to upload to the
    server for it to function correctly or do I need to upload the
    *.fla file as well.
    I know these might sound like stupid questions but again I am
    new to flash.
    All help is greatly appreciated.
    Please email me here or
    here

    >>When using flash is there a typical group of
    files/folders in the root
    >>directory?
    For the web generally any file that will generate a web
    document such as an
    html file or a server side script and the Flash Movie File.
    >>What file would be used to tell the browser where to
    find the movie?
    >>Is it default.htm, with the embeded tags? Sorry about
    the newbie
    >>questions.
    The Flash Movie is a file that is loaded by the OBJECT tag
    for Windows IE
    and EMBED tag for other web browers. How the tags get there
    can range from a
    static html document to a serverside script. Even a static
    html document
    having Javascript write out the OBJECT and EMBED tags.
    Basic Flash files are
    1. MyMovie.fla - the Flash Document you keep in the
    development computer.
    Only accessible via the Flash Authoring software.
    2. MyMovie.swf - a Flash Movie that can be played in the
    Flash Player. Most
    commonly placed on the web server and will require a web page
    with the
    OBJECT and EMBED tags to load the movie. Also can be loaded
    externally by
    projectors discussed in next item.
    3. MyMovie.exe and MyMovie.hqx are Flash Movies that include
    the Flash
    Player and can be run from the Windows and Macintosh desktop
    respectively.
    Also called projectors. No web browser is involved so no need
    for html tags.
    If you look at File->Publish Settings and the Format tab,
    you see what files
    you can choose to publish. The above are the most common and
    most useful.
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "noapples" <[email protected]> wrote in
    message
    news:e3il71$amk$[email protected]..
    Thanks for your reply, I think I'm beginning to understand.
    When using flash
    is
    there a typical group of files/folders in the root directory?
    What file
    would
    be used to tell the browser where to find the movie? Is it
    default.htm, with
    the embeded tags? Sorry about the newbie questions. Thanks.

  • Sound controls for someone new to Flash

    I'm making a simple soundboard using different clips of a
    friend. I have all the buttons created and linked to the various
    clips. I also have them setup so that the sound plays when the
    object is clicked. My question is, how do i control the sounds so
    that if one clip is playing and I click on another one, the first
    sound stops and the newly clicked one plays?
    Please be descriptive, I'm very new to Flash
    Oh, almost made a noob mistake and forgot to mention I'm
    using CS3.

    are you using AS2 or AS3?
    under 2 use:
    stopAllSounds();
    under 3 use:
    SoundMixer.stopAll();

  • New to flash (well, sorta)

    So I just got Flash CS5. I've worked with it before in high school but  I've forgotten some things about it. The most I know right now is how to  motion tween. What I'm asking is for some good tutorials/help or  anything that could help me in starting a project or two I wanna do to  pass time.
    I want to create a small game or two, but I'm not sure where to start  (on the creation of it). If anyone has any good resources for games  that'd be nice. Also whats a good type of game to start making? I've  been thinking a gambling game of some sort maybe.
    I want to also maybe create an animation short (1-3 minutes). I'd like a  tutorial on basics on how to import and use sound, move body parts of  certain 'characters', and any other relevant stuff.
    My priority is the game, though. I'm not too good at writing stories it seems.
    Thanks!

    >>When using flash is there a typical group of
    files/folders in the root
    >>directory?
    For the web generally any file that will generate a web
    document such as an
    html file or a server side script and the Flash Movie File.
    >>What file would be used to tell the browser where to
    find the movie?
    >>Is it default.htm, with the embeded tags? Sorry about
    the newbie
    >>questions.
    The Flash Movie is a file that is loaded by the OBJECT tag
    for Windows IE
    and EMBED tag for other web browers. How the tags get there
    can range from a
    static html document to a serverside script. Even a static
    html document
    having Javascript write out the OBJECT and EMBED tags.
    Basic Flash files are
    1. MyMovie.fla - the Flash Document you keep in the
    development computer.
    Only accessible via the Flash Authoring software.
    2. MyMovie.swf - a Flash Movie that can be played in the
    Flash Player. Most
    commonly placed on the web server and will require a web page
    with the
    OBJECT and EMBED tags to load the movie. Also can be loaded
    externally by
    projectors discussed in next item.
    3. MyMovie.exe and MyMovie.hqx are Flash Movies that include
    the Flash
    Player and can be run from the Windows and Macintosh desktop
    respectively.
    Also called projectors. No web browser is involved so no need
    for html tags.
    If you look at File->Publish Settings and the Format tab,
    you see what files
    you can choose to publish. The above are the most common and
    most useful.
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "noapples" <[email protected]> wrote in
    message
    news:e3il71$amk$[email protected]..
    Thanks for your reply, I think I'm beginning to understand.
    When using flash
    is
    there a typical group of files/folders in the root directory?
    What file
    would
    be used to tell the browser where to find the movie? Is it
    default.htm, with
    the embeded tags? Sorry about the newbie questions. Thanks.

  • Two Questions Re: Embedding Flash and Tables Shortcut

    .
    Two Questions Re: Embedding Flash and Tables Shortcut
    1) I work on a Mac and use Dreamweaver 8. Often I like to
    embed Flash objects into a page and I do this by using
    Dreamweaver's INSERT > MEDIA > FLASH. However, the SWF file
    doesn't show up on the published web page and I’ve never had
    this issue using previous versions, so I’m not sure what to
    do? Here's what Dreamweaver generates when I use their INSERT
    feature:
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','wid th','550','height','180','src','flash/BANNER.HOME','quality','high','pluginspage','http:// www.macromedia.com/go/getflashplayer','movie','flash/BANNER.HOME'
    ); //end AC code
    </script><noscript><object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
    width="550" height="180">
    <param name="movie" value="flash/BANNER.HOME.swf">
    <param name="quality" value="high">
    <embed src="flash/BANNER.HOME.swf" quality="high"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash" width="550"
    height="180"></embed>
    It seems a bit weird that the SWF file is not showing
    considering Flash & Dreamweaver are the most compatible apps,
    no? I’m assuming if Dreamweaver is generating this code it
    should work, no?
    2) I’m getting an error when trying to use the Tables
    short cut COMMAND+ OPTION+T that reads...
    "While executing objectTag, the following JavaScript error(s)
    occurred:
    At line 26 of file “Macintosh
    HD:Applications:Macromedia Dreamweaver 8:
    Configuration:Objects:Common:Table.htm”:
    TypeError: cmdDOM.parentWindo.createTableStr is not a
    function"
    What’s strange is it was working fine last week and for
    the life of me I don’t know what could of happened to make
    this shortcut get corrupted?
    I’ve reinstalled the app multiple times and still I get
    the same error :-(
    Any help is greatly appreciated!
    Thanks in advance!
    .

    > It seems a bit weird that the SWF file is not showing
    considering Flash &
    > Dreamweaver are the most compatible apps, no? I?m
    assuming if
    > Dreamweaver is
    > generating this code it should work, no?
    It works. Most likely you have not uploaded the Scripts
    folder referenced
    in the head of the page.
    > What?s strange is it was working fine last week and for
    the life of me I
    > don?t
    > know what could of happened to make this shortcut get
    corrupted?
    Troubleshooting JavaScript errors in Dreamweaver
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Rupda" <[email protected]> wrote in message
    news:[email protected]...
    > .
    >
    >
    Two Questions Re: Embedding Flash and Tables Shortcut
    >
    >
    >
    1) I work on a Mac and use Dreamweaver 8. Often I like to
    embed
    > Flash
    > objects into a page and I do this by using Dreamweaver's
    INSERT > MEDIA >
    > FLASH. However, the SWF file doesn't show up on the
    published web page
    > and
    > I?ve never had this issue using previous versions, so
    I?m not sure what to
    > do?
    > Here's what Dreamweaver generates when I use their
    INSERT feature:
    >
    >
    <script type="text/javascript">
    > AC_FL_RunContent(
    > 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
    >
    version=7,0,19,0','width','550','height','180','src','flash/BANNER.HOME','qualit
    > y','high','pluginspage','
    http://www.macromedia.com/go/getflashplayer','movie','f
    > lash/BANNER.HOME' ); //end AC code
    > </script><noscript><object
    > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=7,0,19,0" width="550" height="180">
    > <param name="movie" value="flash/BANNER.HOME.swf">
    > <param name="quality" value="high">
    > <embed src="flash/BANNER.HOME.swf" quality="high"
    > pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    > type="application/x-shockwave-flash" width="550"
    height="180"></embed>
    >
    >
    > It seems a bit weird that the SWF file is not showing
    considering Flash &
    > Dreamweaver are the most compatible apps, no? I?m
    assuming if
    > Dreamweaver is
    > generating this code it should work, no?
    >
    >
    >
    >
    2) I?m getting an error when trying to use the Tables short
    cut
    > COMMAND+ OPTION+T that reads...
    >
    >
    "While executing objectTag, the following JavaScript error(s)
    occurred:
    > At line 26 of file ?Macintosh HD:Applications:Macromedia
    Dreamweaver 8:
    > Configuration:Objects:Common:Table.htm?:
    > TypeError: cmdDOM.parentWindo.createTableStr is not a
    function"
    >
    >
    > What?s strange is it was working fine last week and for
    the life of me I
    > don?t
    > know what could of happened to make this shortcut get
    corrupted?
    >
    > I?ve reinstalled the app multiple times and still I get
    the same error
    > :-(
    >
    >
    >
    > Any help is greatly appreciated!
    >
    >
    > Thanks in advance!
    >
    > :-)
    >
    > .
    >

  • I'm new to flash

    Hi everyone. Well I am new to flash and I have a few
    questions. Here they are:
    1. How do I import a bitmap, without just pasting it.
    2. I also would like to know if there is a possibility of
    having objects which I can then get them to move around, asign
    bitmaps, etc.
    well I actually have many more than that, but for now I would
    like those answered. (by the way I am making a small animation/
    cartoon series with weird stick characters)
    Thanks

    hit F1 (help) and start reading - it is all there in the
    documentation that comes with flash - these
    forums work best when we dont have to retype the entire
    manual - when you get stuck with a specific
    issue and have exhausted all means of resolving it, then post
    here.
    also - plenty of information already available on the web:
    http://www.macromedia.com/devnet/flash/articles/intro_flash_print.html
    --> Adobe Certified Expert (ACE)
    --> www.mudbubble.com :: www.keyframer.com
    -->
    http://flashmx2004.com/forums/index.php?
    -->
    http://www.macromedia.com/devnet/flash/articles/animation_guide.html
    -->
    http://groups.google.com/advanced_group_search?q=group:*flash*&hl=en&lr=&ie=UTF-8&oe=UTF-8
    Haloclocked wrote:
    > sorry, I don't know what tweens are. I only got flash
    yesterday. Anyway, thanks for the help with graphics, but please
    explain these "tweens"

  • TS1440 Question Mark in Flashing Folder at start up problem.

    After trying to fix the flashing question mark folder problem, I took my iMac to the Apple store and, naturally and a little embarrassingly, the iMac booted up just fine and everything seem to be intact.However, when I brought it home it reverted but to same problem i.e. question mark in flashing folder. I read and tried most suggestions I could find but still cannot get the iMac to startup. I tried holding down the "C" key, then the Option key, then PRAMed it and even attached the separate back up disk I use as a Time Machine for my new iMac. IThe problem Mac is a 2008 iMac though I don't exactly know which OS came with it, in any case, I cannot find the original disk. The iMac is networked with my latest iMac. Can anyone help? Thank you.  

    Does it boot to Single User Mode, CMD+s keys at bootup, if so try...
    /sbin/fsck -fy
    Repeat until it shows no errors fixed.
    (Space between fsck AND -fy important).
    Resolve startup issues and perform disk maintenance with Disk Utility and fsck...
    http://docs.info.apple.com/article.html?artnum=106214

  • Quicktime and new Adobe flash don't work!!

    Ever since I have ? downloaded new iTunes/Quicktime updates I cannot get Quicktime to play any movie trailers. Also, when I go to any sites which need a Flash player, I am unable play any flash related videos. To add further frustration, I am unable to download the new Adobe flash player. It "downloads," but goes nowhere on my computer and is nonfunctional!! I feel like because I have an "old" Mac with Panther (which otherwise works great!), I am slowly being phased out of all the new downloads as they often either don't work or screw up my system. Help!!

    Hi again Stephen,
    That's great! I'm glad that that got you back on the track.
    I personally Repair Permissions about once a week or so (though the need to is highly debated here in Discussions).
    You might be interested in having a look at About Disk Utility's Repair Disk Permissions feature.
    Always Repair Permissions from Disk Utility on you HD before and after any Software Update/Upgrade for trouble free downloads.
    Glad I was able to help and thank-you for the courtesy of extending the Solved star!
    good luck,
    littleshoulders [:-)

  • Whats new with Flash Player 9.0

    Hi all ..
    i want to know whats new with flash player 9.0. what are the
    new features etc..
    thanks in advance

    > He is using stopAllSounds to stop sounds that are in
    seperate swfs on an html page. I tested it, and it does not work.
    In my
    > tests
    > I put 3 swfs on an html page (not loaded into each
    other). On the third swf I have the stopAllSounds command. It stops
    only it's
    > own sound in the third swf but has no effect on one.swf
    and two.swf's sound.
    > The thing is I don't know if stopAllSounds ever worked
    across separated swfs before in players before version 9.
    > tralfaz
    I have confirmed his complaint. stopAllSounds works correctly
    across multiple swfs on an html page using Flash player 8 but not
    with Flash Player 9.
    Incidentally, there is another big "improvement" (they say)
    that prevents you from uninstalling the Flash 9 player without
    running
    their uninstaller exe. Unfortunately, their uninstaller
    uninstalls all flash player versions (not just version 9) from ALL
    browsers
    so if just want to remove player 9 from IE you are forced to
    also uninstall it from FireFox etc as well. Great, huh?
    tralfaz

  • New to flash, swf loaded while changing size

    i'm trying to create a button that will replace the current
    swf with another and i want the size to change between the various
    sizes of each page. i'm currently using the following code in the
    action inspector:
    on(release){loadMovieNum("myfilename.swf",0);
    i know there has to be a simple way to do this! a very
    grateful thanks to anyone who tries to help!

A: new to flash, swf loaded while changing size

b3autiful_dizaster wrote:
> i'm trying to create a button that will replace the
current swf with another
> and i want the size to change between the various sizes
of each page. i'm
> currently using the following code in the action
inspector:
>
> on(release){loadMovieNum("myfilename.swf",0);
> }
>
> i know there has to be a simple way to do this! a very
grateful thanks to
> anyone who tries to help!
You can't change size dynamically as it is defined by the
object embed tags.
You could use WMODE transparency which could help you fake it
tho not always best
solution to go with WMODE. It's a very buggy parameter.
WMODE will remove the background color so the flash movie
appear over the html and you
can see the HTML content trough the movie.
You could define some solid shape for the background on
bottom layer to make it look
like SWF background, than change it with the other loaded
movie making it appear as it
changed size while the over all flash size stats the same. As
said above - faking it.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>

b3autiful_dizaster wrote:
> i'm trying to create a button that will replace the
current swf with another
> and i want the size to change between the various sizes
of each page. i'm
> currently using the following code in the action
inspector:
>
> on(release){loadMovieNum("myfilename.swf",0);
> }
>
> i know there has to be a simple way to do this! a very
grateful thanks to
> anyone who tries to help!
You can't change size dynamically as it is defined by the
object embed tags.
You could use WMODE transparency which could help you fake it
tho not always best
solution to go with WMODE. It's a very buggy parameter.
WMODE will remove the background color so the flash movie
appear over the html and you
can see the HTML content trough the movie.
You could define some solid shape for the background on
bottom layer to make it look
like SWF background, than change it with the other loaded
movie making it appear as it
changed size while the over all flash size stats the same. As
said above - faking it.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>

Maybe you are looking for

  • POSTING_INTERFACE_DOCUMENT for FBS!

    Hi, I've written a program to simulate transaction FBS1 using FUNCTION 'POSTING_INTERFACE_DOCUMENT', it goes through with sy-subrc set 0, but I cannot see the document number in  T_BLNTAB, the code is below, I think I have all the right Parameters. D

  • Sync issue with Outlook Calendar

    I just got my first BB - the Pearl 8120.  I installed the Desktop Manager v4.6 off the BB web on an XP tablet pc.  I set it up to syncronize with my outlook 2003.  The sync worked fine for the contacts, however, when it started syncing the calendar,

  • Can you use SNMP to change an IP address on a router?

    We can't seem to find the OID, but it would seem to be pretty common.  Has anyone changed an IP address with SNMP?

  • ORA-00942 -- Problem with XSD Registration

    I was able to successfully register an XSD file and the corresponding tables got created. When I query "Select * from tab" I can see all the the tables. BUT When i do a 'desc' or a 'select count(*) from <table_name>' ORA-00942: table or view does not

  • CSS format in webi rich client

    How to customize report look and feel when using webi rich client?