Flash Novice Needs Help

I am taking a Flash class and am stuck on a project that I am working on.  It is a simple 'click on the button and the image appears' layout.  I have include a simple action script with button actions.  What happens when I test the movie is as soon as I click on a button all of the images cycle through...there is no stop between images.
Can anyone help me.  I have posted the .fla file at:
http://public.me.com/k3gbb
Thanks in advance.
George B.

Ok...making progress.  This did stop the movie from going through all of the images but I am still having problems.
Frames 1-9 Nothing should happen as I want just the background to be displayed.  This is the script I have for those frames:
stop();
Beginning on Frame 10 I want to be able to click the buttons and have the image that is associated with that button displayed.  The script now reads:
btn1_btn.addEventListener(MouseEvent.CLICK, showimage1);
function showimage1(event:MouseEvent):void {
     gotoAndStop("Label1");
btn2_btn.addEventListener(MouseEvent.CLICK, showimage2);
function showimage2(event:MouseEvent):void {
     gotoAndStop("Label2");
btn3_btn.addEventListener(MouseEvent.CLICK, showimage3);
function showimage3(event:MouseEvent):void {
     gotoAndStop("Label3");
btn4_btn.addEventListener(MouseEvent.CLICK, showimage4);
function showimage4(event:MouseEvent):void {
     gotoAndStop("Label4");
So now the problem is I get the sound effect when I click on one of the buttons but the image associated with that button does not appear.
Any more thoughts?
George B.

Similar Messages

  • Flash newbie needs help

    i'm quite a newbie when it comes to flash and need some help
    http://www.sas.se/sv/?vst=true
    you look to the right you'll see an airplane and i'll say "Billiga avgångar" next too it
    under the text you can see text in yellow being scrambled then reappear
    i was wondering how you make the text scramble then display the messeage like that?

    this is a better way to do it in one textfield.  it's easily amended to display one letter per textfield and add textfields as needed.
    (to speed up the display shorten charS even down to a one character string.)
    var charS:String = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ 01232456789,./<>?;':\"[]{}\|!@#$%^&*()-_=+";
    var charA:Array = charS.split("");
    var displayTO:Number
    // user defined params:
    // character change in ms
    var speed:Number = 1;
    encodeF(yourstring,yourtextfield);
    function encodeF(s:String,tf:TextField){
        tf.text = charA[0];
        displayTO = setTimeout(displayF,speed,s,tf,0,0);
    function displayF(s:String,tf:TextField,charNum:Number,index:Number){
        tf.text = tf.text.substr(0,-1)+charA[index];
        if(s.charAt(charNum)==charA[index]){
            tf.text += charA[index];
            charNum++;
            index=0;
            if(charNum<s.length){
                displayTO = setTimeout(displayF,speed,s,tf,charNum,index);
            } else {
                tf.text = tf.text.substr(0,-1);
        } else {
            index++;
            if(index<charA.length){
                displayTO = setTimeout(displayF,speed,s,tf,charNum,index);
            } else {
                charA.push(s.charAt(charNum));
                displayTO = setTimeout(displayF,speed,s,tf,charNum,index);

  • Problem with changing flash content - Need help

    I need help in changing  the flash content. Here is my proble,
    1) I bought a flash template (I will call this Original) from a website and paid some money to customize my menu,logo and background color.
    2) After they finished it they sent me several files. Like 1) index.html, .swf, psd, .fla. In all the files .html,.swf (the video) and .psd I am seeing my customize changes (logo,menu and background color). But the .fla file they sent me is still shows everything from original template. It doesn't have my logo, menu or background color.
    3) I asked their technical support and they walk me through. a) Open the .fla file in flash pro. b) Change the content c) Hit Ctrl+Enter and it will export the new .swf file to the flash folder. d) Make sure I delete the video from flash folder and replace the name with the one I created.
         I did all these steps. But the problem is the .SWF that i generated is showing everything from the orignal template. It did change the content but I don't see any of my customize request. (Menu, logo or color)
    4) Then I open the index.html and I DID NOT see any of the changes in the content.
    My feeling is they did not provide me the correct .FLA file. I really need your help.
    My confusion is a) Have they provide me the correct .FLA file or I am doing something wrong. b) When I generated the new .swf video and renamed it properly why it didn't reflect in the index.html file.
    I am really going back and forth with them since last 15 days and its not going anywhere. I really appreciate any help.
    Thanks,
    Jessy

    Unfortunately, if you have not enough knowledge about using Flash, and do not want to pay to have this done for you, the folks who did this for you are likely going to be the only ones who can help you resolve it.  They should be able to provide the edited fla and the new swf if they are in any way a credible/reliable business.... which at this point sounds like they are not.

  • Publishing a flash movie, need help!

    ok so i made several flash files and connected them with buttons with,  behaviours [load external movie clip] but when i moved it to a cd the  buttons  dont work. I really need help!!! how do i keep them connected.

    this is the script for one button please help me as soon as possible!
    on (release) {
    //load Movie Behavior
    if(_root == Number(_root)){
      loadMovieNum("F:\\ICT\\A2\\single\\FLash\\baa blacksheep1.swf",_root);
    } else {
      _root.loadMovie("F:\\ICT\\A2\\single\\FLash\\baa blacksheep1.swf");
    //End Behavior

  • New to Flash AS3, Need help with some weird issues, have .fla link attached...

    Basically, the buttons are not visible when siteplan_mc is replayeed after floorplan closes, but they still work. Most things are only working on double click for soe reason, tho I have them to function on click. and the back button only woorks on unit 1 floorplan, tho the code it the same for all floorplans. I have a feeling it has something to do with levels... but I really have no idea... hopefully someone can help!
    thanks in advance,
    Sarah
    http://www.30eastroosevelt.com/RRHA_SITE.fla

    There are at least two things you're doing wrong. You can't go to a frame where something exists for the first time, and immediately do something to it. Like in your playunit functios for example:
    gotoAndStop("unit1")
    unit1_mc.alpha = 1
    unit1_mc hasn't yet drawn itself on stage to have its alpha set, and so there's an error. That is something that was improved in Flash 10, so if you had set the Flash to publish for Flash 10 and not Flash 9, then the floor plans and the back buttons appears ok. It would sometimes work with double clicks because by the second time you clicked, the movieclip now existed. You might be able to do what you want by having all of the room units on frame 1 of the siteplan_mc, and then set their visible to true or false as you need them, instead of doing the gotoAndStop().
    The other problem is that you're trying to set listeners on the Back buttons that don't yet exist. Wait until you're on the frame where the buttons exists, and then set its listener for the mouse click.
    Other things you're doing could be improved too, but really you might want to get together with someone who has done more AS3, to help you become more familiar with how it works.

  • Can someone take a look at my project and give me ideas to reduce lag/optimize it? (relatively new to flash and need help)

    Dropbox - TV_AL_Q
    I really need to reduce the lag happening in this project. I know practically nothing about action script except for what I've used in this project so please keep that in mind.
    Im going to try and break apart the grouped art so its in its most basic form and see if that helps, and also change all my tweens to frame by frame since those two things helped me with an animation I did awhile back that was lagging severely.
    But I was hoping someone with more knowledge could take a look and see if there is anything that they know of that I could do to help fix this. I'm working in Flash cs6 and using action script 3.
    I have to turn this project in by this Friday (the 20th) so I would love to get this sorted by then but even if I can't I would still be interested in some possible solutions, just for learnings sake.
    Thanks.

    Thank you for yet another cryptic reply, remember I'm the idiot here who doesn't understand this stuff so please can you explain things in a little more detail. Thanks.
    I am using the JW Player setup assistant and it lists two types of code
    The "Embed code" and the "swfobject 1.5 code" but not an Object/Embed code that you mention.
    This is the code that the website is telling me to use.
    <script type="text/javascript" src="/embed/swfobject.js"></script>
    This text will be replaced
    <script type="text/javascript">
    var so = new SWFObject('/embed/player.swf','mpl','480','270','9');
    so.addParam('allowscriptaccess','always');
    so.addParam('allowfullscreen','true');
    so.addParam('flashvars','&file=http://web.me.com/nathmac31/Flash/WaineWeddingHD. swf');
    so.write('player');
    </script>
    My movie does play on through the player on the JW site, after about 30 seconds of waiting for the picture to appear. When I cut and paste the above code into my webpage, I don't get anything. I have dropped the "Player.swf" and "swfobject.js" files into the folder containing the contents of the page that I want the player to appear on.
    Where is the exact best place to drop these files?

  • Flash Gallery - Need Help Please!

    Hi, I want to make an image gallery like this (see image) using Flash. The gallery uses an .XML file to dynamically load the images, so all you need to do is size your images and then add them to the appropriate folder, then edit the .XML file. The thumbnails scroll too. Can this be done in Flash? Does somebody know where I can find an .XML file that will do this.
    I didn't want to use a proprietary gallery solution, because they require you to have their logo on your gallery page etc. and I'd like to design the page to my liking.
    I have little programming experience on how to do this so I was hoping for some help. Are there files around that will allow me to do this? I am also open to other suggestions that might be better, but I'd like the look of my gallery to be similar to the example I've posted.
    pg
    http://img682.imageshack.us/img682/8062/galleryh.jpg

    If you are using MX 2004, change your Google search terms to be: "AS2 XML gallery tutorial"
    The search results should be your best bet for finding advice/examples/suggestions as to some different ways to build a thumbnail gallery.

  • Complete novice needs help

    Hi folks
    I hope you can indulge me. I am a mature student studying with the Open University in the UK. In order to complete my degree I have to produce a (small) project (doesn't have to have full functionality) based on a Network application. I am limited to using Java and to some extent the software provided for me, which in this case is JBuilder3.5 (yes I know it's old!). I can, within reason download further software providing my tutor is ok with it but here's the rub I have no idea what I actually need. There is so much to read through and I am feeling a bit thick because I cannot pin anything down.
    This is where I would appreciate any help from you experts. My project subject is a browser which can interpret web pages and then configure them to be displayed in a fromat that is prefered by the user not the author. I can build the GUI but I am stuck when it comes to building the functionality behind it. ie what packages do I need to download that can recognise XML/HTML tags in order to rearrange the display? Am I even on the right track? Is it actaully possible?
    Because the project is only worked over a small period I don't need full functionality but have elected to deal with input/output fields, text placemnt/display/font (infromationl), graphic placement/deletion. I may also be alowed to update my version of Jbuilder.
    I would be so grateful if somebody could at least point me in the right direction. I need to add here that I feel so stupid that I need replies in very plain english :o)
    Wanda

    Hi ddossot
    Saw your note about using a proper IDE unfortunately I am obliged to use the one provided by my UNI. Reason being the markers of my project may not be up to date with other IDE's. Though I may be allowed to use a newer version of JBuilder. I am waiting to hear if I have permission to do so.
    Here's another thick question. from what I remember, when studying Java last year, it has a number of libraries that can be imported to a project. When I download the HTML and XML stuff are they just added to the libraries already in place and if so how is it done.
    ps hope they also have tutorials with them for the coding :o(
    One last question; am I in the right forum for this sort of query or is there a novice one for thicko's like me? :o)
    Wanda

  • Flash picture, need help please

    Hi
    For a website I want to make a picture of a map to be used so
    that when someone clicks on a certain area then they hare
    hyperlinked to a certain web page. i have the picture, how do I cut
    it up, using Flash (I'm told) so that this will happen?
    Thanks

    depends on what format the picture is in - was it drawn with
    flash tools or imported as a raster image?
    you may not need to cut it up if you want to simply place hot
    spots over it that act like buttons -
    this is easily achieved with "invisible" buttons - meaning
    button symbols with only a shape in their
    HIT state.
    If you need to "cut-up" an imported image then you should
    really use your graphics editor
    (photoshop) for this. But if you don't then try breaking
    apart the bitmap in flash and using the
    lasso tool to select sections.
    hope this helps.
    --> **Adobe Certified Expert**
    --> www.mudbubble.com
    --> www.keyframer.com
    mtntbtvtctx wrote:
    > Hi
    >
    > For a website I want to make a picture of a map to be
    used so that when
    > someone clicks on a certain area then they hare
    hyperlinked to a certain web
    > page. i have the picture, how do I cut it up, using
    Flash (I'm told) so that
    > this will happen?
    > Thanks
    >

  • Flash Newbie needs help with Movie Clips/Action Scripting

    Hi -
    I'm having a problem with my movie clips playing
    simultaneously and cannot, for the life of me, figure out what I
    have done wrong. I'm new to flash, so I may have set something up
    incorrectly, but here's what I have so far:
    11 layers, total: 1 layer with 10 control buttons, each
    button with the following actionscript:
    on (release) {
    gotoAndPlay(85);
    Where the number changes in relation to which keyframe the
    next movie is on.
    I have 10 movies, total, but they are only movie clips,
    essentially photo slide shows with audio, made all in the library.
    The problem happens when I click on the second or third
    button. Not only does the movie that I have selected begin to play,
    but all of the previous clips do as well, so it all sounds quite
    garbled. I don't know what I am missing in the action script, as my
    Action Layer has a stop command on it at each keyframe where there
    is a new clip to play.
    I have tried to add a stopAllSounds command, but I'm afraid
    that doesn't do anything because it is not a "sound file" per se,
    playing in the timeline.
    I'm at the end of my rope and really need some help in
    figuring this one out. My project is hanging in the balance on
    this, as I have scripted everything else correctly and it runs
    beautifully.
    Please help!
    Thanks,
    Caroline

    Each layer has a blank keyframe before and after each
    movieclip. Each movie clip is at a different frame. Even with the
    blank keyframes added, the second video starts to play and then the
    first video begins to play. Same happens if I click on the third
    button. Third plays, and starts 1st and 2nd shortly thereafter. Is
    there an action script I can put in that will tell the timeline
    that, when a button is clicked, no matter where the movieclip is,
    it will stop and start the newly selected movieclip?

  • Making a Quiz in Flash. Need help with input time

    Hi Flash Community,
    I'm making currently a quiz using Flash Pro CS5. What I want to implent is a time bar which will load once the bar is loaded it will go to the next frame.
    So what I need is first a timer which will start immediately when the user sees the question and I need a time bar which will indicate how far the timing is. So let's say you have 30 seconds to answer the quiz. When the timer is at 15 seconds the bar will be at half.
    Something like this http://www.google.nl/imgres?imgurl=http://theportablegamer.com/wp-content/uploads/2009/10/ question.jpg&imgrefurl=http://theportablegamer.com/tag/quizquizquiz/&usg=__xsykgRnehmB9P97 gg3W9tAx2Dfg=&h=320&w=480&sz=57&hl=nl&start=0&sig2=tdKlW2Iv6zHo3THsHwdVpQ&zoom=1&tbnid=ToM bL22o-D7BOM:&tbnh=107&tbnw=160&ei=aiz7TcGONI2gOpic0b4E&prev=/search%3Fq%3Dquiz%2Binterface %26um%3D1%26hl%3Dnl%26sa%3DN%26biw%3D1902%26bih%3D909%26tbm%3Disch&um=1&itbs=1&iact=rc&dur =317&page=1&ndsp=68&ved=1t:429,r:13,s:0&tx=100&ty=47
    Could anyone help me with this? How do I need to do this?
    Thanks!

    Create a movieclip with tween about 30 frames and actions stop() in the first frame
    AS3 code:
    import flash.utils.Timer;
    var timer:Timer=new Timer(1000);
    timer.addEventListener(TimerEvent.TIMER,fn);
    timer.start();
    function fn(e:TimerEvent):void{
        trace(mc.currentFrame);
        if (mc.currentFrame==30){
            timer.removeEventListener(TimerEvent.TIMER,fn);
        mc.gotoAndStop(mc.currentFrame+1);
    AS2 code:
    var n=setInterval(mcfn,1000);
    function mcfn(){
        trace(mc._currentframe);
        if (mc._currentframe==30){
            clearInterval();
        mc.gotoAndStop(mc._currentframe+1);

  • Flash design need help

    hi i need some help i am creating a 2 page website within
    flash my problem is the second page is a flyer document, i need
    some help how do i print the flyer of in full detail i dont know
    how to , do i need to add a print button

    I thought I got it to work with loadMovie, but it only plays the intro, and then either repeats or exits as soon as the first bit of actionscript starts

  • Network Expansion - Novice Needs Help

    I would appreciate some guidance with a change I need to make to my wireless network. What I currently have is working fine, but I'm pretty much a novice at this.
    My current network consists of two computers. Computer A is a desktop connected to a WRT54G2 wireless router via patchcord. This is my primary computer, used to create the network using the CD that came with the router. Computer B is a laptop that connects to the the network with a WPC54G wireless notebook adaptor. Both computers run Windows XP, and the network is working well. The network uses WEP security.
    I am ready to add Computer C to the network. Computer C is a desktop and will become my primary computer. Computer C is also running Win XP. I want to connect it via patchcord to the WRT54G2 router, replacing computer A. I have purchased a WUSB54GC USB adaptor to connect computer A to the wireless network.
    I'm not sure where to begin. Do I need to first uninstall any Linksys software from both computers A & B, in order to start all over? Can I just unplug computer A from the router, plug in computer C, and keep going? Any suggestions on how to approach this change without too much gnashing of teeth and pulling of hair is greatly appreciated. Thanks for your help.
    Solved!
    Go to Solution.

    There is no need to to uninstall the software of router from any computer.
    You need to connect the computer C to router with a chord and on Computer A  connect the adapter and install the set-up disk for it.

  • Newbie: Received Flash content - need help embedding - onClick

    Hi,
    I received a web banner from one of our suppliers that I need to embed into our website.  I've got it into the web page but don't know how to configure an "onclick" action.  In my reading I don't find a parameter to specify what action to take if someone clicks on the banner.  Right now it opens a new window with an error saying it can't find "/undefined".  How do I defined the URL?  The vendor that gave us the marketing content has been of no help.
    Thanks.
    Steve

    Hi Ned,
    Here's ProCurve's code and My code.  Do I need something like this?
    <param name="clickTag" value="http://www.mysite.com/procurve" />
    ProCurve code:
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="160" height="600" id="2325PWC8003_ISS_160x600" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="2325PWC8003_ISS_160x600.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="2325PWC8003_ISS_160x600.swf" quality="high" bgcolor="#000000" width="160" height="600" name="2325PWC8003_ISS_160x600" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>
    My code:
        <object
            classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
            codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
            width="160"
            height="600"
            id="2325PWC8003_ISS_160x600"
            align="middle">
            <param name="allowScriptAccess" value="sameDomain" />
            <param name="movie" value="flash/procurve/ISS/2325PWC8003_ISS_160x600.swf" />
            <param name="quality" value="high" /><param name="bgcolor" value="#000000" />
            <embed src="flash/procurve/ISS/2325PWC8003_ISS_160x600.swf"
                   quality="high"
                   bgcolor="#000000"
                   width="160"
                   height="600"
                   name="2325PWC8003_ISS_160x600"
                   align="middle"
                   allowScriptAccess="sameDomain"
                   type="application/x-shockwave-flash"
                   pluginspage="http://www.macromedia.com/go/getflashplayer" />
        </object>
    Thank you very much for your help!
    Steve

  • FCP Novice needs help with video quality and FCP 5!!

    Hi,
    I have a real problme that I cannot seem to fix. I think its because I am doing something really wrong!
    I have a Sony HC42E MiniDV Camcorder which by default records video in full widescreen. I recorded several tapes this way and have now begun trying to edit them in FCP 5.04 (Tiger 10.4.6). Whenever I log and capture my clips they appear to be fuzzzy and unclear on the Mac monitor whilst being totally crisp and sharp on the camcorder viewfinder. I tried capturing using the DV PAL 48Khz Anamorphic Preset which keeps everything the right size (the final output needs to be true widescreen and not with black bars added) but the resulting video on screen is blurry and bitty. I then tried capturing using the DV PAL 720 x 576 normal preset and the video is a little clearer on the screen (for both presets I have chosen lower field dominance) but when I play back it plays back in widescreen on the mac canvas window but at 4:3 on the camera's viewfinder.
    I then assumed that maybe this is just becuase the mac screen (CRT by the way) doesn't use fields. So I exported the sequence as a QT movie using DV PAL 16:9 and used quicktime (OS9 Classic - my compressor has never worked because of the dreaded "unable to connect to baackground process" problem which I've never managed to correct) to convert it to MPEG2. When I import this as an asset into DVD Studio pro 4 and set the track size to 16:9 it comes through at the right aspect ratio. However it looks blurry on screen. Thinking that this will be fine on a TV I burned the disc - inserted it into my DVD player (a good one!) and watched it on my new 32" widescreen TV (a good one!) and the picture qualitty is poor. Its so much blurrier and bittier than the original footage looks when played through the camcorder's viewfinder!
    The final footaage looks like an old VHS recording that's a year or two old!
    Does anyone know how I can capture my footage in FCP with the maximum quality, edit it without quality loss and the export it for DVD again without such significant quality loss whilst all the time keeping it at proper 16:9 widescreen?
    Is there some presets I should be working to?
    I'm tearing my hair out! Help!

    Hi Guys,
    thanx for your replies.
    here's the latest:
    Brian, I followed your instructions and the DVD burned successfully. However the video quality of the dvd when viewed on my TV ('ve tried on all 3 of my tvs now) is still a lot poorer than the quicktime movie that was imported into DVDSP4. When I play the original QT Movie on my Mac CRT monitor it looks a little blurry and grainy because I guess its non interlaced however when viewed on an external Video monitor it looks great - very sharp.
    When I view the burned DVD on my television the picture quality looks like the non interlaced version of the original QT Movie that appeared on my Mac CRT and not the sharp interlaced (lower field) version that appeared on my external video monitor.
    Its almost like taking a sharp jpeg into Photoshop and applying a gaussian blur of about 0.3 followed by jepg compression compressing it down to 5% quality!
    I'm totally mystified. Can the conversion to Mpeg2 be removing all interlacing so that you get the less sharp computer monitor look? I just want the video on my final DVDs to be as good as the original source footage! I appreciate that along the way there might be loss of some quality but surely not that much?
    Does this make sense to you guys or am I still doing something very wrong?
    Robert: I have tried setting all manner of drives including a fresh external firewire HD with nothing on it (clean out of the box) but it doesn't seem to help.
    Brian: I tried the no network suggestion a few months back but I'm not sure if I got it right. At the moment I have broadband through an external speedtouch usb modem and am also connected (occasionally although not for the last 3 months) via a crossover cable to my PCs ethernet card. When I last tried the No Network solution I had immense trouble getting my internet to work again! Can you please help me by directing me to the best ay to do this while protecting my internet settings?
    any more help guys would be greatfully appreciated.

Maybe you are looking for

  • Re: 1 month subscription only?

    How to buy 1 month only subscription for calls to India and Singapore ? The rates are showing up for a minimum of 3 months and more. There seems to be no option to pay for 1 month only with a non recurring automatic debit at the end of 1 month. Pl he

  • Unable to change the permission on PDP, Column 'Title' does not exist.

    While changing the permission on PDP, prompts this error continuously, why this happening.... Snapshot is attached  REGARDS DANISH DANIE

  • Problem after downloading os x mountain lion

    I HV MACBOOK PRO 2011 JULY 15 INCH .. RECENTLY IN AUG I UPGRADED THE SOFTWARE TO MOUNTAIN LION. AFTER INSTALLING 7-8 DAYS THERE WAS NO OTHER PROBLEM EXCEPT DELAY IN APPEARANCE OF APPLICATIONS AFTER START UP. WITHIN A WEEK I AM FACING A NO OF PROBLEMS

  • Oracle Isetup Instance Mapping Issue

    Hello - We installed isetup patches on our production database. we are trying to configure Isetup instance mapping from our Test instance to our PROD instance. we are getting following error Message not found. Application:AZ, Message Name: Oracle.app

  • AHT Error message

    Good evening, all of you, I use a MacBook Pro 17'' (early 2009). I have both of my fans that run constantly at 6000rpm. I have run an AHT and received the following error number : Does someone know what it means ? 4SNS/1/40000000: TsOP-128.000 Thanks