function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dfcdfc 

Problem with $Api.Partner_Server_URL_160 in flashVars

I am receiving the following compiler warning when building a page that contains a flash movie and a reference to $Api.Partner_Server_URL_160 in the flashVars parameter.  This did not happen with previous versions of the platform.

 

Warning Message:  "The reference to entity "server_url" should end with the ';' delimiter. at line 18"

 

My Code:

 

<apex:page title="{!$Label.Collections}" controller="CollectionsController">
    <apex:sectionHeader title="{!$Label.Collections}" subtitle=""/>
    <apex:pageMessages />

    <apex:tabpanel switchType="client">

        <apex:tab label="Portfolio">
            <apex:form>
           
       
            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="CollectionsSummary" width="100%" height="250"
                    codebase="https://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
                <param name="movie" value="{!$Resource.CollectionsSummary}" />
                <param name="quality" value="high" />
                <param name="bgcolor" value="#869ca7" />
                <param name="allowScriptAccess" value="sameDomain" />
                <param name="flashVars" value="session_id={!$Api.Session_ID}&server_url={!$Api.Partner_Server_URL_160}" />
                <embed src="{!$Resource.CollectionsSummary}"
                       width="100%"
                       height="250"
                       quality="high"
                       bgcolor="#869ca7"
                       name="CollectionsSummary"
                       align="middle"
                       play="true"
                       loop="false"
                       quality="high"
                       allowScriptAccess="sameDomain"
                       type="application/x-shockwave-flash"
                       pluginspage="https://www.adobe.com/go/getflashplayer">
                       flashVars="session_id={!$Api.Session_ID}&server_url={!$Api.Partner_Server_URL_160}"
                </embed>
            </object>

        </apex:form>       
        </apex:tab>

etc...

 

Any ideas?  Thanks!

 

Dave