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

Similar Messages

  • Variables into flash movie  -  Urgent help needed, please

    I am hoping this is simple:
    Here is my HTML code:
    <param name="movie" value="orig2.swf" /><param
    name=FlashVars VALUE="sname=video1.flv"><param name="quality"
    value="high" /><param name="bgcolor" value="#ffffff" />
    I need to pass video1.flv to the flash movie.
    Here is the MOVIE data. I was told this is how to do it, but
    I am sure it's missing something basic.
    //insert sample link below
    mediaDisplay.directLink = "
    http://flash.xxx.com/flashgen.cgi?sname=&aname=xxxxxxxx/_definst_";
    //pulls sname from param value in HTML
    mediaDisplay.simplePlaylist = sname;
    streamnameTxt.text = sname;
    So, it should pull the SNAME variable from HTML and feed it
    into player. If I type in SNAME variable and manually place it in
    DirectLink line above, it works, but I need it to feed from HTML.
    PLEASE HELP!!

    I know how to pass the variable TO flash, but how do I get
    the FLASH movie to receive it??
    Again, here is the code in the FLA file
    //insert sample link below
    mediaDisplay.directLink = "
    http://flash.xxx.com/flashgen.cgi?sname=&aname=xxxxxxxx/_definst_";
    //pulls sname from param value in HTML
    mediaDisplay.simplePlaylist = sname;
    streamnameTxt.text = sname;

  • 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.

  • 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.

  • Flash Movie Clip Help

    I've been trying to recreate the flash movie they have on
    http://www.comcast.net/news/
    its in the middle of the page.
    I have everything except I cannot get that black fadein to
    go as smooth and fast. I've tried making more frames
    and less frames, but it doesn't seem to make open as smooth.
    Is there a way to code a different fps for just the fade in?
    or
    Does anyone have any ideas?
    Thanks in advance

    Your attachment appears to be lost in the queue... not abnormal for the new and improved forums.
    Anyways, for what I think you are trying to do you should look into using the Tween class.  If you Google "AS2 Tween" the first result you get  (a Kirupa article) may be enough to get you started--I didn't look beyond that one.  In your case you would probably be tweening the _y property of the page movieclip.  When it comes to changing pages, you might also want to incorporate a listener so that you can first tween out the current page before you tween in the new page.  You can have multiple tweens working at the same time for the same object, so you might want to add an _alpha tween into the mix as well.

  • 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?

  • 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?

  • How can I publish my flash movie in one swf file in V.2

    Hi
    When I publish my movie to flash format , skin swf file is
    segregated from main movie swf file . How can I publish my movie
    only in one swf file ? I want to merge skin and main movie files
    together in one swf file .

    Hi Corona,
    The screen size is whatever you captured or specified during
    the recording or new movie setup process. This will cause the
    playback control to be placed "on top of" some portion of the
    captured background, but there are two ways around that problem.
    1) When you set the red recording area before recording, drag
    the bottom of the recording area downward about 35 pixels below the
    application window (assuming you are capturing an area that
    includes a "bottom" or even an application window - grin). For this
    to work, it is best if you do your recording against a
    solid-one-colored desktop background, so the "extra" area at the
    bottom doesn't include desktop images that you don't want in the
    capture (even though that area will not be visible in the end ...)
    OR...
    2) Use the Project > Resize Project dialog to increase the
    palette size on the bottom, taking care to leave the original movie
    the same size. This will effectively do the same thing as
    Suggestion #1, create a "blank" area at the bottom of the movie on
    which there is room to mount the playback control bar.
    Best of luck, Corona, and omid02. Hope this helps, in
    conjunction with the advice that Rick has already offered.
    .

  • 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

  • I'm new to flash and need help with some controls

    I'm builidng a site that has a portfiolio of work to display.
    When the visitor arrives at the portfolio page he (or she) is
    faced with a split panel. The right panel displays a summary of a
    client and the work. The left panel displays the work examples
    attributed to that client. By clicking forward and backward arrows
    in the right panel, the visitor can call the summaries of the
    different clients. Landing on a client page 'opens' a separate swf,
    called using loader component, that contains the portfolio of that
    client's work into the left panel
    1. I want forward and backward arrows located on the main
    movie in the left panel to control the progress of the loaded swf,
    rather than using forward and backward arrows on the loaded swf.
    2. I want to prevent the forward and backward arrows in both
    panels from clicking beyond frames in the Portfolio area of the
    timeline.
    3. I want the backward arrow to be innactive on the first
    frame, and the forward arrow to be innactive on the last frame.
    I have no problems making the arrows work on the main movie
    controlling the client summaries. What I don't know how to do is
    make them control the movement of the loaded swf, or #2 and #3.
    Any help will be greatefully appreciated. Thanks in advance,
    Art

    "Art Lazaar" <[email protected]> wrote in
    message news:[email protected]...
    > Tralfaz,
    >
    > Thanks for your response. I must be missing something
    very simple here, but I
    > can't make this work no matter what I do. Let me see if
    I understand some of it:
    >
    > On my main movie I put the fwd_btn and rew_butn
    codes...do I put these on the
    > actual buttons, or in an actions time line? When I put
    them on the buttons, I
    > get an error report saying they need to be in an 'on'
    event handler. I thought
    > that's what 'onRelease' was.
    >
    > On my loaded movie, I place the 'one.swf' code. I'm not
    sure what you mean by
    > placing the code inside a loop, I don't seem to be able
    to find a reference to
    > using 'loop' anywhere. When I use an 'onEnterFrame', I
    presume I do that with
    > onEventClip(enterFrame). When I do that, if I run the
    'one.swf' by itself, i
    > get an error report saying onEeventClip is for movies
    only. But there's no
    > error report when it loads from the main movie. What
    happens tho' is it loops
    > continuously, even if there are stops() in it.
    >
    > Boy, am I confused ;)
    >
    > I am really baffled by this seemingly simple little
    task. Your help is
    > gratefully appreciated.
    >
    > Art
    >
    >
    >
    Hi Art,
    There are different coding methods, depending on where you
    put code..
    1) Frame code
    Click on a frame of the timeline to enter frame code
    2) Attached code for movieclips and buttons
    Click once on a movieclip or a button then enter attached
    code
    To make an onEnterFrame event for a movieclip, first chose
    either frame code or attached code method. I personally rarely ever
    use
    attached code because it hides code in places that can be
    hard to find. Almost all my coding is frame code, but it's a
    personal
    choice.
    Frame code method to make an onEnterFrame for the main
    timeline..
    // put this code into a frame on the main timeline
    this.onEnterFrame = function()
    // do something once per frame at the frame rate
    checkMyButtons(); // once per frame we will check on the
    button status
    OR
    Attached Code method to attach an onEnterFrame event to a
    movieclip
    // click once on the movieclip (don't dbl click it .. stay at
    the root timeline level)
    onClipEvent(enterFrame)
    // do something once per frame at the frame rate
    Those two types of code are not interchangeable. One type
    must be entered into a frame and the other style must be attached
    to a
    movieclip or you will get errors.
    Then there is the DOT syntax way to write frame code that is
    equivalent to attaching code..
    myMovieClip.onRelease = function()
    trace("release");
    myMovieClip.onPress = function()
    trace("press");
    myMovieClip.onDragOut = function()
    trace("drag out");
    tralfaz

  • 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.

  • 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
    >

  • 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 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.

Maybe you are looking for

  • How to call a python script from a TestStand sequence?

    Please tell me how is it possible to call a python script from a TestStand sequence. Thank for your help in advance. Imre

  • Adobe Flash is not working in FF 26 no matter how many times I try installing it.

    I am having an odd problem where Adobe Flash Player is not working but only with FB games/apps and only in Firefox. I am able to play FB games in IE and I am also able to see Flash test videos in FF. I have tried installing v26.0b of FF as well as up

  • Best to pay off credit card all at once or slowly over time?

    My urrent FICO score is ~730.  I just received a bonus and I want to pay off my sole (CitiBank) credit card with a significant balance.  Should I pay it off all at once or would it be better to pay it off slowly over an extended period?

  • Add domain name

    Hi http://helpx.adobe.com/business-catalyst/using/change-site-domain.html Problems with Step 3 - Add the domain name to your site Select Site Settings > Site Domains and click New Domain.  I've no idea where I should do that? Dreamweaver? Regards Gab

  • Issues with "Full Resolution"

    I have a Motion project that I have been working on prior to updating to Motion 5.2. Now that I have updated, when I change the Render Resolution to "Full" there are jpgs in Drop Zones that seem to disappear. If I lower the Render Resolution they are