Unfortunately no, it's database dependent, so it won't run on
production server unless I move the full app there, and I have to go
to my boss for that. But I can post the entire html or cfm code.
I originally wasn't using SWFObject, just the default dreamweaver way
to create flash objects. And I was looping over that, that's why
there is no JS.
I've now changed that to use jQuery SWFObject plugin. but the
performance is still bad, though different. Instead seeing all the
headings load one by one, now a few pop in, there there is a pause and
you see a few more, etc.
Here are the main parts:
<script type="text/javascript" charset="utf-8">
$(document).ready(function () {
<cfoutput query="qry_getSections">
$('##td_sections_#qry_getSections.id#').flash({
swf: 'flash/NameOfSection.swf',
width: 20,
height: 160,
flashvars: { productText:
'#qry_getSections.name#'}
});
</cfoutput>
$('#td_sections_received').flash({
swf: 'flash/NameOfSection.swf',
width: 20,
height: 160,
flashvars: { productText: 'Received'}
});
$('#td_sections_reviewed').flash({
swf: 'flash/NameOfSection.swf',
width: 20,
height: 160,
flashvars: { productText: 'Reviewed'}
});
$('#td_sections_sentback').flash({
swf: 'flash/NameOfSection.swf',
width: 20,
height: 160,
flashvars: { productText: 'Sent Back'}
});
$('#td_sections_approved').flash({
swf: 'flash/NameOfSection.swf',
width: 20,
height: 160,
flashvars: { productText: 'Approved'}
});
});
</script>
<cfoutput query="qry_getSections">
<td class="td_sections" id="td_sections_#qry_getSections.id#"></td>
</cfoutput>
<td class="td_sections" id="td_sections_received"></td>
<td class="td_sections" id="td_sections_reviewed"></td>
<td class="td_sections" id="td_sections_sentback"></td>
<td class="td_sections td_last" id="td_sections_approved"></td>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---