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

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

  • Beginner Question re: SWF files and FLA files

    Hi,
    Im new to flash. I have some templates (in FLA format with all supporting files...xml; html; and the swf file). When using html templates, I can modify the content easily by simply adding or changing the text <p>original text</p> to <p>steve custom text</p> and so on.
    My issue is Im trying to modify the content of the fla files into a new swf file but do not know how to access the text, background or images the tempalte is currently producing. The timeline at the bottom doesnt show objects and their timelines like the basic tutorials show me.
    Is there a way to access the content of of an fla file or perhaps the content of an swf file? I think the swf file is like a jpeg coverted from RAW, meaning its the end product and the source file is where the modify is done.
    Am I swimming in the deep with sharks?
    Thanks!

    hmm..so if the template ive downloaded depicts a green ball bouncing across an orange  background(swf file). The objects (green ball) and the background (simply overlay colored orange) is embedded into the FLA AS3 code?
    not necessarily.  they could be created with code, they could be created with the tools in the fla and they could be loaded bitmaps.
    To be clear these objects (in my example: ball and background) are not external jpegs (or similar file type like png) which I can open, edit, then allow the code to access and utilize the new object. For example, change the ball into a square and changes it color to purple and then change the background to pink via PS or illstr.
    In short, Im having trouble trying to find the objects which are being manipulated by the code. My current perspective with templates is to modify the image or text by accessing the files delivered with the template. If the .html commands to place image221.jpeg in certain div, I would just open the images files, find image221.jpeg, modifiy the image and then save it as image221.jpeg. Of course I can create a new image save it as steve123.jpeg, save it to the images folder and then modify the code to access the new file by using its new name.
    This is what Im trying to accomplish with my flash template but cant find the source objects .
    Im getting the impression this cant be done.
    that's almost certainly incorrect.
    My final question is then, where are source images or text or movie files stored?
    noone can say without direct inspection.
    Is it possible they are on third party servers on the web?
    no
    Are they imbedded in the code?
    maybe yes, maybe no.
    I can only assume if they are stored on my drives (in an external format) that I would be able to access them.
    correct.  more specifically, they would have to be in the directory with your embedding html and swf or a subdirectory.
    If however, they are on a a third part web site or embedded into the code, then I may be in way over my head.
    you can assume this is not the case.
    so, open the fla in flash.  click control/test.  click view and make sure bandwidth profiler and streaming graph are checked.  you should then be able to see the main timeline as the swf plays.  note the main timeline frame where you see the object(s) you want to edit. 
    close the test environment and go to that main timeline frame and start sleuthing to see if the objects were created in flash.  you can also click on the first object in the library and arrow down looking for the object(s) you want to edit to see if they were created without code.  if you find them, note their library name and possibly linkage id or class.  use movie explorer to search for those names.
    but, to be sure, it can be very difficult to edit templates.  i've not seen one yet that was made by a competent developer and i've worked on dozens of them.

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

  • Need Help Loading SWF in a FLA

    I simply want to call a swf into an existing fla. I have
    tried everything. When dragging the timeline, you see the swf. When
    you preview, it is not there. Background - I have an exisiting fla
    that contains the image background for all. I want to set a
    transparent carousel menu on top of the background that is in the
    fla and leave the existing background and lower objects in place.
    The carousel.swf will need to call java and an xml file on the web
    server.....all external to the "summed" final. If I could layer
    flashed in DW, then the problem would also be solved. Please be
    detailed, I am obviously not a developer.

    although I'm not certain why you would not just 'place' the
    background 'image' on the stage in the fla (probably because you
    wish to change it dynamically down the road) - you need to 'load'
    the swf, not 'place' it within the other file. you do this with the
    MovieClipLoader class.
    with the swf that you wish to load in the same directory as
    the swf of the carousel file, place something like the following in
    the first frame, on a layer called actions, in the actions panel:

  • 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

  • Unable to convert swf files into fla files

    Hi,
      I tried using Dreamweaver to convert a SWF file into a FLA file so I can edit it in CS 5.  But when I right clicked the placeholder for the file, it doesn't have an "Edit in Flash"  option. What am I doing wrong?
    Thanks very much,
    Rosemary    

    According to http://help.adobe.com/en_US/flash/cs/using/WSd60f23110762d6b883b18f10cb1fe1af6-7f12a.html# WSc78c5058ca073340dcda9110b1f693f21-7acf
    asset is reflected in Flash immediately. 
    Edit a SWF file from Dreamweaver in Flash
    If you have both Flash and Dreamweaver installed, you can select a SWF file in a Dreamweaver document and use Flash to edit it. Flash does not edit the SWF file directly; it edits the source document (FLA file) and re‑exports the SWF file.
    In Dreamweaver, open the Property inspector (Window > Properties).
    In the Dreamweaver document, do one of the following: 
      Click the SWF file placeholder to select it; then in the Property inspector click Edit.
      Right-click (Windows) or Control-click (Macintosh) the placeholder for the SWF file, and select Edit With Flash from the context menu. 
    Dreamweaver switches the focus to Flash, and Flash attempts to locate the Flash authoring file (FLA) for the selected SWF file. If Flash cannot locate the Flash authoring file, you are prompted to locate it."
    But I don't see "Edit with Flash" option.  Maybe because I have a trial version of Dreamweaver?

  • 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

  • Software to change .swf back to .fla

    Hi,
    I am wanting to compless a .swf file that I have, however I
    have lost the original .fla file, I don't think there is a way to
    compress a .swf file so I presume I need a .fla file? I was
    therefore wondering is there was any free/relativley cheap mac
    compatible software available that can change the .swf file back
    into a .fla?
    Thanks in advance for your help,
    Beth H

    When you say "memory", do you mean the memory it takes at
    runtime (as in RAM)? Or are you simply
    referring to the file size (how much disc space it uses)?
    Do you have the FLAs?
    ~~~~~~~~~~~~~~~~
    --> Adobe Certified Expert
    --> www.mudbubble.com
    --> www.keyframer.com
    ~~~~~~~~~~~~~~~~
    befh wrote:
    > Ah... sorry. Thanks for clarifying that.
    >
    > What I mean is I would like to make the swf file take up
    less memory... I do
    > not mind if it looses quality, but just now it is far
    too large in size, Im
    > having the same problem with a flash animation I have.
    (I have posted a
    > different topic about it as the title of this one does
    not allude to that
    > question) I created these animations whilst at
    university and they are both
    > very large in size. I now need to put them on my website
    and they are to large
    > for my server to upload, (serveral megabytes) and I wish
    to decrease the
    > quality of the animations in order to make theirsize
    smaller.
    >
    > Thanks
    >
    > Beth
    >

Maybe you are looking for