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

Similar Messages

  • Can i use multiple-Swfs in one page to implement the real multi-thread?

    When there are multiple .swfs  in one web page,  if there will be multiple instaces of flashPlayer and run in multiple thread ?-- Per Swf Per instance and Per thread, is it?

    hi,
       It will not work at all In web browser enviornment. If you considering to
    make a scheme in which u use two swfs one helper swf for background
    processing and another for Displaying Front End.Problem remains there if you
    manage to send data from your one swf to the other in same page using
    localConnection . When the processing starts in the helper swf whole page
    will going to be stucked for the period until the helper swf has done
    processing the data.So its no use at all. Altough this library can help you
    make time slice based threads http://code.google.com/p/async-threading/

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

  • Click targets another SWF on same HTML page to animate

    Hi,
    I want to create 2 separate SWF's placed in specific locations on an HTML page. When you click on the one SWF it targets the other SWF to animate. Is this possible, and if so, how? Please note, I am not an expert actionscripter!
    Here is a basic idea of how it should work (this being just one SWF): http://www.ramsaymedia.co.za/mail/bizcommunity_banners/test.html
    Lars

    VIDEO GALLERY --
    You need a Flash player that supports a playlist.  If you're good with Flash and Action Script you could build a custom player.  If not, pick-one from the links below:
    Wimpy Rave simple to deploy, dirt simple to update playlists by uploading media to wimpy folder.
    WWD Player --
    http://www.woosterwebdesign.com/flvplayer/
    JW Player --
    http://www.longtailvideo.com/
    FlowPlayer --
    http://flowplayer.org/
    YouTube --
    http://code.google.com/apis/youtube/getting_started.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Problem with printing multiple Embedded PDF in HTML page

    I have a list of embedded pdf in a html page to be printed in particular order. Using following java script i am trying silently print the pdf one by one. <br /><br />var objectList=document.getElementsByTagName("object");<br /><br />for(i=0;i<objectList.length;i++){<br />   priobj=document.getElementById(objectList[i].id);<br />   priobj.printAll();<br />}<br /><br />Actually the order of call to the printAll methods works correctly.  But the printing of PDF are not is correct order of call. <br /><br />Any Inputs or directions or workarounds on this issue will be really appreciated.<br /><br />Thanks a lot<br /><br />Prem

    HI,
    wat i understand is u r trying to loop at a variable window .but tht is not suggestable.
    write a loop in program lines. read the values in to different variables and the try printing them as text elements that will solve the problem.
    or else in other way use a template and that can also solve the problem.

  • Create multiple pdf files from html pages

    I have 15 html pages that I need to convert (possibly several times a day) into pdf files, and I need to get the process as automated as possible. I own an Acrobat Pro 8 license.
    1) is there a command line I can launch to do this automatically?
    2) failing that, is there a way of launching several conversions at a time? There seems to be lot of talk about creating one pdf from several files, but what I want is to convert several html file into several pdf files
    thanks

    Managed it at last, was a bit of a hassle -
    (there was an erroneous error message saying I hadn't selected any files, when I had)
    Note For future readers: to do just a batch conversion, you have to ignore the "commands" section, which isn't intuitive, as it is bang in the middle and looks like the main feature...

  • Insert one html page into another html page

    Hi there,
    I wonder if sombody can help. I am trying to insert one short
    html page into another page. I could not find any option or feature
    in Dreamweaver that allow me to insert the page at all. The page I
    want to insert has the links and it is a short page, just like a
    banner. When I update the links on that page it will update all
    other pages in the website. I do not have to open many pages to
    update. I have been using FrontPage and I am now converting to
    Dreamweaver. Some codes from FrontPage does not work in
    Dreamweaver. I would very much appreciate if somebody can help with
    the codes.
    This is my website so that you can understand what I mean. At
    the top of the screen there are many links that are from one page I
    inserted into index.html. I use FrontPage. But, Dearmweaver does
    not work that way.
    Thank you. Kevin

    Be aware that IFrames carry all the disadvantages that frames
    do, for both
    you and your client's visitors.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "polarl light" <[email protected]> wrote in message
    news:g06ad0$2rm$[email protected]..
    >
    >> I wonder if sombody can help. I am trying to insert
    one short html page
    >> into
    >> another page. I could not find any option or feature
    in Dreamweaver that
    >> allow
    >> me to insert the page at all. The page I want to
    insert has the links
    >> and it
    >> is a short page, just like a banner. When I update
    the links on that
    >> page it
    >> will update all other pages in the website. I do not
    have to open many
    >> pages
    >> to update. I have been using FrontPage and I am now
    converting to
    >> Dreamweaver.
    >> Some codes from FrontPage does not work in
    Dreamweaver. I would very
    >> much
    >> appreciate if somebody can help with the codes.
    >
    > Depending on what you want to do you can use SSIs or an
    Iframe. SSIs are
    > good for things such as headers, menus and nav bars that
    you want to stay
    > the same across a range of pages. Iframes let you load
    an external HTML
    > file into a predefined area of your page so you can
    display different
    > content while staying on the same page.
    >

  • How to display selected records on one HTML page?

    Hi,
    I would like to display selected part of records on one page in HTML region. For example I have a Master - Detail table set named Procedures and Tasks (each Procedure can have one or more tasks)
    I would like to be able to display all Tasks for a given Procedure in one HTML region on a page... The problem is that the number of tasks vary between procedures and can change in time. Also, the 'task description' can be very large so a simple report list of all tasks is something I cannot use... (I would like eg for the task name to be here, and the task_description to be there - unlike the report where everything is in one line...) The following are my ideas but non of them seemed to be feasable here...
    1. Use a report based on vertical columns (However I am using Theme 10 for which there are no vertical column templates. The only vertical templates I can see are the default ones but I have no idea how to customize them - where are they?)
    2. In HTML region use &ITEM_NAME. substitutions. In order to display more than one &EMN_NAME. (based on eg. EMPID) I suspect that I would need to write some kind of javascript loop. Has anyone have an idea about how would such a script look like?
    3. Display each Task in a separate screen. This is something I would want least but better than nothing - to have a customized report which would display one task at a time with some kind of pagination to it...
    Please let me know if someone has tried something simmilar or maybe there is a 4th option which will be simpler and easier...
    Many thanks,
    Pawel.
    I tried to make a very simple illustration of what I would like to achive here:
    http://htmldb.oracle.com/pls/otn/f?p=44995:3:9461299983704828937::::
    Message was edited by:
    padmocho

    Just to answer this one myself....
    In order to achive the above I used a PL/SQL Dynamic Content page and entered a html content in htp.prn('');
    Then, I created a PL/SQL LOOP which searches through the various rows...
    In the end, whenever I wanted to display html content I just used htp.prn and for variables I used htp.p(<var_name>);
    Maybe, it helps ;)

  • .swf file in html page with WebLogic Server in Netscape

    I am not able to embed .swf (flash) files in html page when accessed thru' Weblogic server in Netscape Ver. 5 and below but supported in Netscape6.0 and IE. When run as html page without WebLogic server, it is working well. Please suggest a solution for this problem to my mail id.

    I've had a quick trawl round the web, but can't find an answer to this specific problem - will let you know if i discovr anything.
    Lots of people seem to have problems because the relative url address has to be in relation to the html page, not the loading swf. All my files are in the same folder, so it;s not that. Also, the problem occurs whether running from my hard drive or web server.

  • Loading random .swf's in html page

    Desired scenario: I have a site which I want random .swf
    files to load into index page each time a user refreshes or visits
    the site.
    Solution: I used a Javascript array solution in the .html
    page. Note: it works perfectly in Firefox and Safari.
    The javascript code for that is listed below.
    Problem: In IE, the page which is supposed to load the
    random .swfs in blank. I tried to solve the problem by using an IE
    conditional statement with a single .swf embedded (so at least
    visitor could have interactive experience).
    <!--[if IE]>
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
    width="800" height="600">
    <param name="movie" value="drinks.swf" />
    <param name="quality" value="high" />
    <embed src="drinks.swf" quality="high" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash" width="800"
    height="600"></embed>
    </object>
    <script type="text/javascript"
    src="fixit.js"></script>
    <![endif]-->
    Any help would be appreciated. The link to the site in
    question is:
    http://www.jayminnickinteractive.com

    Thank you for checking. Yes right now they are all working.
    But many times I visit the flv's don't load - i wonder if it is a
    flash thing or more connected to my web host.
    Gary

  • When my swf in a html page connected with a socket server other http requests were blocked, how to resolve?

    I have used php to write a socket server(text chat server),
    then I use xmlsocket to write a client, I put this swf file in my html page, erverything of this client swf were ok: ervery clients could send or receive messages, but the other http request in this html page was unable to send(or receive) data from webserver,
    webserver and chat server were on the same server,
    and I have tried to use socket to instead if xmlsocket in my flash, but the new swf can only work in flash cs3, but it couldn't work in html page as the chat server can't send the security xml file to this swf, and I have also use Security.loadPolicyFile("http://192.168.139.128/crossdomain.xml"); to load security file, but it took none effect.
    Is there anyone can suggest me ?
    That's very kind of you!

    Hi Franco,
    Yes, I solved that by reinstalling Java 6 Update 21.
    There are three versions for Solaris namely, SPARC, x64 and x86. Our platform is SPARC and I think System admin has installed the wrong version instead of installing SPARC version of Java.
    After installing SPARC version of Java this got resolved. And I confirmed everything is fine by running a small program as below. You can run this program from command line using the -d64 flag. If the installation is wrong you will get the same exception as I mentioned.
    public class Analyzer {
          public static void main(String args[]) throws Exception{
               InputStream fin = new FileInputStream(args[0]);
               int iSize = fin.available();
               byte mvIn[] = new byte[iSize];
               fin.read(mvIn,0,iSize);
               fin.close();
               String strText = new String(mvIn);
               PrintStream fout = new PrintStream(new FileOutputStream(args[0]+".csv"));
               fout.println("Before,After,Seconds");
               Pattern p = Pattern.compile("\\[(?:Full |)GC (\\d*)K->(\\d*)K\\(\\d*K\\), ([\\d.]*) secs\\]");
               Matcher m = p.matcher(strText);
               while(m.find()){
                    fout.println(m.group(1)+ "," + m.group(2) + "," + m.group(3));
               fout.close();
    }Hope this helps.
    Regards,
    Prabhu

  • When merging multiple pdf into one all pages are blank

    I am currently using Adobe Acrobat Version 10.1.13.  When I try to merge multiple pdf's into one all pages are blank.  I ran the Repair Adobe Installation and this did not fix the problem.
    Please provide me with any help/suggestions you may have.
    thank you in advance for your time.

    Hey tricon5757,
    Could you please let me know how have you tried merging PDFs.
    Also, try choosing 'Document > Insert Pages' option and combine PDF one after the other.
    Let me know if this works.
    Regards,
    Anubha

  • Inserting values into multiple tables in one jsf page with single commit op

    hi all,
    i have two tables ,
    one is parent table and other is child record.
    record details:
    table1:(parent table)
    emplid (primary key)
    empl_name
    table 2:(child table)
    empl id ( Foreign key)
    empl_name ( Foreign key)
    contact_no (primary key)
    my senario is , i need insert values into both parent and child table in one save option.
    and both the tables will be in one jsf page.
    is this possible to do?
    thanks all,
    regards,
    M vijayalakshmi

    hi,
    i feel my question is not clear.
    let me explain my question clearly.
    1. i have two records
    *1. emp_names*
    attributes of this table is 1.emplid
    2.emp_name.
    emplid is a primary key.
    2. emp_contact
    attributes of this table is 1.emplid
    2. contact_no
    In this table emplid is forigen key from emp_name table
    contact_no is primary key.
    and my senerio is,
    for one emplid there are many contact no.
    in database diagram i have created these two entities. and from that i have generated two views objects.
    now in jsf page ,
    i shd have all fields from both the records.
    wn ever i click on add button , i shd be able to insert one complete row of data to both the tables.
    means,
    emplid
    empl_name
    contact_no.
    and if i click on commit button data shd be insert in both the tables.
    so how to achive this?
    am very beginner to the jdeveloper tool.
    regards,
    m vijayalakshmi.

  • Help with inserting SWF file into .html page

    I created a photo gallery in Flash CS5.5, using the advanced photo gallery template. It works fine as a standalone SWF file but it's not displaying properly when I try and insert it into the Gallery page of my website.
    The thumbnails are showing as blank white boxes and the main image holder isn't showing at all, though the controls beneath it are showing. The SWF file and all the images are stored in site/images/gallery/ and my Gallery page is in the root. What's going on here? Can anyone help please?
    Thanks

    If you are storing any of your Flash assets in sub-folders and having problems... it's most likely because of pathing problems. For review:
    Pathing issues
    Almost always when it works on the local machine and not the server, it's a pathing problem.
    You can put your Flash related files in whatever folders you want, they do NOT have to be in the root, they do NOT all have to be in the same folder. But if you have a problem and if sticking them all in the root folder works, then you know that the issue was a pathing problem.
    Just remember that paths used in the .swf become relative to the Web page on which the .swf is placed, NOT it’s physical location.  So for example, if your .swf is in the flash/data folder and you use that .swf on a Web page in the root folder, you are in effect, removing that .swf from flash/data and putting it in root. So if the .swf is loading any related files (xml, images, video, etc), the path used inside the .swf to load the .xml file has to be relative to it's new location in root and then back down into flash/data. This is true even though when testing the .swf by itself, it can be inside flash/data and work just fine, since relative to it's location, the path is just fine, they are in the same folder. But if that same path is used when the .swf is placed on a page two folder levels up, the relative path has changed, the old "same folder" path will not work.
    In fact if you are placing the .swf on a web page in a different folder than the .swf is stored in, and that .swf calls external assets, then direct clicking and opening of the .swf in it’s folder should NOT work! That’s because the paths to the external assets should be relative to the Web page and not the physical location of the .swf.
    So just be sure that you use addresses relative to the final Web page locations (not physical file locations) and you can put the Flash related files in what ever folders you want.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    What it boils down to is that you need to path the Flash assets from the Web page that you place the main .swf on... NOT the physical location of the .swf
    Best wishes,
    Adninjastrator

  • Trying to view 2 swf files from one html page

    http://www.human-landscaping.com/nextnow/public-list.html
    ON the above page at the top there is DW code to view two SWF
    files. See following code...only the Flash object on the left shows
    up. On my MACBOOK PRO it displays correctly. Just after I FTP it to
    the public server is where it and I get lost. How can I be viewing
    in from my computer and NOT from the server. I know that both SWF
    files are on the server in the directory they are suppose to be in.
    THANKS...some of the code follows:
    <div
    style="position:relative;width:675px;height:345px;">
    <div
    style="position:absolute;top:102px;left:16px;width:300px;height:100px;">
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
    height="100" width="300" name="Welcome_to_NextNow">
    <param name="movie" value="WhoNextNow.swf">
    <param name="quality" value="best">
    <param name="bgcolor" value="#ffffff">
    <param name="play" value="true">
    <embed src="WhoNextNow.swf" quality="high"
    bgcolor="#00007f"
    width="300" height="100"
    name="Welcome_to_NextNow" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash" play="true">
    </embed>
    </object>
    </div>
    <div
    style="position:absolute;top:16px;left:336px;width:200px;height:280px;">
    <script type="text/javascript">
    AC_FL_RunContent('codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0','heig ht','280','width','200','pluginspage','http://www.macromedia.com/go/getflashplayer','src', 'photos/NNgroup','quality','best','play','true','movie','photos/NNgroup'
    ); //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=6,0,0,0"
    height="280" width="200">
    <param name="movie" value="photos/NNgroup.swf">
    <param name="quality" value="best">
    <param name="play" value="true">
    <embed height="280" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    src="photos/NNgroup.swf" type="application/x-shockwave-flash"
    width="200" quality="best" play="true">
    </embed>
    </object>
    </noscript>
    </div>
    </div>

    bdaul wrote:
    >
    http://www.human-landscaping.com/nextnow/public-list.html
    >
    > ON the above page at the top there is DW code to view
    two SWF files. See
    > following code...only the Flash object on the left shows
    up. On my MACBOOK PRO
    > it displays correctly. Just after I FTP it to the public
    server is where it
    > and I get lost. How can I be viewing in from my computer
    and NOT from the
    > server. I know that both SWF files are on the server in
    the directory they are
    > suppose to be in.
    >
    > THANKS...some of the code follows:
    >
    > <div
    style="position:relative;width:675px;height:345px;">
    >
    >
    > <div
    style="position:absolute;top:102px;left:16px;width:300px;height:100px;">
    > <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=6,0,0,0" height="100" width="300"
    name="Welcome_to_NextNow">
    > <param name="movie" value="WhoNextNow.swf">
    > <param name="quality" value="best">
    > <param name="bgcolor" value="#ffffff">
    > <param name="play" value="true">
    > <embed src="WhoNextNow.swf" quality="high"
    bgcolor="#00007f"
    > width="300" height="100"
    > name="Welcome_to_NextNow"
    > pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    > type="application/x-shockwave-flash" play="true">
    > </embed>
    > </object>
    > </div>
    >
    > <div
    style="position:absolute;top:16px;left:336px;width:200px;height:280px;">
    > <script type="text/javascript">
    >
    > AC_FL_RunContent('codebase','
    http://download.macromedia.com/pub/shockwave/cabs/f
    >
    lash/swflash.cab#version=6,0,0,0','height','280','width','200','pluginspage','ht
    >
    tp://www.macromedia.com/go/getflashplayer','src','photos/NNgroup','quality','bes
    > t','play','true','movie','photos/NNgroup' ); //end AC
    code
    > </script>
    >
    > <noscript>
    >
    > <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=6,0,0,0" height="280" width="200">
    > <param name="movie" value="photos/NNgroup.swf">
    > <param name="quality" value="best">
    > <param name="play" value="true">
    >
    > <embed height="280" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    > src="photos/NNgroup.swf"
    type="application/x-shockwave-flash" width="200"
    > quality="best" play="true">
    > </embed>
    >
    > </object>
    > </noscript>
    > </div>
    > </div>
    >
    >
    http://www.dreamweaverresources.com/tutorials/scroller.html

Maybe you are looking for

  • Getting (4280) in Windows 7 with a Sony Aw-Q170a Drive?

    I finally fixed my burning error in Windows 7 with my Sony Aw-Q170a burner. After being frustrated with 4280 message after another in iTunes, I tried burning in WMP and it was not finishing there as well. After hours of searching on the web, I finall

  • My iphone no longer sees my airplay device

    i have x-mirage1.06.6 running on my 10.6.8 minimac wired to my lan, and my 10.9.5 macbook pro sees it wirelessly & can display on it just fine. but my 8.1 iphone 5s no longer sees any airplay devices...it did before i bought x-m (which is why i bough

  • Can someone please tell me what is up with itunes since ios7?

    i got my iphone in october and everything was fine with it for the first couple months but for the past 2 months now i cant listen to half the music on my phone due to the grey circle dots, nothing like this ever happened before i got my phone and i'

  • Account based COPA datsource taking long time to extract data

    Hi We have created a Account based COPA datasource but it is not extracting data in RSA3 even though the underlying tables have data in it. If the COPA datasource is created using fields only from CE4 (segment ) and not CE1 (line items ) table then i

  • Access global variable in fpga from rt-target

    Hi All, I have a realtime PC with NI-FPGA 7852R. Generally I used programmatic front panel communication to access variables from FPGA to rt-system since I need the data for control and not for data logging. The thing is, I bumped into a tutorial and