Re: [Flashcoders] tracing function calls

2006-09-29 Thread Ray Chuan
Hi, try this: function wrapper(obj:Object, prop:String):Void { var f:Function = Function(obj[prop]); obj[prop] = function() { trace({function: prop args: +arguments+}); return f.apply(obj, arguments); } } Let's say you want to wrap around the function Kite.fly: wrapper(Kite, fly);

Re: [Flashcoders] PDF2SWF - or other means to convert bytestream PDF to SWF??

2006-09-29 Thread Ray Chuan
Hi, yeah. But Josh said that files are ok. For example, when you watch a YouTube video in Firefox, the data is downloaded into your cache but you can't open it because there's a file lock. Similarly, if a pdf file is created (with PIs and everything), as long as you have a file lock no one else

Re: [Flashcoders] RE: Flashcoders Digest, Vol 20, Issue 80

2006-09-29 Thread Ray Chuan
Hi, sorry about that. On 9/29/06, Ettwein, Josh [EMAIL PROTECTED] wrote: Ray, While you're correct that flashpaper can create pdfs OR swfs, if you read my original post, I'm not only solely interested in creating SWFs, I'm more specifically in need of the ability to create an swf FROM a

Re: [Flashcoders] Flash-based audio editor?

2006-09-29 Thread Ray Chuan
Hi, if i remember at an Apollo demo the Adobe people had a waveform display for sound, by Andre Michell. http://www.digitalbackcountry.com/images/blog/apollo/apollo_tunes_viz_big.jpg See the time 23:08 for http://seminars.adobe.acrobat.com/p65594978/ On 9/29/06, Wolfgang Borgon [EMAIL

Re: [Flashcoders] Flash-based audio editor?

2006-09-29 Thread Ray Chuan
Hi, found the source and demo: http://blog.benstucki.net/?id=18 It's a flex component. On 9/29/06, Ray Chuan [EMAIL PROTECTED] wrote: Hi, if i remember at an Apollo demo the Adobe people had a waveform display for sound, by Andre Michell.

Re: [Flashcoders] tracing function calls

2006-09-29 Thread Hans Wichman
Hi, there are different options, i think as2lib has some kind of AOP mechanisms, allowing you to add aspects to your code, eg a logging aspect. Not entirely sure about this but i think in this case it would come down to walking the global tree, through all classes (assuming everything is as2),

Re: [Flashcoders] Using XRay

2006-09-29 Thread Hans Wichman
And once you have it running, you'll have the best weekend ever, throw a party and won't understand how you every managed without it... :) On 9/28/06, Alain Rousseau [EMAIL PROTECTED] wrote: Try this link, It has everything you need to know about XRay, including where to download ! Enjoy !

Re: [Flashcoders] Profanity - (to Lieven especially)

2006-09-29 Thread Cedric Muller
living in paranoid land ? Same s***. Could we keep the language on this list down a tad? That's the second time you've said that in your current thread today. Some of us are on large corporate networks that get monitored, and I don't really want that word associated in any way on any report

RE: [Flashcoders] movieclip._y = textField._height

2006-09-29 Thread Lieven Cardoen
Francis, thx. This was what I was looking for. And to all you guys who had problems with my profanity, excuse me and get a live. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francis Turmel Sent: donderdag 28 september 2006 20:09 To: Flashcoders

RE: [Flashcoders] movieclip._y = textField._height

2006-09-29 Thread Lieven Cardoen
Life! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lieven Cardoen Sent: vrijdag 29 september 2006 9:59 To: Flashcoders mailing list Subject: RE: [Flashcoders] movieclip._y = textField._height Francis, thx. This was what I was looking for. And to

RE: [Flashcoders] movieclip._y = textField._height

2006-09-29 Thread Nick Weekes
Get a Life you mean. And dude, if you swear in your emails they will likely be blocked by corporate email servers, so nobody will be able to help. So right back atcha... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lieven Cardoen Sent: 29 September

