[help] JS focus map picture size problem

<SCRIPT src="js/swfobject_source.js" type=text/javascript></SCRIPT>

<DIV id=dplayer2 style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: #ffffff; PADDING-BOTTOM: 0px; MARGIN: 0px auto; WIDTH: 203px; PADDING-TOP: 0px; HEIGHT: 170px"></DIV>

<SCRIPT language=javascript type=text/javascript>
var titles = 'Chicago city to celebrate the victory for Obama Mccain after | Phoenix sad night | myth of Obama | supporters around the world celebrate Obama's victory';
var imgs='images/01.jpg|images/02.jpg|images/03.jpg|images/04.jpg';
var urls='http://www.alixixi.com/| | | ;
var pw = 428;
var ph = 279;
var sizes = 14;
var Times = 4000;
var umcolor = 0xFFFFFF;
var btnbg =0xFF7E00;
var txtcolor =0xFFFFFF;
var txtoutcolor = 0x000000;
var flash = new SWFObject('flash/focus1.swf', 'mymovie', pw, ph, '7', '');
flash.addParam('allowFullScreen', 'true');
flash.addParam('allowScriptAccess', 'always');
flash.addParam('quality', 'high');
flash.addParam('wmode', 'Transparent');
flash.addVariable('pw', pw);
flash.addVariable('ph', ph);
flash.addVariable('sizes', sizes);
flash.addVariable('umcolor', umcolor);
flash.addVariable('btnbg', btnbg);
flash.addVariable('txtcolor', txtcolor);
flash.addVariable('txtoutcolor', txtoutcolor);
flash.addVariable('urls', urls);
flash.addVariable('Times', Times);
flash.addVariable('titles', titles);
flash.addVariable('imgs', imgs);
flash.write('dplayer2');
</SCRIPT>

This is a realization of focus map code, but must specify the size of the images, in order to all flash display pictures, if not this size can only show the picture of a corner, how to solve this excuse me?

Started by King at November 11, 2016 - 2:49 AM

No one yet
? ? ? ?

Posted by King at November 20, 2016 - 3:34 AM

Flash is not themselves directly from another, or the direct use of JS

Posted by Steward at November 28, 2016 - 3:53 AM

The same question ah ask master answer

Posted by Estelle at December 02, 2016 - 4:40 AM