[allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => GansShir [ip] => webforumsuser@m [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 5 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> >[/ref] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Murray [ip] => forums@HAHAgrea [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 6 [islastshown] => 1 [isfirstshown] => [attachments] => [allattachments] => ) --> Object Expected Error - Macromedia Dynamic HTML

Object Expected Error - Macromedia Dynamic HTML

I'm receiving an "Object Expected" error on all my pages for the following line. I don't enough about HTML yet to know what is missing. <body onload="P7_initPM(1,0,1,-20,10)"> Any suggestions?...

  1. #1

    Default Object Expected Error

    I'm receiving an "Object Expected" error on all my pages for the following line. I don't enough about HTML yet to know what is missing.

    <body onload="P7_initPM(1,0,1,-20,10)">

    Any suggestions?
    xamc3 Guest

  2. #2

    Default Re: Object Expected Error

    xamc3 wrote: 

    P7_initPM is a call to Project Seven's Pop Menu Magic. Have you deleted
    the menu? If so, remove onload="P7_initPM(1,0,1,-20,10)" from the body tag.

    When removing code inserted by extensions like Pop Menu Magic, you
    should always select the extension in the Behaviors panel and click the
    minus button to remove all code cleanly.

    If that's not the solution, you would be better off asking a question in
    the PVII forum.

    --
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/
    David Guest

  3. #3

    Default Re: Object Expected Error

    Either the menu was deleted and the call was left in the body tag, or the
    menu itself was copied and pasted from another page without also copying and
    pasting the supporting javascript. Either fix is a simple one....

    --
    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
    ==================


    "David Powers" <com> wrote in message
    news:flt8s7$lqk$macromedia.com... 
    >
    > P7_initPM is a call to Project Seven's Pop Menu Magic. Have you deleted
    > the menu? If so, remove onload="P7_initPM(1,0,1,-20,10)" from the body
    > tag.
    >
    > When removing code inserted by extensions like Pop Menu Magic, you should
    > always select the extension in the Behaviors panel and click the minus
    > button to remove all code cleanly.
    >
    > If that's not the solution, you would be better off asking a question in
    > the PVII forum.
    >
    > --
    > David Powers, Adobe Community Expert
    > Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
    > Author, "PHP Solutions" (friends of ED)
    > http://foundationphp.com/[/ref]

    Murray Guest

  4. #4

    Default Re: Object Expected Error

    :grin;
    That worked. Thank you!
    xamc3 Guest

  5. #5

    Default Object expected error

    Hi,

    I spent many time on this error but couldn't find what is the source for it.
    I got a Flash Movie called Menu.swf, which is, of course a menu. It embeded as
    wmode=transparent.
    I tried to embed it with Dreamweaver and adding the line wmode and param wmode
    by myself, and I got this error:
    Error: Object expected
    Code: 0

    After that I tried to export it on Flash as HTML file and copy the code lines
    into my HTML. Same error.
    In Firefox there is no such message.
    I'm attaching the code.

    Hoping you could help me find out what's wrong...



    <div id="Header">
    <script language="javascript">
    if (AC_FL_RunContent == 0) {
    alert("This page requires AC_RunActiveContent.js.");
    } else {
    AC_FL_RunContent(
    'codebase',
    'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0
    ,0,0',
    'width', '984',
    'height', '120',
    'src', 'Menu',
    'quality', 'high',
    'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
    'align', 'middle',
    'play', 'true',
    'loop', 'true',
    'scale', 'showall',
    'wmode', 'transparent',
    'devicefont', 'false',
    'id', 'Menu',
    'bgcolor', '#bf1e4d',
    'name', 'Menu',
    'menu', 'true',
    'allowFullScreen', 'false',
    'allowScriptAccess','sameDomain',
    'movie', 'Menu',
    'salign', ''
    ); //end AC code
    }
    </script>
    <noscript>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    rsion=6,0,0,0" width="984" height="120" id="Menu" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="wmode" value="tranparent" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="Menu.swf" /><param name="quality" value="high"
    /><param name="wmode" value="transparent" /><param name="bgcolor"
    value="#bf1e4d" /> <embed src="Menu.swf" quality="high" wmode="transparent"
    bgcolor="#bf1e4d" width="984" height="120" name="Menu" align="middle"
    allowScriptAccess="sameDomain" allowFullScreen="false"
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>
    </noscript>
    </div> <!-- Header -->

    GansShir Guest

  6. #6

    Default Re: Object expected error

    That error usually means that you are calling a javascript function that
    hasn't been defined in the head of the page. In your case, I'm pretty sure
    it means that you didn't upload the Scripts folder that DW created in your
    local root when you inserted the Flash.

    --
    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
    ==================


    "GansShir" <com> wrote in message
    news:g1s2fd$4ds$macromedia.com... 

    Murray Guest

Similar Threads

  1. object expected error - audioLoadingStart( )
    By Murf08 in forum Macromedia Flash Player
    Replies: 1
    Last Post: March 18th, 03:24 AM
  2. Javascript Error (Object Expected)
    By rental08 in forum Coldfusion - Advanced Techniques
    Replies: 2
    Last Post: August 29th, 03:43 PM
  3. Error object expected
    By markinoregon in forum Macromedia Director Lingo
    Replies: 0
    Last Post: November 10th, 11:41 PM
  4. object expected error
    By remainz webforumsuser@macromedia.com in forum Macromedia Director 3D
    Replies: 1
    Last Post: November 8th, 08:41 PM
  5. IIS ASP Object Expected Error
    By Bob Barrows in forum ASP Database
    Replies: 0
    Last Post: July 8th, 11:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •