Trouble implementing a header on Wordpress

I installed the Edge Suite Plugin. I used the shortcode to successfully implement my animation I created for my about me page. I now want to implement a header I created for my site. I uploaded the animation witth the .oam file and chose it as my "default composition". It worked, except an image is visible when it is off my stage in Edge. The file is not showing just what is visible in the stage like it should. Does anyone know how to solve this problem?

Great!!!
Here goes...
///Frame 1///
var amountLoaded:Number = _root.getBytesLoaded()/_root.getBytesTotal();
loadText.text = Math.round(amountLoaded * 100) + "%";
///Frame 2///
if(_root.getBytesLoaded() == _root.getBytesTotal()) {
_root.gotoAndPlay(2);
else {
gotoAndPlay(1);

Similar Messages

  • I am having trouble Trouble implementing one-way SSL on WebLogic 9.2...

    I am having trouble Trouble implementing one-way SSL on WebLogic 9.2. I am using Demo Identity and Demo Trust certificates with a SSL Listen Port Enabled on 7002, and a Two Way Client Cert Behavior of Client Certs Not Requested. I assume that by using Client Certs Not Requested that there is no need to install certificates on user's computers.
    When weblogic is restarted, I get the following log telling me it works...
    <Sep 11, 2012 9:35:16 AM PDT> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias DemoIdentity from the jks keystore file E:\bea\WEBLOG~1\server\lib\DemoIdentity.jks.>
    <Sep 11, 2012 9:35:17 AM PDT> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file E:\bea\WEBLOG~1\server\lib\DemoTrust.jks.>
    <Sep 11, 2012 9:35:17 AM PDT> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file e:\bea\jdk150_12\jre\lib\security\cacerts.>
    <Sep 11, 2012 9:35:17 AM PDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.9.20.172:7000 for protocols iiop, t3, ldap, http.>
    <Sep 11, 2012 9:35:17 AM PDT> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure" is now listening on 10.9.20.172:7002 for protocols iiops, t3s, ldaps, https.>
    However, when I open the console in https://server:7002/console, I get the following error in log file...
    <Sep 11, 2012 9:43:45 AM PDT> <Warning> <Security> <BEA-090481> <NO_CERTIFICATE alert was received from x.y.z.com - 10.37.10.54. Verify the SSL configuration has a proper SSL certificate chain and private key specified.>
    <Sep 11, 2012 9:43:45 AM PDT> <Warning> <Security> <BEA-090508> <Certificate chain received from x.y.z.com - 10.37.10.54 was incomplete.>
    I do not understand why I am getting this error when I assume there is no need to install certificates on user's computers. Can't someone please explain what is going on? Thanks in advance.

    <?xml version='1.0' encoding='UTF-8'?>
    <domain xmlns="http://www.bea.com/ns/weblogic/920/domain" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xsi:schemaLocation="http://www.bea.com/ns/weblogic/90/security/extension http://www.bea.com/ns/weblogic/90/security.xsd http://www.bea.com/ns/weblogic/90/security/xacml http://www.bea.com/ns/weblogic/90/security/xacml.xsd http://www.bea.com/ns/weblogic/90/security http://www.bea.com/ns/weblogic/90/security.xsd http://www.bea.com/ns/weblogic/920/domain http://www.bea.com/ns/weblogic/920/domain.xsd http://www.bea.com/ns/weblogic/90/security/wls http://www.bea.com/ns/weblogic/90/security/wls.xsd">
    <name>nctcis</name>
    <domain-version>9.2.3.0</domain-version>
    <security-configuration>
    <name>nctcis</name>
    <realm>
    <sec:authentication-provider xsi:type="wls:default-authenticatorType">
    <sec:name>DefaultAuthenticator</sec:name>
    <sec:control-flag>SUFFICIENT</sec:control-flag>
    </sec:authentication-provider>
    <sec:authentication-provider xsi:type="wls:default-identity-asserterType">
    <sec:name>DefaultIdentityAsserter</sec:name>
    <sec:active-type>AuthenticatedUser</sec:active-type>
    </sec:authentication-provider>
    <sec:role-mapper xmlns:xac="http://www.bea.com/ns/weblogic/90/security/xacml" xsi:type="xac:xacml-role-mapperType"></sec:role-mapper>
    <sec:authorizer xmlns:xac="http://www.bea.com/ns/weblogic/90/security/xacml" xsi:type="xac:xacml-authorizerType"></sec:authorizer>
    <sec:adjudicator xsi:type="wls:default-adjudicatorType"></sec:adjudicator>
    <sec:credential-mapper xsi:type="wls:default-credential-mapperType"></sec:credential-mapper>
    <sec:cert-path-provider xsi:type="wls:web-logic-cert-path-providerType"></sec:cert-path-provider>
    <sec:cert-path-builder>WebLogicCertPathProvider</sec:cert-path-builder>
    <sec:name>myrealm</sec:name>
    </realm>
    <default-realm>myrealm</default-realm>
    <anonymous-admin-lookup-enabled>true</anonymous-admin-lookup-enabled>
    <credential-encrypted>{3DES}PyUkjWRp8JGpk75BYSbvQ6OWYgA9SZq2nj2IuENa2vxrMy835GMRZ+GGKhJiWapjt0mMC2ohcxxlIMNUZJUH2gCjbB5kQUmA</credential-encrypted>
    <node-manager-username>system</node-manager-username>
    <node-manager-password-encrypted>{3DES}KmaZDZGQC6spYVY12CbJGA==</node-manager-password-encrypted>
    </security-configuration>
    <jta>
    <timeout-seconds>1800</timeout-seconds>
    <abandon-timeout-seconds>3600</abandon-timeout-seconds>
    <max-transactions>100000</max-transactions>
    <max-resource-unavailable-millis>100000</max-resource-unavailable-millis>
    </jta>
    <log>
    <name>nctcis</name>
    <file-name>e:/netcracker/logs/wl-domain.log</file-name>
    <file-min-size>5120</file-min-size>
    </log>
    <server>
    <name>nctcisAdmin</name>
    <ssl>
    <enabled>true</enabled>
    <hostname-verifier xsi:nil="true"></hostname-verifier>
    <hostname-verification-ignored>false</hostname-verification-ignored>
    <client-certificate-enforced>true</client-certificate-enforced>
    <two-way-ssl-enabled>false</two-way-ssl-enabled>
    <server-private-key-alias>tcisdevbpagov_cert</server-private-key-alias>
    <server-private-key-pass-phrase-encrypted>{3DES}T21dXO5l79SRI+xSmGOE+A==</server-private-key-pass-phrase-encrypted>
    <use-server-certs>false</use-server-certs>
    </ssl>
    <log>
    <name>nctcisAdmin</name>
    <file-name>e:/netcracker/logs/weblogic.log</file-name>
    <file-min-size>5120</file-min-size>
    </log>
    <listen-port>7000</listen-port>
    <web-server>
    <name>nctcisAdmin</name>
    <web-server-log>
    <name>nctcisAdmin</name>
    <file-name>e:/netcracker/logs/access.log</file-name>
    <file-min-size>5120</file-min-size>
    </web-server-log>
    </web-server>
    <listen-address>tcis.dev.bpa.gov</listen-address>
    <key-stores>DemoIdentityAndDemoTrust</key-stores>
    <custom-identity-key-store-file-name>E:\bea\jdk150_12\bin\tcisdevbpagov_identity.jks</custom-identity-key-store-file-name>
    <custom-identity-key-store-type>JKS</custom-identity-key-store-type>
    <custom-identity-key-store-pass-phrase-encrypted>{3DES}T21dXO5l79SRI+xSmGOE+A==</custom-identity-key-store-pass-phrase-encrypted>
    <custom-trust-key-store-file-name>E:\bea\jdk150_12\bin\tcisdevbpagov_trust.jks</custom-trust-key-store-file-name>
    <custom-trust-key-store-type>JKS</custom-trust-key-store-type>
    <custom-trust-key-store-pass-phrase-encrypted>{3DES}I++r0/FEMRGFrqF47pYZJA==</custom-trust-key-store-pass-phrase-encrypted>
    </server>
    <embedded-ldap>
    <name>nctcis</name>
    <credential-encrypted>{3DES}i51JYfmoGyFTxPjiCjjtXWwza1t13k56Ls7fmdqtKB0=</credential-encrypted>
    </embedded-ldap>
    <configuration-version>9.2.3.0</configuration-version>
    <app-deployment>
    <name>NetCracker</name>
    <target>nctcisAdmin</target>
    <module-type>ear</module-type>
    <source-path>applications\NetCracker</source-path>
    <security-dd-model>DDOnly</security-dd-model>
    <staging-mode>nostage</staging-mode>
    </app-deployment>
    <app-deployment>
    <name>pictures</name>
    <target>nctcisAdmin</target>
    <module-type>war</module-type>
    <source-path>e:\pictures</source-path>
    <security-dd-model>DDOnly</security-dd-model>
    <staging-mode>nostage</staging-mode>
    </app-deployment>
    <jms-server>
    <name>NCJMSServer</name>
    <target>nctcisAdmin</target>
    <temporary-template-resource>NCJMSModule</temporary-template-resource>
    <temporary-template-name>NetCrackerTemplate</temporary-template-name>
    <message-buffer-size>100000</message-buffer-size>
    </jms-server>
    <self-tuning>
    <max-threads-constraint>
    <name>MaxThreadsConstraint</name>
    <target>nctcisAdmin</target>
    <count>40</count>
    </max-threads-constraint>
    <work-manager>
    <name>default</name>
    <target>nctcisAdmin</target>
    <max-threads-constraint>MaxThreadsConstraint</max-threads-constraint>
    <work-manager-shutdown-trigger>
    <stuck-thread-count>1000</stuck-thread-count>
    </work-manager-shutdown-trigger>
    </work-manager>
    </self-tuning>
    <jms-system-resource>
    <name>NCJMSModule</name>
    <target>nctcisAdmin</target>
    <sub-deployment>
    <name>BEA_JMS_MODULE_SUBDEPLOYMENT_NCJMSServer</name>
    <target>NCJMSServer</target>
    </sub-deployment>
    <descriptor-file-name>jms/ncjmsmodule-jms.xml</descriptor-file-name>
    </jms-system-resource>
    <admin-server-name>nctcisAdmin</admin-server-name>
    <jdbc-system-resource>
    <name>NetCrackerDataSource</name>
    <target>nctcisAdmin</target>
    <descriptor-file-name>jdbc/NetCrackerDataSource-5713-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    <jdbc-system-resource>
    <name>NetCrackerDataSourceNonTX</name>
    <target>nctcisAdmin</target>
    <descriptor-file-name>jdbc/NetCrackerDataSourceNonTX-6926-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    </domain>
    Edited by: user6904153 on Sep 12, 2012 6:57 AM

  • Troubles implementing SAP Note 765494

    All,
    I am trying to implement note 765494, but I have troubles implementing it.
    The note tells me to do the following:
    <b>12. Extend the private section of the CL_PO_ITEM_HANDLE_MM class to include the PO_EKPVX_HASH_TABLE attribute with the following attributes:
    a) Attribute: PO_EKPVX_HASH_TABLE
    b) Level: Static Attribute
    c) Visibility: Private
    d) Description: Hashed X data for EKPV
    e) Choose 'Direct Type Entry' to go to the definition of the Private Section. Maintain the following values:
               TYPES:
                BEGIN OF po_ekpvx_hash_entry,
                  item TYPE REF TO cl_po_item_handle_mm,
                  data TYPE mepo_ekpvx,
                END OF po_ekpvx_hash_entry .
               CLASS-DATA:
                po_ekpvx_hash_table TYPE HASHED TABLE OF
                        po_ekpvx_hash_entry WITH UNIQUE KEY item .</b>
    However, in the classbuilder the button with wich to jump to direct type entry is greyed out.
    My question is how to maintain direct types in se24 for this class.
    Thanks in advance
    Bert

    Hi rena,
    I did solve the problem by switching off the modification assistant.
    I hpe this works for you too.
    Regards,
    Bert

  • How to implement column header sort

    Hi all,
    Does anyone know how to configure Oracle 9i AS Portal Release 2 column header sort.
    In Portal, Oracle has setup the IDE to sort your columns using arrow keys in the
    column headers. I would like to do the same thing without using the Custom Form.
    TIA,
    Daniel N

    I would suggest using the built in Collections framework for sorting.
    have class A implement the Comparable interface then implement the compareTo method as follows:
    public int compareTo(Object o) {
        A a = (A)o;  // <-- may cause ClassCastException if (o instanceof A) != true, but that should not be a problem.
        int value = attr1.compareTo(a.attr1);
        if (value != 0) return value;
        value = attr2.compareTo(a.attr2);
        if (value != 0) return value;
        value = a.attr3.compareTo(attr3);  //Notice I switched a.attr3 and attr3 for desc
        return value;
    }That should do it for you.
    Now put everything into an instance of java.util.List and pass that to java.util.Collections.sort(java.util.List);
    If you didn't create class A, and therefore can't add a method to it, then implement a Comparator. The idea is the same, just look at the java.util.Comparator API and use java.util.Collection.sort(java.util.List, java.util.Comparator) method to sort;

  • Trouble with the header content of php script - return wrong character: ?�?

    Hello everybody!
    I have one problem with reading of content of php's return text value.
    Ok in php script was programmed something like this:
    ===========================================
         $new1 = ereg_replace(".*OUTPUT url=\"(.{40,70})\" ?/>.*", "\\1",$XMLResponse);
         $size = strlen($new1);
         header("Content-Type: text/plain");
         header("Content-Length: " .$size);
         echo $new1;
    ==========================================
    $new1 includes url address to picture.
    Ok, in my java applet I'm using the method readLine() of DataInputStream Class, where I'm reading the return text value of the mentioned php script. The code is here:
    ==========================================
              try {
                   dis = new DataInputStream(url.openStream());
                   str = dis.readLine();
              } catch (IOException e2) {
    ==========================================
    but response is a text plus this kind of characters in beginning : ?�?
    What the trouble there? Thank you
    Jan Zitniak :)

    Hello,
    thank you for your idea, but I resolved problem with this code:
              URL urlReal = null;
              try {
                   urlReal = new URL (str); // convert String to URL
              } catch (MalformedURLException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    In that code I "converted" a string to url where the string happened a real URL address.
    Jan :)

  • Having trouble implementing Captivate simulation in an iFrame

    Hi all, hoping you can give me some pointers.
    I'm trying to implement Captivate scalable html5 simulations in a proprietary LMS that requires that I place it in an iFrame.  It works, but the scaling is not working properly.  Immediately upon loading, the Captivate content is too large for my frame, although it does resize (still too large) when I scale the page. 
    Are there any known tweaks for this kind of issue?
    Thanks in advance,
    Jill

    Not sure if you still need this, since it has been nearly a month.
    But I just ran into this same issue.
    Require using HTML5 with Captivate inside of an iFrame.
    The "Scalable html" was ignoring the iframe's dimensions, and using the full window dimensions instead.
    What I ended up doing is stop using the "scalable html" option when publishing from captivate. and then i used the following javascript inside the html that the iframe was placed:
        <script type="text/javascript">
            var iframeName = 'trainingVideo';
            this.FindZoomHeight = function () {
                var slideshow = $('#main_container', $('#' + iframeName).contents());
                var showHeight = $(slideshow).height();
                var frameHeight = $('#' + iframeName).height();
                if (frameHeight >= showHeight) { return 1; }
                return (frameHeight / showHeight);
            this.FindZoomWidth = function () {
                var slideshow = $('#main_container', $('#' + iframeName).contents());
                var showWidth = $(slideshow).width();
                var frameWidth = $('#' + iframeName).width();
                if (frameWidth >= showWidth) { return 1; }
                return (frameWidth / showWidth);
            this.SetZoomLevel = function () {
                var zh = FindZoomHeight();
                var zw = FindZoomWidth();
                var zoom = 1;
                if (zh < zw) {
                    zoom = zh;
                } else {
                    zoom = zw;
                var container = $('#main_container', $('#' + iframeName).contents());
                $('body', $('#' + iframeName).contents()).css('-moz-transform-origin', '0 0 0').css('-o-transform-origin', '0 0 0').css('-moz-transform', 'scale(' + zoom + ')').css('-o-transform', 'scale(' + zoom + ')');
                $(container).css('zoom', zoom);
            $(document).ready(function () {
                $(window).resize(function () {
                    SetZoomLevel();
            $('#' + iframeName).load(function () {
                SetZoomLevel();
        </script>
    This uses the css zoom property. (uses transform scale in firefox/opera..but captivate doesn't support those browsers anyways)

  • Trouble with Report Header

    Hope this is the right forum, I am trying to build a custom report with a coverpage, the report is basically complete with one exception. The page footer section is causing a blank white area on the report header.  The page footer has graphics and text objects in it which don't show up it's just blank. What's worse is it takes the items that it chopped out and dropped them onto the next page.  WTF is happening here?

    Alright, that's what I was looking for. So, if you don't want the Page Footer on the 1st page, follow Debi's advice on suppress it on Page1.
    Here's how can do it though:
    1) Go to the Section Expert (Report > Section Expert) and select Page Footer
    2) Click on the x-2 formula icon beside the 'Suppress (No drill-down);
    3) Type this formula:
    Pagenumber = 1
    This will suppress the Page Footer from appearing on Page 1.
    -Hope this helps!
    -Abhilash

  • Trouble implementing interface

    I'm writing a StudentInfo class that implements the Student interface. one common thing about these errors is that each of the methods i have in StudentInfo class cannot implement corresponding method in the Student interface. can someone explain that error for me and show me how to use the List class in my case. Thanks a lot!
    This is the Student interface
    * A simple interface to allow access to student
    * properties from a class data file.
    public interface Student {
        // Read-only properties
        List<Double> getGrades();
        String getFirstName();
        String getMiddleInitial();
        String getLastName();
    }This is the StudentInfo class i am wrting:
    import java.util.List;
    /**StudentInfo.java modeling a student's infomation
    *A student's info includes first name, middle initial, last name and grades
    public class StudentInfo implements Student {
        protected String myFirstName, myMiddleInitial, myLastName;
        protected List<Double> myGrades = new List<Double>();
        StudentInfo(String firstName, String middleInitial, String lastName) {
            myFirstName = firstName;
            myMiddleInitial = middleInitial;
            myLastName = lastName;
        // Read-only properties
        List<Double> getGrades() { return myGrades; }
        String getFirstName() { return myFirstName; }
        String getMiddleInitial() { return myMiddleInitial; }
        String getLastName() { return myLastName; }
    }Here are the errors:
    StudentInfo.java:19: getLastName() in StudentInfo cannot implement getLastName() in Student; attempting to assign weaker access privileges; was public
    String getLastName() { return myLastName; }
    ^
    StudentInfo.java:18: getMiddleInitial() in StudentInfo cannot implement getMiddleInitial() in Student; attempting to assign weaker access privileges; was public
    String getMiddleInitial() { return myMiddleInitial; }
    ^
    StudentInfo.java:17: getFirstName() in StudentInfo cannot implement getFirstName() in Student; attempting to assign weaker access privileges; was public
    String getFirstName() { return myFirstName; }
    ^
    StudentInfo.java:16: getGrades() in StudentInfo cannot implement getGrades() in Student; attempting to assign weaker access privileges; was public
    List<Double> getGrades() { return myGrades; }
    ^
    StudentInfo.java:9: java.util.List is abstract; cannot be instantiated
    protected List<Double> myGrades = new List<Double>();

    All interface methods are implicitly public, so they have to be public in the class that implements the interface. However, in classes, if you don't specify an explicit access level then it's package-private.
    In your implementation class, make the interface methods public.

  • Trouble implementing BDCP_BEFORE_WRITE for COND_A

    I am new to BADIs --
    I am creating change pointers for sales and tax condition records using VK11, VK31, VK34 and only want to create change pointers for certain condition types.
    I used SE19 to create an implementation of BDCP_BEFORE_WRITE for message type COND_A
    I added my code ->
    data: kschl type konh-kschl.
    break dgreenberg.
    IF CHANGE_DOCUMENT_HEADER-OBJECTCLAS EQ 'COND_A'.
    select single kschl into kschl
    from konh
    where knumh = CHANGE_DOCUMENT_HEADER-OBJECTID.
    if kschl <> 'PR00'.
        CLEAR CHANGE_POINTERS.
    endif.
    endif.
    And change pointers are still being created for non PR00 condition types.  I have attempted to debug by adding break sy-uname.  And manually adding break points to both CHANGE_POINTERS_CREATE and CHANGE_POINTERS_CREATE_DIRECT and the code is not stopping from VK11.
    Am I missing a step in 'implementing' the badi -- I assume the badi calls are made from within the code in the FM above.  I also assume that VK11 is calling one of the FM above as CDHDR and CDPOS are being populated with the transactions being processed.
    Is my code not being hit?
    OR
    If my code is being hit (and I just can't get the code to stop) -- it may be that the values are not yet written to the KONH table -- but I need to be able to interrogate the values in the transaction to make my filtering decision -- is there a temporary table that stores those values about to be posted?
    Any help would be appreciated --

    Hi Diana,
    I am experimenting same problem but working with Equipments. It seems the code is not going through that BADI.
    How did you finally fixed that?
    Hi Vivek,
    Which SAP Version are you working with...?
    Could it be due to that...
    Is Note 420562 relevant?
    I am working with
    SAP_BASIS 620 level 54
    SAP_APPL  470 level 22
    Message was edited by:
            Ivan Vojvodic

  • Trouble with local server loading wordpress theme

    Hi everyone!
    I have a wordpress theme thats installed and I want to work on the files through Dreamweaver cs5.
    I am running MAMP on my Mac and this is the page url:
    http://localhost/MAMP/?language=English
    The port number is 3306
    When I go to the site setup menu I put in this:
    Site Name: "untilted site'
    Local Site Folder: I browse until I find the folder where all the themes files are: /Applications/MAMP/htdocs
    In the Server's tab I choose these options:
    Server Name: "unamed server"
    Connect Using: "local/network"
    Server Folder (this is also the same folder where the files are): /Applications/MAMP/htdocs/theme1533
    Web URL: http://localhost/
    I have clicked the advanced tab and chosen Server Model: PHP MySQL
    I try to discover the files and I get an error that says "Dynamically-related files could not be resolved because the site definition is not correct for this server. Retry ][setup"
    If I try to preview in browser everything is blank.
    What am I doing wrong? I have been fighting this thing all day!
    Any help is much appreciated!
    <3

    Something isn't adding up.  The Wordpress structure dictates that the path is in the "wp-content/themes" folder unless you have modified the source.  Then your local site folder where the files are is "htdocs" but the Testing Server you have located at "theme1533".  What you are telling DW is that you are testing the site within the site.  That doesn't make any sense.
    If the Wordpress installation is in "htdocs" and you are editing the files in "htdocs" and you want to serve the files from there, then the Local Site Folder and Server Folder should be the same path.  Not 2 different paths.

  • I am having trouble implementing scripting functionality in an indesign template for a DPS project.

    Basically how should the interaction between inserted HTML and the CSS, JS applied for the HTML happen?
    I created plain HTML code which has text fields, buttons and the functions that perform some simple calculations. But when imported via Object>Insert HTML the HTML functionality was lost. I then tried creating and exporting an indesign template which contained all the buttons required for the calculation as a HTML file via File>Export option, added modified HTML code and then used Object>Insert HTML. But no luck.
    Is there a better way to import and/or how do we initiate a button to be used via scripting? (Eg: convert a image into a button in indesign, but.... how best to initiate a "onClick" function for the button created via Js or Jquery).

    I'm having the same issue. And Dreamweaver now crashes after just a few seconds.

  • Trouble getting my head around new ipod!!

    Can someone PLEASE HELP me?!!!
    I got a new ipod which is GREAT for music, but im having some difficulty.
    My podcasts wont appear in podcast catorgory on ipod & neither will my audiobooks. I've tried the help posted on disscusion pages but still cant do it!! I just feel i cant get the most out of my lovely new little white machine!!
    Is it worth buying the Ultimate Ipod Guide I've seen advertised or is it just me being stupid dumb blonde!!
    PLEASE HELP!!
    Tina

    Welcome to Apple's user-to-user discussion forums.
    Are you getting the podcasts and audiobooks through the iTunes Music Store or from other sources?
    I have no experience with using an iPod with Windows. I know for the Mac that at least for audiobooks from other sources, you can run a script that will allow the audiobooks to have a bookmark and will also make them be seen as audiobooks on an iPod.

  • Trouble Implementing a Buffered Reader

    Any corrections would be very helpful. Thank you very much in advance for your kind assistance.
    public void selectRestaurant (int args[]) throws IOException{
                    BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
                    boolean fineDining = true;
                    int nInput;
                    while(fineDining){
                        String inputString = input.readLine();
                        try{
                            nInput = Integer.parseInt(inputString);}
                        catch(NumberFormatException exc) {
                            System.out.println("Invalid entry");
                            nInput = 0;
                        switch(nInput){
                            case 1:
                            weight = weight + 10;
                            break;
                            case 2:
                            weight = weight + 15;
                            break;
                            case 3:
                            weight = weight + 20;
                            break;
                            case 4:
                            weight = weight - 20;
                            break;
                            default:
                            System.out.println("Please select a number between 1 and 4.");
                        }Edited by: 809632 on Nov 11, 2010 4:52 PM

    I have another class called MyInput that reads info from the Buffered Reader that looks like this:
    import java.io.*;
    class MyInput
      public static String readString()
        BufferedReader keyboard
          = new BufferedReader(new InputStreamReader(System.in), 1);
        String string = " ";
        try
          string = keyboard.readLine();
        catch (IOException ex)
          System.out.println(ex);
        return string;
      public static int readInt()
        return Integer.parseInt(readString());
    }But I can't seem to get the two classes to interact with each other. And a buffered reader never actually appears. When I run the method it just looks like I'm entering a parameter. Thank you so much in advance for your help.

  • Importing Graph Class/help implement a weighted graph class

    Is there a way to import a graph structure into my java program so that I do not need to write my own graph class?
    If not, does anyone have a graph class that I can use? I've been trying to implement this program for the past few days..
    I'm having trouble implementing a weighted graph class. This is what I have so far:
    import java.util.ArrayList;
    import java.util.Queue;
    import java.util.*;
    public class Graph<T>
         private ArrayList<Vertex> vertices;
         int size = -1;
         public Graph() throws BadInputException
              ReadFile source = new ReadFile("inputgraph.txt");
              size = source.getNumberOfWebpages();
              System.out.println(size);
              vertices = new ArrayList<Vertex>();
         public int bfs(int start, int end) //breadth first search
              Queue<Integer> queue = new LinkedList<Integer>();
              if(start == -1 || end == -1)
                   return -1;
              if(start == end)
                   return 0;
              int[] d = new int[size];
              System.out.println(size + "vertices size");
              for(int i = 0; i < d.length; i++)
                   d[i] = -1;
              System.out.println(start + " START GRAPH");
              d[start] = 0;
              queue.add(start);
              while(!queue.isEmpty())
                   int r = queue.remove();
                   if(r == end)
                        return d[r];
                   for(EdgeNode ptr = vertices.get(r).head; ptr != null; ptr = ptr.next)
                        int neighbor = ptr.dest;
                        if(d[neighbor] == -1)
                             queue.add(neighbor);
                             d[neighbor] = d[r] + 1;
                             if(neighbor == end)
                                  return d[neighbor];
              return d[end];
         public boolean addEdge(int start, int end)
              Vertex v = new Vertex();
              v = vertices.get(start);
              EdgeNode temp = v.head;
              EdgeNode newnode = new EdgeNode(end, temp);
              v.head = newnode;
              return true;
         public void setRank(int vertex, double rank) //set the weights
              vertices.get(vertex).pageRank = rank;
         public double getRank(int vertex)
              return vertices.get(vertex).pageRank;
    If anyone could help. It would be greatly appreciated
    Edited by: brones on May 3, 2008 12:33 PM

    brones wrote:
    along with the rest of my code, I'm not sure how to implement it as a weighted graphA single list is not the proper way of representing a graph. An easy way to implement a graph is to "map" keys, the source-vertex, to values, which is a collection of edges that run from your source-vertex to your destination-vertex. Here's a little demo:
    import java.util.*;
    public class TestGraph {
        public static void main(String[] args) {
            WeightedGraph<String, Integer> graph = new WeightedGraph<String, Integer>();
            graph.add("New York", "Washington", 230);
            graph.add("New York", "Boston", 215);
            graph.add("Washington", "Pittsburgh", 250);
            graph.add("Pittsburgh", "Washington", 250);
            graph.add("Pittsburgh", "New York", 370);
            graph.add("New York", "Pittsburgh", 370);
            System.out.println("New York's edges:\n"+graph.getEdgesFrom("New York"));
            System.out.println("\nThe entire graph:\n"+graph);
    class WeightedGraph<V extends Comparable<V>, W extends Number> {
        private Map<V, List<Edge<V, W>>> adjacencyMap;
        public WeightedGraph() {
            adjacencyMap = new TreeMap<V, List<Edge<V, W>>>();
        public void add(V from, V to, W weight) {
            ensureExistenceOf(from);
            ensureExistenceOf(to);
            getEdgesFrom(from).add(new Edge<V, W>(to, weight));
        private void ensureExistenceOf(V vertex) {
            if(!adjacencyMap.containsKey(vertex)) {
                adjacencyMap.put(vertex, new ArrayList<Edge<V, W>>());
        public List<Edge<V, W>> getEdgesFrom(V from) {
            return adjacencyMap.get(from);
        // other methods
        public String toString() {
            if(adjacencyMap.isEmpty()) return "<empty graph>";
            StringBuilder b = new StringBuilder();
            for(V vertex: adjacencyMap.keySet()) {
                b.append(vertex+" -> "+getEdgesFrom(vertex)+"\n");
            return b.toString();
    class Edge<V, W extends Number> {
        private V toVertex;
        private W weight;
        public Edge(V toVertex, W weight) {
            this.toVertex = toVertex;
            this.weight = weight;
        // other methods
        public String toString() {
            return "{"+weight+" : "+toVertex+"}";
    }Note that I didn't comment it, so you will need to study it a bit before you can use it. If you have further question, feel free to ask them. However, if I feel that you did not take the time to study this example, I won't feel compelled to assist you any further (sorry to be so blunt).
    Good luck.

  • Set header at runtime on Interactive Report

    I have an interactive report that displays twelve months across the report. The user can then choose a start year and month for the first column of the report. So, at runtime, I would like to populate the header with the appropriate year/month.
    On a regular report region, you can set the header using a Function returning colon delimited headings. I do not see this functionality on the interactive report. Am I overlooking something or is there another method where I can set the headers for these columns at runtime?
    Thanks,

    Andy,
    Thanks for the info. Unfortunately, I am having trouble implementing. When I place &P1_MONTH1. in my header, my header displays &P1_MONTH1. Hopefully, I am just implementing incorrectly. I am opening the Interactive Report and just entering &P1_MONTH1. in the Heading column for the appropriate column. Is this correct?
    NOTE: I placed the &P1_MONTH1. on a SQL Report and it worked. However, when trying to use on an Interactive Report it does not.
    Thanks,
    Edited by: Brian H on Feb 18, 2009 9:40 AM

Maybe you are looking for

  • Issue with column Total in a table

    Hi All, I am facing a strange issue with the column total value in an advanced table. I have enabled Total for a number column in the table, and added a total item in the footer section. This is working fine for the small numbers (10 digits) . But fo

  • PS CC – Brush size in Liquify filter

    Hello, who can help me? Since I have Photoshop installed CC works there the possibility to change the brush size by pressing the ctrl + alt key especially in the Liquify filter anymore. Anyone know the problem? The same problem I have with the zoom f

  • TS1398 I'm trying to use the us netflix and I not sure what Dns I should use or if I need a VPN

    I'm trying to use us netflix it was working but the dns is not working and I don't understand what a VPN is

  • Regarding: web dynpro for JAVA in giving application to client

    hello all, I made an webdynpro application accessing data from r /3. using bapi call .its working fine but i want to know how we supply it to client. mean what we do with this application that we made. so that it can be accessed from net. and how. an

  • Need the Info

     I got a K7T266 Pro2 Main Board, Discovered that my Nvidia Baced Gforce MX440 VGA wont work on the board  X( , I would like to ask if a ATI Radion VGA's would have the same problem  ?(