Button link to a specific frame in time line

Ok I have created my buttons and the content for the specific
frames. I have named the button and given it an instance name. I
have also given my specific frame a name and set that label type to
Name.
Whats the code for turning getting my button to link to a
specific frame?
I've also done the stop() code in each frame as I want it to
stop at each frame until the button is clicked again.
I have more than one button and each will link to a different
frame.
Thanks.

I've duplicated an FLA with exactly the assets you have in
the same places, with the code on the main timeline. And mine
didn't work, just the same problem as you had. The solution I
proposed above works, but it is not the only way (See #2 below).
On Frame 1, select the UIScrollbar. if you look in the
Parameters tab of your UIScrollbar component, you'll notice that
the
scrolltargetName refers to
Instance_0. This is a default instance name assigned by the
Flash compiler, because you did not give your dynamic textfield an
instance, and your UIscollbar is referencing that. Now go to Frame
4. You will find that your dynamic textfield has the same instance
name, and the UIScrollbar is referencing the same instance. Problem
is, you have more than one textfield on more than one frame using
and referencing the same instance name, your UIScrollbars will get
confused as to which textfield is actually "Instance_0". The moment
you click to another frame, you've confused the UIScrollbar(s), so
they never work again.
The solution is simple.
First, put a stop() action on the first frame, if you have
not already done so, so your timeline stays put until you click on
a button.
Then you can solve the problem in one of two ways:
Give your textfields different instance names, and make sure
the
scrolltargetName property of each UIScrollbar refers to its
respective textfield.
Or set the text dynamically, which after all is what a dynamic
textfield is for. Have only one textfield/UIscrollbar combo, on the
first frame, and place code on a keyframe for each section which
changes the
text or
htmlText property of the textfield.
That should work. It did on mine.

Similar Messages

  • Linking to a specific frame from JSP page

    I am trying to link to site that has frames. I want to load a specific jsp in frame 3. Does anyone know how to pass the target and source values? I have been looking for tutorials unsuccessfully.

    You can not point to a specific frame ina document from an external document.Your best bet might be to pass the parameters using URL and on the recieving end write some javascript to parse the url adn if it has a parameter then process that else just load standard document.
    Khalid

  • 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

  • How do I link to a specific frame in the timeline of an Edge document from a different page?

    lI have the intro of my new website made in Adobe Edge Animate, however I don't want people to watch the intro every time they click "back". So is there a way of linking directly to a label from another page? Should I use something like:
    "<a href="page_URL.com/edge_file.html" target="label_in_the_timeline">"

    Hey Squeege,
    I highly recommend you becoming familiar with basic javascript syntax (setting variables, functions, scope, if/else statements). Knowing at least the basics really makes Edge Animate come alive, and gives you a lot more power inside the application.
    Taking the code from the other thread, you would do something like this, on Stage.compositionReady event:
    // function to grab specified param
    sym.getParam = function(name) {
        name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
        var regexS = "[\\?&]" + name + "=([^&#]*)";
        var regex = new RegExp(regexS);
        var results = regex.exec(window.location.href);
        if (results == null)
            return "";
        else
            return results[1];
    // get query param called 'param', (should be "true", "false", or leave it out)
    var playIntro = sym.getParam('param');
    if( playIntro == "true" ) {
         // tell sym to play intro label
         sym.play( "intro" );
    }else if( playIntro == "" ) {
         // tell sym to play intro label
         sym.play( "intro" );
    }else if( playIntro == "false" ) {
         // tell sym to play skipIntro label
         sym.play( "skipIntro" );

  • Making a button go to a specific frame

    I'm having trouble with this.  I'm just practicing for the moment and not expert in flash code at all.  I have a button on frame #1.  On that frame, I used the following code I found on the web (which I tried using both AS2 and AS3):
    stop();
    function buttonClick(event:MouseEvent);void{
    gotoAndPlay(2);
    I get errors of varying sorts.  What should I use?  AS2 or AS3?  And what code should I assign to the button (or that button's frame?) to get it to go to frame 2 once clicked?

    The code you show is an incomplete/incorrect attempt to use AS3.  For AS3 you need to assign an instance name to the button and then assign an event listener to the button using the instance name to target it.  The code goes in the frame of the timeline that coincides with the button's frame (preferably on a separate layer for actionscript).  So if you gave the button an instance name of "btn", the complete/correct code for it would be...
    stop(); // this is a timeline command, not a button command
    btn.addEventListener(MouseEvent.CLICK, buttonClick);
    function buttonClick(evt:MouseEvent):void {
         gotoAndPlay(2);

  • Can you link Audio to any video in time line so it functions as if you imported a video with audio?

    Hi there...
    I have video and I also have externally recorded audio to sync with it. Now I understand that you can drag the video in (delete its audio if it has any) and then drag a audio clip into the timeline and place it under neath it. I can get it synced and all that fine.
    The problem I have is that it is cumbersome to edit like this. When you import a video with embedded audio if you make a cut it cuts the video AND the audio attached to it in one go. If you do it the way I am doing now you need to add extra cuts on the audio file as well. So you effectively doubling the clicks needed to edit. Also when you are deleting clips and sliding stuff about you need to be extra careful to make sure that the audio and video stays in sync.
    What I am hoping for is a way to "attach" the audio to the video with out adding a long and time consuming process of rendering out a video file with it embedded.
    Solutions I have tried and failed.
    GROUP : This seams like the obvious thing to do.. If I group them I can select them as one, move them as one.. but if I select the cut tool it still only cuts either the video or audio.. not both.
    SEQUENCE : The other option I tried is once it is synced I make a new sequence and add the sequence with the synced audo and video to it and then edit on that. I am not editing a sequence not the raw audio and video. The problem here is that while now the cut tool cuts both the video AND audio at once and I can also move and edit easily.. the problem is that now the wave form dose not show up in the audio track when you expand it. It is just a big blank green box (even though there is audio in the original sequence)
    Any ideas?
    Thanks

    I'm still using Cs6.... I found that if you hold shift+click with the cut tool it cuts it.. I'll try link as shifting is a pain...
    Maybe there is a way to set teh shift+click as the default action for the cut tool?

  • Some button-linking problems

    Ok, so this is probably really elementary stuff that I'm about to question. I'm trying to make an interactive video player where you have a choice of 3 buttons and each button links to a different frame that has a video player embedded in it. Once on of the frames are brought up, I have a button to take you back to the main screen. However, after clicking back to the main screen, I'm running into the following output error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at memorialsample_fla::MainTimeline/frame1()[memorialsample_fla.MainTimeline::frame1:4]
        at flash.display::MovieClip/gotoAndPlay()
        at memorialsample_fla::MainTimeline/gotoMain2()[memorialsample_fla.MainTimeline::frame2:11]
    Once the above output error occurs, the buttons are no longer active and no longer work.
    Here's a look at my code that I have going on:
    Frame 1:
    stop()
    //Link to Frame 2
    btn_MJ_Main.addEventListener(MouseEvent.CLICK, gotoMJ)
        function gotoMJ (e:MouseEvent){
            //btn_Beach_Main.removeEventListener(MouseEvent.CLICK, gotoBeach)
            //btn_MJ_Main.removeEventListener(MouseEvent.CLICK, gotoMJ)
            btn_Cloud_Main.removeEventListener(MouseEvent.CLICK, gotoCloud)
            gotoAndPlay(2)
    //Link to Frame 3
    btn_Beach_Main.addEventListener(MouseEvent.CLICK, gotoBeach)
        function gotoBeach (e:MouseEvent){
            btn_Beach_Main.removeEventListener(MouseEvent.CLICK, gotoBeach)
            //btn_MJ_Main.removeEventListener(MouseEvent.CLICK, gotoMJ)
            //btn_Cloud_Main.removeEventListener(MouseEvent.CLICK, gotoCloud)
            gotoAndPlay(3)
    //Link to Frame 4
    btn_Cloud_Main.addEventListener(MouseEvent.CLICK, gotoCloud)
        function gotoCloud (e:MouseEvent){
            //btn_Beach_Main.removeEventListener(MouseEvent.CLICK, gotoBeach)
            //btn_MJ_Main.removeEventListener(MouseEvent.CLICK, gotoMJ)
            btn_Cloud_Main.removeEventListener(MouseEvent.CLICK, gotoCloud)
            gotoAndPlay(4)
    Frame 2:
    stop()
    //Linking back to Frame 1
    btn_Return.addEventListener(MouseEvent.CLICK, gotoMain2)
        function gotoMain2 (e:MouseEvent){
            btn_Return.removeEventListener(MouseEvent.CLICK, gotoMain2)
                gotoAndPlay(1)
    Frame 3:
    stop()
    //Linking back to Frame 1
    btn_Return.addEventListener(MouseEvent.CLICK, gotoMain3)
        function gotoMain3 (e:MouseEvent){
            btn_Return.removeEventListener(MouseEvent.CLICK, gotoMain3)
                gotoAndPlay(1)
    Frame 4:
    stop()
    //Linking back to Frame 1
    btn_Return.addEventListener(MouseEvent.CLICK, gotoMain4)
        function gotoMain4 (e:MouseEvent){
            btn_Return.removeEventListener(MouseEvent.CLICK, gotoMain4)
                gotoAndPlay(5)
    If you want to see the actual SWF for a better visual at what I'm doing, you can see it here:
    http://www.denevi.com/services.html/memorial_tribute.html
    Scroll down to the Flash object, it says "Memorial Tribute Samples"
    Bonus question while I'm here:
    I have the videos streaming, and am not sure how I could get the FLV videos to stop playing when I click the flash's "Return to Samples" button. Right now, the users would have to pause the video if they don't want it to play in the background as they go back to the first frame.
    Any help would be appreciated!

    Thanks for the response.
    Actually, I came to the bottom of this and found that for some reason, Flash CS4's acting a little strange. I have another computer at my disposal with CS3 loaded on it. So I back-saved my project, loaded it in CS3, exported, and all of the buttons worked without any errors. So I'm not quite sure why my CS4 didn't like the code.
    And thanks with the FLV stop code, I got that figured out and works. Thanks,
    -Billy

  • 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

  • I am trying to link slides, a specific slides to specific lines. Every time I attempt to link, Keynote automatically links me to slide 10, despite my attempt to link to a slide other than slide 10

    I am trying to link slides, a specific slide to a specific slide. Every time I attempt to link, Keynote automatically links me to slide 10, despite my attempt to link to a slide other than slide 10; any ideas why? Thanks

    create a shape on the slide   e.g. a circle
    right click the shape and select Add Link
    make sure you select a specific slide number (don't select first previous or next)

  • How link from html page to a specific frame in flash cs5 as3

    Hi!
    I'm kinda new around here. I am interested in knowing how to link from a specific html page to a specific frame in flash cs5 as3.
    I have a website that I originally began to design in flash but later started developing new pages for it in html. The flash part of it has several pages on different frames and I have created links from the flash part to the other html pages, but, I can only link the html pages back to the main flash home page, and not the other pages in the flash part of the website.
    I have read that in cs3 it was possible using the flashvars skip variable, but I don't know how to do it. I have not yet seen any working examples and I could not find any instructions / tutorials online for cs5.
    Can someone help here?

    add a query string, to the swf's embedding html, with variable/value indicating the frame you want to display in your swf.  add a javascript function to return the query string (or entire url), call the javascript function from flash using the externalinterface class.  and finally add code to your swf to parse the returned url or query string, parse it and then direct your timeline to the appropriate frame.

  • Using Actionscript 3, how do I code a button in a parent file to load at a specific frame in another swf file?

    Using Actionscript 3, how do I code a button in a parent file to load another swf file at a specific frame?

    You can either place the loading code in the desired frame of the parent file, or continuously monitor the currentFrame proiperty of the parent file and do the loading when the value matches the desired frame number.

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

  • Create a Button that Opens a Specific Web Link from a Dropdown Box

    Hi guys.  My main question is, how do I make a Button that opens a specific Web Link, depending on the URL selected in a Dropdown box?
    Example:
    I'm a comlpete newbie and need a code sample of how this would work!  Thanks!
    I have a couple other questions which are related to this. 
    1) Is it possible to hide the URL in the Dropdown list, and only show the Name, so for examlpe, it would only list Hotmail, Gmail, Yahoo, and not the www....com?
    2) Another more advanced question is, once the web link is opened, is it possible to have adobe input or fill-in the Login and Password fields into the website and then hit "Enter" for you.  The Username and Password would be stored somewhere in adobe and would depend on the weblink opened. So for example: When you open Hotmail, it would use the following; Username:[email protected] and Password:password1, but if you opened Gmail, it would use a different Username and Password stored for Gmail.
    3) Finally, out of curiousity, is it possible to have adobe extract data from a website, and fill them into an adobe form?  This maybe over my head, but any starting point or examples would be of great help!

    Use something like this as the button's MouseUp action:
    app.launchURL(this.getField("URL Dropdown").value));
    To answer your other questions:
    1) Yes. Place the URL as the export value of each option, and the name of the site as the display value. The code I provided can remain the same.
    2) No.
    3) Might be possible, but it's very tricky. The way to do it would be to convert the website to a PDF, process that PDF to extract the data from it, and then use that to populate the form fields. That would require quite advanced scripting knowledge, but it could be possible.

  • Link to specific frame from URL

    I have an embedded flv.
    I want to create links (html, xml, etc) to all me to jump to
    specific frames of my embedded flv.
    Anyone know how to do this? I'm very new to flash, so
    specific examples would be very helpful.
    Thanks,

    I have an embedded flv.
    I want to create links (html, xml, etc) to all me to jump to
    specific frames of my embedded flv.
    Anyone know how to do this? I'm very new to flash, so
    specific examples would be very helpful.
    Thanks,

  • IE11 can't post form data to specific frame or window dialog opened via window.open()

    Hello,
    Form POST targeting to specific frame or dialog popped up via window.open() no longer works in IE11.
    It worked fine in IE10 and all previous versions of IE.
    Please see screenshot attached with simple test that reproduces this problem.
    Direct Link to screenshot:
    http://173.231.98.44/cgi/TestFolder/IE_11_widow_frame_targeting_BUG.jpg
    Direct link to simple test page demonstrating this problem:
    http://173.231.98.44/cgi/TestFolder/page2.asp
    Note: IE11 doesn't report any errors, doesn't complain about anything, even when debugged via F12 developer tools. The only thing it complained initially was missing doc type declaration on top of page, but even after adding doc type definition, problem still
    persists, makes no difference.
    I tested this on fresh install of Windows 2012R2 while testing our web application with the new IE11.
    I believe doing this on Windows 8.1 with IE11 will result in same bug/problem.
    Our web application uses a technique whereby it launches a popup window via call to window.open(), passing blank URL and specifying a name for the new window. It then does a from post targeting the name of new dialog.
    In IE11 this functionality has been broken and no longer works.
    Problem is that IE11, instead of posting form to the newly created dialog, it launches a new instance of IE and then loads the requested form in this new instance of IE, while the dialog launched via window.open() remains on screen and is empty. If user repeats
    launching same form post request (via button click for example), IE 11 keeps creating new empty dialogs and new IE instance for every form post executed. This totally breaks our application because we use many so called "wizards" that encapsulate
    specific functionality in separate web page launched in a popup window.
    Another related problem is that if a dialog is launched with window.open(), the java script code in the dialog can not target the parent frame that opened the dialog anymore. In our application, when a dialog is closed, it typically needs to trigger a refresh
    of a specific frame within the parent window (again targeted by name) to reflect saved/updated info that user entered in the popup dialog. The result is that we can't refresh the parent frame after the pop up dialog closes. Instead, IE11 launches
    a new instance of IE (not just a tab, but a whole new instance) and loads the parent frame in it.
    The problem seems to be caused by broken frame name targeting mechanism in IE11.
    Note that we force IE to compatibility mode 5, but even without specifying any compatibility, the problem remains.
    Typical java script to reproduce this is:
    <input type="button" onClick="Popup(this.form);" name="btn2" value="Popup Dialog">
    function Popup(f){
        window.open("","MyNewDialogName","width=200,height=150");
        f.action = "page3.asp";
        f.target = "MyNewDialogName";
        f.submit();
    Expected: IE11 should correctly post form to and load targeted page in the newly popped up dialog, without opening new IE instance and new tab. Repeatedly posting form to existing popup window should reuse that window, not keep on launching more popup windows
    and then more IE instances.
    Steps to reproduce the problem (include URL if applicable):
    URL with sample page: http://173.231.98.44/cgi/TestFolder/page2.asp
    1) Create page1.htm: <html><body>display "I'm in a popup window now ..."</body></html>
    2) Create page2.htm with a button and onclick() event calling function to open dialog, and do form POST targeting new dialog calling page1.htm, like below.
    <input type="button" onClick="Popup(this.form);" name="btn2" value="Popup Dialog"> function Popup(f){
        window.open("","MyNewDialogName","width=200,height=150");
        f.action = "page1.asp";
        f.target = "MyNewDialogName";
        f.submit();
    3) Open IE11, navigate to page2.htm, click the "Popup Dialog" dialog button. IE 11 will popup the new dialog, but then it will also launch new instance of IE11 and display the page1.htm in it, instead of in the popup dialog.
    Has anyone else encountered this problem?
    Any insight or help is appreciated.
    Regards
    Peter

    the default action of <input type="button" is submit. Note also that the default type of <button> elements is 'submit' also.
    add a return false to the onclick inline event handler (which constructs the form submit attribues) to cancel the default form.submit behavior.
    form elements have a target value with which you can specify the name window into which you want the form to open in.
    <form action="process.aspx" target="popup">
    you can use the window.open method with a query uri to achieve the same outcome.
    window.open('process.aspx?s=search+term&amp;foo=bar','popup',{features})
    the outcomes of all scripted windows are affected by
    your IE Popup blocker and tabbed browsing settings
    which in turn is affected by your IE Security zone settings (for popup blocking handling)
    and the settings of any third-party popup blocker you may have installed and enabled... it may not necessarily be visible on your browser toolbar.
    The first step in troubleshooting web browser issues is to test in no-addons mode.
    Use the Developer Tool to find out what documentMode the test page is opening in on your system. On Modal/Modeless popup windows use the f12 key to display the Developer tool positioned on the contentWindow.
    Use File>Properties to find out what IE Security zone it maps to... there is a security setting to prevent navigation into zones of lower integrity.
    Rob^_^

Maybe you are looking for