Swf link to root?

I have a button in my main file (Interiors-02.swf) in Scene
1. When I click it it loads an outside swf (buttons.swf) into a
blank movie. This movie has 10 buttons. What I want is for when I
click one of those buttons to go to Scene 2 or 3 in the main file
(Interiors-02.swf) Can I do this and what would the code be for the
button?

Syntax errors:
AS 2: _root.gotoAndPlay("scene 2");
AS 3: MovieClip(root).gotoAndPlay("scene 2");

Similar Messages

  • SWF linked by reference in FM does not update in RH when FM files are updated

    Hi all, using TCS2 on WindowsXP.
    I have a FM book with a Captivate SWF linked by reference. When I link my FM book into RH, all works nicely. But here's the catch - when I change something in my Cativate project and re-publish the swf (to update the old swf), although the FM SWF updates to the new one, RH does not. The SWF found in RH is the one from the original instance of linking the FM book.  This is an issue as it seems to be hampering my 'single sourcing' world.
    Any thoughts?
    Thanks,
    Adriana

    HI there
    Are you able to just delete the SWF from RoboHelp? I'm thinking that if you could do that, the SWF would simply have to update from FM as it wouldn't be found any longer.
    I do realize it's a kludge and things should simply just *WORK*, but we do live in an imperfect world.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • SWF linked to FLA

    Hello,
    I'm using Director 11.5 and I have a movie which uses several FLA files. For performance, I've imbedded the FLA files in a SWF file and then imported the SWF into Director. If I put the source FLA file in the same director as my Director movie, everything works fine. However, it I put them in a subdirectory it stops working. All I get is a black screen.
    I've tried setting the searchpathlist and appending my FLA directory but it still doesn't work. Does anyone have any ideas?
    Worst case, I could put everything in the root directory but I'd like to keep things more organized than that.
    Thanks in advance for your help!
    Todd

    I find that the best way to work with SWFs inside Director whilst retaining links to the source FLA files is as follows:
    - Import the SWF into Director. Fully embed smaller SWFs, but if it's a large FLA you may want to consider linking to the external SWF file (making sure it's located in a the same path as your Director movie, or a subpath of the movie).
    - In Director, select the new SWF cast member and select the Flash tab on the member inspector. Here you can tell Director where the source FLA is stored by clicking the browse button on the lower portion of the tab - the FLA can be located anywhere on your filesystem (I normally keep them external to the Director movie's path structure so that there's no risk of accidentally including them in the published package).
    - To make changes to your SWF either double-click its member (as Sean_Wilson points out), or select the member and press the "Edit" button in the member inspector. Either will cause the FLA to open in Flash, and for Director to be "blocked" by a modal dialog box that says "Editing in Flash etc.etc."
    - In Flash you can make your changes and then hit the "Done" button (located below the timeline in CS4 - don't know where it is in CS5). When you press "Done" several things will happen: The changes to the FLA will be saved and a new SWF will be produced that will automatically replace the one embedded in (or linked to) Director.
    - If you want to cancel the changes you make to the FLA then just close the FLA (choosing not to save the changes), return to Director and click "Cancel" on the "Editing in Flash etc" dialog box.
    As a workflow it works perfectly, and there's no need to embed FLAs inside a SWF.
    As-for losing links to your SWFs - this won't happen if you fully embed them in Director (rather than linking to them), and this is the method I favour for smaller SWFs. If you are linking to them rather than embedding them, then you should update their links in a prepareMovie or startMovie movie script like this:
    on startMovie
         --determine the host's native path separator character and assign it to pathSep variable
         if _system.environmentPropList.platform contains "mac" then
              set pathSep = ":"
         else
              set pathSep = "\"
         end if
         --update the filename references for linked members...
         member("MySWF_1").filename = _movie.path & "swfFolder" & pathSep & "MySWF_1.swf"
         member("MySWF_2").filename = _movie.path & "swfFolder" & pathSep & "MySWF_2.swf"
         --etc.
    end
    This way the members will always point the correct SWF files, no matter where you move the program folder, or if you rename of folder or whatever. Whether this will fix the problem when the SWF contains embedded FLAs I don't know - I've never tried working that way.
    Finally, if you embed your SWFs into Director (rather than linking to them) then it can sometimes be a good idea to place their members into a linked external cast, thereby giving you an easily reusable library of Flash-based assets (which is possibly what you are trying to do by embedding FLAs into a SWF). This also keeps your SWFs external to your main movie, resulting in a smaller projector.
    Hope that helps

  • Swf link not working in Firefox, Opera and Internet Explorer but works in Safari

    Hi,
    I'm sorry but Im a real newbie and really need help!!!
    On the homepage of my website I have put a swf file that I linked to another page in my website through the div a href link and it displays great on safari and links, however in other browsers, when i try to click on it, it comes up with the link at the bottom of the browser (where it sometimes says Done), however it doesnt actually link, it jsut stays on the homepage.
    Here is the coding i put in:
    <div id="products2">
              <p>
              <a href="Our_brands/index.html">
                <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','449','height','449','title','Products','src','Productions/boxes3','quality','high','p luginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=Shockwav eFlash','movie','Productions/boxes3' ); //end AC code
              </script>
                <noscript>
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="449" height="449" title="Products">
                  <param name="movie" value="Our_brands/boxesnew.swf" />
                  <param name="quality" value="high" /><param name="SCALE" value="noborder" />
                  <param name="allowScriptAccess" value="always"/>
                  <embed src="Our_brands/boxesnew.swf" width="449" height="449" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" allowScriptAccess="always" scale="noborder"></embed>
                  <br />
                  <br />
                </object>
                </noscript>
              </a>
              </p>
            </div>
    Could someone please tell me where I am going wrong?
    I would REALLY appreciate it.
    Thank you in advance!!

    I'm doing it for a client and they dont want it put up on the server yet, I wish I could put it up bc I have no idea what I'm doing!
    Basically I wanted a swf file from Flash to display a range of products (I have turned all the products into buttons) and then I put coding into all the buttons to on release getURL which work in the swf file, however when I put the swf file into dreamweaver, the buttons worked in hover state, but the action scripting didn't work to link the swf file to another page in the website (the index in Our_brands folder).
    So i decided to make it link to the index.html in Our_brands folder from wrapping the swf box in a div tag and linking the div tag <a href="Our_brands/index.html"> which links it great in Safari but wont link in Firefox, Opera and Internet Explorer.
    Does that make any sense?
    Sorry if it doesn't.
    Thanks for the quick reply as well!!!

  • Get name of swf linked to an as file

    Sounds simple enough. I have a number of swfs (quiz01.swf, quiz02.swf.....) all linked to one quiz.as file. The quizes in turn are loaded by another swf, Main.swf. I need to get the name of the specific quiz that is loaded, so I can identify an external xml file.
    Tried using the "loaderURL" in the as, but it gives the name of the Main.swf. How can I just get the name of the swf that is associated with the quiz.as file?  Been working on this a long time and would appreciate any guidance.

    that's not possible to determine with the info you've given.
    but, for example, if you have a loader (say ldr1) on the main timeline of swf1.swf (that loads your quiz) and swf1.swf is loaded into your main swf using ldr, then when loading is complete (for both loaders), you can use:
    MovieClip(ldr.content).ldr1.contentLoaderInfo.url;

  • Using loadMovie to load SWF linked to FLV

    I am having problems getting a movie (SWF) with an linked FLV
    file to play when I use loadMovie to load it in.
    I have an .FLV file named vid_9.flv. I have embedded it into
    a Flash movie named vid_9.swf using Flash 8 Professional. I am
    using "Progressive Download from a Web Server" and no controls.
    When I play the SWF on the stand-alone player (the FLV is in the
    same folder) it works great. Now when I call that SWF into another
    movie using
    swfHolder.loadMovie("SWFs/vid_9.swf");
    it shows it being completely loaded, but then never plays,
    all I get is a white screen. This is my second project in a row
    where this did not work. Any ideas as to why? Thanks for any
    help.

    onLoadComplete executes before the loaded swf's assets are initialized:  use onLoadInit.
    those function definitions in your loaded swf should NOT be in an onLoad method.  if they are defined on the main timeline of the loaded swf, use:
    var url:String = "scene05.swf";
            var movieClip:MovieClip = createEmptyMovieClip("movieClip", 0);
            var listenerObj:Object = new Object();
            listenerObj.onLoadInit = function (target_mc:MovieClip):Void {
                //It should execute these functions that are located in the onLoad event in the loaded swf.
                target_mc.initBackground();
                target_mc.initBackgroundWeg();
                target_mc.initVehicles();
                target_mc.initForeground();
                target_mc.initKnoppen();
            var movieClipLoader:MovieClipLoader = new MovieClipLoader();
            movieClipLoader.addListener(listenerObj);
            movieClipLoader.loadClip(url, movieClip);

  • .SWF Links work in Preview, but not in Browser

    I'm sure this question has been asked plenty of times before, but i can't seem to find the answer. I have created an advertisement with Flash CS6, Actionsript 2.0 (because it has a pageflip). When i test the file on my computer I can click on a Button that I created and it pulls up a webpage. If I upload that same .SWF file to the webserver, the button doesn't work. I have adjusted the Publish settings so that Local playback security is set to "access network only", and still it does not work.
    Any help would be greatly appreciated.
    Thanks
    TK

    Hello!
    Thank you for checking my pages. I did clear the cache. Updated software. Repaired permissions. Rebooted (a million times). I also made sure I had no overlapping graphics. The problem appears to be on the pages linked from This Week (in the navigation bar), the pages are Probability and Measures of Central Tendency. The links are in Text Boxes with frames on them.
    I tried viewing the pages using Safari on my iBook, on an iMac using Safari and on a PC using Firefox. I get the same links not working. It's just odd that they appear to function "normally" in iWeb. I was hoping I did something dumb that I could fix quickly. If not, I'm having to do the pages over.
    Your suggestions are greatly appreciated.

  • My Flash .swf nestled under my CSS, .swf links not working

    I added some links in actionscript in my swf file and they work great but once inserted into my Dreamweaver file under my CSS the links are not responding. I know that I had to set up the CSS so that the .swf would fit into a desired shape but is there a way to have the links work above the CSS while still looking the way it does?
    http://grizzlyutah.com/Grizzly_Graphics_Test

    Hello Scott,
    I'll try it once more, 'cause I want to understand AND learn. I used your swf file in my new testside:
    http://dala-laegret1963.de/FlaSwfGrizz.php
    and linked it, as you can see if you move with your cursor over the swf file. You will see the description:
    "Grizzly_Graphics.swf with link to http://www.grizzlyutah.com/Grizzly_Graphics_Test/products_trade_show_graphics.html".
    When you now click into your swf file "Grizzly_Graphics.swf" you will be conducted to your
    http://www.grizzlyutah.com/Grizzly_Graphics_Test/products_trade_show_graphics.html.
    My other two buttons - which can be integrated into a website - I've left in their function as an example, if you/one needs more links.
    Hans-Günter

  • Flash SWF link opening Dreamweaver

    I have created a simple Flash movie that loops three logos. I
    want visitors to be able to access each respective website as the
    logos cycle through, so I have linked each logo to each company's
    website. However, when I play the SWF movie and click any of the
    links, Dreamweaver opens and nothing else happens. Is this a Flash
    settings problem? A Dreamweaver settings problem?
    I did get a message that said that Adobe Flash Player had
    stopped a potentially unsafe operation, but when I clicked the
    "Settings" button to change the settings, it opened Dreamweaver
    again!
    Anybody know how I can fix this?
    Thanks for your help.
    Doug

    Hi Doug
    Not sure why Dreamweaver keeps opening, but have you tested
    the links after first copying the output files to a web server?
    I ask because the behavior from a server is often different
    from that of running locally.
    Cheers... Rick

  • Flash SWF links open Dreamweaver

    I have created a simple Flash movie that loops three logos. I
    want visitors to be able to access each respective website as the
    logos cycle through, so I have linked each logo to each company's
    website. However, when I play the SWF movie and click any of the
    links, Dreamweaver opens and nothing else happens. Is this a Flash
    settings problem? A Dreamweaver settings problem?
    I did get a message that said "Adobe Flash Player had stopped
    a potentially unsafe operation...", but when I clicked the
    "Settings" button to change the settings, it opened Dreamweaver
    again!
    Anybody know how I can fix this?
    Thanks for your help.
    Doug

    Upload the file and test online, it will be fine. It's
    because html files are probably set by default to open in
    Dreamweaver.

  • SWF links won't open in Dreamweaver preview

    Hi,
    I'm kinda new to flash and feeling my way around things, but I've run into a snag and haven't found an answer on any forums yet.
    I've created a navigation bar for a website using movie clips with nested animation and I made those movie clips links to different pages in my website.
    When I preview the file in Flash CS3, the links work fine. However, when I preview the SWF file in the the webpage built in dreamweaver, the links won't act like links anymore.
    This is my code to handle the link:
    var urlRequest:URLRequest =
        new URLRequest('iengine.html');
    ielink.addEventListener
        (MouseEvent.MOUSE_UP, gotoLinkHandler);
    function gotoLinkHandler(evt:MouseEvent):void{
        navigateToURL(urlRequest,'_self');
    Am I making a common mistake? Or is there something else I need to help flash integrate with dreamweaver?
    Thanks so much for any help!

    You need to name the links in the Flash file as if it were living in the same folder as the html file that holds it... essentially because when you load it into that file, that file becomes its relative reference for loading/targeting.

  • Trying to get an .swf link to display in a new window

    Hi everyone,
    I recently received some links to Captivate videos for a
    webhelp project I'm working on (RH Office X5.02). I can link from a
    topic to the .aspx wrapper file and get the wrapper with the
    associated flash files to display in a separate window without any
    problem.
    However, when I try do the same thing (get the link to open
    in a new window) by linking directly to one of the .swf files
    associated with the wrapper, RoboHelp tells me I can't do it. The
    Flash file displays within the content pane, the text appears much
    smaller (but not illegible), and since it didn't resize to fit
    within the pane, the information on the right of the video appears
    "cut off". Fortunately, most of the information appears to be on
    the left side. I would REALLY like to get this Flash file to open
    in a separate window.
    Any ideas on this one? My Captivate expert suggested that I
    could try linking to the .htm file that's associated with the .swf,
    and I'm going to try that next, if no one else has any ideas.
    Thanks,
    Jim

    Hi all
    @Jim - You might want to do this by using a Redirect page.
    Since the redirect is a HTML page, you could then open it in a new
    window as desired. Then the redirect handles opening the .SWF.
    @Cindi - Actually, inserting Captivate content in RoboHelp
    topics is quite simple. You just click the Captivate icon in your
    toolbar (or click Insert > Captivate) and point at the .SWF
    Captivate created. RoboHelp will then create the appropriate code
    to insert the Captivate into your existing page.
    To both/all - Captivate normally creates a few different
    files when it creates output. Another approach is to simply import
    the Captivate created HTML page designed to present the Captivate
    content. Then link to it as you would any other HTML page in
    RoboHelp.
    The links below may help. Although they were created when
    RoboHelp X5 and Captivate 2 were dominant, most of what they cover
    still applies.
    Link
    one
    Link
    two
    Cheers... Rick

  • SWF  link in InfoView

    Hi Experts,
    We have a dashboard developed and exported into CMC, now i want to give this dashboard for users through the InfoView.
    When user login to infoview , it should appear automaticly.  What is the best way to do it ? if i use the corporate dashboard and set to home preference, it is not showing in full screen, i want the dashboard should be seen in full screen.
    please guide..
    Regards,
    Suresh

    Hi Suresh,
    In Home Page with Preferences we can do this also.
    In Preferences>General>InfoView Start Page>Then Select Folder radio Button>Browse Folder .Here it ll show you the available folders, give the folder where you have stored the Dash board.
    Then Go to Document Viewing -->In a single full screen browser window,one document at a time.
    With this way ,i think the user can can see the dashboard in full sceen mode.
    Thanks & Regards
    Venkat

  • Linking SWF to SWF

    Hey all,
    so i've just finished creating a flash advertisment for a
    college project, although i originally thought i would be linking
    file url's in order for the buttons within each swf to link to one
    another. however now i'm facing problems what i wish to do is link
    swf files to one another so they will open in the same window or
    "_self" e.g. "index.swf" links to "gallery.swf" through the
    gallery.mc or btn. can anyone help me out here. many thank:)

    (that's assuming that statement is on the main timeline of
    the current swf. otherwise, use
    _level0.loadMovie("gallery.swf");

  • Is there a way to change the path of the Skin and FLVPlayer .swfs in Dreamweaver?

    Hi! I have a simple question that I can't seem to figure out.  I know how to insert an flv via dreamweaver and it is very simple
    see the code --
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="205" height="250" id="FLVPlayer">
        <param name="movie" value="FLVPlayer_Progressive.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="scale" value="noscale" />
        <param name="salign" value="lt" />
        <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Clear_Skin_1&amp;streamName=flash/flashvid eofile&amp;autoPlay=false&amp;autoRewind=false" />
        <param name="swfversion" value="8,0,0,0" />
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="FLVPlayer_Progressive.swf" width="205" height="250">
          <!--<![endif]-->
          <param name="quality" value="high" />
          <param name="wmode" value="transparent" />
          <param name="scale" value="noscale" />
          <param name="salign" value="lt" />
          <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Clear_Skin_1&amp;streamName=flash/flashvid eofile&amp;autoPlay=false&amp;autoRewind=false" />
          <param name="swfversion" value="8,0,0,0" />
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object>
    The question I have is... How do you change the path settings for the 2 required swfs (the skin swf and the player)?  I would ideally like to have all my flash components including the skin swf and the player swf in the same folder as the flv (rather than have the swfs in the root of the same folder as my html doc), but everytime I try to adjust the path settings of the swfs in the above code I get a white screen.
    hope this makes sense and is not confusing...
    Any suggestions?
    Thanks
    -Brian

    Hi Cashmoneydonuts,
    You can create an animation for this using Edge Animate, and add it to Muse.
    The following link might be helpful:
    Liven up Adobe Muse CC sites with animated effects | Adobe Inspire Magazine
    Regards
    Sonam

Maybe you are looking for