Going to a specific frame in a clip on another page

As may be self evident I am not an expert..... Is it possible
for a button (or series of buttons) on one page which, when
clicked, opens another html page with an embedded swf movie and
then goes to a specific frame in that movie ???
If that makes sense

no - simply put, if the html page/SWF and frame isn't loaded
when button is pressed - there isn't a
way because it doesn't exist yet.
Chris Georgenes / mudbubble.com / keyframer.com / Adobe
Community Expert
LindnArden wrote:
> As may be self evident I am not an expert..... Is it
possible for a button (or
> series of buttons) on one page which, when clicked,
opens another html page
> with an embedded swf movie and then goes to a specific
frame in that movie ???
>
> If that makes sense
>

Similar Messages

  • Can you have a button play a specific frame in a different Edge Animate page?

    I'd like to create a movie that can open other HTML files and go to a specific frame within those other pages. Is there any way to handle that inside of Edge Animate?

    Thanks for the suggestion, but I'm looking for something a little different.
    I'm looking to figure out a way to pass along some information from one movie to another.
    For example. If I have a page (Movie1.html) that has Button A, Button B and Button C. Is there a way for me to open a different page (Movie2.html) AND point to a different frame based on what they clicked in Movie1.html?
    So if they click Button A, it will open Movie2.html and go to frame label "IntroSection"
    But if they click Button B, it will still open up Movie2.html, but this time it would jump to the label "AboutUs"
    And if they click Button C, it will open up Movie2.html, it would jump to the label "End"
    The idea is to have a few different files, but be able to point to specific frames or labels within an external movie.
    Thanks!
    Jeff

  • How do I see every frame of a clip on the timeline in Premier ?

    There are of course times when I need to see every frame of a clip to synchronize two clips. Imagine for example that you have a two camera shoot and both cameras were looking at a clapstick, or at a strobe. I want to put both clips on the timeline and zoom in to see every frame. Now I can align the two clips fo that one specific frame of each clip is over/under each other. However, when I have zoomed into the timeline it seems I can never zoom quite enough to see every frame What do I do to be able to zoome all the way in to the timeline so I can see every frame of the clips ? I haven't actually tried this yet with CC, but did with CS6 and it wouldn't do it.

    I'm not knocking the idea of using the program monitor to place markers on sync points and using that to synchronize clips. It should be a very good solution.
    What I am saying is that there are times when it would be advantageous to be able to see every frame of multiple clips on the timeline. When i first tried to do that I zoomed in and it looked as if it would display all the frames. I was dissappointed to find it wouldn't. As an editor who has done a lot of resynchronizing multiple camera shoots where there is no intentional visual sync cue, i can tell you it can be a big help to be able to see the frames as if we had a strip of film on each timeline. Sometimes we need to see several frames of each clip at the same time to make a decision about which frame represents the sync point, or to make the quickest possible decision about where to start and end a dissolve, or to chose which camera to use. In a scene shot with only one camera, there is no actual sync point. The action may have progressed slightly differently between shots. Being able to see 10 or 15 frames from each shot can help to make the quickest decision about how to line up the shots and where to do the transition. Would anyone out there say it would be a bad thing if Premier Pro could display every frame when we zoom all the way in ? It seems to me that it could only help. So i request Adobe consider it as a possible future improvement.
    Here is an example, the last time i tried to see every frame in Premier. I had a scene I used Maya to create, series of Tiffs. This scene shows an object appearing as if arriving through a time or dimensional portal. The scene includes plasma popping and flashing. There are two different shots of the same moment in time. The shots are frame numbered. So if I could see the frame numbers from the original tiffs on the timeline I could align the shots that way. But of course I lose the frame numbers. The overall scene is too long, and rendering time too long, especially for 3-D 1080, to render each shot from the beginning of the scene, which would make synchronizing very easy. So i needed to sync to the flashing plasma in the scene. I though I had the shots lined up using a flash. It turned out they were not the same flash. So if i did a slow dissolve between shots, the flashes form each shot would not line up in time. What I needed to do is line up several flashes happening over a couple of seconds, so I coud verify the flashes were the same flashes. There are different numbers of frames between each flash, so if I got three to line up they would have to be the same flashes. I spent a lot of time trying to get these shots lined up. If I could zoom into the time line and see evry frame I could synchronize several clips by lining up the flashes, in just a couple of minutes. To do this with markers, marking say five flashes from each of four shots, it would take several minutes to do it before being ready to do the synchronizing. It's a workable solution, but is not ideal, a compromise.

  • Linking to a specific frame from html?

    Hello all:
    Does anyone know if it is possible to have an html page that
    links to a swf file, but ALSO goes to a specific frame or label
    within that file? I'm trying to avoid having to start the Flash
    file from the very beginning, but I can't say that I've ever seen
    this done.
    Thanks,
    Wayne

    The simplest way:
    in the HTML you expand the two occurences of "movie.swf" (in
    the object and embed tag) to "movie.swf?jump=50", where "jump" is
    the variable name and "50" is the frame somewhere in the middle of
    your movie.swf that you want to start with.
    In the first frame of movie.swf you have actionscript
    if(this._framesloaded<jump) {
    this.gotoAndPlay(1)}
    else {
    this.gotoAndPlay(jump)}
    Of course, this doesn't check for error conditions and has
    other weaknesses, but I hope you get the point.
    Good luck
    Wolf

  • Opening new page to a Specific frame

    I am still learning Action Script but I have a problem with
    writing the full script for combing navigate to new URL and
    gotoAndPlay. More specifically what I want to do is use a button
    which when clicked will open a new page and then start playing my
    Flash movie at a certain frame on the Timeline. I have used buttons
    to navigate to a new URL and used the gotoAndPlay ( ) ; command to
    play a certain frame, both have been successful but when I combine
    the two I run into trouble. What happens is the new page loads
    correctly and goes to the specific frame but then opens the browser
    in a new window with the movie playing from the beginning. The
    correct sequence within the correct Webpage is playing but only if
    I close the current page, in other words what I am trying to
    achieve is running but in the background.
    I have attached some of the code I have tried if that helps.
    Many Thanks.

    How extensive are the corresponding text changes on the HTML
    page? How many HTML pages are there? The reason I am asking is that
    if HTML content is not big - your best bet may be to load all the
    HTML content at once and hide/unhide parts of it based on the
    commands that come from Flash.
    But if you are sticking to your guns:
    Your use case, as you described it, is:
    1. user clicks a button on a column
    2. the column clicked moves across the movie
    3. the movie starts to play a different section
    4. the text on the web page changes to match the new movie
    sequence.
    There is a problem here - No 4 requires browser reloading. I
    believe user experience will not be all that good because of the
    visual break (new html page loading) after all the animation
    sequence after the click occurs. Perhaps a better experience can
    be:
    click --> load appropriate page --> perform animation
    sequence.
    As for the variables that you add to the request,
    conceptually it is not different from appending url variables to
    the url string:
    You can do it this way:
    var url:String =
    "www.domain.com/mypage.html?myVariable1=something&myVariable2=somethingElse";
    Or you can do it this way:
    ar url:String = "www.domain.com/mypage.html";
    var variables:URLVariables = new URLVariables();
    variables.myVariable1 = "something";
    variables.myVariable2 = "somethingElse";
    var request:URLRequest = new URLRequest(url);
    request.data = variables;
    I hope you see the similarity. The result is the same - Flash
    sends request with the variables.
    You may perceive the second way as more cumbersome but there
    are several advantages of doing it this way. One of the most
    important is that Flash automatically makes variables values url
    formatted which is critical when you send strings with special
    characters. In addition, when you send many variables - it is much
    more manageable than keeping track of the variable and making
    assignments in one-line url string.
    How you deal with it further depends on how good you are with
    HTML and JavaScript OR server side processing.
    Say you need to start your Flash movie from a certain frame
    (say No 50). You may want to:
    1. Load HTML page with a url that contains a frame number:
    variables.startframe = 50;
    2. You need to read this variable with JavaScript and write
    an appropriate embed tag. There are several ways to do that. Read
    about FlashVars. It could be (in the embed tag):
    src="myMovie.swf?startframe=50" where 50 comes from browser
    location string.
    3. Inside Flash you will utilize LoaderInfo.parameters method
    to extract the value of the variable startframe.
    4. Write code that will perform and animation based on this
    variable/parameter.
    I guess a question is "How good are you at HTML and
    JavaScript?"

  • Using Flach CS4 and action script 2.0 how do I advance to a specific frame of the main timeline when a movie clip instance come to the end of its timeline?

    Using Flach CS4 and action script 2.0 how do I advance to a specific frame of the main timeline when a movie clip instance come to the end of its timeline?

    code on the last frame of your movieclip instance:
    _root.gotoAndStop('whatever_frame');  // will work unless this swf is loaded into another swf.  in that situation, you should use a relative path to the main timeline (eg,  _parent or _parent._parent etc).

  • How can I hold a frame of a clip?

    I want to hold the first frame of a clip, then play the clip, then hold the last frame. Seems like there's some time remapping tools somewhere but I can't figure this out.
    I can't just take a screen shot and set that as the still because this is one window in the video and there's other stuff going on.
    Basically there are going to be four windows each with a video track. One will play, then freeze and the next will begin.
    Any thoughts on how to do this? I don't want to have to go into After Effects if I can help it.
    Thanks!

    To get a still of a clip in the timeline, go to the frame you want to freeze, select 'f' to match frame back to that clip and frame in the Viewer, select Sift+N' to create a Freeze of that frame, insert that into the Sequence.
    ... same for freeze at end.
    You said there's four windows - you mean on one screen? ... then I'd create 4 sequences, possibly of the same duration each; one each for the 4 frames you want. They would each start with a freeze, roll on, then freeze at the end. Make these SEQs longer than you need.
    One at a time, put them into the Viewer (don't double-click them) and edit them onto 4 tracks of master SEQs.
    Apply sizing and motion to each of those. Control-click the clips in the timeline and select 'Open In Viewer' to see their motion tabs.
    This method helps separate the roll off/to a freeze from the editing & motion (resizing/zooming etc.)
    Hope that helps.
    Neil.

  • Zoom into a specific point on a clip

    How do I zoom to a specific point on a clip or picture?
    Whenever I try to use this feature it just goes to the centre of the clip.
    Thank-you.

    Make sure Image + Wireframe is selected in the Canvas:
    Select the clip you want to zoom in on and reposition on the timeline by clicking on it. Once it is selected on the timeline, the turquoise box and cross hairs should appear in the canvas.
    If you click and drag on one of the boxes on the corner, you can resize your image:
    And if you click and drag on the image itself, you can change the clips position:
    You may need to change the canvas display scale to see the handles after you zoom in:
    MtD

  • Jumping to a specific point in a clip

    How can I jump to a specific point/frame in a clip? Example: I know a clip is exactly 3:40 long. How could I go to 3:37?
    Thanks.

    If you have the clip loaded in the Viewer window and the Viewer window highlighted, it will take you to that point in the clip, if you have the Timeline highlighted, it will take you to that point in the Timeline. You can also save a few keystrokes by just hitting "3.37." to skip to 3 minutes and 37 seconds, for example.
    -Zap

  • GotoAndPlay specific frame in external swf from main swf

    I have a main swf that loads 2 external swfs.
    I click on button to see content of external swf #1 and see stuff. I do something that causes external swf to show other stuff (i.e. not at beginning state)
    In the main swf I click on button to see content of external swf #2. External swf #1 content is made invisible and I see content of external swf stuff.
    NOW, if I click on button to take me back to see external swf #1, I see it's content in current state. I want to force it to start over again at frame #1 which will reset content.
    However, no matter what I try, I can't seem to control which frame to go to in external swf using gotoAndplay.
    Here is code in frame #1 of main swf to load external swfs:
    //load academic movie
    var swfLoader1:Loader = new Loader();
    container1.addChild(swfLoader1);
    var url1:URLRequest = new URLRequest("academic.swf");
    swfLoader1.load(url1);
    //load wisdom movie
    var swfLoader3:Loader = new Loader();
    container3.addChild(swfLoader3);
    var url3:URLRequest = new URLRequest("wisdom.swf");
    swfLoader3.load(url3);
    Here is code in frame 2 of main swf that checks button to see where to go in external swf:
    //academic button clicked
    function academicClick(event:MouseEvent){
       container3.alpha = 0;
       container3.visible = false;
       container1.visible = true;
       container1.gotoAndPlay(1); //this is where I am trying to force it to start at frame 1
       container1.alpha = 1;
    I don't want to reload the external movie to force it to start over.
    Any help would be much appreciated.

    You can easily control this by making the external swf to load with your movieclip, The below is the code snippet that clear on accessing the specific frame on external swf.
    //Loading clips content
    var ldr:Loader;
    var mcExt:MovieClip;
    //Loading
    loadswf("external.swf");
    function loadswf(tmp:String):void{
        unloadSwf();
        ldr= new Loader();
        ldr.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressListener);
        ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, swfLoaded);
        ldr.load(new URLRequest(tmp));
        function progressListener (e:ProgressEvent):void{
            ploader.visible=true;
        function swfLoaded(e:Event):void {
            mcExt = e.target.content as MovieClip;
            ldr.contentLoaderInfo.removeEventListener(Event.COMPLETE, swfLoaded);
            mcExt.addEventListener(Event.ENTER_FRAME,onEnterfn);
            ploader.visible=false;
            addChild(mcExt);
    //UnLoading
    function unloadSwf():void{
        if (ldr!=null){
            ldr.unloadAndStop();
            removeChild(mcExt);
            mcExt=null;
    //Intervals (The part you work on the specific frame within the external swf
    function onEnterfn(e:Event):void{
        var num:int=mcExt.currentFrame;
        if (num==1) mcExt.play();
        if (num==9) {
                mcExt.skipmc.addEventListener(MouseEvent.CLICK,skipfn);
                function skipfn(e:MouseEvent):void{
                    mcExt.stop();
                    mcExt.removeEventListener(Event.ENTER_FRAME,onEnterfn);
                    gotoAndStop("help");
        if (num==mcExt.totalFrames){
            mcExt.removeEventListener(Event.ENTER_FRAME,onEnterfn);
            gotoAndStop("help");
    hope it solve

  • Motion 3 Crashing at specific frame - only in Best Quality setting!

    Hello everyone,
    I've got several Motion projects that show the same problem:
    The project behaves and exports fine as long as I don't set the Render Quality to "Best". When I set the Quality to "Best", Motion will always crash at a specific frame (not the same frame in different projects, but always the same frame for a specific project). E.g. Motion exports the clip fine (Image Sequence or Quicktime movie) up to the problematic frame. When it reaches that frame it simply crashes. If I check that frame in Motion, Motion crashes instantly if I have the Render Quality set to Best. If I set it to anything else, it shows the frame without problems.
    This behaviour is the same on my MacBookPro 2 GHz, 2 GB Ram as on a G5 Dual 2 GHz, 3 GB Ram.
    I hope anyone has an idea how to fix this, I need to render those clips!
    Thanks in advance!
    Bjoern

    No one at all?
    That's too bad. I can't imagine that I'm the only one having this problem.
    I sure hope that Apple releases an update to Motion that fixes the numerous bugs.

  • Can PrE do multiple specific frame searches?

    I'm trying to find a not too expensive editing program, possibly PRE 10, that will allow me to do a search in a video for specific frame locations based on criteria within a frame. I've done exhaustive searching on web to no avail so far. I've been using Corel Videostudio which doesn't have anything like that.
    Specifically I want to search the infamous Norwegian Bergne/Oslo train ride video, all seven hours of it. The video consists of the uninterrupted train ride, which by itself is great to watch except for one thing.
    Every time the train passes into a tunnel, or reaches a town, a blue sign drops down from the top of the screen with the location's name. That's not so bad, but then someone has inserted a very loud gong sound at that moment, totally destroying the relaxing ambience of the video.
    What I want to do is find each occurrance of this event, which is about four seconds long, and replace the audio gong sound with either silence or filler. The bad part is that there are easily a hundred plus of these, probably over 200.
    So I'm hoping that some program, somewhere, would be able to either find all of them at once, or quickly 'step' forward to each so I don't have to slowly play the video, stop, insert, hoping I don't miss one, etc. It would search keying on either something in the video frame like the big blue sign, or the sound, it really doesn't matter what.
    I've broken the video up into 30 minute segments to make editing easier and faster.
    Any advice or recommendations would be greatly appreciated!
    Thanks!

    I know of no NLE program, that offers the ability to match, or search frames. While I have not used them all, and some many versions ago, I do not recall such a function in AVID (Liquid, or Composer), PrPro, Pinnacle Studio, Magix MovieEdit Pro or CyberLink's PowerDirctor.
    There might be some forensic programs, that can do this, but not sure that anyone, outside of law enforcement would have access to it.
    Maybe others know of such software.
    In PrE, about the best that I can think of is to use the Jog Shuttle in the Program Monitor, and visually watch, as the footage goes by very quickly, stopping when one reaches a tunnel, or town.
    Good luck,
    Hunt

  • Go to specific frame of an external swf?

    How can I load a specific frame/label of an external swf
    file?
    anyone?

    me,
    > How can I load a specific frame/label of an external
    > swf file?
    First, you load the external SWF file. There are a number of
    ways to do
    this. I recommend either the MovieClip.loadMovie() method or
    the
    MovieClipLoader class. This causes the external SWF to be
    loaded into a
    movie clip container. Once the external SWF has fully loaded,
    invoke
    MovieClip.gotoAndPlay() on the container clip and specify the
    desired frame.
    David
    stiller (at) quip (dot) net
    Dev essays:
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • HI Im trying to make my as3 start on a specific frame but for some reason I just cant find a solutio

    THe below is the AS and i am trying to make it start on a specific frame, can anyone help me please?
    package
    import fl.controls.Button;
    import flash.display.Bitmap;
    import flash.display.Loader;
    import flash.display.MovieClip;
    import flash.net.FileFilter;
    import flash.net.FileReference;
    import flash.text.TextField;
    import flash.text.TextFieldType;
    import flash.events.MouseEvent;
    import flash.events.Event;
    public class BitmapLoader extends MovieClip
      private static const _MAX_WIDTH: Number = 640;
      private static const _MAX_HEIGHT:Number = 410;
      private var _fileRef:FileReference;
      private var _fileFilter: FileFilter;
      private var _loader: Loader;
      private var _bitmap:MovieClip;
      private var _browseBtn:Button;
      private var _staticTxt:TextField;
      private var _browseTxt:TextField;
      public function BitmapLoader( )
       _init( );
      private function _init( ):void
       _staticTxt = new TextField ( );
       _staticTxt.type = TextFieldType.DYNAMIC;
       _staticTxt.x = 10;
       _staticTxt.y = 10;
       _staticTxt.height = 21;
       _staticTxt.text = "Select a Video:";
       addChild( _staticTxt );
       _browseTxt = new TextField ( ) ;
       _browseTxt.type = TextFieldType.INPUT;
       _browseTxt.x = _staticTxt.x + _staticTxt.width + 4;
       _browseTxt.y = 10;
       _browseTxt.height = 21;
       _browseTxt.width = 200;
       _browseTxt.border = true;
       _browseTxt.background = true;
       addChild( _browseTxt );
       _browseBtn = new Button ( ) ;
       _browseBtn.label = "Browse";
       _browseBtn.name = "browse";
       _browseBtn.x = _browseTxt.x + _browseTxt.width + 4;
       _browseBtn.y = 10;
       _browseBtn.useHandCursor = true;
       _browseBtn.addEventListener(MouseEvent.CLICK, _handleMouseEvent);
       addChild( _browseBtn );
       _fileFilter = new FileFilter("clips","*.swf;*.flv;*.f4v;*.mov;*.mp4");
      private function _handleMouseEvent( evt : MouseEvent ):void
       switch ( String ( evt.target.name ))
        case "browse" :
         _fileRef = new FileReference ( ) ;
         _fileRef.browse( [_fileFilter]);
         _fileRef.addEventListener( Event.SELECT, _onImageSelect);
         trace( "Browse" );
         break;
      private function _onImageSelect( evt : Event ):void
       _fileRef.load( );
       _fileRef.addEventListener(Event.COMPLETE, _onDataLoaded);
       _browseTxt.text = String(evt.target.name);
      private function _onDataLoaded(evt:Event ):void
       var tempFileRef:FileReference = FileReference(evt.target);
       _loader = new Loader( ) ;
       _loader.contentLoaderInfo.addEventListener( Event.COMPLETE, _onImageLoaded );
       _loader.loadBytes( tempFileRef.data );
      private function _onImageLoaded(evt:Event ):void
       _bitmap = MovieClip(evt.target.content);
       _bitmap.smoothing = true;
       _bitmap.x = 5;
       _bitmap.y = _browseTxt.y + _browseTxt.height + 5;
       addChild( _bitmap );
       if (_bitmap.width > _MAX_WIDTH || _bitmap.height > _MAX_HEIGHT)
        _resizeBitmap( _bitmap );
      private function _resizeBitmap( target : MovieClip ):void
       if (target.height > target.width)
        target.width = _MAX_WIDTH;
        target.scaleY = target.scaleX;
       else if (target.width >= target.height )
        target.height = _MAX_HEIGHT;
        target.scaleX = target.scaleY;

    I'm confused. It looks like you're placing everything through ActionScript, so it would seem you don't really have a timeline involved. If you do have a timeline involved that's not reflected in your code, have you tried gotoAndPlay(someFrame)? I don't see anything like that in your code.

  • Removing a Button Event Listener on a Specific Frame and Reactivating it on Next Frame

    Hi , i am trying to develop a Slideshow where Next Button needs to behave in a certain way on a specific Frame , lets say a Specific Condition is met only then Next Button would work , I have been able to achieve that but problem is the Button Retains its Event Listener even on the next Frame , whereas  i have already included removeEventListener on the next frame with a new Function for the button , but its doesnt take it like that.
    Can anyone help please ?

    Hello Ned,
    I have fixed the issue with few Frame , but where we have the conditions to be met on two consecutive frames , I am not able to achieve that.
    here is the Code on my first Frame.
    FRAME1
    stop();
    slidecounter.text = String(this.currentFrame - 1 + "/" + indexframe);
    mc_prog.width = 0;
    //LIBRARIES TO BE IMPORTED ///////////////////////////////////////////////////////////
    import flash.events.MouseEvent;
    //VARIALBLES INITIATED
    var score:Number = 0;
    var questions:Number = 0;
    var qtotal:Number = 11;
    var attempt:Number = 0;
    var indexframe:int;
    indexframe = this.totalFrames - 1;
    var notes:Array = new Array();
    var count:int;
    count = 0;
    var backcounter:int;
    backcounter = 0;
    var count2:int;
    count2 = 0;
    var backcounter2:int;
    backcounter2 = 0;
    var count3:int;
    count3 = 0;
    var backcounter3:int;
    backcounter3 = 0;
    // MOVIE CLIPS INITITATED ////////////////////////////////////////////////////////////////
    var volbutton1:volcontrol;//VOLUME BUTTON ROLLOVER MOVIE CLIP
    volbutton1 = new volcontrol();
    var clist:courselist;//VOLUME COURSE LIST ROLLOVER MOVIE CLIP
    clist = new courselist();
    var pop1:Mc_slide9 = new Mc_slide9;
    pop1 = new Mc_slide9;
    var pop2:Mc_slide13 = new Mc_slide13;
    pop2 = new Mc_slide13;
    var pop3:Mc_slide17 = new Mc_slide17;
    pop3 = new Mc_slide17;
    //BUTTONS INITIATED
    btn_nxt.addEventListener(MouseEvent.CLICK, fl_ClickToGoToNextFrame);//NEXT SLIDE BUTTON
    btn_bck.addEventListener(MouseEvent.CLICK, backbtn);//BACK BUTTON
    btn_loc.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage); //LIST OF COURSES BUTTON
    btn_notice1.addEventListener(MouseEvent.CLICK, loadnotice1);
    pop1.closebtn.addEventListener(MouseEvent.CLICK, unloadbtn1);
    btn_notice2.addEventListener(MouseEvent.CLICK, loadnotice2);
    pop2.closebtn.addEventListener(MouseEvent.CLICK, unloadbtn2);
    btn_notice3.addEventListener(MouseEvent.CLICK, loadnotice3);
    pop3.closebtn.addEventListener(MouseEvent.CLICK, unloadbtn3);
    //VOLUME BUTTON ROLL OVER FUNCTION EVENT LISTENERS ///////////////////////////////////////
    btn_vol.addEventListener(MouseEvent.ROLL_OVER,vol);
    btn_vol.addEventListener(MouseEvent.ROLL_OUT,volout);
    btn_loc.addEventListener(MouseEvent.ROLL_OVER,coursel);
    btn_loc.addEventListener(MouseEvent.ROLL_OUT,corlist);
    // FUNCTIONS INITIATED /////////////////////////////////////////////////////////////////
    function fl_ClickToGoToNextFrame(event: MouseEvent): void
      nextFrame();
    function backbtn(event:MouseEvent):void{
       prevFrame();
    function fl_ClickToGoToWebPage(event: MouseEvent): void {
      navigateToURL(new URLRequest("https://www.onlineinduction.com/fmgl/courselist.php?ist=2&type=Vendor Employee Inductions"), "_self");
    //VOLUME BUTTON ROLLOVER EFFECT FUNCTION
    function vol(e:MouseEvent):void
      addChild(volbutton1);
      //popup_instance.width = 675;
      //popup_instance.height = 300;
       if(this.currentFrame == 2)
        volbutton1.x = 150;
        volbutton1.y = 528;
       else{
        volbutton1.x = 278;
        volbutton1.y = 528;
      function volout (e:MouseEvent):void {
        removeChild(volbutton1);
       function coursel(e:MouseEvent):void {
       addChild(clist);
        if(this.currentFrame == 2)
         clist.x = 85;
         clist.y = 532;
        else if(this.currentFrame == 5){
         clist.x = 115;
         clist.y = 325;
        else{
         clist.x = 175;
         clist.y = 532;
      function corlist (e:MouseEvent):void {
        removeChild(clist);
    function loadnotice1(Event:MouseEvent):void//FRAME 9 FUNCTION FOR IMPORTANT NOTICE
      if ( count == 1 && stage.contains(pop1))
       removeChild(pop1);
        if(count == 1)
         nextFrame();
        else
         addChild(pop1);
         pop1.x = 40;
         pop1.y = 120;
         count = 1;
      trace("Counter Value:" + count);
    function loadnotice2(Event:MouseEvent):void//FRAME 9 FUNCTION FOR IMPORTANT NOTICE
      if ( count2 == 1 && stage.contains(pop2))
       removeChild(pop2);
        if(count == 2)
         nextFrame();
        else
         addChild(pop2);
         pop2.x = 40;
         pop2.y = 120;
         count2 = 1;
      trace("Counter Value:" + count);
    function loadnotice3(Event:MouseEvent):void//FRAME 9 FUNCTION FOR IMPORTANT NOTICE
      if ( count3 == 1 && stage.contains(pop3))
       removeChild(pop3);
        if(count == 3)
         nextFrame();
        else
         addChild(pop3);
         pop2.x = 40;
         pop2.y = 120;
         count2 = 1;
      trace("Counter Value:" + count);
    function nextframe9(event: MouseEvent): void
        if(count == 1 && stage.contains(pop1) )
           removeChild(pop1);
        if(count == 1)
         nextFrame();
        else
         addChild(pop1);
         pop1.x = 40;
         pop1.y = 120;
         count = 1;
    function nextframe13(event: MouseEvent): void
        if(count2 == 1 && stage.contains(pop2) )
           removeChild(pop2);
        if(count2 == 1)
         nextFrame();
        else
         addChild(pop2);
         pop2.x = 40;
         pop2.y = 120;
         count2 = 1;
    function nextframe17(event: MouseEvent): void
        if(count3 == 1 && stage.contains(pop3) )
           removeChild(pop3);
        if(count3 == 1)
         nextFrame();
        else
         addChild(pop3);
         pop3.x = 40;
         pop3.y = 120;
         count3 = 1;
    function backbtnscript1(event:MouseEvent):void
       if(stage.contains(pop1) )
          removeChild(pop1);
          backcounter = 1;
          trace("back" + backcounter);
          prevFrame();
    function unloadbtn1 (e:MouseEvent):void {
      removeChild(pop1);
    function backbtnscript2(event:MouseEvent):void
       if(stage.contains(pop2) )
          removeChild(pop2);
          backcounter2 = 1;
          trace("back" + backcounter2);
          prevFrame();
    function unloadbtn2 (e:MouseEvent):void {
      removeChild(pop2);
    function backbtnscript3(event:MouseEvent):void
       if(stage.contains(pop3) )
          removeChild(pop3);
          backcounter3 = 1;
          trace("back" + backcounter3);
          prevFrame();
    function unloadbtn3 (e:MouseEvent):void {
      removeChild(pop3);
    //SLIDE COUNTER
    and here is the Code on all the Frames where I need to call in specific Listeners
    FOR EXAMPLE ON FRAME 8,9,10,
    Here Is the Code ,
    FRAME 8
    stop();
    slidecounter.text = String(this.currentFrame - 1 + "/" + indexframe);
    count = 0;
    backcounter = 0;
    btn_nxt.addEventListener(MouseEvent.CLICK , fl_ClickToGoToNextFrame);
    btn_bck.addEventListener(MouseEvent.CLICK, backbtn);
    btn_bck.removeEventListener(MouseEvent.CLICK , backbtnscript1);
    btn_nxt.removeEventListener(MouseEvent.CLICK , nextframe9);
    pop1.closebtn.addEventListener(MouseEvent.CLICK, unloadbtn1);
    //btn_notice1.addEventListener(MouseEvent.CLICK , loadnotice1);
    FRAME 9
    stop();
    slidecounter.text = String(this.currentFrame - 1 + "/" + indexframe);
    //POPUP FUNCTION
    count = 0;
    btn_nxt.removeEventListener(MouseEvent.CLICK , fl_ClickToGoToNextFrame);
    btn_bck.removeEventListener(MouseEvent.CLICK, backbtn);
    btn_bck.addEventListener(MouseEvent.CLICK , backbtnscript1);
    btn_nxt.addEventListener(MouseEvent.CLICK , nextframe9);
    btn_notice1.addEventListener(MouseEvent.CLICK , loadnotice1);
    FRAME 10
    stop();
    slidecounter.text = String(this.currentFrame - 1 + "/" + indexframe);
    count = 0;
    backcounter = 0;
    btn_nxt.addEventListener(MouseEvent.CLICK , fl_ClickToGoToNextFrame);
    btn_bck.addEventListener(MouseEvent.CLICK, backbtn);
    btn_bck.removeEventListener(MouseEvent.CLICK , backbtnscript1);
    btn_nxt.removeEventListener(MouseEvent.CLICK , nextframe9);
    pop1.closebtn.addEventListener(MouseEvent.CLICK, unloadbtn1);
    I am repeating this Pattern on each frame set where I need these Listeners ,
    Problem is with the next one where I have two consecutive frames have different conditions to meet, any ideas how would I disable and enable listeners respectively on these frames ?
    I hope I am not confusing this very much ?;(

Maybe you are looking for

  • Cant pass file from a dir to fileinputstream()

    hi ! i am stuck here ..please help. I have an application that creates a dir called temp in home directory . and and a file which is named in following format. for example 080718002220.txt i.e. systemdate.ext type . Since this files are created in re

  • IPhone 5S sounds do not function when on Bluetooth or when plugged in

    iPhone 5S 32GB version 8.1.3 sounds do not function when on Bluetooth or when plugged in

  • Message processing after document release

    Hi Is there a way by which we can send a IDOC or any kind of message to external system when a document is released in GTS manually? I tried to search the blogs and it looks like no pointers on this. Any help appreciated. Thanks, Vijay V

  • Adobe Reader version 11.2.0

    Since the download of the v.11.2.0 on my iPad, when I try to move a file to a folder, Adobe closes by itself.  Do you have a solution ?

  • How to import from scanner?

    I have multifunction HP psc 2210xi all in one printer/scanner. I can print with no problem. But I couldn't figure out how to use the scanner. Does anyone here use a HP scanner on the iMac before? What step do I take to make it available to software l