Ajax .swf load help needed

Hello all,
I'm trying to load in a .swf file (via an external html page)
dynamically using an Ajax script (loads into a div) and while it
works with the ol' <object> method of putting flash in an
html the .swf file won't load if I try to load it in via javascript
(either SWFobject or the flash exported .js load files).
I know a lot of people have had this problem but I have never
seen any solutions given. Does anyone know?
Any help would be MUCH Appreciated.

Wiki is your friend - http://wiki.archlinux.org/index.php/Main_Page
I do not mean to be mean, it's simply inefficient to try and answer all the questions you _will_ have while trying to configure Arch to your liking, especially since Wiki covers most of them, and covers them well.  If you come across a problem that's not covered in the wiki post here and we will definitely try and help you

Similar Messages

  • System won't load (help needed)

    Hello!
    I have a PIII 600 computer which I don't really need, but I decided to make any use of it with Archlinux. The problem is that even before I cleared my hard drive, the only thing I had been able to load on it was Windows ME in a safe mode (I don't know if that's the correct name for this mode, as I was using Polish language version).
    But I managed to run the Arch installer using acpi=off option. Now, when I turn the computer on, I can see the Grub menu, but no matter what I choose, the system stops loading and just does nothing. I had the same sympthom when I used the installer without acpi=off option (or with any other).
    Can anybody tell me, what kind of problem (I guess it's my hardware) do I have? Is there a way to run the system I have installed right now, maybe using command line in Grub?
    Some additional info: I have 128MB SDRAM DIMM (Windows was saying it was 126, but my bios finds more than 131 000 bytes), SoundBlaster 128, nVidia Riva TNT2, 17-inch LCD working at 1280x1024, a PCI wifi card, a radio ISA card. I can't run Archie nor memtest.
    Thanks in advance for any ideas.

    Wiki is your friend - http://wiki.archlinux.org/index.php/Main_Page
    I do not mean to be mean, it's simply inefficient to try and answer all the questions you _will_ have while trying to configure Arch to your liking, especially since Wiki covers most of them, and covers them well.  If you come across a problem that's not covered in the wiki post here and we will definitely try and help you

  • Sql loader help needed  urgent

    Hi,
    I normally get a csv having data as
    column1 ;columnb;columnc;
    13 ; 12 ; 13 ;
    11 ;13 ;33;
    as the table where it needs to go is say table
    xys( a number, b number , c number).
    so the control file is fairly simple ...
    But from now I need to restrict data entry if the change in format happens in the csv
    say if it is like
    column2;column1;column3,
    12,13;12;
    11;13;14;
    or say the csv like
    column1;column2;column3;column4;
    11;13;14;15;
    111;134;14;12;
    in both cases sql loader should not run and throw the error saying the reason in the log.
    how do i manage it in the control file `???
    any ideas???
    regards
    Message was edited by:
    SHUBH

    Hello,
    do you only need to check the first line of the file if it contains a line like
    column1;column2;column3 ?
    If yes, maybe a small script like this could be a starting point:
    You have to replace "column1;column2;column3" with the header information that's valid and instead of file1 in the CURRENTSTRING=... Line write the name of your input file.
    I hope this helps. (But maybe some of the experts here knows a way to do the verification checks with SQLLDR, so maybe its worth to wait a little bit :)
    #!/bin/ksh
    VALIDSTRING="column1;column2;column3"
    CURRENTSTRING=`head -n 1 file1`
    if [[ $VALIDSTRING == $CURRENTSTRING ]]
    then
    echo "They match."
    else
    echo "They dont match."
    fi
    --

  • Sql*loader help needed!!

    I am loading data using the SQLLDR utility of Oracle. I defined one column as seq. I am loading the data, it is working properly but next column is not loaded correctly.
    Problem :
    First Character in the second column was missing. Please help me how to correct the ctl file.
    Table:
    CREATE TABLE SEQ_TAB1 (
    A_ID NUMBER (10) NOT NULL,
    A_NAME VARCHAR2 (25) NOT NULL,
    A_TYPE VARCHAR2(25)
    Seqence : t_seq1 (a_id)
    Data file:
    Alabama,first
    Alaska,ice
    California,hot
    Texas,time
    CTL file :
    LOAD DATA
    APPEND INTO TABLE seq_tab1
    a_id "t_seq1.nextval" ,
    a_name char terminated by "," ,
    a_type char terminated by ","
    Command :
    sqlldr username/password@service_name control=ctl_file log=log_file data=data_file
    The following way data has been loaded into the table.
    1,labama,first
    2,laska,ice
    3,alifornia,hot
    4,exas,time

    Try with position specified for the a_name column....
    CTL file :
    LOAD DATA
    APPEND INTO TABLE seq_tab1
    a_id "t_seq1.nextval" ,
    a_name position(1) char terminated by "," ,
    a_type position(*) char terminated by ","
    I am loading data using the SQLLDR utility of Oracle. I defined one column as seq. I am loading the data, it is working properly but next column is not loaded correctly.
    Problem :
    First Character in the second column was missing. Please help me how to correct the ctl file.
    Table:
    CREATE TABLE SEQ_TAB1 (
    A_ID NUMBER (10) NOT NULL,
    A_NAME VARCHAR2 (25) NOT NULL,
    A_TYPE VARCHAR2(25)
    Seqence : t_seq1 (a_id)
    Data file:
    Alabama,first
    Alaska,ice
    California,hot
    Texas,time
    CTL file :
    LOAD DATA
    APPEND INTO TABLE seq_tab1
    a_id "t_seq1.nextval" ,
    a_name char terminated by "," ,
    a_type char terminated by ","
    Command :
    sqlldr username/password@service_name control=ctl_file log=log_file data=data_file
    The following way data has been loaded into the table.
    1,labama,first
    2,laska,ice
    3,alifornia,hot
    4,exas,time

  • Info Spoke - Delta Loads Help Needed

    Hi All ,
    I have an info spoke based on  the Sales Orders ODS with technical key and delete data before extraction enabled.The info spoke is delta enabled.
    Now the info spoke is loaded with all the data present in the ODS( which is loaded with init request(32110)).
    The ODS request 32110 is deleted and the ODS is loaded with another init request 32111 and later an delta load is done for the request 32112.
    Now the ODS contain init data with 10 delta records.
    Now when i tried to load the info spoke which is delta enabled for those 10 delta records,It is getting the whole data (init data +delta data) instead of getting only delta records.
    Why is this happening?How does a delta enabled info spoke work to get the delta records?
    Please explain me the reason.
    Regards,
    Pra

    hi,
    i think this is enough for what u have asked. if further more quries is there then please let me know abt that.
    Delta Administration:
    Delta Administration displays the requests available in the open hub data source as well as information about whether they have already been read or whether the open hub destination has not yet received them. If that is the case, the requests can be found under the category Requests Not Yet Read. Delta administration offers you the following functions:
    ·        You can deactivate delta administration. An additional delta request is subsequently not possible. At the same time, the status of all source requests that have already been read is reset to Not Yet Read.
    Delta administration is also deactivated if one of the following events occurs:
    §         A request that has already been extracted is deleted in the open hub data source.
    §         A request that has not yet been extracted is compressed in the open hub data source (InfoCube).
    ·        You can reactivate delta administration. A delta request is then possible again.
    ·        In the context menu, you can choose Delete Requests. The request is deleted from delta administration and can be requested again (repeat). You may want to do this if a request does not arrive correctly in the target system.
    **assign points if helpful****
    cheers
    ketan

  • Load external SWF's help

    I am using this thumbnail gallery attached but instead of loading images through the xml I want to load external SWF'S. I also want to be able to control each SWF loaded in individually apparently in order to do that I need to give the container different instance names..however I don't know how to extend the code inorder to achieve this..can anyone help?

    Hello Kglad,
    Thank you for the swift reply, I don't know how to apply this to my code. At the moment it loads in images but it will load in external SWF's I pressume this is the section of code relevant;
    function thumbnailer(k){
    total_thumbs = _global.total;
    var container = thumbnail_mc.createEmptyMovieClip("th"+k,thumbnail_mc.getNextHighestDepth());
    container._visible=false;
    container._alpha=0;
    var image = container.createEmptyMovieClip("img", container.getNextHighestDepth());
    tlistener = new Object();
    tlistener.onLoadInit = function(target_mc) {
      target_mc.pictureValue = k;
      target_mc.onRollOver = function() {
       this._alpha = 50;
      target_mc.onRollOut = function() {
       this._alpha = 100;
    image_mcl = new MovieClipLoader();
    image_mcl.addListener(tlistener);
    image_mcl.loadClip(thumbnails[k], "thumbnail_mc.th"+k+".img");

  • When I connect my iphone to my mac it says itunes will not work with my iphone cause it needs version 10.6.3 itunes,. problem is i have no idea how to down load that to my iphone when my mac will not connet to it cause it nees the down load help please

    when I connect my iphone to my mac it says itunes will not work with my iphone cause it needs version 10.6.3 itunes,. problem is i have no idea how to down load that to my iphone when my mac will not connet to it cause it nees the down load help please

    Ive got the same problem, just got my iphone unlocked, and they told me to sync it to itunes to get it permently unlocked, well everytime i plug my iphone in it says; it wont work as it needs up dating to 10.6.3, which i have already updated, but still doesnt work, so how can i get my phone unlocked?

  • SWF loader need to load 100% width and height

    Hi,
        I have using dashboard in my application.In which the flex pages are loaded using SWF loader. the swf is not loading 100% when i minimize the browser. actually its loading 100% when the browser is full screen mode. suppose the browser is opened in 75% the swf also gets loaded based on the browser size. but after maxmizing the browser the SWF its not expaned to the actuall size of the browser. could you anybody help me plz..?
    Thanks & Regards
    Muthu

    Hi,
         I have used this code to load the swf in the main application:
    <mx:Canvas id="dashCanvas"  creationPolicy="all" cachePolicy="on" width="100%"  backgroundColor="#FFFFFF" horizontalScrollPolicy="off" verticalScrollPolicy="off" >
                   <mx:SWFLoader id="dashBoard" trustContent="true"  width="100%" height="100%" scaleContent="true" autoLoad="true"
    source="@Embed(source='../../../../assets/appl/dashboard/dashboard.swf')"  /> 
    </mx:Canvas>
    And i have set width and height as 100% in <mx:Appilcation> .
    Thanks and egards
    Muthu

  • Load bar at start up, then shut down. HELP NEEDED URGENTLY!!! plss....

    Load bar at start up, then shut down. HELP NEEDED URGENTLY!!! plss..

    The startup disk may need repairing.
    Startup your Mac while holding down the Command + R keys so you can access the built in utiliites to repair the startup disk if necessary or restore OS X using OS X Recovery

  • Help needed making SWF file loop

    Hello Everyone-
    I have been researching this topic and am really struggling.
    I'm not much of a HTML guy and I think I'll need to do some to
    resolve my issues. I have searched and searched but I'm not having
    any luck.
    I create an animation in Apple Motion, exported it as a MOV
    and imported it as video into Flash CS3. It was encoded using
    Progressive download from server it creates a FLV file a SWF file
    and an HTML file. My provider is 1and1. I then use Adobe GoLive to
    create my webpage and upload to the web. I need my SWF file to loop
    and I cannot get it to loop.
    In flash. Everything plays fine. When I do a publish preview
    however, the swf file does not loop. I've got the loop option
    checked in my publish preview settings and even in the inspector in
    GoLive but it does nothing.
    Here is the link to the page. And the source code. If anyone
    can help me that would be genius.
    PS there is actually two SWF that I need to loop. Neither of
    them are looping.
    http://www.drewwfilms.com/Index2.html
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="content-type"
    content="text/html;charset=utf-8" />
    <meta name= content="Adobe GoLive" />
    <title>Drew W Films Index</title>
    </head>
    <body>
    <div
    style="position:relative;width:750px;height:571px;margin:auto;-adbe-g:p;">
    <div
    style="position:absolute;top:64px;left:16px;width:720px;height:150px;">
    <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="150" width="720">
    <param name="loop" value="true" />
    <param name="movie" value="IndexHeader2/IndexHeader2.swf"
    />
    <param name="quality" value="best" />
    <param name="play" value="true" />
    <embed height="150" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    src="IndexHeader2/IndexHeader2.swf"
    type="application/x-shockwave-flash" width="720" quality="best"
    play="true" loop="true"></embed>
    </object></div>
    <div
    style="position:absolute;top:16px;left:64px;width:624px;height:32px;-adbe-c:c">
    <menumachine name="indexheader2" id="mre8mxf">
    <csobj t="Component"
    csref="menumachine/indexheader2/menuspecs.menudata"><noscript>
    <p><a class="mm_no_js_link"
    href="menumachine/indexheader2/navigation.html">Site
    Navigation</a></p>
    </noscript> </csobj>
    <script type="text/javascript"><!--
    var mmfolder=/*URL*/"menumachine/",zidx=1000;
    //--></script>
    <script type="text/javascript"
    src="menumachine/menumachine2.js"></script>
    <script type="text/javascript"
    src="menumachine/indexheader2/menuspecs.js"></script>
    </menumachine>
    </div>
    <div
    style="position:absolute;top:224px;left:16px;width:720px;height:304px;">
    <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="304" width="720">
    <param name="loop" value="true" />
    <param name="movie" value="IndexHeader2/IndexBody.swf"
    />
    <param name="quality" value="best" />
    <param name="play" value="true" />
    <embed height="304" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    src="IndexHeader2/IndexBody.swf"
    type="application/x-shockwave-flash" width="720" quality="best"
    play="true" loop="true"></embed>
    </object></div>
    </div>
    <p></p>
    </body>
    </html>

    The problem you are encountering is that you are telling the
    SWF to loop, when in fact you need to tell the FLV to loop.
    Unfortunately, you need to code a few lines of Actionscript
    to get this to work, you would think that it would be as simple as
    just checking an option.
    I don't know if you have an AS2 or AS3 project, so I'm going
    to give you both for the code.
    Actionscript 2:
    1. Select the FLVPlayback component on the stage.
    2. In the Actions panel, enter the following:
    on(complete){
    this.autoRewind = true;
    this.play();
    Actionscript 3:
    1. Select the FLVPlayback component on the stage, and give it
    an instance name by entering some text in the properties panel.
    (Upper left corner of the panel, right under where it says
    "Component" there is a text input box. This is where you input it.)
    Names are commonly things like "myFLVPlayback" or "myVideo" etc.
    2. Deselect everything.
    3. In the actions panel, enter the following (replacing
    "myVideo" with the instance name you chose):
    myVideo.addEventListener(VideoEvent.COMPLETE,doLoop);
    function doLoop(evt:VideoEvent):void {
    evt.currentTarget.play();
    Either of those blocks of code should work for you. Simply
    add them to your flash project and re-export the SWF.

  • Since i upgraded to Mountain Lion, logic 9 gets to checking midi drivers, and locks up on me. it will work sometimes, and most of the time it wont load up, need help

    Since i upgraded to Mountain Lion, logic 9 gets to checking midi drivers, and locks up on me. it will work sometimes, and most of the time it wont load up, need help

    Hi, you can't have a PowerMac, they can't run 10.6, 10.7, or ML/10.8!
    Open Console in Utilities & see if there are any clues or repeating messages when this happens.

  • Controlling SWF loaded through MovieClipLoader

    Hello AS gurus,
    I have a two-level site for a portfolio where users can view
    still images and videos for different projects. The top level SWF
    file can be considered as the "parent SWF" and within this file,
    the user navigates by choosing which project he/she wants to
    explore. After choosing, the "parent SWF" loads in a "child SWF"
    via MovieClipLoader of the selected content. It is within this
    "child SWF" that the user can view the various images and videos
    (with sound) of the selected project. To go back out and choose a
    different project, the parent SWF is used and the user navigates to
    and chooses another project.
    The problem is that I can't figure out how to communicate
    from the child SWF to the parent SWF (and vice versa)...well not
    really...this is difficult to explain...hmmm... It would be better
    to explain it with an example...
    If you go to:
    http://www.culshaw.info/junk_drawer/xdin/swf/
    (1) Choose the "Examples" square (when this box zooms up, you
    are presented with a way to navigate to various projects -- this
    SWF that loads as the zoom up happens is what I am calling the
    "parent SWF").
    (2) Choose the second project, labelled "Ford : Ti-VCT" by
    clicking on it (after clicking on the Ford project, the "child SWF"
    is loaded via a MCL from the "parent SWF").
    (3) You can see that the Ford project has 8 images and one
    video that the user can view. Choose the video and ensure that it
    begins to play and hit the mute button so that you hear sound
    (sound is default muted. It is within this "child SWF" that the
    video is NetStream(ed) and the sound is controlled. (there is a bug
    with my code here so you may need to hit play/pause to get the
    video going).
    (4) Now, as the video is playing and you hear sound, click on
    the "Other Examples" button that is located below the video player.
    This button is actually embedded in the the "parent SWF" that
    allows the user to navigate back up to see other projects and not
    in the "child SWF" which contains all of the content. Notice that
    you continue to hear the sound and that the net connection is still
    streaming the video within the "child SWF". I don't want this to
    happen. I want the "parent SWF" to tell the "child SWF" to stop
    streaming and stop all sounds when this "parent SWF" - embedded
    "Other Examples" button is pushed.
    I can't figure out how to do this. Any info that may help
    would be appreciated...
    -john

    Hi,
    It looks to me that the example you are going by has a main
    navigation in the parent swf that is controlling which child movie
    is loaded in and each child swf has its own internal navigation. If
    this is what you are trying to achieve and you are using
    _root.MoveClipName to target things you need to use the lockroot
    code so the flash player knows what root you are talking about.
    Place on the first frame of each Child swf
    this._lockroot = true;
    Hope this helps

  • Problem with external swf loading

    this is the code I'm using that works
    onClipEvent(load){
    this.loadMovie ("2.swf", "b");}
    Text
    and when I use another swf to load, it won't work anymore.
    Any help would be apreciated

    you can't decrease the total time it takes for you external swfs to load.  you can start those swfs loading in the background (while on frame 1, for example) but you need to be careful to preload only 1 swf at a time and not restart its download if it's already been started.

  • Embedded container swf loading swf with xml

    I'd call myself an intermediate AS3 newbe. I have a series of slideshows that is called by a 'container' Flash file.
    These slideshow swf files are now rather large (230 kb) so as a test, I redid one of them as a  Flash file that uses xml rather than the images called within the file itself (file size 68 kb), which is my first exploration into xml & AS3.
    All the non-xml files load and play fine locally (well, sort of, since there's some weird glitchs which show up in different ways at different times in the container loading too many files one after another at times - and sometimes there's no problem at all) but that's not my current problem here.
    Basic URL structure:  document relative
    1. container file (container.fla/container.swf) will be embedded in a html file. --> /Flash.container.swf The contain file has a series of links to other .swf files.
    2. The container file other .swf files (selection of 10) from a  subfolder called /sbrds i.e. --> UILoader loads "Flash/sbrds/albert.swf"
    3.  The albert.fla/albert.swf loads an xml slideshow from a subfolder of sbrds  called /AlBert  --> /Flash/sbrds/Albert code "loader.load(new URLRequest("AlBert/AlBertXX.xml"));"  (quotes in message only)
    4. Inside the /Albert folder I have the xml file and all the images. xml file  is AlBertXX.xml  (attached)  
    5. local structure --> desktop/workingFiles/storyboards (container.fla) /Flash /sbrds (albert.fla) /Albert (Albertxx.xml & image.jpgs)
    would equal on the server as  root html/Flash/sbrds/Albert
    Locally... The albert.fla (in the /Flash/sbrds folder) itself works fine with no errors when calling the xml file.  But when I test that file from the container.fla/swf  I get a 2044/2032 error "Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: file:///.../myLocalDesktopFolder/storyboards/AlBert/AlBertXX.xml      at albert_fla::MainTimeline/albert_fla::frame1()"
    I've check and rechecked for any typos in the xml slideshow test and don't find any.  Any ideas?
    Could it be that I'm calling a xml driven file from a non-xml driven file?
    I have all the files including my buggy htm file at http://www.danwelter.com/susanTest_static.htm
    All the pertinent fla and image files are in the /flash folder (too many to attach).
    -- Thanks --- Susan

    Hi Jan
    Apparently the update went into place on my personal laptop
    overnight last night. I awoke this morning to discover it had
    rebooted itself and it was patiently waiting for me to enter my
    bootup password. Anyhoo, I happened to notice that today when I
    hovered the mouse over my Captivate movie, I saw the dreaded
    “click to activate and use this control” message that
    popped up in a tooltip. What to do?
    Well, I did notice that it seemed to require a mouse click to
    "activate" the control, but simply running the movie seemed to be
    fine. I then wondered what would be disabled. When my movie got to
    the first button, the initial click was used to enable the control.
    Then the second click was accepted and progressed the movie.
    I hopped out on the web and found a page at the following
    URL:
    http://www.amarasoftware.com/flash-problem.htm
    After following the instructions there, my files seemed fine.
    Here are the steps I followed:
    1. Copied the code on the page and pasted into an empty
    Notepad.
    theObjects = document.getElementsByTagName("object");
    for (var i = 0; i < theObjects.length; i++) {
    theObjects
    .outerHTML = theObjects.outerHTML;
    2. Saved as file name ieupdate.js.
    3. Copied the link code and pasted between the closing object
    and center tags.
    Before:
    </object>
    </center>
    After:
    </object>
    <script type="text/javascript"
    src="ieupdate.js"></script>
    </center>
    It occurs to me that one could easily modify the "seed" HTML
    page Captivate uses when it creates the HTML page. This page is
    named standard.htm and is found in the following location:
    C:\Program Files\Macromedia\Captivate\Templates\Publish
    This would save tweaking the HTM each time you publish. Then
    you would only need to worry about making sure you copied the
    associated ieupdate.js file to the same folder.
    You gotta love lawsuits. I really hope those that "won" are
    happy that we all now have to jump through all the hoops to make
    things work. Sheesh
    Hopefully this helps... Rick

  • Help needed for using BASIC authentication through JDBCRealm

    Help needed.
    Hello,
    I am doing a degree project, so far it works fine in my local machine, I need to try it on my virtual hosting (as it is a live server).
    My project requires JDBCRealm, that is BASIC authentication loading access data from mysql database. Normally this setup can be done in Server.xml file, because my Tomcat hosting is a virtual one, I only have permission to access the web.xml file.
    My question is: is it possible to get it done in an alternative way? In web.xml? Some properties file maybe?
    Thank you very much.

    You can set this up for your context using META-INF/context.xml instead of working with server.xml.
    Make a directory called META-INF under your webapp ( it'll be at the same level as WEB-INF ). Under this, add a context.xml with all your context specific configuration including the realm. A sample is below
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/myApp" reloadable="true">
        <Realm
            className="org.apache.catalina.realm.JDBCRealm"            
            driverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"         
            connectionURL="jdbc:microsoft:sqlserver://127.0.0.1:1433;DatabaseName=myDB;SelectMethod=Cursor;"
            connectionName="username" connectionPassword="password"
            digest="MD5" userTable="users" userNameCol="userid" userCredCol="userpassword"
            userRoleTable="user_roles" roleNameCol="rolename"
        />
    </Context>Hope this helps.
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    ----------------------------------------------------------------

Maybe you are looking for