X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=wx%2Fviewers%2Fraw.py;fp=wx%2Fviewers%2Fraw.py;h=8a928492208a227ed75a8343181505cd075a064c;hp=a7d71ce372e36352eb03005262f213a6059ef73e;hb=9f03f91142fe3b2d37089d164f1670cf8dc4beb6;hpb=6468644eca8b699a42a9c68048da87b90764f385 diff --git a/wx/viewers/raw.py b/wx/viewers/raw.py index a7d71ce..8a92849 100644 --- a/wx/viewers/raw.py +++ b/wx/viewers/raw.py @@ -28,7 +28,8 @@ order = 0 type = "core" name = u"No Viewer" desc = (u'The SWF will be in "raw" format, with each page a seperate frame. ' - u"Use this if you want to add a viewer yourself afterwards.") + u"Use this if you want to add a viewer yourself afterwards or " + u"if you will use the `One Page Per File`.") swf_options = [ Choose("flashversion", u"Flash version:", @@ -43,6 +44,7 @@ viewer_options = [] from gui.plugin import Plugin class Raw(Plugin): + one_page_per_file = True def __init__(self, swf, filename): for opt in swf_options: swf.setparameter(opt.name, str(opt.value)) @@ -50,7 +52,7 @@ class Raw(Plugin): def init(swf, filename): return Raw(swf, filename) -from wx.lib.embeddedimage import PyEmbeddedImage +from lib.embeddedimage import PyEmbeddedImage preview = PyEmbeddedImage( "iVBORw0KGgoAAAANSUhEUgAAAGYAAABmCAIAAAC2vXM1AAAAAXNSR0IArs4c6QAADGNJREFU" "eNrtXX1MFEcU36/74LwDvByNnIqaFL9ORU2MEUNtE6AVIxWjFuN30ESNTWtiIhpBTVDSNk2j"