[Flashcoders] RadioButton and CheckBox

2006-09-29 Thread Laurent CUCHET
I need a way to uncheck checkbox in this case : 3 choice : appartements , house or garage 1. appartements 1 and or 2 and or 3 and or 4 and or 5 : CheckButton and uncheck radio button 2. house yes or no : radioButton and uncheck checkbox 3. garage yes or no : radioButton and uncheck checkbox

RE: [Flashcoders] movieclip._y = textField._height

2006-09-29 Thread Danny Kodicek
And to all you guys who had problems with my profanity, excuse me and get a live. I personally don't care one way or the other, but this is a professional list and swearing is inappropriate. Respect others' wishes and please keep it for more informal forums, thanks. Danny

Re: [Flashcoders] Flash-based audio editor?

2006-09-29 Thread Serge Jespers
They're doing this sort of thing in Odeo Studio: http://studio.odeo.com Well... not the editing part but that should indeed be possible with some serverside script. FFMPEG can crop and resample so theoretically it should be possible. Serge ___

RE: [Flashcoders] movieclip._y = textField._height

2006-09-29 Thread Lieven Cardoen
It looks more like you have to wait a frame to get the correct height. Strange thing is that most of the times, getting the height works fine, but once in a while it fails. Lieven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francis Turmel Sent:

[Flashcoders] audio and video synchronized

2006-09-29 Thread Daniele La Delfa
Hi everyone, I just have a little question and I hope you can help me with my problem ! I have a presentation to realize and I set up 30 f/s. Do you know why during the reproduction I see in the time line of my project that the frames go down up to 14 f/s ? I can understand if I make 2

RE: [Flashcoders] PDF2SWF - or other means to convert bytestream PDF to SWF??

2006-09-29 Thread Merrill, Jason
yeah. But Josh said that files are ok. Hi Ray. So I can understand where we are having a disconnect, please post where Josh said that. Josh clearly stated, The problem I'm having now is that the specs I've been given require that no PDF files be stored on the server, so the PDF can't

RE: [Flashcoders] movieclip._y = textField._height

2006-09-29 Thread Merrill, Jason
And to all you guys who had problems with my profanity, excuse me and get a live. Yesterday, you apologize for the profanity, Ps : sorry for the profanity., and today you post that. I'm thoroughly confused. Can you explain, but off-list? Feel free to send it (profanities and all) to my personal

Re: [Flashcoders] Controlling a swf loaded into a movieclip

2006-09-29 Thread Glen Pike
Aha, No, I had misinterpreted this as being called when the MovieClip loader initialised and was removing the MCL Listener when the onLoadComplete function was called so I never saw any debug trace. (...Reads documentation...) :-[ That makes it a lot simpler - Doh! (It is alright to

Re: [Flashcoders] tracing function calls

2006-09-29 Thread John Grden
and xray uses Hans class resolver ;) I've had this situation before as well, and what I did was create a base flash movie that loaded the 3rd parties SWF in. Xray was in the library and ready to inspect their swf. THe only problem with that is something might break since now, that swf isn't at

Re: [Flashcoders] movieclip._y = textField._height

2006-09-29 Thread John Grden
Keith Peters just told me about an old issue that _width is the actual last property set on a movieclip. So, when width was ready, then it was fully initialized. I assume that's why waiting until frame2 works. if you were using MovieClipLoader, you could do your calcs when onLoadInit() fires

Re: [Flashcoders] movieclip._y = textField._height

2006-09-29 Thread Francis Turmel
Interesting. In my experience though I didn't have to wait a frame for the fix to work. Two consecutive references to the textHeight would make the second one give the proper value, but I'd love to get to the bottom of this and understand why this is happening. If I can find a minute I'll dig up

Re: [Flashcoders] Controlling a swf loaded into a movieclip

2006-09-29 Thread Kjel Anderson
This discussion seems pretty informative, but unfortunately, much of it is over my head. I'm having trouble resolving scope. I can iterate through the movieclips in my loaded swf, but I don't seem to be able to call properties or methods. Can someone point me in the right direction on this?

[Flashcoders] Mac Flash Projector Question

2006-09-29 Thread Matthew Bargar
Hi- A client has asked us to change the Version information that a user sees when he/she does Get Info on a Mac Flash projector. Currently it says something like 8.0 r22 (c) Macromedia, Inc. but the client would like to show their own info in that space. On the PC we used Versiown

Re: [Flashcoders] Saluti alla ML

2006-09-29 Thread Marcelo Wolfgang
I'm 2 :) been on this list for almost 3 years :) lurking and de-lurking when needed ( I hoped to help more, and read more, but I'm very busy ) Julian, I'm in Curitiba, Brasil since the beginning of the year. And this was the first time ever I try to translate Italian. []´s

