Re: [Swftools-common] a problem with a script

2006-03-27 Thread Pablo Rodríguez
.end How could I prevent the audio infinite playing loop? Thanks, Pablo Pablo Rodríguez wrote: But when I run it I get the following error: script.sc, line 5 column 11: error- I don't know anything about sound/movie slides What am I doing wrong? (Sorry if the question is too obvious, but I

Re: [Swftools-common] problem with pdf2swf

2007-02-08 Thread Pablo Rodríguez
Pablo Rodríguez wrote: Hi there, with a self-generated PDF (http://ousia.f2o.org/orphanworks.pdf), I get the following error message when I run: pdf2swf -p 1-20 orphanworks.pdf NOTICE processing PDF page 1 (841x595:0:0) (move:0:0) fix bad advance value: bbox=5540, advance=12300

[Swftools-common] audio replayed again when presentation ends

2007-02-08 Thread Pablo Rodríguez
Hi there, using the script bellow and swftools-0.8.0, I got the following presentation http://ousia.f2o.org/pr-orphanworks-x.swf. The issue here is that audio is played again when the presentation finishes, even when the nomultiple is selected. The real problem for me is that in some

Re: [Swftools-common] audio replayed again when presentation ends

2007-02-09 Thread Pablo Rodríguez
Chris Flowers wrote: I do not know how swfc generates the audio in the script you posted. Maybe Matthias can answer this. But if this is an event sound you will never get a proper sync to your slide changes. And it will vary based on the end user's system specs. The audio is not locked to the

[Swftools-common] script improvement for Flash presentation

2007-02-14 Thread Pablo Rodríguez
Hi there, as Chris Flowers predicted, using the script below to generate a 499-slide presentation (for almost 35 minutes, the original can be found at http://video.google.com/videoplay?docid=-63593434971523176), I get a presentation where slides go much faster than the audio. I can notice this in

Re: [Swftools-common] swf only supports 65536 shapes

2007-07-26 Thread Pablo Rodríguez
Ted, I guess Matthias will be able to tell why this PDF has so many objects in the SWF conversion. But something must be wrong with OOo PDF generation process, since when compressing it with Multivalent Compress (http://multivalent.sf.net) the resulting file goes from 5.1 MB into 82 KB. As you

[Swftools-common] defining counters in swfc

2007-10-24 Thread Pablo Rodríguez
Hi there, looking at this example: http://technoargia.free.fr/swftools/examples/preloader/PreLoaderTemplate2.html, I wanted to have a time counter on a Flash file. This is my implementation: .edittext info font=roman color=white size=40% width=800 height=500 align=center border=none noselect

[Swftools-common] pdf2swf and extra margins

2007-11-10 Thread Pablo Rodríguez
Hi there, I'm trying add some buttons with swfc to some slides converted from pdf2swf. The problem is that I would need some extra margin to place these buttons. Is there no way to add it when converting the slides with pdf2swf? Thanks for your help, Pablo

[Swftools-common] extracting movieclips from swf file

2007-11-18 Thread Pablo Rodríguez
Hi there, I have tried to extract two movieclips from the following file: http://randomfoo.net/oscon/2002/lessig/free_culture.swf. The movieclips are objects 259 and 586. After extracting them with swfextract -i ID free_culture.swf and playing them with firefox, all I get is a red square. How

Re: [Swftools-common] pdf2swf and extra margins

2007-11-22 Thread Pablo Rodríguez
Matthias Kramm wrote: On Sat, Nov 10, 2007 at 04:52:57PM +0100, Pablo Rodríguez wrote: I'm trying add some buttons with swfc to some slides converted from pdf2swf. The problem is that I would need some extra margin to place these buttons. Is there no way to add it when converting the slides

Re: [Swftools-common] extracting movieclips from swf file

2007-11-22 Thread Pablo Rodríguez
Matthias Kramm wrote: On Sun, Nov 18, 2007 at 11:59:32AM +0100, Pablo Rodríguez wrote: I have tried to extract two movieclips from the following file: http://randomfoo.net/oscon/2002/lessig/free_culture.swf. The movieclips are objects 259 and 586. After extracting them with swfextract -i ID

Re: [Swftools-common] extracting movieclips from swf file

2007-11-25 Thread Pablo Rodríguez
Matthias Kramm wrote: On Sun, Nov 18, 2007 at 11:59:32AM +0100, Pablo Rodríguez wrote: I have tried to extract two movieclips from the following file: http://randomfoo.net/oscon/2002/lessig/free_culture.swf. The movieclips are objects 259 and 586. After extracting them with swfextract -i ID

Re: [Swftools-common] locating buttons and scaling texts in swfc

2008-05-20 Thread Pablo Rodríguez
Many thanks, Matthias for your reply. Matthias Kramm wrote: On Mon, May 19, 2008 at 10:06:32PM +0200, Pablo Rodríguez [EMAIL PROTECTED] wrote: butagain._x=(width-butagain._width)/2; butagain._y=(heigth-butagain._height)/2; Looks good to me- sure that width/height

Re: [Swftools-common] locating buttons and scaling texts in swfc

2008-05-20 Thread Pablo Rodríguez
Thanks for your reply, Matthias. Matthias Kramm wrote: On Tue, May 20, 2008 at 08:24:15PM +0200, Pablo Rodríguez [EMAIL PROTECTED] wrote: [...] I tried to use .sprite with slide_no, but slide_number isn't displayed. This is the code I use: .sprite slide_number .put slide_no .end

Re: [Swftools-common] locating buttons and scaling texts in swfc

2008-05-20 Thread Pablo Rodríguez
Pablo Rodríguez wrote: Thanks for your reply, Matthias. Matthias Kramm wrote: On Tue, May 20, 2008 at 08:24:15PM +0200, Pablo Rodríguez [EMAIL PROTECTED] wrote: [...] I tried to use .sprite with slide_no, but slide_number isn't displayed. [...] I see you're putting slide_no both

[Swftools-common] partial font embedding not working

2008-05-20 Thread Pablo Rodríguez
Hi Matthias, I forgot in my previous message that partial font embedding doesn't seem to work using swftools-2008-05-14-2122.tar.gz. You can check this removing the glyphs option in the small example. Thanks again, Pablo

[Swftools-common] scaling .edittext

2008-05-22 Thread Pablo Rodríguez
Using the following script, I have tried to scale an .edittext wrapped around a .sprite: .flash filename=sprite.swf .font roman /usr/share/fonts/TTF/FreeSansBold.ttf .edittext helloworld font=roman width=160 height=100 color=red variable=hi.hell .sprite hi .put helloworld .end .put hi

Re: [Swftools-common] scaling .edittext

2008-05-22 Thread Pablo Rodríguez
raphael benzazon wrote: The property _scalex doesn't exist, use _xscale Many thanks for your help, Raphael. Is there any way to align the text in .edittext? Thanks again, Pablo Pablo Rodríguez a écrit : Using the following script, I have tried to scale an .edittext wrapped around

Re: [Swftools-common] scaling .edittext

2008-05-22 Thread Pablo Rodríguez
Matthias Kramm wrote: On Thu, May 22, 2008 at 06:05:07PM +0200, Pablo Rodríguez [EMAIL PROTECTED] wrote: Is there any way to align the text in .edittext? .edittext ... align=left .edittext ... align=right .edittext ... align=center .edittext ... align=justify Many thanks for your reply

Re: [Swftools-common] partial font embedding not working

2008-05-24 Thread Pablo Rodríguez
Matthias Kramm wrote: On Sat, May 24, 2008 at 12:25:49PM +0200, Huub Schaeks [EMAIL PROTECTED] wrote: I've attached a patch to implement the new font - glyphs logic. Applied. Thanks! Thanks, Huub and Mattias, for the patch and for applying it to the CVS version. For some strange reason,

Re: [Swftools-common] partial font embedding not working

2008-05-24 Thread Pablo Rodríguez
Matthias Kramm wrote: On Sat, May 24, 2008 at 06:26:52PM +0200, Pablo Rodríguez [EMAIL PROTECTED] wrote: make[1]: *** No rule to make target `action/lex.swf4.o', needed by `librfxswf.a'. Stop. Thanks for reporting this. It should be fixed now. Thanks for the fix, Matthias. I get a new

Re: [Swftools-common] wrong

2008-06-01 Thread Pablo Rodríguez
Matthias Kramm wrote: On Sun, Jun 01, 2008 at 02:27:23PM +0200, Pablo Rodríguez [EMAIL PROTECTED] wrote: The 2006 version of the font displays fine in the Flash file (http://ousia.justfree.com/right-counters.swf), but the 2008 version displays counters wrong (http://ousia.justfree.com/wrong

Re: [Swftools-common] wrong

2008-06-04 Thread Pablo Rodríguez
Matthias Kramm wrote: On Sun, Jun 01, 2008 at 02:27:23PM +0200, Pablo Rodríguez [EMAIL PROTECTED] wrote: The 2006 version of the font displays fine in the Flash file (http://ousia.justfree.com/right-counters.swf), but the 2008 version displays counters wrong (http://ousia.justfree.com/wrong

[Swftools-common] issues with a loader

2008-06-05 Thread Pablo Rodríguez
Trying to combine a loader (http://ousia.justfree.com/orphanworks-loader.txt) with the following presentation (http://ousia.justfree.com/orphanworks.swf [script at http://ousia.justfree.com/orphanworks-script.txt]), I get the following output (http://ousia.justfree.com/orphanworks-preloader.swf).

Re: [Swftools-common] issues with a loader

2008-06-07 Thread Pablo Rodríguez
Pablo Rodríguez wrote: Trying to combine a loader (http://ousia.justfree.com/orphanworks-loader.txt) with the following presentation (http://ousia.justfree.com/orphanworks.swf [script at http://ousia.justfree.com/orphanworks-script.txt]), I get the following output (http://ousia.justfree.com

Re: [Swftools-common] issues with a loader

2008-06-08 Thread Pablo Rodríguez
Many thanks for your reply, Matthias. Matthias Kramm wrote: On Thu, Jun 05, 2008 at 07:20:35PM +0200, Pablo Rodríguez [EMAIL PROTECTED] wrote: Trying to combine a loader (http://ousia.justfree.com/orphanworks-loader.txt) with the following presentation (http://ousia.justfree.com

[Swftools-common] swfc and flashVars

2008-06-08 Thread Pablo Rodríguez
I'm interested in adding flashVars to the presentations that SuperShow generates. I guess flashVars are the right method to define a default option and being able to change it later when invoking it (I'm thinking of start playing the video right after loading it by default and being able to

Re: [Swftools-common] issues with a loader

2008-06-08 Thread Pablo Rodríguez
Pablo Rodríguez wrote: Matthias Kramm wrote: On Sun, Jun 08, 2008 at 12:39:53PM +0200, Pablo Rodríguez [EMAIL PROTECTED] wrote: Ok, but how can I merge both? (I have no idea on how to distinguish the code from the loader and the presentation in the same swfc file.) Well, your loader loops

[Swftools-common] some questions about audio and swfc

2008-06-08 Thread Pablo Rodríguez
Using swftools-2008-06-08-1156, I encountered the following issues when extracting sound using swfextract. From http://randomfoo.net/oscon/2002/lessig/free_culture.swf, I got the warning ERROR Soundstream is not mp3 (2). Isn't the soundstream mp3 according to swfdump output? (At least I get an

Re: [Swftools-common] issues with a loader

2008-06-10 Thread Pablo Rodríguez
Thanks for your reply, Matthias. Matthias Kramm wrote: On Tue, Jun 10, 2008 at 07:58:12AM +0200, Pablo Rodríguez [EMAIL PROTECTED] wrote: I cannot compile it. [...] GFXOutputDev.cc:40:20: error: config.h: No such file or directory GFXOutputDev.cc:41:19: error: gfile.h: No such file

[Swftools-common] help with loader (please)

2008-06-15 Thread Pablo Rodríguez
Hi there, thanks to the help of Huub Schaeks, I have tried to put a loader in a presentation script (http://ousia.justfree.com/loader-orphanworks-script.txt), but the loading variable only counts when the file is fully downloaded (http://ousia.justfree.com/orphanworks.swf). The counter and slide

Re: [Swftools-common] help with loader (please)

2008-06-16 Thread Pablo Rodríguez
Hi everybody, [I have sent unknowingly a private reply to Huub, because I forgot that when replying to his messages the reply-to field is his email address, although when replying to others on this list, the reply-to field is set to the mailing list.) Huub Schaeks wrote: I believe

Re: [Swftools-common] help with loader (please)

2008-06-18 Thread Pablo Rodríguez
Huub Schaeks wrote: Hello Pablo Hi Huub, many thanks for your reply. I expect the swf files swfc generates have to load completely before they start playing. I believe this to be true for swf files in general, but I'm no expert on flash. I'm afraid that I haven't expressed myself

[Swftools-common] optional context menu

2008-06-21 Thread Pablo Rodríguez
Hi there, I have tried to disable all the built-in options and add a new option in the contextual for a swfc script (http://ousia.justfree.com/context_menu.txt), but I'm afraid that it doesn't work (http://ousia.justfree.com/context_menu.swf). I'm using the latest development snapshot. What am I

Re: [Swftools-common] optional context menu

2008-06-21 Thread Pablo Rodríguez
Huub Schaeks wrote: Hello Pablo Hi Huub, thanks for the reply. Just add 'version=7' to the first line. (no quotes) Swfc defaults to version 6 which does not support ContextMenu. It works perfect now. Pablo Date: Sat, 21 Jun 2008 13:30:47 +0200

[Swftools-common] weird swfc messages?

2008-07-10 Thread Pablo Rodríguez
Hi Matthias and others, I have just compiled the latest devel snapshot and I used swfc to generate an swf file with the following script: .flash filename=sprite.swf .font roman AirConditioner.ttf .text oworld font=roman text=world! color=yellow .edittext helloworld font=roman width=150

Re: [Swftools-common] (no subject)

2008-07-24 Thread Pablo Rodríguez
Anthropocentric wrote: Matthias, Where can I download the source for rfxview.swf? I assume there is an FLA file somewhere... Mike, you have the rfxview.sc in the same directory of the sources (http://www.swftools.org/swftools-2008-07-11-0008.tar.gz). They don't seem to be included in the

Re: [Swftools-common] positioning of objects, swfc, linux

2008-08-22 Thread Pablo Rodríguez
Matthias Kramm wrote: On Thu, Aug 21, 2008 at 11:24:13PM +0300, peter kostov [EMAIL PROTECTED] wrote: Yes, sofar I can say this is fixed, but now compilation fails with another error: Yes, please download xpdf-3.01.tar.gz from .foolabs.com and store it in lib/pdf, then run: perl

[Swftools-common] wrong audio extraction

2008-08-22 Thread Pablo Rodríguez
Hi there, two months ago, I sent a message to the list (http://lists.gnu.org/archive/html/swftools-common/2008-06/msg00033.html), but I got no reply (yet). Using the CVS version of swftools from this morning, I still get these errors: When extracting main mp3 stream from

Re: [Swftools-common] wrong audio extraction

2008-08-23 Thread Pablo Rodríguez
Matthias Kramm wrote: On Fri, Aug 22, 2008 at 02:37:47PM +0200, Pablo Rodríguez [EMAIL PROTECTED] wrote: $ swfextract -m free_culture.swf ERROR Soundstream is not mp3 (2) Many thanks for the reply, Matthias. Shouldn't this error warning be an bug? (Either the soundstream is mp3

Re: [Swftools-common] wrong audio extraction

2008-08-23 Thread Pablo Rodríguez
Matthias Kramm wrote: On Sat, Aug 23, 2008 at 10:31:57AM +0200, Pablo Rodríguez [EMAIL PROTECTED] wrote: ERROR Soundstream is not mp3 (2) Many thanks for the reply, Matthias. Shouldn't this error warning be an bug? (Either the soundstream is mp3 and should be extracted or the soundstream

[Swftools-common] how to add a sprite in a pdf2swf converted file

2008-08-24 Thread Pablo Rodríguez
Hi Matthias, I have a presentation as PDF document and I would like to embed a small sprite (http://ousia.justfree.com/aibo01.swf) in the final SWF file. Even if I manage to embed it in the PDF document (as multimedia object as per PDF 1.5 [if I'm not wrong]), I guess that pdf2swf won't be

Re: [Swftools-common] wrong audio extraction

2008-08-26 Thread Pablo Rodríguez
Matthias Kramm wrote: On Sat, Aug 23, 2008 at 10:55:21PM +0200, Pablo Rodríguez [EMAIL PROTECTED] wrote: Then, if I got it right, the error message should read something like The SWF file contains no soundstream instead of Soundstream is not mp3. That's right- if the file doesn't contain

Re: [Swftools-common] SWFTOOLS AUDIO

2008-09-19 Thread Pablo Rodríguez
Hi Jan, Jan Snyder wrote: Anyone know from how to attach audio to say a slideshow having the MP3 or wav diretcly embedded in the swf file. Only dthing I found is this but its for embedding in a webpage: http://drupal.org/node/141714 If I didn't get it wrong, SuperShow might fit to your needs

Re: [Swftools-common] Mp3 SWF

2008-09-20 Thread Pablo Rodríguez
Hi Jan, Jan Snyder wrote: Is there a command manual for SWFTOOLS available? I used wav2swf to convert a wav to swf file and it played the wav perfectly. I've tried a number of things including just using a raw MP3, but I can't figure out the command. Is it just: .sound I mean, the tutorial

Re: [Swftools-common] Audio on Slideshow

2008-09-21 Thread Pablo Rodríguez
Jan Snyder wrote: Thanks a lot to many helpful people. Finally did get this to work but it needed actionscript as well for the audio. like this at bottom of file: # actionscript # .action: _root.play(); .end -Jan Hi Jan, .action: snd=new Sound();

Re: [Swftools-common] on swfc and pdf2swf

2008-09-30 Thread Pablo Rodríguez
Huub Schaeks wrote: Hello Pablo The only change I have to make to the AS example to have swfc compile it is remove the type specification from function(active:Boolean) , so that changes to function(active). This seems to be a general rule: type specifications are flagged as syntax errors and

[Swftools-common] issue when embedding audio

2008-10-24 Thread Pablo Rodríguez
Hi Matthias, trying to embed http://ousia.justfree.com/testaudio.swf (which is actually a wav file) using .sound with swfc, I get the following error: wav_read: warning - short file (2137168352 bytes missing) Error while reading data block of size 2147418112 (2137168352 bytes missing)readMP3:

Re: [Swftools-common] issue when embedding audio

2008-10-26 Thread Pablo Rodríguez
Thanks for the reply, Matthias. Matthias Kramm wrote: On Sat, Oct 25, 2008 at 03:18:33PM +0200, Pablo Rodríguez [EMAIL PROTECTED] wrote: Sorry, Matthias, I uploaded the wrong files. The r ight one is to be found at http://ousia.justfree.com/prueba-audio.swf. This WAV file is broken

Re: [Swftools-common] is anybody did a exemple with webcam with sc sources

2008-11-01 Thread Pablo Rodríguez
jean-michel fan_de_teamspeak wrote: hello is it possible to do such thing with swfc see the link done with rswf which looks like swftools with rebol ( i dont like rebol ) http://oldes.multimedia.cz/swf/mx-webcam.html I think so, although I don't have a webcam to check this. A similar

[Swftools-common] wrong slides extraction

2008-11-01 Thread Pablo Rodríguez
Hi Matthias, extracting slides (http://ousia.justfree.com/final-test-slides.swf) that I had previously converted from pdf2swf (http://ousia.justfree.com/en-recpres.pdf) and embedded in a SWF file (http://ousia.justfree.com/final-test.swf), extracts a SWF document

[Swftools-common] problems replaying presentation

2008-11-01 Thread Pablo Rodríguez
Hi Matthias, I have created this simple presentation (http://ousia.justfree.com/final-test.swf) using this script (http://ousia.justfree.com/final-test.txt). Everything works fine except the replay button that comes when presentation has reached its end. This button is defined as: .button

Re: [Swftools-common] flashvars and swfc

2008-11-05 Thread Pablo Rodríguez
Hi Ian, many thanks for your reply. Ian Wilkinson wrote: Pablo Rodríguez wrote: [...] How should I declare the variables so that FlashVars can be used with them? Or do FlashVars not work with swfc-generated SWFs at all? Hi, I sent this yesterday, but it hasn't turned up so excuse me

[Swftools-common] wrong slide extraction (again)

2008-11-16 Thread Pablo Rodríguez
Hi Matthias and others, two weeks ago I reported a bug on wrong slides extraction (http://lists.gnu.org/archive/html/swftools-common/2008-11/msg3.html). The original PDF slides (http://ousia.justfree.com/en-recpres.pdf) have been converted to SWF

Re: [Swftools-common] wrong slide extraction (again)

2008-11-16 Thread Pablo Rodríguez
Thanks, Matthias, for your reply. Matthias Kramm wrote: On Sun, Nov 16, 2008 at 11:19:28AM +0100, Pablo Rodríguez [EMAIL PROTECTED] wrote: It works fine an slides are included as object 14. But using swfextract -i 14 outputs the slides (http://ousia.justfree.com/output-slides.swf) both wrong

[Swftools-common] ActionScript not working with Flash 7

2008-11-22 Thread Pablo Rodríguez
Hi Matthias and others, some time ago I reported an issue with swfc Actionscript (http://lists.gnu.org/archive/html/swftools-common/2008-06/msg00092.html). When changing the Flash version from 6 to 7 in the following script (http://ousia.justfree.com/loader-orphanworks-script.txt),

[Swftools-common] adding a movie to a pdf2swf converted file

2008-11-23 Thread Pablo Rodríguez
Hi Matthias and others, I would like to include two short movies in an SWF file converted from pdf2swf. But I don't know how to do it. PDF document will be generated from a PPT presentation. I wonder whether I could include a couple of images that could be replaced after the pdf2swf conversion

Re: [Swftools-common] wrong slide extraction (again)

2008-11-25 Thread Pablo Rodríguez
Thanks, Matthias with the reply. Matthias Kramm wrote: On Sun, Nov 16, 2008 at 08:09:00PM +0100, Pablo Rodríguez [EMAIL PROTECTED] wrote: The only way to make extracted SWF slides reusable would be to avoid the extraction as movieclip and to extract the slides as a SWF file with so many

[Swftools-common] background color ignored when combining swfs

2008-11-30 Thread Pablo Rodríguez
Hi Matthias and others, I have created the following created http://ousia.justfree.com/aibo.swf using the following script: .flash filename=aibo.swf version=6 fps=12 background=#ff00ff .swf movie aibo01.swf .frame 1 .put movie .stop movie .action:

Re: [Swftools-common] background color ignored when combining swfs

2008-12-01 Thread Pablo Rodríguez
Matthias Kramm wrote: On Sun, Nov 30, 2008 at 09:12:49PM +0100, Pablo Rodríguez [EMAIL PROTECTED] wrote: And I created a SWF file converting a PDF file with pdf2swf (http://ousia.justfree.com/fc-last_slide.swf from http://ousia.justfree.com/fc-last_slide.pdf). Replacing the slides

[Swftools-common] adding sound with Flash 6

2008-12-08 Thread Pablo Rodríguez
Hi Matthias, I have generated a presentation using a script with swfc. Both work fine with flash7, but audio embedding is problematic with flash versions above 6 (and I would like to upgrade the script to Flash 7). The full working script is http://ousia.justfree.com/frees-as7.txt

Re: [Swftools-common] adding sound with Flash 6

2008-12-10 Thread Pablo Rodríguez
Chris Pugh wrote: Pablo, You're not kidding!!Not only is your script huge, but the resulting SWF is to boot! Thanks for your reply and sorry for the delayed answer. The presentation is big, since is a real presentation, but it was my fault to show this SWF and script, since the issue is

Re: [Swftools-common] adding sound with Flash 6

2008-12-11 Thread Pablo Rodríguez
Thanks for the reply, Chris, Chris Pugh wrote: 2008/12/10 Pablo Rodríguez oi...@web.de: Chris Pugh wrote: You're not kidding!!Not only is your script huge, but the resulting SWF is to boot! Thanks for your reply and sorry for the delayed answer. The presentation is big, since is a real

Re: [Swftools-common] adding sound with Flash 6

2008-12-16 Thread Pablo Rodríguez
Hi Chris, many thanks for your reply. Sorry for not having answered before, but I couldn't (I read your reply five minutes ago).. Chris Pugh wrote: Pablo, Very sincere apologies! I'm kicking myself hard here for my own stupidity. I've just scanned your very long piece of code again, and

[Swftools-common] full screen with rfxview.sc

2009-01-02 Thread Pablo Rodríguez
Happy New Year to everyone :-). I was trying to add full screen to http://swftools.org/rfxview.sc replacing the z1.onRelease = function() contents with the following lines: if(Stage[displayState] == normal){ Stage[displayState] = fullScreen; } else {

[Swftools-common] weird issue when loading external SWF

2009-02-17 Thread Pablo Rodríguez
Hi there, using a snippet Chris Pugh sent to the list three days ago, and following some tips on how to load external SWF content from http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14190, I tried to create an external loader for

Re: [Swftools-common] weird issue when loading external SWF

2009-02-22 Thread Pablo Rodríguez
for future reference. Thanks anyway, Pablo Pablo Rodríguez wrote: Hi there, using a snippet Chris Pugh sent to the list three days ago, and following some tips on how to load external SWF content from http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14190, I tried to create

[Swftools-common] preloader not working on IE7

2009-02-23 Thread Pablo Rodríguez
Hi there, I have just uploaded http://ousia.justfree.com/output.swf that is mainly a sprite with a preloader (script below). For some strange reason, the preloader works with both Firefox 2 and Opera 9 plus Flash 10 (both are on my Linux system). In Linux using IE5, IE55 and I6 with Wine

[Swftools-common] sound in sprites

2009-02-23 Thread Pablo Rodríguez
Hi Matthias and others, after having some issues with sound in sprites, I have read the SWF spec (http://www.adobe.com/devnet/swf/pdf/swf_file_format_spec_v10.pdf) and I'm not sure that I understood what I read at the bottom of page 233. ”The following tags are valid within a DefineSprite

Re: [Swftools-common] preloader not working on IE7

2009-02-23 Thread Pablo Rodríguez
- From: swftools-common-bounces+seth.goldstein=savogroup@nongnu.org [mailto:swftools-common-bounces+seth.goldstein=savogroup@nongnu.org] On Behalf Of Pablo Rodríguez Sent: Monday, February 23, 2009 11:00 AM To: swftools-common@nongnu.org Subject: [Swftools-common] preloader not working

Re: [Swftools-common] sound in sprites

2009-02-28 Thread Pablo Rodríguez
Chris Pugh wrote: 2009/2/25 Pablo Rodríguez oi...@web.de: Thanks, Matthias, for your reply and your excellent work. Matthias Kramm wrote: On Mon, Feb 23, 2009 at 06:26:38PM +0100, Pablo Rodríguez oi...@web.de wrote: ?The main timeline of a SWF file can only have a single streaming sound

Re: [Swftools-common] help with a counting loader

2009-02-28 Thread Pablo Rodríguez
Chris Pugh wrote: 2009/2/25 Pablo Rodríguez oi...@web.de: [...] .sprite images .put placeholder alpha=0% .action: first_loading = new Object(); first_loading.onMouseDown = function () { if (gettimer()-firstclick300

[Swftools-common] ActionScript colorText property not working?

2009-02-28 Thread Pablo Rodríguez
Hi there, I have written the following script to test whether it is possible to change colors in texts using ActionScript. .flash filename=colors.swf bbox=200x100 version=7 fps=12 background=#00 .font roman /usr/share/fonts/TTF/FreeSansBold.ttf glyphs=bluerdgn .edittext color font=roman

Re: [Swftools-common] ActionScript colorText property not working?

2009-03-01 Thread Pablo Rodríguez
Chris Pugh wrote: color_text.textColor = 0x00FF00; color_text=blue; Missing something maybe.. ;o) You have to use the Color object to affect the change. See here, http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary142.html

Re: [Swftools-common] help with a counting loader

2009-03-01 Thread Pablo Rodríguez
Chris Pugh wrote: 2009/2/28 Pablo Rodríguez: But I still have an issue with this loader. All getBytesLoaded and getBytesTotal are counted with uncompressed sizes and since the actual file is compressed, these size numbers are wrong. Is there any way to get the actual compressed bytes

Re: [Swftools-common] ActionScript colorText property not working?

2009-03-02 Thread Pablo Rodríguez
Chris Pugh wrote: 2009/3/1 Pablo Rodríguez: Chris Pugh wrote: Missing something maybe.. ;o) You have to use the Color object to affect the change. Say you had a button called button1, then .. colStr = 0x00ff00; myColor = new Color(button1); myColor.setRGB(colStr); would

Re: [Swftools-common] ActionScript colorText property not working?

2009-03-03 Thread Pablo Rodríguez
Many thanks, Chris, for the reply. Chris Pugh wrote: 2009/3/2 Pablo Rodríguez: Your code might change the color of a button, but not text. Or at least, this doesn't work: colStr = 0x00ff00; myColor = new Color(color_text); myColor.setRGB(colStr); color_text=red

[Swftools-common] PDF wrong converted with pdf2swf

2009-04-05 Thread Pablo Rodríguez
Hi there, trying to convert an SVG file (mentioned by Norman Khine in a previous message to the list) into SWF through PDF, PDF is converted fine (by Inkscape), but pdf2swf doesn't convert the PDF right into SWF. I guess it is a bug. Thanks for your help, Pablo Speaker_Icon_gray.pdf

Re: [Swftools-common] PDF wrong converted with pdf2swf

2009-04-06 Thread Pablo Rodríguez
page 1 (400x400:0:0) (move:0:0) NOTICE Writing SWF file Speaker_Icon_gray.swf 2009/4/5 Pablo Rodríguez oi...@web.de: Hi there, trying to convert an SVG file (mentioned by Norman Khine in a previous message to the list) into SWF through PDF, PDF is converted fine (by Inkscape), but pdf2swf

[Swftools-common] .edittext above all other content

2009-04-06 Thread Pablo Rodríguez
Hi there, I would like to be able to display an .edittext field on the top of a presentation above other movieclip that right now conceals it. Is there any way to apply getNextHighestDepth() to the .edittext or is there any other way to solve it? (swapDepths doesn't seem to be an option.)

Re: [Swftools-common] .edittext above all other content

2009-04-07 Thread Pablo Rodríguez
Matthias Kramm wrote: On Tue, Apr 07, 2009 at 12:09:01AM +0200, Pablo Rodríguez oi...@web.de wrote: I would like to be able to display an .edittext field on the top of a presentation above other movieclip that right now conceals it. Could you just put the .edittext at the very end of the .sc

Re: [Swftools-common] PDF wrong converted with pdf2swf

2009-04-07 Thread Pablo Rodríguez
Matthias Kramm wrote: On Mon, Apr 06, 2009 at 08:16:01PM +0200, Pablo Rodríguez oi...@web.de wrote: Matthias, I don't know whether you're aware of this bug and it can be fixed. Thanks for reporting this. This is on my list of bugs that need to be looked into before 0.9.0. Thanks, Matthias

[Swftools-common] including Speex audio in swfc

2009-07-05 Thread Pablo Rodríguez
Hi Matthias, one of the new implementations of Flash 10 is the Speex codec for recorded voice. Would it be possible to implement it so that it will be possible to embed Speex archives using the .sound tag? (This only makes sense for Flash archives 9, so an error message preventing the embedding

[Swftools-common] wrong positioning

2009-10-30 Thread Pablo Rodríguez
Hi there, I have the following script; .flash filename=first.swf bbox=800x600 version=7 fps=12 .outline fscreen_outline: M 409.38739,212.82563 L 398.29364,215.70063 L 395.44989,226.76313 L 397.57489,224.63813 L 401.32489,228.38813 L 411.01239,218.73188 L 407.26239,214.95063 L 409.38739,212.82563

Re: [Swftools-common] wrong positioning

2009-10-31 Thread Pablo Rodríguez
, .action: slide_height=Stage.height/2; slide_width=Stage.width/2; which gives you the screen centre point.. ;o) HTH. Regards, Chris. 2009/10/30 Pablo Rodríguez oi...@web.de: Hi there, I have the following script; .flash filename=first.swf bbox=800x600 version=7 fps

Re: [Swftools-common] wrong positioning

2009-11-01 Thread Pablo Rodríguez
Ricardo Pedroso wrote: Try this: [...] the key here is pin=center in .put command Thanks, the problem was partially in the wrong outline, as I explained in a previous message. pin can have the following values: center bottom-center top-center top-left top-right bottom-right

Re: [Swftools-common] issue with an object

2009-11-01 Thread Pablo Rodríguez
Ricardo Pedroso wrote: See if the following script is what you want: [...] Many thanks, Ricardo, for your help. Your script is partly what I'm trying to do, but there is an issue: add fscreen._visible = false; after the .stop full_screen and this will erase also first_slide and

Re: [Swftools-common] wrong positioning

2009-11-01 Thread Pablo Rodríguez
gone wrong). At first, I thought that the issue was a different one that I had described before. Sorry for the misunderstanding, Pablo 2009/10/31 Pablo Rodríguez oi...@web.de: Thanks, Chris, for your explanation. Centering code like object._x = (Stage.width-object._width)/2; worked for me

[Swftools-common] triggering a conditional

2009-11-07 Thread Pablo Rodríguez
Hi there, in the example bellow, I try to define a variable (show_dlbar) in a button, to define a conditional using this variable in the main ActionScript code from frame 1. I don't know why, but the conditional is not triggered (when I press the button, it isn't visible anymore as intended, but

Re: [Swftools-common] wrong positioning

2009-11-07 Thread Pablo Rodríguez
Chris, Chris Pugh wrote: Pablo, 2009/11/1 Pablo Rodríguez oi...@web.de: Chris Pugh wrote: I didn't say you had done anything 'wrong' in particular. Simply guilty of having a very tic moment! ;o) ic' = tongue in che Chris, I apologize for being rude in my previous reply (I'm afraid I

Re: [Swftools-common] issue with an object

2009-11-07 Thread Pablo Rodríguez
. HTH. Regards, Chris. 2009/11/1 Pablo Rodríguez oi...@web.de: Ricardo Pedroso wrote: See if the following script is what you want: [...] Many thanks, Ricardo, for your help. Your script is partly what I'm trying to do, but there is an issue: add fscreen._visible = false

Re: [Swftools-common] triggering a conditional

2009-11-07 Thread Pablo Rodríguez
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. 2009/11/7 Pablo Rodríguez oi...@web.de: Hi there, in the example bellow, I try to define a variable (show_dlbar) in a button, to define a conditional using this variable in the main ActionScript code from frame 1. I

Re: [Swftools-common] triggering a conditional

2009-11-07 Thread Pablo Rodríguez
Thanks for the reply, Chris. Chris Pugh wrote: Pablo, 2009/11/7 Pablo Rodríguez oi...@web.de: I hope it is clear now. The conditional doesn't seem to work in the code. What am I missing there? Confusion aside .. ;o) The conditional does work. [...] Code posted below. What I am

[Swftools-common] bbox using gfx

2009-11-14 Thread Pablo Rodríguez
Hi there, is there any method to get the bbox of a given swf file in gfx? I mean something like: import gfx swf = gfx.open(swf, file.swf) print swf.bbox (Sorry if this is enabled or obvious to you, but my distribution openSUSE-11.1 doesn't seem to have the gfx module

[Swftools-common] a question on Mouse.addListener

2009-11-14 Thread Pablo Rodríguez
Hi there, I have written a loader (that I have been mailing about recently [http://www.ousia.tk/fculture.php] ;-)) that does exactly what I want, except for a minor undesired feature :-(. My idea is to lead the user to fullscreen the presentation and then to load it. So, if the button is

Re: [Swftools-common] bbox using gfx

2009-11-15 Thread Pablo Rodríguez
Chris Pugh wrote: 2009/11/14 Pablo Rodríguez oi...@web.de: Hi there, is there any method to get the bbox of a given swf file in gfx? I mean something like: import gfx swf = gfx.open(swf, file.swf) print swf.bbox (Sorry if this is enabled or obvious to you, but my

Re: [Swftools-common] a question on Mouse.addListener

2009-11-15 Thread Pablo Rodríguez
Chris Pugh wrote: 2009/11/14 Pablo Rodríguez oi...@web.de: Hi there, I have written a loader (that I have been mailing about recently [http://www.ousia.tk/fculture.php] ;-)) that does exactly what I want, except for a minor undesired feature :-(. My idea is to lead the user to fullscreen

[Swftools-common] suggestion on swfbbox

2009-11-22 Thread Pablo Rodríguez
Hi Matthias, would it be possible to have more than one file in swfbbox at least when showing the movie bounding box? Thanks, Pablo

[Swftools-common] suggestion on swfbbox

2009-11-22 Thread Pablo Rodríguez
Hi Matthias, would it be possible to have more than one file in swfbbox at least when showing the movie bounding box? Thanks, Pablo

Re: [Swftools-common] a question on Mouse.addListener

2009-11-22 Thread Pablo Rodríguez
Thanks for your reply. Chris Pugh wrote: Pablo, Does this example help? [...] It helped me to understand that the button area could be set negative. I'm afraid that it didn't work, since setting the button area messed the drawing. I don't know how the drawing model should work, but it

  1   2   >