Clicking buttons behind loaded movie

Hi,
I'm new to flash so please bare with me. I'm loading an
external swf file into a movie clip and that's working just fine.
The problem is, while the movie clip is loaded, I'm still able to
click on buttons that are "behind" the movie clip. Pushing these
hidden buttons without even knowing it is obviously not a good
thing. Does anyone have any suggestions?
Thanks,
Josh

Well the stuff "behind" is an interactive workstation thing
and has lots of nested movie clips, symbols, buttons, etc. with
many interactive objects and possible states; iterating through all
of them to disable and then renable once the "front" movie is done
would be nearly impossible. Is there not some way to prevent
clicking through the "front" movie?

Similar Messages

  • Can't get Simple button to Load Movie Clip

    Hi I've looked around for the answer to my question on this
    forum
    but havent found it so here it goes. I am working on this
    company's
    Flash site that was built by an outside studio. I am using
    CS3.
    The url to the site is
    http://www.bubbakeg.com.
    (this link will take you to the main page click the shadow
    graphic
    on the left under Bubba and this will take you to the site I
    am speaking
    of. The site is basically 5 different pages or movie clip.
    What I am
    trying to do is basically change the "Spring Break" middle
    graphic
    (which is a Movie Clip) on the HOME page and add a simple
    button
    that will direct the user to a new page. When I replaced the
    graphic
    with a new Movie clip there was no problem but I have added
    a
    button to load a new page (movie clip) and nothing happens.
    This
    button is in the movie clip of the new graphic which is
    called up
    when the page loads. If i take this button and just put it
    on the
    Main Stage in Scene 1 by itself it works and loads the page
    (movie clip). It does not however when it is embeded in the
    Movie
    Clip. The Flash site is basically 5 different Movie Clips
    loaded into
    an "Empty Clip". This empty clip has a timeline with each of
    the
    clips labeled and with their respective sized placeholders.
    And
    when you click on either the links on the Nav bar or the
    graphic
    for each page it loads that movie clip on the main page. It
    seems
    like the button only wants to work on the main timeline. I
    have
    even replaced the code for the "Contact" button with the code
    for the new button and it worked (opening new page). Here is
    the
    code for the new button that does not work:
    on (release) {
    _root.contentHolder.myHeight = 307;
    _root.contentHolder.newLoc = 9;
    heightAnimation();
    I know the location and height from the above code are
    referring to the placement and sizing of each movie clip
    in the "Empty Clip". As i said before this heightAnimation
    and the resizing of the new clip works fine when the
    button resides in Scene 1 on the Main Timeline but not
    within the new movie clip (graphic Ive created.)
    I will upload the main chunk of the code that resides
    in Scene 1 on the first frame of the "Actions" layer.
    If anyone has any ideas I would appreciate it very much!
    Please let me know if I can provide anymore info.
    Thanks!
    Greg

    change:
    function newLayerBT_CLICK(MouseEvent):void{
    to:
    function newLayerBT_CLICK(e:MouseEvent):void{

  • Drawing order of curve behind loaded movie

    Hi,
    I'm having an issue with the draw order of curve that's drawn
    using Actionscript. In terms of the order of execution of the
    function call, I have a SWF loaded first using the loadMovie
    function. Then I call the curveTo function with certain parameters
    to try to draw a curve on top of the loaded movie. However, the
    strange behavior is that the line is hidden behind the movie clip.
    I've used swapDepths, but it wasn't working for me. Also tried
    using the createEmptyMovieClip function with a depth number
    assigned, but didn't do the trick. Any suggestion?

    1.  there's no reason for an onEnterFrame loop.
    2. there's no reason to use any setInterval() functions in the code you showed.
    3. you should be using the same function to load your swfs.  if some logic is needed to position, for example, the different swfs in different locations, the logic should be in that function.
    ie, you should be using something like:
    _level0 swf:
    function nextMov(){
    loadF(MovieList[movieQNum]);
    movieQNum=(movieQNum+1)%MovieList.length;
    function loadF(swf:String){
    dep = getNextHighestDepth();
    currLo.removeMovieClip();
    currLo = createEmptyMovieClip("currLo"+dep, dep);
    loadMovie(moviename, currLo);
    //move the loaded movie behind movie frame
    BlackMovieFrame.swapDepths(currLo);
    function endSession(mc:MovieClip){
    mc.removeMovieClip();
    nextMove();
    // in the loaded swfs:
    var tl:MovieClip=this;
    btnArrow.onPress = function() {
    _root.endSession(tl);

  • Using radio buttons to load movies

    I'm trying to have a radio button load a movie if it is
    checked. I can't seem to get this to work.

    RButtonGroup1.rawValue gives the value of the raid button. This should help you determine the value selected in each radio button group.
    For the total calculation I would use sample code like following....this is JS code in "Calculate" event of the total field.
    var tot = 0;
    if (RButtonGroup1.rawValue != "") tot = tot+RButtonGroup1.rawValue;
    if (RButtonGroup2.rawValue != "") tot = tot+RButtonGroup2.rawValue;
    if (RButtonGroup3.rawValue != "") tot = tot+RButtonGroup3.rawValue;
    //finally
    this.rawValue = tot; //you will have total assigned to this field
    if you still have difficulty please attach a sample in your response.

  • On a button click need to load a select one menu

    Hi,
    1) I have a text field, one button and a select one menu.
    2) Its actually a search option, user will enter some text inside text field and click button, then those data will be loaded to the select one menu.
    3) Also i have some text fields with attribute required="true".
    4) Actually this is an add/edit organization form.
    5) User can create new organization or search and edit existing organization.
    6) But now what is happening is search button is a command button, so when i click search button the validation of the text field is happening and no action is going to the backing bean.
    7) So what i required is when i click on the search button, no validation should be called, but action need to go to the backing bean..
    8) please provide me a solution.
    9) please see the source code attached here
    <%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <%@ taglib prefix="a4j" uri="http://richfaces.org/a4j"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Add/Edit Organization</title>
    </head>
    <body>
    <f:view>
         <jsp:include page="../header.jsp"></jsp:include>
         <center><h:form id="organizationForm" style="height: 326px; ">
              <table cellspacing="10">
                   <tr>
                        <td><h:panelGrid border="0" styleClass="number labelWidth"
                             columns="1">
                             <h:outputLabel value="Search"></h:outputLabel>
                        </h:panelGrid></td>
                        <td>
                        <table cellpadding="0" cellspacing="0">
                             <tr align="left">
                                  <td>
                                  <table cellpadding="0" cellspacing="0">
                                       <tr>
                                            <td align="left"><h:inputText id="searchTextId"
                                                 value="#{organizationJSFBean.searchText}"></h:inputText></td>
                                            <td style="width: 5px;"></td>
                                            <td><h:commandButton image="../icons/search_lens.png"
                                                 action="searchSuccess">
                                            </h:commandButton></td>
                                       </tr>
                                  </table>
                                  </td>
                             </tr>
                             <tr>
                                  <td><h:selectOneMenu id="loginNamesId"
                                       value="#{organizationJSFBean.organization.organizationId }">
                                       <f:selectItems
                                            value="#{organizationJSFBean.searchedOrganizationNameItems}" />
                                       <a4j:support event="onchange"
                                            action="#{organizationJSFBean.handleSelection}"
                                            reRender="organizationForm" />
                                  </h:selectOneMenu></td>
                             </tr>
                        </table>
                        </td>
                        <td><h:message for="searchTextId" styleClass="errorLabel"></h:message></td>
                   </tr>
                   <tr>
                        <td><h:panelGrid border="0" styleClass="number labelWidth"
                             columns="1">
                             <h:outputLabel value="Name"></h:outputLabel>
                        </h:panelGrid></td>
                        <td><h:inputText id="nameId"
                             value="#{organizationJSFBean.organization.name}" required="true"
                             requiredMessage="#{errorMessageBean.cannotBeBlank}"></h:inputText></td>
                        <td><h:message for="nameId" styleClass="errorLabel"></h:message></td>
                   </tr>
                   <tr>
                        <td><h:panelGrid border="0" styleClass="number labelWidth"
                             columns="1">
                             <h:outputLabel value="Short Name"></h:outputLabel>
                        </h:panelGrid></td>
                        <td><h:inputText id="shortNameId"
                             value="#{organizationJSFBean.organization.shortName}"
                             required="true"
                             requiredMessage="#{errorMessageBean.cannotBeBlank }"></h:inputText></td>
                        <td><h:message for="shortNameId" styleClass="errorLabel"></h:message></td>
                   </tr>
                   <tr>
                        <td><h:panelGrid border="0" styleClass="number labelWidth"
                             columns="1">
                             <h:outputLabel value="Website"></h:outputLabel>
                        </h:panelGrid></td>
                        <td><h:inputText id="websiteId"
                             value="#{organizationJSFBean.organization.website}" required="true"
                             requiredMessage="#{errorMessageBean.cannotBeBlank }"></h:inputText></td>
                        <td><h:message for="websiteId" styleClass="errorLabel"></h:message></td>
                   </tr>
                   <tr>
                        <td><h:panelGrid border="0" styleClass="number labelWidth"
                             columns="1">
                             <h:outputLabel value="Status"></h:outputLabel>
                        </h:panelGrid></td>
                        <td><h:selectOneMenu id="statusId"
                             value="#{organizationJSFBean.organization.status}">
                             <f:selectItems value="#{organizationJSFBean.searchedStatusItems}" />
                        </h:selectOneMenu></td>
                        <td><h:message for="statusId" styleClass="errorLabel"></h:message></td>
                   </tr>
              </table>
              <h:panelGrid border="0" columns="2">
                   <h:commandButton value="Save"
                        action="#{organizationJSFBean.saveOrganization}"
                        style="width: 78px; "></h:commandButton>
                   <h:commandButton value="Cancel" style="width: 78px; " action="cancel"
                        immediate="true"></h:commandButton>
              </h:panelGrid>
         </h:form></center>
    </f:view>
    </body>
    </html>

    8) please provide me a solution.Put immediate="true" on the button in question, like you did on the cancel button.
    The next time you post code, put it between { code } tags to make it not only more readable, but the forum won't try to interpret the special characters.

  • Loading Movie Clip from a button

    Hi,
    How do I load a movie clip from a button? So far on my button
    (b1), I have this AS: and I want the button to load the movie clip
    "char1." My button already has some AS:
    b2.onRollOver = function() {
    _root.captionFN(true, "Hi!", this);
    this.onRollOut = function() {
    captionFN(false);
    How would I go about adding more script to load a movie clip
    to my button b2?
    Thanks

    Hey - Unfortunately I'm going to be in meetings for most of
    the day, so
    it'll take me a while before I can go through this in any
    detail. One thing
    that struck me though is that your two functions (captionFN
    and
    hoverCaption) are in the main1_mc not on the main timeline.
    Then the
    buttons are calling _root.captionFN(); which refers to the
    main timeline.
    I would expect that they should be calling
    _root.main1_mc.captionFN(),
    because that is the path to where the function is. Does that
    make any
    sense?
    One thing that I do when I'm writing code is to always keep
    all functions on
    the main timeline. That way you are sure that they are being
    registered
    (i.e. if you call a function before the playhead reaches
    where that function
    is written, the function won't work. If the function is in
    the first frame
    of the main timeline, you know that the playhead has reached
    it). What you
    might want to do is to move all your functions to the very
    first frame of
    your movie. Then you can call them with the path:
    _root.myFunction() and
    you are sure that they will be found.
    Maybe give that a try and let me know if it helps. In the
    meantime, I'll
    try to go through your code, but like I said, today's a bit
    of a gong show
    for me.
    Sorry - I don't mean to just sluff you off or anything.
    Cheers,
    Brock
    "respondplease" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi Brock,
    >
    > Thanks again, your sample file really helps but I'm
    still having problems.
    > What it boils down to is that my buttons don't fully
    function properly. It
    > works correctly sometimes, but not consistently enough.
    So if I fast
    > forward
    > too much or rewind and then FF, the buttons aren't
    either isn't clickable
    > or
    > the hover text and caption box doesn't show up, etc.
    This usually happens
    > when
    > I press FF too many times or too fast. But regardless of
    how many times I
    > press
    > FF I would like my buttons to work
    >
    > Your sample file is very useful but unlike mine I have
    perhaps too many
    > MC's
    > w/in MC's, etc. I will try to clarify my setup in hopes
    of finding a
    > (better)
    > solution to my problems. My main timeline has my "prev",
    "next", and
    > "pause"
    > buttons which also has the actionscript for my NEXT
    BUTTON, PREV BUTTONS.
    > And
    > now I've added your SHOW BUTTONs function as well. I've
    minorly modified
    > your
    > showButtons function adding a couple of more lines and
    actually deleting
    > the
    > _root because I found that it doesn't work sometimes.
    Anyhoo, here it my
    > entire
    > code in one frame on my main timeline:
    >
    > // ===== NEXT BUTTON ===== \\
    > next.onPress = function() {
    > _root.screen.showButtons();
    > _root.createEmptyMovieClip("controller_mc", 1);
    > controller_mc.onEnterFrame = function() {
    > _root.screen.gotoAndPlay(_root.screen._currentframe+10);
    > if
    (_root.screen._currentframe+10>_root.screen._totalframes) {
    > _root.screen.gotoAndStop(_root.screen._totalframes);
    > }
    > };
    > };
    > next.onRelease = function() {
    > controller_mc.removeMovieClip();
    > _root.screen.showButtons();
    > };
    > next.onReleaseOutside = function() {
    > controller_mc.removeMovieClip();
    > _root.screen.showButtons();
    > };
    >
    > // ===== REWIND BUTTON ===== \\
    > prev.onPress = function() {
    > _root.createEmptyMovieClip("controller_mc", 1);
    > controller_mc.onEnterFrame = function() {
    > _root.screen.gotoAndStop(_root.screen._currentframe-10);
    > if (_root.screen._currentframe-10<1) {
    > _root.gotoAndStop("screen");
    > }
    > };
    > };
    > prev.onRelease = function() {
    > controller_mc.removeMovieClip();
    > };
    > prev.onReleaseOutside = function() {
    > controller_mc.removeMovieClip();
    > };
    > // ===== SHOW BUTTONS ===== \\
    > function showButtons() {
    > for (i=1; i<=6; i++) {
    > _root["b"+i]._visible = true;
    > _root["char"+i].removeMovieClip();
    > chars._visible = true;
    > cap.desc._visible = true;
    > cap._visible = true;
    > }
    > }
    > Still from my main timeline, my main1_mc is called from
    the frame labeled
    > "screen." My main1_mc has the b1 - b6 buttons which has
    the HOVER CAPTIONS
    > and
    > HIDE BUTTONS FUNCTION coding. And each button calls each
    movie clip ie.
    > char1_mc, char2_mc, etc. Here's all my code on one frame
    (in my main1_mc):
    > // ===== HOVER CAPTIONS =====
    > b1.onRollOver = function() {
    > _root.captionFN(true, "pick me!", this);
    > //display the function (true) or to hide the function
    (false)
    > this.onRollOut = function() {
    > captionFN(false);
    > };
    > this.onRelease = function() {
    > hideButtons();
    > _root.attachMovie("char1_mc", "char1",
    _root.getNextHighestDepth(),
    > {_x:595,
    > _y:345}); //this attaches movie to the _root timeline,
    and renames it to
    > "char1".
    >
    > _root.char1.swapDepths(_root.cursor_mc);
    > //swaps the depth that the cursor is on and the new
    movieClip is on. So
    > the
    > cursor will stay on top.
    > };
    > };
    > b2.onRollOver = function() {
    > _root.captionFN(true, "Hi!", this);
    > this.onRollOut = function() {
    > captionFN(false);
    > };
    > this.onRelease = function() {
    > hideButtons();
    > _root.attachMovie("char2_mc", "char2",
    _root.getNextHighestDepth(),
    > {_x:605,
    > _y:345});
    > };
    > };
    > b3.onRollOver = function() {
    > _root.captionFN(true, "Get Jac'd Up!", this);
    > this.onRollOut = function() {
    > captionFN(false);
    > };
    > this.onRelease = function() {
    > hideButtons();
    > _root.attachMovie("char3_mc", "char3",
    _root.getNextHighestDepth(),
    > {_x:605,
    > _y:345});
    > };
    > };
    > b4.onRollOver = function() {
    > _root.captionFN(true, "Boo!", this);
    > this.onRollOut = function() {
    > captionFN(false);
    > };
    > this.onRelease = function() {
    > hideButtons();
    > _root.attachMovie("char4_mc", "char4",
    _root.getNextHighestDepth(),
    > {_x:605,
    > _y:345});
    > };
    > };
    > b5.onRollOver = function() {
    > _root.captionFN(true, "I'll be your guide", this);
    > this.onRollOut = function() {
    > captionFN(false);
    > };
    > this.onRelease = function() {
    > hideButtons();
    > _root.attachMovie("char5_mc", "char5",
    _root.getNextHighestDepth(),
    > {_x:605,
    > _y:345});
    > };
    > };
    > b6.onRollOver = function() {
    > _root.captionFN(true, "Welcome!", this);
    > this.onRollOut = function() {
    > captionFN(false);
    > };
    > this.onRelease = function() {
    > hideButtons();
    > _root.attachMovie("char6_mc", "char6",
    _root.getNextHighestDepth(),
    > {_x:605,
    > _y:345});
    > };
    > };
    > _root.captionFN = function(showCaption, captionText,
    bName) {
    > if (showCaption) {
    > createEmptyMovieClip("hoverCaption",
    this.getNextHighestDepth());
    > cap.desc.text = captionText;
    > // cap._width = 7*cap.desc.text.length;
    > cap._alpha = 75;
    > if ((bName._width+bName._x+cap._width)>Stage.width) {
    > xo = -2-cap._width;
    > yo = -17;
    > } else {
    > xo = 2;
    > yo = -17;
    > }
    > hoverCaption.onEnterFrame = function() {
    > cap._x = _xmouse+xo;
    > cap._y = _ymouse+yo;
    > cap._visible = true;
    > };
    > } else {
    > delete hoverCaption.onEnterFrame;
    > cap._visible = false;
    > }
    > };
    > // ===== END OF HOVER CAPTION ===== \\
    >
    > // ===== HIDE BUTTONS FUNCTION ===== \\
    > function hideButtons() {
    > for (i=1; i<=6; i++) {
    > this["b"+i]._visible = false;
    > }
    > chars._visible = false;
    > cap.desc._visible = false;
    > }
    > Sorry for copying and pasting all my code - I know it
    must be annoying,
    > but I
    > can't seem to find what's wrong. Again, ANY help would
    be greatly
    > appreciated.
    > Thanks for your patience. Your talent is very much
    appreciated and I'm
    > very
    > grateful for all your help.
    >
    > Kindest regards
    >

  • Referencing _root.Button  from a movie loaded inside another movie

    I have the following situation
    MainMove.swf is doing a loadmovie of SecondMovie.swf
    The Button that loads SecondMovie.swf also disables other buttons in MainMovie.swf
    on (release) {
        _root.intro_btn.enabled = flase;
        loadMovieNum("SecondMovie.swf", 2);
    How do I Re enabled the Buttons in MainMovie.swf from a Button within SecondMovie.swf???
    Using AS2 is this current project
    Thanks

    You might be able to use the same line of code setting the enabled value to true.  If you have not locked the root of the loaded swf, the _root should till be pointing at the main movie.
    _root.intro_btn.enabled = true;

  • Problem clicking on movieclip after load movie

    I have five movie clips named box1 through box5
    I have 20 movie clips that are on my screen.  When I clic one of those 20, I want to load a movie into on of the five boxes.
    All that works fine now.
    However, I want to click on those five boes.  When I mouse over let's say box1, I get a hand and can click.  When the movie loads in there, my cursor no longer changes and I can't click.
    Not doing anything more than
    item1.onRelease =function(){
    box1.loadMovie(blah)
    box1 is nothing more than
    box1.onRelease=function(){
    //do something
    Thanks.

    When you load something into box1 itself, it replaces box1.  So if you want to retain box1 with the code assigned to it, you should have something inside box1 to load into...
    item1.onRelease =function(){
    box1.createEmptyMovieClip("box1mc", box1.getNextHighestDepth());
    box1.box1mc.loadMovie(blah);
    box1.onRelease=function(){
    // do something

  • Certain sites do not load properly. I have to click the Stop loading page button, the click reload page to fully load the site.

    Using Firefox 6.0.1 on Windows XP SP3. When I navigate to certain sites (nytimes.com for example), Firefox loads most of the page, but some graphics are missing and the green circle in the tab keeps spinning. Typically I have to click the Stop Loading Page button, then click the Reload Page button to get Firefox to load the remaining items in the website. Seems to get stuck with images.

    This type of problem is normally caused by using an incompatible add-on. For details of how to troubleshoot this to find out what one is causing the problem see https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Last and greatest: conditional statements for click referring to loaded swf

    Hey forum,
    I am so close to being done with this site update it is exciting! I will be sure to throw it up here for you to see, since without this forum I would have been hurting!
    The last big hurdle I have, is the following, and I hope someone can just throw me a bit of guidance on this.
    I am looking for a way to write a function, that on click of my "next" button in the main timeline, will refer to my loaded swf MovieClip(imageLoader.content) telling it to go to the next frame label, so really a compound if/then situation – just referring to the loaded file throws me.
    So, my next button is "pNext," and what I am looking for is something along the lines of:
    if (loaded movie) is on frames 12-144, then go here (on click),
    if (loaded movie) is on frames 144-155, then go here (on click)
    etc. and so forth.
    Thanks so much! Below is my code that works on one next click, so you can see the instances etc.
    b
    pNext.addEventListener (MouseEvent.CLICK, nextClick);
    function nextClick (e:MouseEvent):void{
        MovieClip(imageLoader.content).gotoAndPlay ("aboutS1");

    If I'm reading your request right, what you can try is to create an array of the frame labels in the order they appear and use the currentLabel property to determine where you are and indicate where to go...
    var labels:Array = new Array("one","two","three","four","five"...etc...);
    pNext.addEventListener (MouseEvent.CLICK, nextClick);
    function nextClick (e:MouseEvent):void{
        var mc:MovieClip = MovieClip(imageLoader.content);
        var nextLabel:String = labels[labels.indexOf(String(mc.currentLabel))+1];
        mc.gotoAndPlay (nextLabel);

  • Remove loaded movie after new loadMovie has been loaded

    i need to unload a movie once the new loadMovie is fully
    loaded because once i click on my button to do so, my current
    loaded movie goes away & the screen is white until the new
    loaded movie is loaded. (i hope that made sense)

    well I've done it a few ways successfully.
    The most recent, I dynamically create new movie clips.
    see ---
    http://www.13studios.com/erin
    --- Its a figurative painter's portoflio, so while its oil paint it
    is perhaps a bit [NSFW].
    Anyway, the panning effect kinda killed my normal process, so
    when you click a new button, it goes like this...
    PSEudoCODE
    //tickerVariable is defined on frame 1
    holder.create a new movie clip with name "something +
    tickerVariable"
    play preloader(tickerVariable);
    on completion of preloader {
    holder[something+(tickerVariable-1)].unloadMovie();
    //do anything else you need to do
    tickerVariable++
    I hope I didn't just make that more confusing.

  • Controlling the main time line of a movie via a button within a movie on a different level.

    Hi there!
    I have two movie is two different levels,
    Level 5 is my base movie and I am loading another movie on
    top of this into level 10.
    Once the user clicks onto a button within the movie on level
    10, I would like the animation in level 5 to stop (the animation
    runs on the main root timeline of level 5).
    Once the user clicks on a different button within the movie
    on level 10, I would like the animation on the main timeline of the
    movie in level 5 to start again from the point where it previously
    left off.
    Is this possible?
    It would be great if someone could help me out with this.
    Thanks, midi_ie

    midi_ie wrote:
    > Hi there!
    > I have two movie is two different levels,
    > Level 5 is my base movie and I am loading another movie
    on top of this into
    > level 10.
    > Once the user clicks onto a button within the movie on
    level 10, I would like
    > the animation in level 5 to stop (the animation runs on
    the main root timeline
    > of level 5).
    >
    > Once the user clicks on a different button within the
    movie on level 10, I
    > would like the animation on the main timeline of the
    movie in level 5 to start
    > again from the point where it previously left off.
    > Is this possible?
    _level5.gotoAndPlay("someLabelframe");
    Use your regular action to target timeline or movie clips,
    just define the level number at the beginning of the path.
    Pretty much it :)
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Load Movie in AS3 for cd-rom output

    I have a .project with multiple >SWF's, which links to many other flash movies...I want to open each of the movies
    in it's own window, but not in a browser. (CD-rom output). The complete project is like a book with PREVIUS and NEXT buttons. Each one unloads the current  SWF and opens a new one.  .
    I have used the following script in AS2 with great success. However I haven't found the way to achieve the same result in AS3. Here is my AS2 script.
    on (release) {
    loadMovie("CD09.swf", _root);
    I know that this is very basic but I can not write a script to achieve the AS2 Result.
    Your help is very appreciated.

    I appreciate your input. Wrote the code as follows: (remove the "private" because the code is in the timelinI appreciate your input. Wrote the code as follows: (remove the "private" because the code is in the timeline)
    //back_btn button function
    back_btn. addEvent Listener(MouseEvent.CLICK,mouseClick);
    function mouseClick(event:MouseEvent):void {
    var _content:DisplayObject;
    function loadContent(content:String):void {
         if(_content != null){
            removeChild(_content);
            _content = null;
          var loader:Loader = new Loader();
          loader.load(new URLRequest(content));
          _content = addChild(loader);
         loadContent("CD09.swf");
    The parent file loads but when pressing the back_bth. button to load the new file NOTHING HAPPENS.
    I have been trying to solve this issue for a long time and I am sure we are almost there. Your kindness is very appreciated!

  • Go to frame, play a few then load movie?

    I am working on a continously playing banner that has 5
    different movies. there is a navigation bar below with 5 buttons,
    one for each movie. There is also a puase/play button so you can
    stop the animation and resume it. What I cant figure out is how to
    actionscript the buttons. I need them to jump to a particular frame
    in the current movie, play a specific set of frames (the outro
    animation sequence), then load the appropriate movie.
    on (release) {
    gotoAndPlay(series of frames???);
    loadMovie("movie2.swf", 1);
    Any suggestions? Thanks!

    I'm still having trouble grokking it...... Ok so I am
    watching the animation, Movie #1 ends and loads Movie #2 and I am
    on Movie #1 but I decide I want to jump to movie #4 (there are 5
    movies altogether), I click on the button for Movie 4, it then
    jumps to the frames I labelled to play the outro, then loads Movie
    4.
    So in one scenario I can watch all 5 movies in sequence. At
    the end of each movie is the frame:
    var holder_mcl:MovieClipLoader = new MovieClipLoader();
    holder_mc.clear();
    holder_mcl.loadClip("your_file.swf", holder_mc);
    where "your_file.swf" is the next movie in the sequence e.g.
    movie2.swf at the end of movie1's timeline.
    In the scenario I descfribed above where I want to skip Movie
    #3 and jump to movie #4, I use the button code:
    on(release){
    holder_mc.clear();
    gotoAndPlay("movie2outro");
    to play my outro, but if I am currently in movie #2, where
    loading movie3 is called to load at its end of that timeline, how
    can I load movie #4 in a frame in the same timeline?
    You can see something similar on the home page for Micron
    http://www.micron.com. The big
    difference is that my "slide show" plays continuosly (will
    autonmatically go to the next "slide") whereas you have to choose a
    link on the bottom on the the micron.com one to go to another
    slide.
    Thanks so much for your help!

  • Returning to LAST slide of PREVIOUSLY loaded movie

    Hello all!
    I am truly stumped. I have a lengthy project that needed to
    be broken apart into about 15 different Captivate movies that will
    load seamlessly to the user. My problem occurs when users click the
    back button. If they are on the first screen of the 3rd movie,
    clicking back only replays the first screen again and again. I need
    them to be able to click the back button and load the LAST slide of
    the 2nd movie. Make sense?
    I have tried using the Captivate Player - a great tool, by
    the way! Has anyone found a way to tweak the player to accommodate
    this problem, or does anyone have any other tools or suggestions?
    Thank you so much for any help! I've spent weeks trying to
    figure this out, and I'm pulling my hair out!
    Tracy

    Hi TracyAbney
    This isn't currently possible, nor am I aware of any existing
    workaround. But I certainly don't know everything. Those Flash
    developer types are pretty darn creative!
    If you think it would be a worthwhile featue, you could
    certainly request it by
    clicking
    here.
    Cheers... Rick

Maybe you are looking for

  • How do I fix super slow internet - all browsers are affected

    There is some problem with internet connectivity with my MacBook Pro, but I cannot figure out how to resolve it.  Speedtest.net is measuring my internet speed at download speeds of 0.88MBps and upload of .84Mbps.  Other devices utilizing the same rou

  • Quicktime Will not work

    Hi, I recently got Photoshop CS3 which requires Quicktime for video editing. So, I instaled quicktime but when I tried to run it, a window popped up saying that 'quicktime has stoped working'. It never realy opened, though. I've tried re-installing i

  • Itunes wont load!!!

    when i click on itunes the license agreement thing pops up nd then go es away. i did the msconfig thing nd itunes started working but then internet explorer stopped working. i did system restore nd now everything is back to the way when itunes didnt

  • Save_text function module for multiple entries

    HI friends, Iam facing a following senario. Iam using save text function module  ie: save_text to save the sales text for the line items in va01 transaction. Iam able save the text for single entry but iam not able to save the text for muliple entrie

  • Problem in Upgradphase - JOB_PSUPDEC

    Hello, the upgrade stops with following error: BATCHJOB RSUPTEC FAILED The shadow instance are running and i can logon. In the Transaction SM37 the Job RSUPDTEC are in status green : finished Below are the 2 central Log-Files with error details: PSUP