Help w/ Flash Object inserted into DW page

Hi,
I'm using DW MX2004 on a Pwrbk G4. I created a Flash object
(a page-flipping gallery) in Flash, and while it previews fine in
Flash MX'04 (size of the .swf in pixels, I WANT it to be 1050 W
& 713 H so the page is big enough to view well on a browser and
the pages can flip correctly), once the object is inserted into DW,
it isn't showing up as the same size. The default size in DW is 550
x 440 I think, and when I try to change the dimensions--even to the
exact size it was in Flash--the images once previewed are always
distorted or the preview shows only part of the image and the pages
aren't flipping (this, I believe b'cos the entire .swf movie isn't
displayed so the corners can be dragged/clicked). I know I'm doing
something wrong or missing some step, can someone help?
Thanks

I am not sure what exactly you are experiencing but it sound
like something somewhat similar to what I recently went through. I
tried to embed a swf in my HTML page using DW and there was a
border that would appear that was not there in FLash. I eventually
found a setting in Flash Publish settings that said " no border "
...this was under the "HTML" settings in the Publish settings
dialog box. I published my html page and then cut most of the code
from that page and manually embed it in my Dw html page. Kind of
pain but it worked.
Try publishing the HTML page from flash and then viewing that
page in DW and see if your swf is the right size. It may be that
you can't use DW to Embed your SWF.
Jordy

