[Flashcoders] FP9/AS3 : What could prevent filters from working ?

2008-06-20 Thread leolea
Hi, I have a mc that I'm trying to blur, and it just doesn't. Actually no filter works, at all. I'm apply the filter simply like that: var b:BlurFilter = new BlurFilter() mymc.filters = [b]; The MC is a section container that has many other children MCs. They are loading JPGs,

Re: [Flashcoders] FP9/AS3 : What could prevent filters from working ?

2008-06-20 Thread leolea
in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of leolea Sent: Friday, June 20, 2008 5:12 PM To: Flash Coders List Subject: [Flashcoders

Re: [Flashcoders] FP9/AS3 : What could prevent filters from working ?

2008-06-20 Thread leolea
exceeds the limit of 2880 pixels. Is that likely to be the problem? Ian On Fri, Jun 20, 2008 at 10:12 PM, leolea [EMAIL PROTECTED] wrote: Hi, I have a mc that I'm trying to blur, and it just doesn't. Actually no filter works, at all. I'm apply the filter simply like

Re: [Flashcoders] Re: Assets quality Question.

2008-05-27 Thread leolea
Make sure your graphics are on full pixels. Not ony the graphics, but also their containers and the containers of their containers, and so on. ex: You have navMc.pixelButtonMc ( pixelButtonMc is contained in navMc ) pixelButtonMc.x = 10; ... but navMc.x = 5.6; result: pixelButtonMc will not

Re: [Flashcoders] Curves question for math gurus

2007-05-15 Thread leolea
Regarding those curve math questions... I truly appreciated everyone's help! Here is the result (clothesline navigation!) http://www.nfb.ca/cannes/ Many thanks! On 5/2/07 5:14 AM, Ivan Dembicki [EMAIL PROTECTED] wrote: Hello, Thank you, I redid my whole thing using your classes! Really

Re: [Flashcoders] Curves question for math gurus

2007-04-26 Thread leolea
is within a certain distance, just check the difference of the ys of your mc's position, and the returned point. --- leolea [EMAIL PROTECTED] wrote: On 4/25/07 5:31 PM, Joshua Sera [EMAIL PROTECTED] wrote: If you know that the two endpoints of the curve are always going to have an equal x

Re: [Flashcoders] Curves question for math gurus

2007-04-26 Thread leolea
)/(lastpoint.x - firstpoint.x) Instead of: ratio = (mc._x - firstpoint.x)/(lastpoint.x - firstpoint.x) Many thanks !! On 4/26/07 8:43 AM, leolea [EMAIL PROTECTED] wrote: Thank you very much for this. The function you provided works super fine, but only once! If I call it in an onEnterFrame, here's

Re: [Flashcoders] Curves question for math gurus

2007-04-26 Thread leolea
On 4/26/07 5:50 AM, Danny Kodicek [EMAIL PROTECTED] wrote: Be aware, though, that the vertical line might well not give you the closest point on the curve. If you want to find the closest point on the bezier to a given point, that's a slightly different problem (for a quadratic bezier it

Re: [Flashcoders] Curves question for math gurus

2007-04-26 Thread leolea
Thank you, I redid my whole thing using your classes! Really super, more flexibility + less code ! Is there any doc online ? On 4/26/07 7:10 AM, Ivan Dembicki [EMAIL PROTECTED] wrote: Hello, a little demo: http://www.bezier.ru/tmp/answer_demo/

Re: [Flashcoders] Zigo Fuse Filter syntax

2007-04-25 Thread leolea
If you want to animate sequentially, I think you should use Fuse object. Try this: var f:Fuse = new Fuse(); f.push({target:mc, Blur_blur:10, time:2, ease:easeOutElastic}); f.push({target:mc, Blur_blur:0, time:2, ease:easeOutElastic}); f.start(); Every tween that you push in the fuse object

[Flashcoders] Curves question for math gurus

