Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
how to run flash files in TS
amar_maheshwary
Hi Guys,
I am trying to run flash file instead of image(.gif) but TeamSite templates are not able to generate object tag for flash files. Can some one help me how to run flash files in TeamSite or TeamSite Templates does not support flash files and can not generate object tag.
looking forward to your response ...
Regards
-Amar
Find more posts tagged with
Comments
Michael
Hi Amar
I am assuming that you mean that you wish to display a flash file in your generated HTML page -- in this correct?
I haven't done it personally but I would have thought that you could generate any text you like -- including object tags -- using your PT. What in particular are you not able to achieve? It will help if you provide snippets of your DCT/PT, expected generated HTML etc.
Maybe this
post
will help you also.
btw it is always a good idea to include your version and platform details also when you when you post asking for help.
Cheers
Michael
amar_maheshwary
Hi Michael,
Yes I want to run a flash file in my html page when I open the page. For example if you open
www.ericsson.com
then instead of central image need to run a flash file.
I am not able to generate object tags with my PT, even I am not able to get how to generate object tag using PT. Code snippet for DCT and PT are below.
Looking for your assistance at the earliest.
regards
-Amar
<?xml version="1.0" encoding="UTF-8"?>
<substitution>
<!--vvv Full Rotating Highlight Section vvv-->
<item name="full_rotating_highlight_section"><label>Full Rotating Highlight Section</label>
<replicant min="1" max="1" default="1">
<item name="url"><label>URL</label>
<description>Enter the correct URL. This can be either relative (/somewhere/) or absolute(
http://www
.
..).</description>
<browser required="t" size="57" maxlength="400"/>
</item>
<!--vvv Full Rotating Highlight vvv-->
<item name="full_rotating_highlight"><label>Full Rotating Highlight</label>
<replicant min="1" max="1" default="1">
<item name="image"><label>Image</label>
<description>The image dimensions must be 455x242 pixels.</descriptio
n>
<browser required="t" initial-dir="/web/" extns=".gif,.jpg,.jpeg,.bmp
,.png,.tif,.tiff,.swf"/>
</item>
<item name="alt"><label>Alt tag</label>
<text required="t" size="57" maxlength="400"/>
</item>
</replicant>
</item>
<!--^^^ Full Rotating Highlight ^^^-->
</replicant>
</item>
<!-- ^^^ Full Rotating Highlight Section ^^^ -->
</substitution>
<!--vvv Full Rotating Highlight Section vvv-->
<script language="JavaScript">
<!--
var imgArrayZero = new Array();
var imgArrayOne = new Array();
var imgArrayTwo = new Array();
var imgArrayThree = new Array();
var arrNo = 0;
]]>
<iw_iterate list="dcr.full_rotating_highlight_section" var="v4_frhs" iteration="c4_frhs">
<iw_iterate list="v4_frhs.full_rotating_highlight" var="v4_frhs_frh" iteration="c4_frhs_frh">
<iw_perl>
<![CDATA[
my $strsrc=&subSRC(iwpt_dcr_value('v4_frhs_frh.image'),$strWor
kArea);
]]>
</iw_perl>
<![CDATA[
imgArrayZero[arrNo++] = new imgArrayItem({iw_value name='c4_frhs_frh'
/}, "{iw_value name='$strSRC'/}", "{iw_value name='v4_frhs_frh.alt'/}");
]]>
</iw_iterate>
</iw_iterate>
<iw_iterate list="dcr.wee_highlight_section_zero" var="v4_whsz" iteration="c4_whsz">
<![CDATA[
arrNo = 0;
]]>
<iw_iterate list="v4_whsz.wee_highlight" var="v4_whsz_wh" iteration="c4_whsz_wh">
<iw_perl>
<![CDATA[
my $strsrc=&subSRC(iwpt_dcr_value('v4_whsz_wh.image'),$strWorkArea
);
Michael
Crikey! Wild and crazy stuff you've got there.
What does &subSRC do and then what happens to imgArrayZero -- presumably later on you are rendering all this stuff you setup in JavaScript as HTML. I assume you are doing some DHTML funkyness?
What is the HTML you get, and what is the HTML you want?
Cheers
Michael
Johnny
"Crikey!"
I haven't heard that one in a while!!
John Cuiuli
Michael
Hi John
You know what they say: you can take the boy out of Australia but....
Hope I haven't made you homesick!
Cheers
Michael
PS: Are they still continuously playing "Crocidile Hunter" on cable over there?
Johnny
please.. he makes my skin crawl.
The King Gee's are a touch of class though!
John Cuiuli