Similar Messages

  • Help with a flash html inserting into DW

    Hello,
    I have created a enquiry section in flash for one of my html DW pages for my site. When I publish the flash doc ti creates a html page (Contact.html). When I open the flash html page in DW or upload it to my server, everything works fine. I recieve an email at my prefered destination etc etc. But as its only a section of my contact page of my website i need to insert it into my site page (get_in_touch.html) soon as i try and take all the stuff from contact.html and insert it into a div in my get_in_touch.html it doesn't respond when the submit button is pressed..... Can someone please help!!!!!
    Dan

    Thanks for all your help. I've managed to sort out the problem, still not
    sure what it was.... My sites live now.
    Just one question for you if you dont mind.
    The page which has the flash on it (yes this one again!) Well if someone
    goes to the page with out having flash player installed on their machine,
    i'm looking for some script to detect that there computer doesn't have
    Flash and redirect them to another html page I've created.
    Would really appreciated any advice you may have.
    many thanks,
    Dan
                                                                                    pziecina                                                 
                 <[email protected]>                                                                               
    To
                 09/09/2009 16:40                Daniel Herrington        
                                                 <[email protected]
                                                 m>                       
                    Please respond to                                       cc
                 clearspace-571537347-50                                  
                 [email protected]                               Subject
                      ums.adobe.com              Help with a
                                                 flash html inserting into DW
                                                                                    Hi
    Somewhere above your tag, you will have a line similar to this - Also in your tag the swf file -
    These are the files that I said may be wrong or missing.
    However if you just edit the flash generated page and include the items you
    require in this, and maintain the same file position, you should have no
    problems,
    PZ

  • Flash Object not viewable within page

    Hello, I've been having trouble adding a Flash content into pages (which I'm quite innexperienced at). My homepage for example, is supposed to be a flash site. But for some reason it does not play when inserted to an incredibly simple webpage, as you can see here; www.ethanguillemette.com
    Instead of the flash site appearing, there is simply an empty white box. Now interestingly enough, the flash object is fine in and of itself, and can be viewed without problem (albeit far too large!) here; http://www.ethanguillemette.com/flashsite.swf
    The following is the code for the index page. Pretty much all I did was create a wrapper, center it, and add a background color:
    <!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" />
    <title>Ethan Guillemette - Web Designer</title>
    <style type="text/css">
    body {
    background-color: #91919B;
    .flashwrapper {
    margin: auto;
    height: 480px;
    width: 900px;
    </style>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body>
    <div class="flashwrapper">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="900" height="480" id="FlashID" title="Ethan Guillemette Flash Site">
        <param name="movie" value="flashsite.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="11.0.0.0" />
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="flashsite.swf" width="900" height="480">
          <!--<![endif]-->
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="11.0.0.0" />
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object>
    </div>
    <script type="text/javascript">
    swfobject.registerObject("FlashID");
    </script>
    </body>
    </html>
    Does anyone know what hairbrained thing I'm doing wrong? Any help would be much appreciated!

    Just as general info I'd like to add a couple of my observations.
    There seems to be a number of very similar problems popping up in other Forums recently related to this same issue. I'm thinking that a recent Flash pluggin update is causing some of these problems.
    For example, I can't see the .swf files in either of hans links... I haven't updated my Flash pluggin for awhile (10.0.45.2). OK, I can understand if I can't view the .swf.
    But here is a similar problem posted over in the Flash Forum:
    http://forums.adobe.com/thread/868573?tstart=0
    I get a "download latest pluggin" message when attempting to view the posters page:
    http://www.brendaportfolio.co.uk/test.html
    However, I can direct download the .swf and view it just fine.
    So the problem is not that I don't have the correct version pluggin for that particular .swf, but rather that I don't have the correct pluggin as required by the embedding code used, specifically:
    <param name="swfversion" value="11.0.0.0" />
    older versions of his .swf/pages used an embed method calling for older version of "swfversion" as a param, those work just fine.
    So my guess is that in this posters case, the newer version pluggin IS required for his .swf, since I can't view the page. The old CS3 version, which used the old "AC_FL_RunContent" embed method only called for version 9 pluggin, while the .swf itself requires the latest pluggin.
    Perhaps a lesson to be learned is that when creating Flash content, you may not want to always develop for the very latest version of Flash Player, since not everyone has updated their browers. A second lesson/observation is that the embed method used in CS5 (swfobject_modified.js) seems to be putting the cart before the horse, requiring the latest pluggin update even if the .swf does not need it.
    Now I am all for using .swfobject, but NOT to display the Flash. swfobject is not needed, nor required to display Flash on a Web page. If the Web browser has the Flash pluggin a .swf will display just fine with some simple code like this:
    <object data="path_to_file/file.swf" type="application/x-shockwave-flash" width="insert_width_of_movie" height="insert_height_of_movie">
      <param name="movie" value="path_to_file/file.swf">
      <param name="SomeOtherParam" value="ParamValue">
    </object>
    no other code, swfobject, or AC_FL_RunContent needed.
    The purpose if using .swfobject is to provide Flash detection (not Flash display) and display alternate content if the Flash pluggin is missing or not up to date. But it appears now that the version of .swfobject used in CS5 has incorporated "get the latest version pluggin no matter what" rather than "get the appropriate pluggin for this .swf".
    And yet one of the most powerful features of .swfobject is the most overlooked and underused, that of allowing you to create alternate content for SEO purposes. That alt content can completely remedy I Know Nothing at all's concerns:
    On another note, you are aware that a 100 % Flash navigated site is the worst thing you can do from an SEO standpoint right?
    From an old post:
    If you think that Flash is somehow bad for SEO, it's time to dispell that MYTH!
    If fact, in some circumstances I'll use Flash INSTEAD of just HTML because then I'll have better SEO than with just HTML alone.
    http://www.worldbarefootcenter.com/
    The link to World Barefoot Center in the above post is just one example. View the source code and you see a couple paragraphs of text along with regular HTML links.... but what displays is the Flash version of the image and Flash links.
    The client provided the artwork for the page... and that's what they wanted to use a .jpg image. Well yes, that could be done in HTML but it would be virtually invisible to Google. So Instead I converted the image into a Flash .swf and used swfobject to display the Flash. swfobject allows you to create alternate content inside the <div> which also holds the Flash .swf, then when the page is loaded it detects if the browser has the Flash pluggin. If it does, it displays just the Flash content, if not, it displays the alternate content. Since almost everyone has the Flash pluggin, for most people the Flash version of the <div> will display.
    The alternate content for that <div> can be any regular HTML text, images, media player, links, etc., anything that you would use if you were not using the Flash. Now the best part is that the alternate content can be "over the top" as far as optimizing for SEO, since it will not be seen by most viewers.
    Here's another example of SEO with Flash.. again, the page is just a single image provided by the client:
    http://www.ksowetsuits.com/
    View the source code. The alt content is paragraph after paragraph of information about the site, including lists and links. If it was just the HTML, it might be kind of a boring Home page. But for SEO I can go "over the top" in promoting the site, since most viewers will never see that part... but it's all indexed by search engines. The end result is BETTER SEO using Flash than just HTML.
    On another Web site, a Flash video is displayed, the alt content is the complete text narration of the video. Now how many people would take the time to read that if they could just watch the video instead?? again, better SEO with Flash than without. In fact in one case we had first page search result from that video narration within 4 hours of posting the page.
    On still another site with a Flash video, the alt content is another video, but a .mov version, which will, in effect play Flash video on the iPhone (not possible you say??). Well since the iPhone does not have Flash pluggin, it simply displays the .mov version of the video, while everyione else sees the Flash version.
    So anyway, if Flash is a part of your Web development, you should look into using swfobject and alternate content.
    http://code.google.com/p/swfobject/
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    Best wishes all,
    Adninjastrator

  • Animation works in preview, and breaks once inserted into a page as .oam

    I built a simple animation that allows a user to step forward and backward through the timeline. I was able to leverage code from the Edge blog, so I'm pretty sure it's solid. The animation even previews well, but when I publish to .oam and reference the file from a different directory, the animation suddenly breaks. I really don't know what to do.
    I've tried creating a blank page in the same directory as the .oam file, and it is still breaking.
    When I say it breaks, what is happening is it appears a specific point in the timeline where an element should fade out, but it doesn't. Instead it remains as the other elements continue to work properly.
    Any ideas how to test this problem?
    Here is the code for my "back" button:
    var current = sym.getVariable("current");
       if (current != "start") {
          sym.getSymbol("the_wheel").playReverse();
       else {
          sym.getSymbol("the_wheel").playReverse("end");
    sym.setVariable("current", "the_wheel");
    Message was edited by: DOD

    Hi Sarah,
    I uploaded fresh files. Sorry, I have so many versions right now, it's hard to keep things straight.
    http://dezylum.com/wheel/wheel.html
    I'm testing on Mac and PC:
    Mac: Safari and Chrome (both up to date)
    PC: Firefox, Chrome and IE (all up to date)
    Note: the files TEST from Edge just fine. It's only when I publish to the .oam file, insert the link into my page and test it that way that the animation breaks.
    When navigating forward or backward through the animation, the color bars that are in between the light blue circle and the darker arrows should fully fade in to a light color and fully fade out to white as the next light bar fades in. When you navigate backward and reach the dark blue arrow, and click back again to reach the yellow-orange arrow, the light blue bar gets stuck when fading to the yellow-orange bar. Here is a screen grab.
    The light blue bar should fade completely to white, but does not until you navigate back and reach the dark orange arrow. I hope that makes sense .
    Thanks for your help and attention!
    Kevin

  • Blogs - inserting into web page

    Hi All
    would some onoe beable to direct me to the best place on where to start??
    I am new to blogging, I have downloaded and install wordPress for a blog but I would like to incorporate the blog into an existing web page, say the index.html.
    or create something like this http://www.vetonet.dk/and-were-back-in-the-studio/
    where the blog appears to be sat within the page??
    can anyone help/direct me how to create a blog within a html webpage
    any help would be great!!
    cheers

    You won't be able to do thin in an HTML page, you'll need to move to a dynamic language such as PHP or ColdFusion. Also, with WorPress you won't be able to "insert it into your page" -  WordPress is a full blogging or even a CMS application... It is your site that you have to customize it to look the way you want.  Do a Google search and see if you can find a lightweight blogging app that does what you want, but in most cases the blog wants to be the site and not just added to it.
    Lawrence Cramer - *Adobe Community Professional*
    http://www.Cartweaver.com
    Shopping Cart for Adobe Dreamweaver
    available in PHP, ColdFusion, and ASP
    Stay updated - http://blog.cartweaver.com

  • Need help getting Flash object to work

    The latest version of Dreamweaver automatically converted my
    Flash code to be compatible with IE, but now my Flash object
    doesn't work in any browser. What is wrong here?

    You need it for this reason -
    It's IE-only behaviour as a result of changes Microsoft made
    several
    years ago to their browser, regarding how Active Content
    (Flash, Quicktime
    etc)
    is handled, after losing a high profile court case.
    http://blog.deconcept.com/2005/12/15/internet-explorer-eolas-changes-and-the-flash-plugin/
    Background:
    http://en.wikipedia.org/wiki/Eolas
    See also
    http://www.adobe.com/devnet/activecontent/
    If you're running Dreamweaver 8.0.2/CS3, the fix is already
    built into DW's
    interface.
    If not, try
    http://blog.deconcept.com/swfobject/
    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
    ==================
    "AngryCloud" <[email protected]> wrote in
    message
    news:[email protected]...
    >I can't provide a link, but I know where the problem
    lies. It is on the
    > JavaScript line. In Dreamweaver, if I set the source to
    a static file, it
    > automatically removes the '.swf' on the end of the
    source in the code, so
    > 'flashgame.swf' becomes just 'flashgame'. But with a
    dynamic source, the
    > '.swf'
    > is included in the dynamic string, and is not removed.
    So when I load the
    > page
    > in the browser, I believe the JavaScript object ends up
    setting the source
    > to
    > something like 'flashgame.swf.swf', and therefore does
    not display.
    >
    > So first of all, why do I need the JavaScript code at
    all? The Object code
    > seems to work just fine. And if it necessary to keep the
    JavaScript code,
    > how
    > do I prevent it from adding that extra '.swf' on the
    end?
    >
    >
    Dynamic Source:
    > <script type="text/javascript">
    > AC_FL_RunContent(
    > 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
    > version=9,0,28,0','width','32','height','32',
    'src','<?php echo
    > $row_submission_data['source']; ?>'
    > ,'quality','high','pluginspage','
    http://www.adobe.com/shockwave/download/downloa
    > d.cgi?P1_Prod_Version=ShockwaveFlash' ); //end AC code
    > </script>
    >
    >
    Static Source:
    > <script type="text/javascript">
    > AC_FL_RunContent(
    > 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
    > version=9,0,28,0','width','550','height','400',
    'src','flashgame'
    > ,'quality','high','pluginspage','
    http://www.adobe.com/shockwave/download/downloa
    > d.cgi?P1_Prod_Version=ShockwaveFlash' ); //end AC code
    > </script>
    >

  • Problem integrating slideshowpro flash photo gallery into existing page

    Hi, I have a photo gallery made with slideshow pro which you
    can see on the page
    http://theoldfort.com/slideshow/slideshow.html.
    All the files are located in a directory on the server root called
    slideshow. However I would like to put this flash animation onto an
    exisiting page in the root namely
    http://theoldfort.com/picture_gallery.htm.
    That way it will have the same layout as the other pages. I tried
    exchanging the flash animation from slideshow.htm to
    picture_gallery.htm and then included the subdirectory name
    (slideshow/slideshow.swf) in the path but didn't succeed.
    Thanks for your assitance in advance.

    Thanks tweaked eye! You can check it out on
    http://theoldfort.com/picture_gallery.htm.
    The code is there and its black but not loading for whatever
    reason. I included the swf on that page with the path,
    slideshow/slideshow.swf. The files for the flash animation are
    located in the slideshow file on the website server root... I think
    it's something mixed up in the code but I can't see what it could
    possibly be.
    Code = <td width="602"
    height="650"><p> </p>
    <p>
    <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','550','height','400','title','Picture
    Gallery Old Fort
    Bequia','src','slideshow/slideshow','quality','high','pluginspage','
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','slideshow/slideshow','toJSONString',''
    ); //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="550" height="400" title="Picture Gallery Old Fort
    Bequia">
    <param name="movie" value="slideshow/slideshow.swf">
    <param name="quality" value="high">
    <embed src="slideshow/slideshow.swf" quality="high"
    pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="550"
    height="400"></embed>
    </object></noscript>
    </p>

  • HELP!!: Error inserting into table in exception block

    I have some pl/sql code. In the exception section I have several lines of code similar to:
    WHEN NO_DATA_FOUND THEN
    INSERT INTO SCHEMA.ERR_TABLE (err_num, line)
    values ('101', V_LINE);
    When I try to compile the code it gives me an error:
    (1):PLS-00201: identifier 'TEMP_ERRS' must be declared
    (2):PL/SQL: SQL Statement ignored
    (3):PLS-00201: identifier 'TEMP_ERRS' must be declared
    (4):PL/SQL: SQL Statement ignored
    TEMP_ERRS is just a table that exists in a schema?
    I tried inserting a record into this table in plain sql code and it worked.
    What am I missing??
    TIA-
    null

    I was able to insert a test record into TEMP_ERRS using plain sql, and it worked so I believe I should have the correct previlage.
    The only difference is that the PL/SQL code is part of a trigger, what specific previlage would I need?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Kaleem Mohammed Abdul ([email protected]):
    If the table/Synonym is not in the current schema, check for the privileges<HR></BLOCKQUOTE>
    null

  • Help with CDOSYS,  and insert into DB

    I'm using Dreamweaver 8, SQL Server 2000, Windows 2003
    Server.
    This is what so far I was able to achieve. Have a form that
    inserts records into the database, a confirmation page of the
    insert, and a simple CDOSYS message to notify me that a record have
    been inserted.
    Basically on the Form action I call the insert page, wich in
    turn redirects to the confirmation page that virtually includes the
    file for the email.
    What I would like to achieve, is the email that I've setup,
    to include in the body of the message all the fields that have been
    inserted, instead of a simple message that a record have been
    inserted. Below is the simple code that I´m using for the
    email. Can someone explain what do I have to modify or add and
    where?
    Thanks.
    Manuel
    <%
    Set myMail=CreateObject("CDO.Message")
    myMail.Subject="New Contact"
    myMail.From=""
    myMail.To="myMail@myProvider"
    myMail.Bcc="someonelse'sMail@hisProvider"
    myMail.Cc=""
    myMail.TextBody="There´s a new contact"
    myMail.Send
    set myMail=nothing
    %>

    Thanks if you read my first post, but I've figured it out.
    Thanks anyway
    Manuel

  • SWF won't play onced inserted into html page, though plays in absolute paths

    I have embedded a SWF in my index page. The background image saved in the FLA shows up, but none of the remaining content. If I put in the URL to the actual SWF and HTML files, however, everything works fine.
    palmettowebproductions.com is the URL of the site
    this is the code in the index page:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8.0.22.0" width="900" height="284" id="slideshow\"> <param name="movie" value="/flashslidebanner/slideshow.swf"/> <param name="quality" value="high" /> <param name="wmode" value="transparent" /><embed src="/flashslidebanner/slideshow.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="900" height="284" wmode="transparent" name="slideshow"></embed></object>

    Paevo Kelley wrote:
    I have embedded a SWF in my index page. The background image saved in the FLA shows up, but none of the remaining content.
    This to me sounds like an issue with the ActionScript.  Have you tried posting in the Flash forum?

  • Help with Flash Banner Opening on every page

    Hey guys I been trying to optimize my site abit. I seen on
    some new flash templates that when the flash banner opens the first
    time the browser will not call it again when clicking on new page
    links. I also seen the banner incorperated with an iframe so it
    only calls it once.
    Currently I have 6 .html pages each calling the flash banner
    every time their clicked. This is taking loading time whenever a
    user browses to a different page.
    my site is
    http://xpservers.net
    and another i created is
    http://energreenmetering.com
    Can someone help me out ?

    A 5.6MB file is way too big for a Flash movie to stream easily, even over DSL. Even 1 MB is pretty big for a Flash movie. A loading status indicator requires programming using the Flash authoring application.
    The Flash export from keynote is probably not compressing the images a lot. Also the size of the presentation (800x600) is pretty large, and this is giving you a big file.
    Try searching versiontracker.com for other slideshow tools with Flash export that will allow you to create a smaller canvas and compress your images more. But be aware that a series of bitmaps will always create a large Flash movie.
    Good luck!

  • Urgent help with HTML/arrays/insert into database through a bean

    I am currenly building an application that dynamically lists subjects and developers from a database. This list is used as a questionaire to ask developers what subjects will they be interested in attending or teaching. I having problem passing this data into the database on the bean level.
    I need help I have been working on this for months. I can explain further. I need to prove to my boss that I can do this project but i am currently stuck.

    Split your requirements into small pieces and ask them one by one, you will certainly get help here. But please make sure that you will do your home/office work.

  • Unwanted blank lines inserted into the page bean

    For some reason after using the visual editor and then switching to the java view, I notice that there are extra blank lines inserted between lines in the file. The extra lines can accumulate making the file very large and unusable. This has only started happening after installing the latest hot fix. Is there a fix for this?
    Thanks,

    Hi mitsu,
    We did send out some updates via UpdateCenter just two days back. One of the fixes in there would fix the extra empty lines issue.
    Please get this update downloaded and installed on your Creator Installation.
    It should fix your issue.
    Could you please confirm if this fixes your issue?
    Regards,
    Sakthi

  • Last Object Inserted into Vector Appears in Every Position

    I am experiencing difficulty with adding objects to vectors. The object that is added last appears in all locations in the vector, from 0 to size-1. The below program illustrates my problem. I expect it to print
    A 1
    B 2
    C 3
    D 4
    Yet it prints
    D 4
    D 4
    D 4
    D 4
    If anyone has some advice, I would greatly appreciate it. Thank you.
    import java.io.*;
    import java.util.*;
    class CharAndInt
      private static char x;
      private static int y;
      public CharAndInt(char a, int b)
        x = a;
        y = b;
      public char getX()
        return x;
      public int getY()
        return y;
    class Test
      private static Vector v;
      public static void addToV (char a, int b)
        CharAndInt tmp = new CharAndInt(a, b);
        v.add(tmp);
      public static void main (String args[]) throws IOException
        v = new Vector();
        char arrC [] = { 'A', 'B', 'C', 'D' };
        int arrI [] = { 1, 2, 3, 4 };
        CharAndInt tmp;
        for (int i = 0; i < 4; ++i)
          addToV(arrC, arrI[i]);
    for (int i = 0; i < 4; ++i)
    tmp = (CharAndInt) v.get(i);
    System.out.println(tmp.getX() + " " + tmp.getY());
    Message was edited by:
    blueicemd

    In ther CharAndInt class you have made x and y static. They
    shouldn't be.

  • Problem inserting video into a page

    Hi, I have a page created using a custom page layout that I created.  
    I tried using the Video page field but when I configure the video, with youtube url it doesn't work.  here is the url I used, 
    https://www.youtube.com/watch?v=v6yvW66-ThI&feature=player_embedded and https://www.youtube.com/watch?v=v6yvW66-ThI both won't work  It gives message at the bottom saying loading of video failed.
                                    <!--CS: Start Page Field: Promo-Video Snippet-->
                                    <!--SPM:<%@Register Tagprefix="PageFieldMediaFieldControl" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing,
    Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    I then tried inserting into a Page Content section.  I clicked on the Insert tab, click "Video and Audio" then "Embed".  I then paste the following code into the dialog.  The video loads and I click the Insert button.  In
    Edit mode I can see and play the video.  I click to save the page and the video disappear.  I click to edit the page again and the video snippet code I pasted earlier is gone.  <iframe width="510" height="340" src="//www.youtube.com/embed/v6yvW66-ThI?feature=player_detailpage"
    frameborder="0" allowfullscreen></iframe>
                                    <!--CS: Start Page Field: Course-Finder Snippet-->
                                    <!--SPM:<%@Register Tagprefix="PageFieldRichHtmlField" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing,
    Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
                                    <!--MS:<PageFieldRichHtmlField:RichHtmlField FieldName="7028b9a8-236b-42a4-a74d-50c8459ec679" runat="server">-->
                                        <!--PS: Start of READ-ONLY PREVIEW (do not modify)--><div id="ctl02_label" style="display:none">Course-Finder</div><div
    id="ctl02__ControlWrapper_RichHtmlField" class="ms-rtestate-field" style="display:inline" aria-labelledby="ctl02_label"><div align="left" class="ms-formfieldcontainer"><div class="ms-formfieldlabelcontainer"
    nowrap="nowrap"><span class="ms-formfieldlabel" nowrap="nowrap">Course-Finder</span></div><div class="ms-formfieldvaluecontainer"><div class="ms-rtestate-field">Course-Finder
    field value. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
    irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div></div></div></div><!--PE:
    End of READ-ONLY PREVIEW-->
                                    <!--ME:</PageFieldRichHtmlField:RichHtmlField>-->
                                    <!--CE: End Page Field: Course-Finder Snippet-->
    Thank you.

    Thank you for the link.  I read it over a couple of times but it says youtube doesn't work.  I checked the Site Setting ->HTML Field Security and youtube.com is in the allowed iframes list.  Below is from the link
    Using the "Embed Code" dialog
    When editing a HTML field, there is now a new button available on the ribbon called "Embed Code" in the "Insert" tab. As the <iframe> code is inserted, the dialog tells you that the content will be inserted in a web part. YouTube didn’t work because they
    prevent display in an iframe due to security reasons but Bing did.
    One thing is that we're Intranet site so it has to be https but in the snippet editor of embedded code the video is loaded and plays.  It just disappear after I save the page.  
    Anyway to get youbute iframe to work using either embedded code or in Edit Html source in a SP publishing site page?
    Thank you.

Maybe you are looking for

  • AVCHD manageable with FCP 5.1.4 and Intel iMac 2.16 MHz ?

    Hi, I am looking into a new camcorder Sony HDR XR 500 (520) and one of the reviews I have read mentions that the AVCHD format requires specific software and the latest computers. Do I have no chance to work those files with my current configuration?

  • Can't share my Internet connection - Can't create Wifi network

    Hi! I'm struggling to get my Mac Mini A1176 with 10.7 to create a Wifi hotspot. When I try, either through Internet Sharing or by manually choosing create network, it says "can't connect", and fails to create the hotspot. The only strange thing I can

  • ORA-01034: Error svrmgrl

    After installation of Oracle Entreprise Server 8.1.5 on Red Hat 6.0, I tried to run some samples given in the administration guide: I run svrmgrl, and I ve got an error message: ./svrmgrl Oracle Server Manager Release 3.1.5.0.0 - Production (c) Copyr

  • How to include a structure in a method

    Hi All, when i executed this statement in a method types : BEGIN OF TY_ITAB2.           INCLUDE STRUCTURE LTAP_VB. types :  END OF TY_ITAB2. Syntax Message: Within classes and interfaces, you can only use "TYPE" to refer to ABAP Dictionary types, not

  • Run VIRSA/ZVFATBAK to generate missed log

    Hello experts, we had an upgrade a couple weeks ago and we had to put the VIRSA/ZVFATBAK job on hold. Because of this we have a couple of FF logons missing data. We have the "BACKGROUND JOB WAS NOT SCHEDULED/LOG & FILE NOT YET GENERATED" error. Usual