X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=wx%2Fviewers%2Fraw.py;h=7e92457720d039d3c6ff713d123d55ffff9d8de4;hp=a7d71ce372e36352eb03005262f213a6059ef73e;hb=4372ebe4a0e2197cf8f9e5f7af1decadf7ef44f6;hpb=d51c9b672a2a23d9e9c7bc4c2d366ca8d66bda0e diff --git a/wx/viewers/raw.py b/wx/viewers/raw.py index a7d71ce..7e92457 100644 --- a/wx/viewers/raw.py +++ b/wx/viewers/raw.py @@ -24,11 +24,12 @@ from gui.fields import Choose -order = 0 +order = 4 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"