RE: [Flashcoders] Mac Flash Projector Question

2006-09-29 Thread Mike Mountain
MDM Zinc may do the trick? http://www.multidmedia.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Bargar Sent: 29 September 2006 15:50 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Mac Flash Projector Question

Re: [Flashcoders] Controlling a swf loaded into a movieclip

2006-09-29 Thread Marcelo de Moraes Serpa
I don't usually call methods directly on loaded SWF's. Try decoupling it more by creating some kind of interface or by dispatching events. Maybe you could make use of a MVC framework such as pixlib (the best for flash at the moment), this would make your app much more maintanable, flexible and

Re: [Flashcoders] Controlling a swf loaded into a movieclip

2006-09-29 Thread Kjel Anderson
Marcelo, I have a MVC framework for the application, but I am not sure how to add a listener if I can't resolve the scope. I need to find a good tutorial about combining stuff from the IDE with stuff written entirely in mtasc. I have been writing pure actionscript, but I am just getting

[Flashcoders] Flash PDF Generator Freelance Job

2006-09-29 Thread Bo Parker
I am currently working with a client on a web to print system. The system is flash based. The idea is that templates are loaded in, customized and a pdf is generated and exported to a watch folder that networked press can grab and feed into the cue. We will need to capture some info about

[Flashcoders] Projector Wrapper

2006-09-29 Thread Telmo Dias
Hi, I read a few of those posts regarding sfw/projector wrappers. I would like to create a small kind of widget that stays in the systray (windows only), and connects to the server to update info, from time to time. It should enable the user to login, and based on the info it gathers from

[Flashcoders] Hidayath Quraishi sent you this link

2006-09-29 Thread Hidayath Quraishi
Remember your link from Hidayath Quraishi: http://namesdatabase.com/2m.pl?k2=40543968892s=nsender2 1 - Use Hidayath Quraishi's link by clicking above. 2 - Enter your info for a membership connected to Hidayath. 3 - Share links with other friends, family and co-workers. 4 - Use the

Re: [Flashcoders] Projector Wrapper

2006-09-29 Thread jcanistrum
I use Zinc and it is fine, good support! 2006/9/29, Telmo Dias [EMAIL PROTECTED]: Hi, I read a few of those posts regarding sfw/projector wrappers. I would like to create a small kind of widget that stays in the systray (windows only), and connects to the server to update info, from time to

Re: [Flashcoders] Controlling a swf loaded into a movieclip

2006-09-29 Thread Muzak
Yeah, alot of people seem to be confused about onLoadComplete and onLoadInit. If it was up to me, I'd just dump onLoadComplete :-) If you listen for both events, you'll notice onLoadComplete is triggered before onLoadInit. In short, forget about onLoadComplete and always use onLoadInit. Muzak

[Flashcoders] What does this error msg mean?

2006-09-29 Thread vic
A class's instance variables may only be initialized to compile-time constant expressions. Victor ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Saluti alla ML

