Closed (fixed)
Project:
PageEar
Version:
6.x-2.0-rc1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
29 Jul 2009 at 05:54 UTC
Updated:
12 Aug 2009 at 14:30 UTC
There is a typo error in the pageTurn.js in line 170 and line 209, This is for the word allways that must be written as always, it is after the word AllowScriptAccess used by flash.
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0',
'width', '500',
'height', '500',
'src', peelSwf,
'flashvars', peelQueryParams,
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'noscale',
'wmode', 'transparent',
'devicefont', 'false',
'id', 'turn',
'bgcolor', '#ffffff',
'name', 'turn',
'menu', 'true',
'allowScriptAccess','allways',
'allowFullScreen','false',
'movie', peelSwf,
'salign', ''
);
must be written like this :
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0',
'width', '500',
'height', '500',
'src', peelSwf,
'flashvars', peelQueryParams,
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'noscale',
'wmode', 'transparent',
'devicefont', 'false',
'id', 'turn',
'bgcolor', '#ffffff',
'name', 'turn',
'menu', 'true',
'allowScriptAccess','always',
'allowFullScreen','false',
'movie', peelSwf,
'salign', ''
);
Comments
Comment #1
manfer commentedYes, there is a bug there. I don't know exactly which value it is using with that error on allowScriptAccess param. As the pageear is working It must be "always" or "sameDomain", maybe "sameDomain" is the actual flash default. Anyway both of them work in this case.
I would take this oportunity to change its value from allways (which must had been always, without the typo) to sameDomain.
With sameDomain actionScript code in flash movie is only allowed to call javascript from same domain which is more restrictive and enough for flash movies included in pageear.
As soon as possible I'll make the change and mark this as fixed.
Thanks for reporting.
Comment #2
manfer commented