Import of custom class doesn't seem to work...

OK, I have my custom class defined in a file called "rootInstace.as". This is what it contains:
package
import flash.display.MovieClip;
public class CRoot extends MovieClip
public static var _root:MovieClip;
public function CRoot ()
_root = this;
this file is located at C:\Flash_Files\rootStuff\.
I have this directory included in my Flash Edit\Preferences\ActionScript 3.0 Languages\Source Path for Source files. The path I gave it was C:\Flash_Files\
when I try to use the CRoot class in the first frame of my main .fla like this:
import rootStuff.*;
var rt:CRoot = new CRoot();
, it throws errors:
1046: Type was not found or was not a compile-time constant: CRoot.
1180: Call to a possibly undefined method CRoot.
what, I ask you, am I doing wrong?!

Thank you. I also had to add a package name to reflect its location, but that was simple as well and I managed to figure it out.

Similar Messages

  • Importing to iTunes folder doesn't seem to work.

    I don't know if this is a vista/itunes bug, but here I go:
    I have a music library of about 60 gigs or so. When I try and import the songs WITHOUT moving the songs to iTunes directory, it works like a charm. However, if I check the box to move the imported songs TO the itunes folder, I only get a fraction of the music in my library. I would like for iTunes to import everything to the itunes directory.
    Can I do this: Manually copy the music to the iTunes folder and then somehow import the itunes folder? (does that even make sense?)
    Thanks in advance
    M

    therabbitnews wrote:
    Yet, the files are not there.
    Which files? Music or Photos? Do any songs in iTunes have an exclamation mark next to them? Other files as well? Do you remember what error messages that you were getting? Those error codes could be helpful.

  • Importing a Custom Class

    Hi everyone...
    I'm working on one final part of a Flash piece that's ended being quite a bear for me. So looking forward to wrapping it up! I'm a big-time newbie. This has been an amazing learning experience but boy it has made my brain hurt!
    The final issue I'm having invloves importing a custom class that calls a custom application. It's a class/application that I downloaded and am trying to apply to my project. It is an application that adds transform handles around targeted objects.
    I'm importing the class as I think I am supposed to but it doesn't work. There aren't any erros but it simply doesn't work.
    Here's how I'm doing it...
    My .FLA, FloorPlan.FLA, is located in my root folder along with the class file, ApplicationMain.as.
    ApplicationMain.as has an import that imports the application called TransformTool.as. TransformTool.as is located in the root as well.
    So in scenen 1 on frame 1 of FloorPlan.FLA I have an import written like so...
    import ApplicationMain;
    In the file ApplicationMain.as I have an import to grab the file TransformTool.as that is written like so...
    package  {
        import flash.display.MovieClip;
        import flash.geom.Rectangle;
        import flash.events.MouseEvent;
        import TransformTool;
        public class ApplicationMain extends MovieClip
            private var _transformTool;
            public function ApplicationMain ()
                _transformTool = new TransformTool();           
                _transformTool.mode = TransformTool.ROTATE;
                _transformTool.iconScale = new HandleHintScale();         
                _transformTool.iconRotate = new HandleHintRotate();
                // _transformTool.boundaries = new Rectangle(50, 50, 475, 260);
                addChild(_transformTool);
            // register targets //   
                _transformTool.targets = [content_MC.e1, content_MC.e2, content_MC.e3, content_MC.e4, content_MC.f1, content_MC.f2, content_MC.f3, content_MC.f4, content_MC.f5, content_MC.f6, content_MC.f7, content_MC.f8];
                _transformTool.activeTarget = content_MC.f8;
            // register radio buttons //   
                  // radio1.addEventListener(MouseEvent.CLICK, changeToolMode);
              //  radio2.addEventListener(MouseEvent.CLICK, changeToolMode);             
            private function changeToolMode(evt:MouseEvent):void
                _transformTool.mode = evt.currentTarget.label.toLowerCase();
    Everything but this class/application is working just fine. It doesn't cause any erros and make other items not function. It simply isn't working. And I had it working at the very beginning of the project so I know its not the class/application files causing the problem; other than possible path issues.
    I'm stumped, yet again! 
    Thanks in advance for your help!

    HandleHintScale and HandleHintRotate are movie clips in the library of the .fla

  • I used to be able to download files from the Harddrive of my Sony Handycam, but now it won't let me import them while going through "log and transfer."  I have tried to update my settings, but this doesn't seem to work.  Any help would be much appreciated

    I used to be able to download files from the Harddrive of my Sony Handycam, but now it won't let me import them while going through "log and transfer."  I have tried to update my settings, but this doesn't seem to work.  Any help would be much appreciated

    Hard Drive:  The Hard Drive is on my camera (Sony Handycam)
    Just needed some info on what is going on with your particular system.
    Knowing the exact camera model will also assist us.
    If this camera is standard AVCHD you should be able to connect with USB to Mac with FCE open and use Log and Transfer without all the fiddling around converting etc.
    What FCE does during ingest is convert files to AIC. (Apple Intermediate Codec)
    FCE cannot read the individual files in the BDMV folder, that's why all the converting is required when you use that method.
    BTW: regards formatting drives/cards/memory on cameras; it is wise to use the actual device to format rather than a computer. This is a prime cause of read/write goof ups with solid state media. This applies to still or video cameras.
    Keeping the COMPLETE card/memory structure in tact is vital for successful transfers.
    Try here for some trouble shooting tips:
    https://discussions.apple.com/message/12682263#12682263
    Al

  • Importing a custom class error

    In my testDB.jsp as follows,
    <body>
    <%@ page language="java" import="java.sql.*" %>
    <%@ page import="DBConn" %>
    <%
    DBConn DBConn1 = new DBConn();
    out.print("bean test:" + DBConn1.test_bean());
    %>
    </body >
    </html >
    I imported a custom class DBConn
    DBConn.java
    import java.sql.*;
    public class DBConn
    public DBConn()
    public static int test_bean()
    return 1;
    Running on AS side. Encountered an error:
    Request URI:/gis/class/testDB.jsp
    Exception:
    java.lang.NoSuchMethodError: DBConn: method test_bean()I not found
    at gis.class._testDB._jspService(_testDB.java:63)
    at oracle.jsp.runtime.HttpJsp.service(Compiled Code)
    at oracle.jsp.app.JspApplication.dispatchRequest(Compiled Code)
    at oracle.jsp.JspServlet.doDispatch(Compiled Code)
    at oracle.jsp.JspServlet.internalService(Compiled Code)
    at oracle.jsp.JspServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at org.apache.jserv.JServConnection.processRequest(Compiled Code)
    at org.apache.jserv.JServConnection.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code
    Knowing that DBConn.class was included in the CLASSPATH
    Thanks for any advice!

    HandleHintScale and HandleHintRotate are movie clips in the library of the .fla

  • SetDocument doesn't seem to work correctly

    I'm obviously using the setDocument method for my JTextField incorrectly, but how? The DocumentSizeFilter works correctly, allowing only the number of characters I specify, but the DigitDocument.insertString(...) doesn't seem to work at all (it should allow for only digits to be entered into the JTextField).
              AbstractDocument doc;
              pafTextField = new JTextField();
              pafTextField.setDocument(new DigitDocument());
              pafTextField.setPreferredSize(new Dimension(30, height));
              doc = (AbstractDocument)pafTextField.getDocument();
              doc.setDocumentFilter(new DocumentSizeFilter(2));The DigitDocument class:
    public class DigitDocument extends PlainDocument{
         public DigitDocument(){
              super();
         public void insertString(int offs, String str, AttributeSet a) throws BadLocationException, NumberFormatException{
              try{
                   System.out.println("String str = " + str);
                   int i = Integer.parseInt(str);
                   super.insertString(offs, str, a);
              catch(NumberFormatException e){
                   // do nothing because a user input was not a digit
                   Toolkit.getDefaultToolkit().beep();
    }the DocumentSizeFilter code:
    http://java.sun.com/docs/books/tutorial/uiswing/components/example-1dot4/DocumentSizeFilter.java

    didn't try the abstract doc, but why not combine the two
    something like this
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.text.*;
    class Testing extends JFrame
      public Testing()
        setLocation(400,300);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        JTextField tf = new JTextField(new DigitDocument(2),"",10);
        JPanel p = new JPanel();
        p.add(tf);
        getContentPane().add(p);
        pack();
      public static void main(String[] args){new Testing().setVisible(true);}
    class DigitDocument extends PlainDocument{
      int maxChars;
      public DigitDocument(int chars){
        super();
        maxChars = chars;
      public void insertString(int offs, String str, AttributeSet a) throws BadLocationException, NumberFormatException{
        try{
          System.out.println("String str = " + str);
          if(this.getLength()+str.length() > maxChars) throw new NumberFormatException();//<----
          int i = Integer.parseInt(str);
          super.insertString(offs, str, a);
        catch(NumberFormatException e){
          // do nothing because a user input was not a digit
          Toolkit.getDefaultToolkit().beep();
    }

  • Hibernate hbm2ddl.auto create-drop doesn't seem to work in 10.3 JPA

    Greetings,
    I'm migrating an JPA application from JBoss 5.0 to WebLogic 10.3. In order to simplify the problem, I have the following entity:
    package fr.simplex_software.p204.domain;
    import java.io.Serializable;
    import javax.persistence.*;
    @Entity
    @Table(name="AUTHOR")
    public class Author implements Serializable
    private static final long serialVersionUID = 1L;
    @Id
    @Column(name="AUTHOR_ID", nullable=false)
    @GeneratedValue(strategy=GenerationType.AUTO)
    private Long id;
    public Long getId()
    return id;
    public void setId(Long id)
    this.id = id;
    I also have the following persistence.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
    <persistence-unit name="p204-ejbPU" transaction-type="JTA">
    <provider>org.hibernate.ejb.HibernatePersistence</provider>
    <jta-data-source>java:/jdbc/TestDS</jta-data-source>
    <exclude-unlisted-classes>false</exclude-unlisted-classes>
    <properties>
    <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
    </properties>
    </persistence-unit>
    </persistence>
    When I deploy the application in JBoss 5.0, the table AUTHOR is created. When I deploy the same in WebLogic 10.3, the table isn't created and nothing happens. Should I do anything of special ?
    Many thanks in advance for any help.
    Kind regards,
    Nicolas

    Hi Matt, thanks for your reply. Yes, I did. Actually I'm testing the JDBC data-source in WebLogic console and the test is successfull. Also, exactly the same app correctly deploys in JBoss. In the WebLogic console I can see my EAR deployed, I'm running some standalone clients against some SLSB in the EAR and they work properly and I'm sure that if I'm manually creating the data-model, the JPA entities will work. The only thing which doesn't seem to work is the automatically data-model creation. I thought that Hibernate may not be so intimatelly integrated with WebLogic as with JBoss and I tried to use Kodo, but I didn't find any auto create-drop equivalent feature. I continue digging but stiil interested by any suggestion, if any.
    Many thanks in advance,
    Nicolas

  • I have Adobe Design Standard CS6 purchased 2013 with serial number but cannot find to download it onto a new mac laptop. When I try and add the 24-digit serial number to my account it doesn't seem to work?

    I have Adobe Design Standard CS6 purchased 2013 with serial number but cannot find to download it onto a new mac laptop. When I try and add the 24-digit serial number to my account it doesn't seem to work?

    CS6 - http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    You can also download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    CS6: http://prodesigntools.com/adobe-cs6-direct-download-links.html

  • I want pictures from each device in the cloud, but not on every other device. Possible? "iCloud Backup" alone doesn't seem to work....

    My goal is to acheive 3 of the following things.:
    Have all my apple devices sync pictures to the icloud *without* syncing the pictures on all the devices...so just one direction from device to cloud and not have all the devices insync from the cloud...... I don't want all the devices in sync, I just want the pictures protected in the cloud. To do this, I've tried to just turn on "icloud bacn-up" and not turn on "photo stream" to acheive this, but doesn't seem to work.
    If #1 is possible, then I would like to sync the icloud with a folder on my PC using the icloud app for the PC. Not sure if I can have only the icloud PC sync and not have all the devices in sync?
    If #1 and #2 could work, then I would sync the PC folder with my local storge.
    end result would be all my photos save in the cloud and a safe copy my home in my local storage. I would have thought that most people would want to do this, but doens't seem so obvious to me as to how I can get it to work?
    Any help would be appreicated.
    thanks

    You can't use iCloud as a safe place to store your photos when they are deleted from your devices.  iCloud designed to stream photos to your devices, and to back up photos currently on your your devices as part of your iCloud backups.  However, photo stream photos only remain in iCloud for 30 days, giving your devices enough time to download them.  And if you delete a photo stream photo from any of your devices, it is also deleted from iCloud and from all of your devices.  Furthermore, while camera roll photos are included in your backup, if you then delete the photos from your device and continue backing up, the backup containing the deleted photos will be overwritten by one that doesn't, and they will be lost.
    If you want to save your photos, import them from the camera roll to your computer as explained here: http://support.apple.com/kb/HT4083.  Then you can delete them from your device.
    If you would rather have a cloud-based place to store your photos, look into a service such as Dropbox.

  • SQL Batch doesn't seem to work; How to eager-fetch related objects?

    Hi,
    I have two technical questions with Kodo.
    1. SQL Batch doesn't seem to work. I have tried batch size of -1, 0, 1, 25.
    But the performance from batch creating objects is not affected by batch
    size.
    kodo.jdbc.DBDictionary: BatchLimit=25
    2. How to use custom fetch groups to eagerly fetch related persistable
    objects? Example only showed attributes, not relationships.
    Enviroment:
    * Kodo 3.1.0 RC1
    * Oracle 9i release 1.
    Qingshan Luo
    Senior Software Engineer
    Open Harbor
    1123 Industrial Road
    San Carlos, CA 94070
    Phone: 650-413-4251
    Fax: 650-413-4298

    try poracle 10g driver. At least they fixed terrible CLOB bug may be batch
    to. BTW 9.2.x has problem with batching with deferred constraints so be
    careful
    "Greg Campbell" <[email protected]> wrote in message
    news:c3dmnu$rmj$[email protected]..
    >
    "Qingshan Luo" <[email protected]> wrote in message
    news:c3dg7q$mdl$[email protected]..
    Hi,
    I have two technical questions with Kodo.
    1. SQL Batch doesn't seem to work. I have tried batch size of -1, 0, 1,25.
    But the performance from batch creating objects is not affected by batch
    size.
    kodo.jdbc.DBDictionary: BatchLimit=25You may be running into a bug in the Oracle 9.2 driver. That driverdoesn't
    reliably give update counts when using batching and prepared statement
    caching. By default, Kodo will turn off batching. You can manuallyenable
    batching by setting the BatchLimit on your DBDictionary, as you've done.If
    you do this, though, you may want to turn off prepared statement cachingby
    setting MaxCachedStatements to 0 (see
    http://www.solarmetric.com/Software/Documentation/3.1.0RC1/docs/ref_guide_dbsetup.html#ref_guide_dbsetup_builtin).
    >
    2. How to use custom fetch groups to eagerly fetch related persistable
    objects? Example only showed attributes, not relationships.You can find information on setting up eager fetching of relations at
    http://www.solarmetric.com/Software/Documentation/3.0.3/docs/ref_guide_
    perfpack_eager.html
    Basically, you'll need to add the relations to your fetch group, and
    set the eager fetching mode.
    Enviroment:
    * Kodo 3.1.0 RC1
    * Oracle 9i release 1.
    Qingshan Luo
    Senior Software Engineer
    Open Harbor
    1123 Industrial Road
    San Carlos, CA 94070
    Phone: 650-413-4251
    Fax: 650-413-4298

  • SetAutoCreateColumnsFromModel doesn't seem to work...

    I've been coding a game server browser in Java, and have gotten pretty far with it. However, I'm running into a slight problem. I want to be able to align certain cells to my own specifications, as well as size columns myself. In order to accomplish this, I don't want the table to automatically display columns. Therefore, I have attempted to use jtbServers.setAutoCreateColumnsFromModel(false);. The only problem is that it doesn't seem to work...maybe it works only after-the-fact, but what the following code results in is twice the columns.
         // Server Table
         private JScrollPane guiServers()
              // Sets up the table headers
              Object objColumn[] = {"Server", "Address", "Players", "IWAD", "PWAD", "Map", "Ping"};
              // Sets up the Data Table Model
              dtmServersData = new DefaultTableModel(objColumn, 0)
                   public boolean isCellEditable(int a, int b)
                        return false;
              // Sets up the table itself
              jtbServers = new JTable(dtmServersData);
              jtbServers.setAutoCreateColumnsFromModel(false);
              TableColumn column;
              for(int i = 0; i < objColumn.length; i++)
                   column = new TableColumn(i);
                   column.setHeaderValue(objColumn);
                   jtbServers.addColumn(column);
              // Slaps a scroll bar on it
              jspServers = new JScrollPane(jtbServers);
              return jspServers;
    Any idea what I'm doing wrong?

    I want to be able to align certain cells to my own specifications, as well as size columns myselfWell, there is no reason you can't let the table create the TableColumnModel normally and then use the setAutoCreateColumnsFromModel(...) method. Then you would customize the TableColumns.
    maybe it works only after-the-fact,I would say this is the case. This method is handy when you need to reset the table with a "refreshed" TableModel. Say you have a query from a database that will always return the same data and number of columns. When you refresh the table using the setModel(...) method, then the default behaviour would be to recreate the TCM. However, if you've already customized the TCM then you would use the setAutoCreateColumnsFromModel to preserve your customization.

  • Annotations - InheritanceType.TABLE_PER_CLASS doesn't seem to work with GF

    Hi there,
    I'm using the toplink essentials jar file with a stand alone J2SE application. I'm using annotations for ORM with Toplink implementation
    What I want to achieve is to map the base class objects to one table, and sub class objects to a different table. Currently - both tables (and objects) have the exact same structure, but I use inheritence in order to identify where should the object be registered. Thus I'm trying to map an inhertiance using TABLE_PER_CLASS type.
    It doesn't seem to work:
    My classes look like this:
    Base class I want to map to REGION table:
    @Entity
    @Table(name="REGION")
    @Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)
    public class Region implements BaseBusinessObj
    @Id
    @Column(name = "REGION_ID", insertable = false, updatable = true)
    @GeneratedValue(generator = "regionSeq")
    @SequenceGenerator(name = "regionSeq",
    sequenceName = "GSM_REGION_ID_SEQ", allocationSize = 1)
    private int m_regionId;
    @Column(name = "REGION_NAME")
    private String m_regionName;
    Subclass with exact same structure I want to map to GFR_REGION table which has the exact same database table structure as REGION:
    @Entity
    @Table(name="GFR_REGION")
    public class GfrRegion extends Region
    This doesn't work. The Toplink adds entities of the GfrRegion to the REGION table and does not recognize it should go to the GFR_REGION table.
    What am I doing wrong?
    Thanks,
    Michael

    Hi all,
    Any news about the support for TABLE_PER_CLASS in TopLink/EclipseLink ?
    The main question is what was the reason for making this an optional strategy for mapping in the specs ? Both OpenJPA and Hibernate have it and there are cases when this is usefull.
    From EclipseLink perspective, how difficult would be to add this ? I didn't have a chance yet to closely examine the codebase for EclipseLink, but some architecture diagrams with some design decisions explained would help to community to better understand the product and make improvements.
    Thank you,
    Mircea

  • Search in iTunes doesn't seem to work now.

    Search in iTunes doesn't seem to work now.

    The solution for me showed up on another string...
    https://discussions.apple.com/message/20460115#20460115
    Lachmand
    Re: Cannot import movies in iTunes 11
    Dec 10, 2012 1:49 PM    (in response to GogoGadget69) 
    Try this. Start up Itunes. Click on Home Movies Videos in the movies section. If you have a movie her, right button click and select "Get Info". On the options tab, change the media kind to movie and select OK. Your other movies will slowly start to appear!

  • Copy items to the iPhoto Library option doesn't seem to work

    Hi, I'm using 7.1.1 and if I:
    1. De-select the create "Copy items to the iPhoto Library" option in Preferences/Advanced
    2. Create a new library
    It doesn't seem to work. The images are still being copied into the library -- that is, if I show the package contents of the library, the data directory has the photos. Additionally, if I do something like open, modify in photoshop and save one of the imported files, it doesn't show up in iPhoto. Likewise if I modify the file in iPhoto and then look at the photo in the file system using Preview or Photoshop, the iPhoto changes don't appear.
    Is this a bug? Is it not supposed to work like this? I believe that if I say "don't copy the files into the library" it means that it uses my original photos in their original location and that changes I make in iPhoto modify and manipulate the original files.
    I've tried this on two different machines and get the same results. Anyone have any ideas?
    Thanks!

    markand:
    Welcome to the Apple Discussions. It's not a bug. You don't understand correctly how iPhoto works in the "referenced" library mode. The Data folder contains the thumbnail files that iPhoto creates and needs to operate. The Originals folder will contain alias files linked to the source files at their location. Any edits, by iPhoto or by Photoshop configured correctly will result in a modified file in the Modified folder of iPhoto. *You should not open, rename, move or edit any file in the library package from the Finder.*
    Using Photoshop to edit photos in iPHoto must be done by selecting PS as the editor to use in iPhoto's General Preferences section. Then follow the instructions below to edit photos correctly:
    Using Photoshop (or Photoshop Elements) as Your Editor of Choice in iPhoto.
    1 - select Photoshop as your editor of choice in iPhoto's General Preference Section's under the "Edit photo:" menu.
    2 - double click on the thumbnail in iPhoto to open it in Photoshop. When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.
    3 - however, if you get the navigation window that indicates that PS wants to save it as a PS formatted file. You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    If you want to use both iPhoto's editing mode and PS without having to go back and forth to the Preference pane, once you've selected PS as your editor of choice, reset the Preferences back to "Open in main window". That will let you either edit in iPhoto (double click on the thumbnail) or in PS (Control-click on the thumbnail and seledt "Edit in external editor" in the Contextual menu). This way you get the best of both worlds
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Help! Divs extend beyond parent container! Clearing doesn't seem to work!

    My "mainContent" div extends beyond the "Container" div. It seems that I've tried everything--clearing doesn't seem to work.
    Help!
    Here is my css:
    @charset "UTF-8";
    /* CSS Document */
    body  {
         margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
         padding: 0;
         text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
         color: #000000;
         font-family: Arial, Helvetica, sans-serif;
         font-size: 100%;
         background-color: #FFF;
    .twoColFixRtHdr #container {
         width: 960px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
         background: #FFFFFF;
         text-align: left; /* this overrides the text-align: center on the body element. */
         font-family: Arial, Helvetica, sans-serif;
         margin-top: 0;
         margin-right: auto;
         margin-bottom: 0;
         margin-left: auto;
         top: 10px;
         padding-top: 10px;
         clear: both;
    .twoColFixRtHdr #header {
         height: 180px;
         padding-top: 10px;
         padding-right: 0px;
         padding-bottom: 5px;
         padding-left: 0px;
         border-top-width: 1px;
         border-right-width: 0px;
         border-bottom-width: 5px;
         border-left-width: 0px;
         border-top-style: solid;
         border-bottom-style: solid;
         border-top-color: #999;
         border-bottom-color: #000;
         margin-top: 5px;
         margin-bottom: 0px;
    .twoColFixRtHdr #container #sidebar1 img {
         padding-top: 10px;
         border-bottom-width: 1px;
         border-bottom-style: solid;
         border-bottom-color: #999;
         margin-bottom: 0px;
         padding-bottom: 10px;
         padding-left: 10px;
    .twoColFixRtHdr #header h1 {
         margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
         padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
    .twoColFixRtHdr #sidebar1 {
         width: 315px;
         padding: 0px;
         top: 200px;
         float: right;
    .twoColFixRtHdr #mainContent {
         width: 643px;
         padding-top: 10px;
         border-right-width: 1px;
         border-right-style: solid;
         border-right-color: #999;
         overflow: hidden;
         top: 230px;
         position: absolute;
         clear: right;
    .twoColFixRtHdr #footer {
         background:#DDDDDD;
         top: 50px;
         clear: both;
         padding-top: 0;
         padding-right: 10px;
         padding-bottom: 0;
         padding-left: 20px;
    .twoColFixRtHdr #footer p {
         margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
         padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    .fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
         float: right;
         margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page */
         float: left;
         margin-right: 8px;
    .clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
         clear:both;
         height:0;
         font-size: 0px;
         line-height: 0px;
    .spacer { 
         clear: both; 
    .twoColFixRtHdr #container #mainContent #article_main_head {
         font-family: Arial, Helvetica, sans-serif;
         top: 10px;
         width: 635px;
         float: left;
    .twoColFixRtHdr #container #mainContent #article_img {
         width: 630px;
         float: left;
         margin-top: 10px;
         clear: both;
    .twoColFixRtHdr #container #mainContent #article_main_txt {
         float: right;
         width: 450px;
         clear: both;
         padding-top: 10px;
         height: 500px;
    .twoColFixRtHdr #container #mainContent #article_main_pq {
         clear: both;
         float: left;
         width: 180px;
         margin-top: 100px;
    Here is my html:
                                                                   Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque  eget, cursus et, fermentum ut, sapien. Fusce metus mi, eleifend  sollicitudin, molestie id, varius et, nibh. Donec nec libero. 
    Loading news. please wait...                                   
    Loading news. please wait...                    
    Loading news. please wait...            
          Footer 

    This CSS sends up a red flag:
    .twoColFixRtHdr #mainContent {
         width: 643px;
         padding-top: 10px;
         border-right-width: 1px;
         border-right-style: solid;
         border-right-color: #999;
         overflow: hidden;
    /******DELETE THE FOLLOWING*****/
         top: 230px;
         position: absolute;
         clear: right;
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

Maybe you are looking for