2006-09-29 Thread Gustavo Teider - Adobe Flash Developer
Hi Marcelo, um flasheiro da mesma cidade que eu numa lista da gringa ? vamos manter contatos!! Abraco -- Gustavo Teider ( gugateider ) www.gugateider.com Curitiba - PR Marcelo Wolfgang escreveu: I'm 2 :) been on this list for almost 3 years :) lurking and de-lurking when needed ( I hoped to

Re: [Flashcoders] Projector Wrapper

2006-09-29 Thread Ian Thomas
I disagree. Twice now, I have had Zinc upgrades break existing functionality that I relied on, and those new bugs have only been fixed several versions later. They keep introducing new functionality, and do very little to ensure the stability of the existing codebase. Personally I'd rather they

Re: [Flashcoders] Projector Wrapper

2006-09-29 Thread Telmo Dias
Ok, but can you suggest a replacement? Telmo Ian Thomas wrote: I disagree. Twice now, I have had Zinc upgrades break existing functionality that I relied on, and those new bugs have only been fixed several versions later. They keep introducing new functionality, and do very little to ensure

Re: [Flashcoders] Inheritance bug in AS2 Flash 8

2006-09-29 Thread Eric Priou
Something related to : http://lists.motion-twin.com/pipermail/mtasc/2006-September/029975.html ? --- Eric Priou (aka erixtekila) In progress tech blog : http://blog.v-i-a.net/ Oregano XML Socket forum : http://forum.v-i-a.net/ ___

Re: [Flashcoders] Controlling a swf loaded into a movieclip

2006-09-29 Thread Marcelo de Moraes Serpa
Kjel: Indeed, it can be confusing at beginning to creat this Flash IDE - MTASC integration mindset. But it's really quite simple, with mtasc you can really only inject as2 classes into Flash IDE pre-compiled swf's. I have a MVC framework for the application, but I am not sure how to add a

Re: [Flashcoders] Projector Wrapper

2006-09-29 Thread Ian Thomas
I'd go with SWFStudio or Screenweaver. Ian On 9/29/06, Telmo Dias [EMAIL PROTECTED] wrote: Ok, but can you suggest a replacement? Telmo Ian Thomas wrote: I disagree. Twice now, I have had Zinc upgrades break existing functionality that I relied on, and those new bugs have only been fixed

RE: [Flashcoders] Implicit setters and exceptions in AS2.0

2006-09-29 Thread Mike Keesey
I think that's very well-put. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of David Bellerive Sent: Thursday, September 28, 2006 8:22 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Implicit setters and

[Flashcoders] ActionScript 3 Game Examples Available + Disney Job Opportunity

2006-09-29 Thread Rapo, Andrew
If anyone is interested in AS3 game source code examples, I posted a couple last night at: http://www.rapo.org/as3/examples/ AS3 AstroSweeper - The AstroSweeper game from Understanding Macromedia Flash 8 ActionScript 2, translated into AS3 AS3 Ping Pong - The classic game, provided by

[Flashcoders] flash returns incorrect size for masked clips

2006-09-29 Thread Radley Marx
note: I posted this initially to another list and got some clues, but would like to have this worked out... I have a .swf that's 400x300. It has a stage and mask that's 400x300, but the masked content is 800x600. When I check ._width ._height for the movie I get 800x600, instead

[Flashcoders] animating fish and other animals

2006-09-29 Thread Doug Tangren
I have seen a couple sites lately that seem to use the same trick animating animal silhouettes. Below are two key examples. Does anyone have any idea how this was done. They seem way too slick and random to be frame by frame. Can this be done with flash video? I don't have much

Re: [Flashcoders] Controlling a swf loaded into a movieclip

2006-09-29 Thread Kjel Anderson
Marcelo, I want to make sure that I understand what you are saying. When a swf created with MTASC is loaded into an swf created within the flash environment, it is not possible to reference functions from the IDE created swf from within the MTASC created swf. In short, there is no possibility

Re: [Flashcoders] animating fish and other animals

2006-09-29 Thread Patrick Matte
Probably animated with a 3D software and then rendered to flash. Le 29/09/06 13:47, « Doug Tangren » [EMAIL PROTECTED] a écrit : I have seen a couple sites lately that seem to use the same trick animating animal silhouettes. Below are two key examples. Does anyone have any idea how this

[Flashcoders] Boolean variable

2006-09-29 Thread Batista Mihai
I have a swf file and I want when I close the browser a boolean variable g to turn in true. Please give me a suggestion. Thank you! Mike - Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.

Re: [Flashcoders] flash returns incorrect size for masked clips

2006-09-29 Thread Martin Wood
useful is a matter of perspective :) if you want to load in the content behind a mask and dont know how big the content is then its useful to be able to find out its real size, not just the visible size. Radley Marx wrote: I have a .swf that's 400x300. It has a stage and mask that's 400x300,

Re: [Flashcoders] animating fish and other animals

2006-09-29 Thread ben farrell
Or done with video - either Flash video, or shooting, running it through some DV software turning the contrast way up to make whatever stand out, and then exporting each frame as an image. Once the images are in flash, you could trace bitmap to make them vectors. Patrick Matte wrote:

RE: [Flashcoders] Boolean variable

2006-09-29 Thread Merrill, Jason
Where do you want the variable to be stored? When you close the browser window, the flash is gone - and the variable with it. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED]

[Flashcoders] a good profiler

2006-09-29 Thread Seth Caldwell
I'm looking for an automated actionscript profiler, one where I basically just include a file, say start and stop and it traces out percent cpu in each method of every class that is activated during that time. Anyone know of something like this? Thanks a ton if so. Seth

RE: [Flashcoders] Projector Wrapper

2006-09-29 Thread Steven Sacks | BLITZ
http://www.screentime.com/software/mprojector/ mProjector is the best wrapper out there, period. It's completely stable and has the absolute best performance and smallest memory and filesize footprint (I've done metrics). The API is outstanding, well-thought out and easier to use than any

[Flashcoders] btn action function with params

2006-09-29 Thread Mick G
Just a small thing that I've always wondered... When you assign a function name to a button action, is there a way to send parameters to this function? eg. function doStuff(mc){ trace(mc); } //Option1. this is a short way of targeting the above function my_btn.onRelease = doStuff; //Option2.

Re: [Flashcoders] flash returns incorrect size for masked clips

2006-09-29 Thread Radley Marx
perhaps... but by my understanding, if I wanted to know the size of a specific movieClip, I'd target it directly instead of the parent... ? ;-) -radley On Sep 29, 2006, at 11:07 AM, Martin Wood wrote: useful is a matter of perspective :) if you want to load in the content behind a

RE: [Flashcoders] btn action function with params

2006-09-29 Thread Merrill, Jason
One way: function doStuff(mc){ trace(mc); } my_btn.clip = mc my_btn.onRelease = function(){ doStuff(this.clip); } Might also be a preferred to do with Delegate.create() Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original

[Flashcoders] Q: Full Browser flash and IE bug when resizing browser

2006-09-29 Thread bitstreams
Hi I'm using full browser flash code that works fine in Firefox. When I resize the browser window the flash elements dynamically recenter themselves. However, in IE this does NOT workflash does NOT know that the browser window is being re-sized. Has anyone come across this? [e] jbach at

RE: [Flashcoders] Saluti alla ML

2006-09-29 Thread Elena Blanco
Benvenuto! Elena (italiana trapiantata a Hood River, OR) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniele La Delfa Sent: Thursday, September 28, 2006 10:22 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Saluti alla ML Salve a

[Flashcoders] FP9 - Dynamic masked text

2006-09-29 Thread kevin kroe
Do someone expected problems with masked dynamic texts and FP9 ? When i preview my .swf on FP9, masked dynamic texts are lost =( [s] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] btn action function with params

