Problem Playing Multiple SWFs in Dreamweaver

so my problem is this......
In my flash Document I have One main SWF and two other SWF's
that load onto a different layer in the main SWF. Everything works
great in Flash and Dreamweaver when I preview in Browser but when i
upload to the web it doesn't function. Am i doing something wrong?
I made sure all files were in my root folder and that they were
uploaded to the server.

you probably didn't upload the "scripts" folder that DW
creates when you
insert a flash video (which is understandable, since the only
place
where that's mentioned is here, when people come to ask "why
won't my
flash video work?!" which happens probably daily....even i
did it!).
so check that. if that's not the problem, you should probably
post a link.
PCL_Jennifer wrote:
>
> so my problem is this......
> In my flash Document I have One main SWF and two other
SWF's that load onto a
> different layer in the main SWF. Everything works great
in Flash and
> Dreamweaver when I preview in Browser but when i upload
to the web it doesn't
> function. Am i doing something wrong? I made sure all
files were in my root
> folder and that they were uploaded to the server.
>
>

Similar Messages

  • Play multiple .SWF in sequence

    I have two swf files that I would like to play in sequence in a main  flash file.  The two swf files are partA.swf and partB.swf. I set up two  frames using this actionscript 3 snippet:
    Frame 1:
    Code:
    var partARequest:URLRequest = new URLRequest("partA.swf");
    var partALoader:Loader = new Loader();
    partALoader.load(partARequest);
    addChild(partALoader);
    Frame 2:
    Code:
    var partBRequest:URLRequest = new URLRequest("partB.swf");
    var partBLoader:Loader = new Loader();
    partBLoader.load(partBRequest);
    addChild(partBLoader);
    I made sure to set new loaders that  correspond to it's proper swf file. So partA.swf goes with partALoader  and partB.swf goes with partBLoader.
    I noticed that individually they work great. If I just set up frame 1 or  frame 2 by themselves, the swf file plays. When placed together,  however, either frame 1 plays without going to frame 2 OR frame 2 plays  by default without playing frame 1 first.
    How can I get this to work properly in sequence?
    Just to break things down, this is how I would like the set up.
    1. Play frame 1 which plays partA.swf,
    2. Stop when finished and go to frame 2 which plays partB.swf
    3. Stop movie, no need to loop.
    4. Would like to have option for adding more swf files
    I don't use flash much, so guidance with code is much appreciated. I  would think this is a simple task, but searching for a proper solution  hasn't been successful.
    Also just to clarify from previous searches and posts I looked at: I am  not using buttons, and this is using actionscript 3.0 not 2.0, and this  is using only .swf files.
    Thanks a bunch

    Here's a nice trick that Andrei1 taught me  a week ago or so that should sort out your problem:
    On the last frame of partA.swf, you could dispatch an event, like so:
    dispatchEvent(new Event("advanceParentTimeline"));
    Then, in your parent movie on the frame that partA gets loaded, you can listen for the text, like so:
    stage.addEventListener("advanceParentTimeline", onTextRequest, true);
    Add the following function to the same frame with the listener mentioned above, and if your parent movie hears that text, send your movie to frame 2, like so:
    function onTextRequest(e:Event):void {
         gotoAndStop(2);
    Hope that helps,
    ~Chipleh

  • Problem playing an swf file created in Bridge

    Hello everyone
    I have created an web gallery using Bridge and tried playing a swf file containing the slideshow with no luck. When I double-click the file, it open an Adobe Flash Player window but a spiral appears at the centre and just keeps turning. Because my intention is to upload the swf file to a website, I really need to get the file to play the slideshow.
    Has anyone succeeded in making a standalone swf file using Bridge or any other Adobe product? If so, please let me know how to.
    Thank you,
    Pom

    Henk,
    I'm not on 3.0 so I can't help you out, but I would suggest re-posting on the Enterprise Administration portion, perhaps it'll get more notice there for a resolution.
    Thanks,
    John

  • Problems playing a SWF in PowerPoint

    I insert a SWF in PowerPoint and it loads and plays perfectly the first time. I close and save the presentation as it is to my liking. When I re-open the presentation the SWF file is still on the slide, however, it will not play. How do I fix this?

    Adobe creative site has the functionality to embed swf files into PowerPoint. So I don't care if its not a good idea. I just want to know the issue.
    Sent from my iPhone, please excuse any brevity or misspellings.

  • Problems with multiples swf

    HI ALL,
    I am writing a script to communicate between flash and Visual
    Basic.
    My main problem is that my swf is composed of two swf : Clip1
    which contains clip 2.
    and when I want to get a variable of clip 2 (getVariable
    function) : i get a communication error
    Code in clip 1 to load clip2 : loadMovieNum ("/clip2.swf",
    1);
    Inside clip 2 I define a variable abc that I want to access.
    Abc is declared in clip 2 at _level0
    Does any one have an idea on how to access level from the
    first swf clip 1 ?
    Thank you .

    Thanks. Some error reporting would be nice too in the event
    that it times out. I think I've fixed it on my side though. My code
    was checking right away after getting the load event from air.swf.
    I changed it so that it starts a timer after getting the load and
    checks every 5 seconds until it finds my AIR app. This seems to
    work since if it doesn't work the first time it works the second.

  • Problem with multiple .swf in the same page

    Hi everybody,
    I got a small animation written in actionscript 2.0. I need
    to load it several times in a webpage (about 20 instances), but
    seems to be too many work and the web browser freezes.
    Anyway, it's a relatively simple script (not complex
    arithmetics per cycle, although two or three color gradient
    refreshing), so I think the problem could be the fact of having so
    many instances running at the same time...
    Is there any way to fix this problem without reducing the
    quality of the animation?
    Thanks a lot!

    Sorry Kglad, I didn't mean to be rude. With "No coding
    errors" I meant the animation itself runs with no errors. I'm sure
    you could run the 20 instances with no freezing (that's why I put
    the post :) ) But I'm affraid it is an animation for a client, so I
    cannot distribute the code.
    Perhaps I didnt explain the situation clearly enough (in part
    because of my poor english...).-
    - By 20 instances I mean 20 separated embedded objects in the
    html
    - The animation is relatively simple. A turned on candle, in
    each cycle I calculate the next position of the flame (that
    oscilates from left to right). The flame is composed by 4
    concentric gradients. There is NO loops, only an 'onEnterFrame'
    function refreshing the flame each time.
    - It's true that I got plenty variables at the _root level.
    If that could be the problem, how can I workaround it?
    - It is my first time trying to embed so many objects at the
    same time too. No idea if the problem could be the way I embed the
    object from the html :(
    - The only thing I can guess is that when a cycle of one of
    the object is running, the other 19 objects must wait their turn.
    That would explain why the more instances I run, the worst results
    I get. In that case, I wonder if there's a way to run them in a
    kind of asynchronous mode, just guessing...
    Any other comment would be appreciated. Anyway, thanks a lot
    everybody for your colaboration.

  • Play multiple flash animation

    Hi, i would like to randomly play multiple swf files one
    after one, like slideshow of swf files
    here is what i want:
    - load multiple external swf file from a main swf.
    - a swf play and when is finish the next one play, i mean the
    next one have to wait that the first one is finishing play before
    playing.
    - if its possible, preload the swf file, so the user do not
    have to wait that all swf file have to load, i mean loading the
    first swf file, play it and preload the next one during the first
    one playing.
    - do all this randomly
    the code i attach serve to play one external files, i didnt
    know how to play multiple one.
    im not sure if the adobe interface attach code correctly, so
    i pasted here:
    import flash.display.*;
    import flash.net.URLRequest;
    var rect:Shape = new Shape();
    rect.graphics.beginFill(0xFFFFFF);
    rect.graphics.drawRect(0, 0, 500, 120);
    rect.graphics.endFill();
    addChild(rect);
    var ldr:Loader = new Loader();
    ldr.mask = rect;
    var url:String = "
    http://swffile.swf";
    var urlReq:URLRequest = new URLRequest(url);
    ldr.load(urlReq);
    addChild(ldr);
    thanks

    You could add the swf's to the library, give them a class
    name and then reference them from the library in flash.
    If you use flex you can embed the swf's at compile time using
    [Embed(source='assets/scenes/home.swf')]
    public static var home:Class;
    and create an instance of the class when you would like to
    use it.
    var instance = new home();

  • I have a problem running linear SWF's in Dreamweaver

    I have about a day to fix a problem I am having.
    Basically i created a short story in Flash and linked each SWF file to the next scene via buttons, to make it as quick loading as possible. When previewed in Flash to see if it works, it works fine. When each SWF is previewed in a Browser, it works fine.
    Scene1 -> Scene2 -> Scene3, and so on.
    It worked fine when i previewed it in Flash, but as soon as i place the SWF in Dreamweaver, it plays the 1st scene automatically, but won't play the linked SWF when i click on the next button (When previewing)..
    Any ideas?

    Most likely the problem is that the paths to the 2nd, 3rd, etc .swfs is not correct.
    This is a very common problem when using .swfs and other Flash assets.
    All of the SWF files are in the same folder
    whether or not the .swfs are in the same folder is not at all important,
    you MUST have all 5 in the same folder
    actually you can place the .swf files where ever you want.You could even place them in 5 different folders if you want. The main thing to remember is that when you call or link to each .swf, you link as though the .swf in in the same folder as the Web page... NOT the actual, physical location of the .swf.
    When previewed in Flash to see if it works, it works fine. When each SWF is previewed in a Browser, it works fine.
    While it may seem counterintuitive, because they work in Flash and the Web browser is an indication that the pathing is WRONG!! as odd as that may seem!
    The reason the links work when tested in Flash is that the pathing is assuming that all the .swfs are in the same folder, so then path from one to another is... as you say
    Scene1 -> Scene2 -> Scene3, and so on.
    but that is NOT the correct pathing relative to using .swfs on a Web page outside the folder the .swf files are in.
    it plays the 1st scene automatically, but won't play the linked SWF when i click on the next button
    Sure, that's because you know that from the Web paqe the path to the .swf is..."/flash_folder/scene1.swf" (or whatever the actual pathing is).
    But the path from "scene1.swf" to "scene2.swf" is NOT as you diagramed above, rather you need to path relative to the Web page, since "scene1.swf" is now (in effect) located on the Web page.
    So the correct path from scene1 to scene2 would be ..."/flash_folder/scene2.swf", then from scene2 to scene3 is similarly pathed, etc.
    When all is said and done and the navigation is correctly pathed, when testing the .swfs directly in Flash... the links WILL NOT WORK!! Why, that's because the pathing from one scene to another is coded in the .swf as though the .swf is located in the same folder as the Web page.
    And just a slight clarification on relative verses absolute addresses.
    Relative addresses declare a path reltive to the physical location of the file. So "relative" (or from the location of) the scene1.swf, the path to scene2.swf is simply "scene2". The path relative to (or from the location of) the Web page might be  "/flash_folder/scene2.swf"
    Absolute addresses on the other hand decribe the physical location of a file on a Web server and include the http://www.mysite.com part of the path.
    ../secondscene/swf/2.swf' - this is absolute linking
    is not really an absoloute address, it's a relative address (which may or may not be root relative)... saying that from this location (relative to this location), go up one folder level then into the "secondscene" folder, then into the "swf" folder and find the "2.swf" file.
    The actual absolute address for that file would be
    http://www.mysite.com/secondscene/swf/2.swf'
    Using absolute addresses are useful on dynamic Web sites like WordPress if for example you have a file that you want to access from many location or folder levels in the site.
    Absolute addressing would also be useful for you if, for example, you wanted your scene linking .swf pathing scheme to work from different sub folder levels on your site. The root relative pathing shown above would not work for example from this page:
    www.mysite.com/about_us/friends/meet_us.html
    you would have to create anew pathing layout.
    Using absolute pathing to the .swfs on the other hand would allow the browser to find all the .swfs regardless of where you place the link to the .swf on the entire Web site. The "Absolute" path or URL to that .swf is always:
    http://www.mysite.com/secondscene/swf/2.swf'
    You can even use absolute links on a completely different Web site and still find the .swf (like YouTube embed code, etc.).
    Best wishes,
    Adninjastrator

  • Adding multiple swf files to Dreamweaver

    I'm trying to upload multiple .swf files to my website with
    no luck. I've done this with previous versions of Dreamweaver but
    with CS3 I'm finding it won't happen. I've done the Insert ->
    Media -> Flash action as before and exported my files to be read
    in Adobe Player 8 but nothing then happens after the files have
    been uploaded yet locally everything works fine. I've uploaded a
    scripts file also but all of the .swf files are linked from
    different folders, could this have any effect?
    What am I doing wrong?
    Chris.

    CJR 2007 wrote:
    > I'm trying to upload multiple .swf files to my website
    with no luck. I've done
    > this with previous versions of Dreamweaver but with CS3
    I'm finding it won't
    > happen. I've done the Insert -> Media -> Flash
    action as before and exported my
    > files to be read in Adobe Player 8 but nothing then
    happens after the files
    > have been uploaded yet locally everything works fine.
    I've uploaded a scripts
    > file also but all of the .swf files are linked from
    different folders, could
    > this have any effect?
    >
    > What am I doing wrong?
    Generally making sure that the SWFs are at the remote
    location where you think they are supposed to be (and where the
    code thinks they are supposed to be) as well as making sure that
    the active content JavaScript file(s) are uploaded and are present
    where the page is expecting them to be. Beyond that, for anyone to
    see what is wrong with your page(s), you have to post a link to
    your page(s).
    Danilo Celic
    | Extending Knowledge Daily :
    http://CommunityMX.com/
    | Adobe Community Expert

  • Load multiple swf play one by one when required

    Dear Friends,
    i want to Load multiple swf play one by one when required, i mean, i want to reduce the loading time, so i cut my swf in to 2 portion, load both same time or load 2nd while 1st one playing and how can i show the 2nd one when first one finished?
    Thanks in advance,
    Regards,
    Syed Abdul Rahim

    see i write code for you may be it will helps you
    var vidno:int=1
    var totalvideos:int=10
    var ld:loader
    function loadvideo(str:String)
    addChild(ld)
    loader.load(urlrequest(str))
    loader.contentLoaderInfo.addEventListener(Event.Complete,loadnext)
    function loadnext(event:Event):void{
    removeChild(ld)
    if(vidno<totalvideos){
        vidno++
         loadvideo('vid'+vidno+'.swf')
    loadvideo(vid1.swf)
    try it..

  • Loading multiple swf's in runtime and playing them one after other

    Hi,
    I am looking for help in loading multiple swf's as a playlist and playing them one after other on top of the other, so here even we have to play with display list for the visiblity.
    Tried to load single files but not getting for multiple files, what will be the event with which the dynamically loaded swf switch to other.These file names will be mentioned in XML file.
    Please let me know your thoughts and will be greatfull if anybody can help with the script or any kind of tutorials.

    Hi,
    First of all am thanking you for showing your kind intrest towards this thread, and appreciate for spending time to work out this issue.
    I will explain you in deatil the issue what am facing,I am working on a project where basically dealing with flv player and videos, am trying to play multiple flv videos of a 3d human character who is speaking out a number like 3550.
    Here we are using multiple video files and joining them like videos where character says 3 then 1000 then  5 then 50.
    The issue here is after every video there is a fraction of second where the character is disappearing from the stage which we can't afford because all the numbers have to be played at once to show it as one single digit.
    So thought of trying swf's instead of flv so that we can omit the gap between the numbers, but even in this swf's also having same issue for a fraction of second the character is missing from the stage.
    I am looking for a solution to this, either the way can work out as flv or swf.For flv am trying to edit some player where we can remove the delay between the clips.
    I am attaching new swf where the character is speaking 3 numbers like 3,1000,40.You can notice there is a flicker between the swf's.
    Can we use Display list with which we can omit that gap.
    Looking for your thoughts and help.
    Thank you

  • AIR 3.7 Problem Loading Multiple Similar SWFs On iOS

    I'm running into an issue with loading multiple SWFs using AIR 3.7 on iOS. The exact same code works fine on Android.
    The issue is that if I include 2 specific SWFs then neither of them will load correctly. When I include just one of the SWFs it works great. I've also tried including a second SWF which is pretty much empty and that also works. Additionally, I've been able to load a MovieClip out of the first SWF IF addChild() was first used on myswf1 and that works even when the main SWF did not. Lastly if I include 2 of the exact same SWFs (with different filenames) that also works.
    So my question is what is it about the two SWFs that causes it not to work? They are effectively the same except each has custom assets and custom class naming.
    Both of them subclass off one main class like this:
    class myswf1 extends mymain
    class mymain extends MovieClip
    class myswf2 extends mymain
    class mymain extends MovieClip
    So both SWFs contain mymain seperately from each other. Could that be the issue? Like when it compiles all the code into the package SWF the
    two mymain root classes clash?
    In the past it seems like that should still work it just uses the first loaded class and that is it.
    The errors that I get seem to happen on lines like this:
    selectableHudOptions.bonustime.mouseEnabled = false;
    Where selectableHudOptions.bonustime is basically null. However, when I just have 1 SWF this line works fine.  If I loop through selectableHudOptions's children it is blank when I am loading the two SWFs but it shows all of the children when just loading the one SWF.
    Another theory I have about it is that it seems like addChild() has to be used on the objects and frames have to go by before the children are visible. Like addChild() is being delayed somehow because of the multiple SWFs. Or addChild() is behaving asyncronously and my code is running syncronously.
    I think Nimisha from Adobe has worked on these multiple SWF issues before.

    Yes, duplicate symbol conflict looks like the cause of your issue.
    This is a known issue in AOT mode. For now, could you please try renaming mymain to something else when using it in the second swf?
    Or you may place mymain into separate swc, and link one of your swfs with "merged into code" option, while the other one "externally", so that only one of the swfs has mymain defined and there is no clash.
    Please do let us know if either of the solutions work for you.

  • AIR for IOS, ApplicationDomain problem: Error #2007: Parameter Possible symbol clash in multiple swf

    I am exporting a game for IOS in Flash CS6.
    I have isolated classes, except a framework for static utilities that do not clash, but I still get this message when exporting for IOS.
    AIR for desktop, even with ApplicationDomain.currentDomain works and does not give any error. Same on android.
    When I export the same exact project for IOS, it triggers that error randomly in different parts.
    All related with a call to a method on superclass, the instantiation of an internal class, or of a Vector typed to a custom internal class.
    TypeError: Error #2007: Parameter Possible symbol clash in multiple swfs, abcenv must be non-null.
    The line that triggers the error:
    return new RouletteChoserItemDev(num, data);
    Any help is appreciated.
    UPDATE
    I have changed the code into:
    var item:RouletteChoserItemDev;
    var MyClass:Class = RouletteChoserItemDev;
    item = new MyClass(num, data);
    Now I get this funny error:
    Error #1034: Type Coercion failed: cannot convert device.plugins.rouletteLobby::RouletteChoserItemDev@6284bc9 to .
    Yes, cannot convert to ".", a dot!

    *FOUND A SOLUTION*
    The way ApplicationDomain.sameDomain works on Android and Desktop, and on IOS, IS DIFFERENT!!!
    I probably have to file this under AIR bugs.
    Anyway:
    - In loaded SWFs, classes which are not already stored in parent SWF CANNOT be instantiated.
    I.E.
    var c:MyClass = new MyClass(); // Will not work
    var c = new MyClass(); // Will not work
    var c:MyClass = getDefinitionByName("fullpackage.MyClass"); // Will not work
    var c = getDefinitionByName("fullpackage.MyClass"); // WORKS!!!!!
    var c:DisplayItem = getDefinitionByName("fullpackage.MyClass"); // WORKS!!!!!
    So, it seems that classes stored in local loaded SWF will not be accessible directly. Even though tracing it trace(MyClass) works well, the class cannot be used in code in any place. Variables cannot be typed, and class can only be instantiated with getDefinitionByName();
    All this, is true ONLY on IOS, same exact project and settings, will not trigger any error in AIR for Desktop or for Android.
    But since obviously we use the same codebase for all devices, this IOS *feature* has to guide the way we code, even though we break a few important OOP best practices.
    Hope I spared someone else the 3 days including an entire weekend I had to invest to find this out.

  • Multiple .SWFs in one HTML page

    Hi all,
    I'm trying to post multiple .swf objects into one html page.  The first .swf object plays fine, but the second one does not load.  I've searched all over for the answer, but I do not know what to do (plus, I'm a Flash noob).  My page is http://users.wpi.edu/~cdaley_jw/animation.html, so please feel free to check out my code.
    Dreamweaver tells me that swfobject.registerObject does not exist, or something like that, but I see this code being used elsewhere.  I have swfobject.js in my main folder, too.  I haven't the slightest clue what I'm missing.
    Thank you very much,
    Chris

    I'd suggest you get the second .swf working BY ITSELF on a separate, new, blank page before worrying about how to get two working on one page. Your problem may have nothing at all to do with the fact that there are two .swfs on the page.
    Looking in the cach after downloading your page,
    http://users.wpi.edu/~cdaley_jw/Daley_Christopher_Walk_Cycle.swf
    is downloading... but it's only the player, not the .flv file that it's looking to load and play.
    http://users.wpi.edu/~cdaley_jw/Daley_Christopher_Walk_Cycle.flv
    does exist on the server at the address above but is not being called by the video player... the .swf. So the problem may be that the url to the .flv is wrong in the .swf or is missing completely.
    You'll have to fix that first and then worry about 2 swf on one page. So step back, get that second .swf working on a page all by itself, then move on.
    Best wishes,
    Adninjastrator

  • IE running under XP can't handle multiple SWF files, Why?

    I noticed that IE 8 running under Windows XP cannot handle multiple swf files in one page.
    Up to about 10 files is no problem they are loaded and we can play them ( buttons that start a small audio file).
    But more of these files in one page will stop IE.
    Firefox ( 3.6.28) runs them fine.
    And also IE 8 and/or Firefox under Windows 7 handles them perfectly.
    Has anyone any idea what can cause this and how to resolve this?
    Thanks,
    Onno Tomson
    The Netherlands

    Sorry...I still don't get it. What is it about Windows FUS that keeps iTunes from running running the process twice? It can run many other non-Apple windows apps in multiple user sessions (commercial apps, open source apps, audio/video apps, networked apps). I can even run two different virtual machines at the same time under two different user sessions.
    Why can iTunesHelper.exe run twice but iTunes.exe cannot? Why can I run Safari at the same time? Quicktime Player runs fine under multiple user sessions.
    Blaming it on Windows and/or FUS sounds like FUD. Can anyone give a valid technical reason? Semaphores? Mutexes? An admission (and explanation) that the Windows version is purposely crippled?

Maybe you are looking for

  • Batch list import is picky about line terminations in the text file

    After running into trouble trying to compose a batch list for import, I isolated the issue: The text file that you attempt to import must have "carriage return" characters at the end of each line. It can have a "carriage return" and a "line feed", bu

  • Ipod touch that will not charge or sync

    My daughter's ipod touch, just over one year old, will not charge or sync with any computer.  We have tried several cables and computers with no luck.  Any suggestions would be greatly appreciated.

  • RE: (forte-users) Forte External Connection - PhysicalPort

    Hi Ronald, I think that ExternalConnection class is only aplicable for communication using TCP, DECnet or Unix Domain Sockets, and is not applicable to work with COM ports. I think that to use COM port you must employ C with the Forté WRAPPER. Daniel

  • Business Partner Rating

    Hello all For a Business partner (TCode - BP), in its Credit Mgmt segment ---> in "CREDIT WORTHINESS DATA" tab, I need to fill the "Rating" field. I want to have values in the F4 help for that field. How I can do so ? 1. If I maintain a rating proced

  • UOM conversion for material

    Organization purchases yarns 1000Kg yarns It is available in unit of 2 Kg each So one yarn is of 2 Kgu2019s Each yarn has 50000 Mtrs of thread ( 25000 mtrs / Kg ) The stock will be of 500 yarns of 2Kg each. Issue to production 250 yarns to produce cl