2007-04-25 Thread leolea
Hi, I have a dynamically drawn curve. It's a simple curve, with 2 end points, and its yfactor will vary. I'm trying to figure out a way to have objects snap to this curved line. I would distribute them over the _x axis, and I need a formula to get their _y position on the curved line. Here is a

Re: [Flashcoders] Curves question for math gurus

2007-04-25 Thread leolea
Hi, thanks for your reply! My curve isn't exactly a circle. Here's what my animated curve would look like: http://pages.videotron.com/poubou/flash/cannes01.html The curve is drawn using the drawing API: example: mc.moveTo(0,0); mc.curveTo(400,900,0,800); So, I know the 3 bezier points that

Re: [Flashcoders] Curves question for math gurus

2007-04-25 Thread leolea
On 4/25/07 4:43 PM, Jobe Makar [EMAIL PROTECTED] wrote: Another trick is to position the clips on the line where they need to be when the line is at rest. Then displace them vertically based on the amplitude of the center displacement. I thought about this method... I could go with it. I

Re: [Flashcoders] Curves question for math gurus

2007-04-25 Thread leolea
On 4/25/07 5:31 PM, Joshua Sera [EMAIL PROTECTED] wrote: If you know that the two endpoints of the curve are always going to have an equal x or y value, the you can just use the quadratic formula, and get the right Y value. The two endpoints will never move. The middlepoint will be the only

Re: [Flashcoders] OT - best AJAX SITES

2007-04-17 Thread leolea
http://www.gucci.com/ On 4/17/07 2:43 PM, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: can anyone provide links to some of the best ajax sites thanks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

Re: [Flashcoders] Flashcoders really bad lag - just me?

2007-04-10 Thread leolea
On 4/10/07 10:08 AM, Hairy Dog Digital [EMAIL PROTECTED] wrote: P.S. I'm about to hit the send button at 10:08 AM EST (-500 GMT). FYI: received at 10:33 AM EST ... Not so bad ___ Flashcoders@chattyfig.figleaf.com To change your subscription

[Flashcoders] Caching in Test Movie

2007-04-10 Thread leolea
In Test Movie mode, it seems like Flash doesn't have any cache like the browser does. Anyone know if there is a way to enable caching ? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] attaching an event to a movie clip

2007-04-06 Thread leolea
You could try creating a container movieclip inside your clip and load the image inside that clip. for (i=0; imodels.length; i++){ movieName = models[i]; var newMC = this.container1.createEmptyMovieClip(movieName, 0+i); // here, create a mc inside newMC var imageMC =

Re: [Flashcoders] NetStream.play() - Start parameter

2007-04-05 Thread leolea
I've read the docs and the livedocs, and I don't see a ready event. Does this mean that this last suggestion of yours won't work ? netStream.play(flvPath); netStream.seek(5); On 4/4/07 7:14 PM, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: You have to wait for the ready event before you

Re: [Flashcoders] Exporting alpha channel video from flash

2007-04-05 Thread leolea
I had the same problem, and according to Adobe this is a known issue in Quicktime 7. http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=60dcf627 They suggest downgrading to QT 6.5. I wasn't motivated enough to do that, so I went for PNG sequence. On 4/5/07 9:54 AM, John sorry if i

Re: [Flashcoders] FLV (like youtube)

2007-04-04 Thread leolea
Tools that I know can convert to FLV server-side : Sorenson Squeeze using command-line or watch folder ($$$) On2 Publisher (they ask to write for pricing so I don't know) FFmpeg (free) Check out this thread: http://www.jeroenwijering.com/?thread=152 Useful stuff. On 4/4/07 9:07 AM, Tom

Re: [Flashcoders] Preloading FLV with NetStream

2007-04-04 Thread leolea
- Date: Tue, 03 Apr 2007 16:04:35 -0400 From: leolea [EMAIL PROTECTED] Subject: [Flashcoders] Preloading FLV with NetStream To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII Hi, Is it possible, using

Re: [Flashcoders] sync flv with swf

2007-04-04 Thread leolea
If they both have the same duration, then you can use the percentage from the SWF and apply it to the FLV... var swfPercent:Number = swfmc._currentframe / swfmc._totalframes; flvNetStream.seek(flvDuration * swfPercent); Should work. On 4/4/07 1:42 PM, robert [EMAIL PROTECTED] wrote: Im

Re: [Flashcoders] Flash and video optimisation ....

2007-04-04 Thread leolea
On 4/4/07 2:56 PM, Muzak [EMAIL PROTECTED] wrote: I found the sorenson vp6 encoding to be *very very* slow and stopped using it. I had the same experience, and didn't see much of a difference compared to the Flash 8 Video Encoder, which works must faster. FVE also dealt better with alpha

[Flashcoders] NetStream.play() - Start parameter

2007-04-04 Thread leolea
Hi, Has anyone used the Start:Number parameter from the NetStream.Play() method ? There isn't much documentation from Adobe. I want to start the playback of a FLV at, say, 5 seconds... So logically I would do: netStream.play(flvPath, 15); But it's always playing from 0...

Re: [Flashcoders] NetStream.play() - Start parameter

2007-04-04 Thread leolea
:[EMAIL PROTECTED] On Behalf Of leolea Sent: Wednesday, April 04, 2007 12:20 PM To: Flashcoders mailing list Subject: [Flashcoders] NetStream.play() - Start parameter Hi, Has anyone used the Start:Number parameter from the NetStream.Play() method ? There isn't much documentation from

Re: [Flashcoders] NetStream.play() - Start parameter

2007-04-04 Thread leolea
manipulating the stream, I would recommend to set the video object to visible false and the set it to visible true on the metadata event, then you should be able to seek it to any point hth, a On 4/4/07, leolea [EMAIL PROTECTED] wrote: No workee. Still plays from 0 and spits

[Flashcoders] Changing keyframe interval in a FLV

2007-04-03 Thread leolea
Hi, I need to have a smaller keyframe interval on my FLV files. Does anyone know a tool to update a FLV keyframe interval without re-encoding it ? Thanks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

[Flashcoders] Preloading FLV with NetStream

2007-04-03 Thread leolea
Hi, Is it possible, using the NetStream object, to preload a FLV. I have multiple FLV videos that I need to play back-to-back smoothly. I want all of them to be preloaded so that when I start playback it doesn't buffer or lag in any way. I can't seem to find a way so my next alternative would

Re: [Flashcoders] Preloading FLV with NetStream

2007-04-03 Thread leolea
/ActionScript/PreloadAssetManager Jack -Original Message- Date: Tue, 03 Apr 2007 16:04:35 -0400 From: leolea [EMAIL PROTECTED] Subject: [Flashcoders] Preloading FLV with NetStream To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type

Re: [Flashcoders] Flash and video optimisation ....

2007-04-03 Thread leolea
3rd-party softare, such as Sorenson Squeeze, offer VBR - variable bitrate - which means the bitrate will be higher only if required (high motion, fast movements). You can also adjust parameters such as brightness/contrast and de-interlace the source video, which produces better looking results.

[Flashcoders] FLV + Alpha + Audio + Mac = crash

2007-03-08 Thread leolea
Hi, I export an FLV that has an alpha channel + audio using Squeeze 4.3 and when I try to import it in Flash, it crashes as soon as I select it (right before the video import wizard) The exact same source exported without audio didn't crash. Also, I asked someone to import the FLV using a PC

Re: [Flashcoders] [Solved] FLV + Alpha + Audio + Mac = crash

2007-03-08 Thread leolea
with Flash when importing FLVs with alpha and audio. On 3/8/07 8:46 PM, leolea [EMAIL PROTECTED] wrote: Hi, I export an FLV that has an alpha channel + audio using Squeeze 4.3 and when I try to import it in Flash, it crashes as soon as I select it (right before the video import wizard