2006-09-29 Thread Mick G
I'm not sure that's really what I was after... Put simply, I just wanted to be able to call a function from a button action in one line of code without having to add a new function() action after the button. So just this (but sending a param to a function called doStuff)... my_btn.onRelease =

Re: [Flashcoders] btn action function with params

2006-09-29 Thread Hans Wichman
Hi, other way: my_btn.onRelease = Proxy.create (this, this.doStuff, param1, param2, param3); The Proxy class can be found through google. greetz JC On 9/29/06, Merrill, Jason [EMAIL PROTECTED] wrote: One way: function doStuff(mc){ trace(mc); } my_btn.clip = mc my_btn.onRelease = function(){

Re: [Flashcoders] Flash-based audio editor?

2006-09-29 Thread Josh Santangelo
You might check out Beaterator as an example. http://beaterator.com/ All of the actual audio transformations are being performed on the server, though. -josh On Sep 27, 2006, at 11:25a, Wolfgang Borgon wrote: I've been searching for a flash-based audio editor, enabling simple editing of

Re: [Flashcoders] PDF2SWF - or other means to convert bytestream PDF to SWF??

2006-09-29 Thread David Rorex
On 9/27/06, Ettwein, Josh [EMAIL PROTECTED] wrote: I have a need to consume PDFs with the flash player - no problem in the past - just use PDF2SWF to convert to multiframe SWF and loadMovie. The problem I'm having now is that the specs I've been given require that no PDF files be stored on the

Re: [Flashcoders] PDF2SWF - or other means to convert bytestream PDF to SWF??

2006-09-29 Thread David Rorex
By the way, using flashpaper in an automated server environment violates the license agreement. Though if you are a small operation, adobe may not bother to go after you. -David R On 9/28/06, Ray Chuan [EMAIL PROTECTED] wrote: Hi, you might want to look at FlashPaper:

[Flashcoders] Boolean variable

2006-09-29 Thread Batista Mihai
I want the variable to be stored in a shared object. :) - How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates. ___ Flashcoders@chattyfig.figleaf.com To change your subscription

Re: [Flashcoders] Saluti alla ML

2006-09-29 Thread JulianG
Ah! Brasil! I'm from Argentina. Alguien de Argentina? JulianG Marcelo Wolfgang wrote: I'm 2 :) been on this list for almost 3 years :) lurking and de-lurking when needed ( I hoped to help more, and read more, but I'm very busy ) Julian, I'm in Curitiba, Brasil since the beginning of the

Re: [Flashcoders] FP9 - Dynamic masked text

2006-09-29 Thread Ramses Moreno [cuatromedios]
Is not the same problem like in previows versions? I mean resolved just beign sure the fonts are embedded? On 9/29/06, kevin kroe [EMAIL PROTECTED] wrote: Do someone expected problems with masked dynamic texts and FP9 ? When i preview my .swf on FP9, masked dynamic texts are lost =( [s]

Re: [Flashcoders] Saluti alla ML

2006-09-29 Thread Marcelo de Moraes Serpa
There's luchyx from Argentina JulianG... :) Hey luchyx, are you around? On 9/29/06, JulianG [EMAIL PROTECTED] wrote: Ah! Brasil! I'm from Argentina. Alguien de Argentina? JulianG Marcelo Wolfgang wrote: I'm 2 :) been on this list for almost 3 years :) lurking and de-lurking when needed

Re: [Flashcoders] a good profiler

2006-09-29 Thread Ray Chuan
Hi, did a quick google search and I found AsProf: http://www.nochump.com/asprof/ It's a Flash component. Alternatively, look at hamtasc: http://osflash.org/pipermail/osflash_osflash.org/2006-January/006720.html http://www.osflash.org/hamtasc#rb_auto_trace_function

Re: [Flashcoders] Flash 7 to 8 samples

2006-09-29 Thread Ray Chuan
? Encoded to do ... ? On 9/30/06, Gregory Frank [EMAIL PROTECTED] wrote: Any swf or movie files that have been encoded to do this available out there? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: