Re: [Flashcoders] problem with sandy.

2007-03-21 Thread Zeh Fernando
Hi, I've just run the sandy on my flash 8 and this was the error of the first code. Sandy has a mailing list and support forums in english and french. http://www.flashsandy.org/support/ I think it would be easier for you to check those first, and in case you don't find a solution to your

Re: [Flashcoders] Anyway way to capture a SWF as a bitmap?

2007-03-21 Thread Zeh Fernando
Anyone know if there's a way to draw the contents of a SWF to a Bitmap/BitmapData object within Flash? I have a SWF that involves lots of complex rendering steps and I want to be export it as a bitmap. The export part should be fine (using a server to actually save the file) if I can figure out

Re: [Flashcoders] Tweening text boxes reflows text

2007-03-27 Thread Zeh Fernando
I'm tweening a mc that contains a dynamic text box (font embedded) by using the Tween class to resize and reposition it. Unfortunately, each step in the tween reflows the text slightly, as if it's being kerned randomly each step of the way. I've tried using cacheAsBitmap=true on the mc and on

Re: [Flashcoders] Flash 9 CS3 - Key questions

2007-04-03 Thread Zeh Fernando
Does anyone know if flash 9 cs3 will support scale 9 for actual bitmaps, as opposed to just vector objects. Similar to how flex builder can do this except its precompiled at runtime. Just as a quick note, you *can* use bitmaps with scale9, most of the time (that is, as long as it's static).

Re: [Flashcoders] Scaling Filters

2007-04-10 Thread Zeh Fernando
I've noticed if I apply for example a 10x 10y blue filter to a MC, then scale it 200%, it retains the 10 pixel blur - which actually makes the MC look less blured because the blur has not been scaled. Is there any way to lock in a filter blur so that when it's scaled, it looks proportional?

Re: [Flashcoders] Scaling Filters

2007-04-10 Thread Zeh Fernando
I don't think this works (But I wish it did). I have a HOLDERMC.CHILDMC.MCwithblurfilterapplied I'm scaling HOLDERMC 200% and the blur does not scale on any child MCs. All I've been able to do is apply a new filter to the MC with scaled properties (eg. apply a new filter with a 20x20 blue when

Re: [Flashcoders] OT: Salary Questions

2007-04-18 Thread Zeh Fernando
Here in México a Senior with these skills. U$15k-U$20k at year. A game developement manager (Flash Guru) like me and others 6 people in the country. U$32k-U$37k at year :.( We are fucked Similar values apply to our market here (in Brazil). But you have to take the cost of living of the

Re: [Flashcoders] Blur effect via action scripting

2007-05-03 Thread Zeh Fernando
OOoops!!! I am sorry. It is not blue but blur. I have three good quality image in my application. Initially I want all three look blur but when user roll over to it then it will gradually become clear image when roll out it would be again blur. There are a lot of different tweening packages

Re: [Flashcoders] Re: Blur effect via action scripting

2007-05-03 Thread Zeh Fernando
you don't even need a tween package for this (altho they sure are useful things). read about BitmapData, BlurFilter, and Repeating actions using loops in the Flash Help. The advantage of using any tweening extension is exactly to avoid the excessive hassle one has to go through when creating

Re: [Flashcoders] Programatic anmation to Quicktime/AVI

2007-05-04 Thread Zeh Fernando
Hello, Got an animation that uses nested MCs and programatic animation. Need to export it to either AVI or uncompressed Quicktime, and obviously using Flash's own export is a no-no. Was wondering how other people would approach this. Have tried a few swf to AVI apps, but found them prone to

Re: [Flashcoders] AS3 KeyboardEvent Oddity [cross-post alert]

2007-05-15 Thread Zeh Fernando
Hey all, Having a bit of a mare with a 2 player game using WASD for player 1 and cursor keys (UP, DOWN, LEFT, RIGHT) for player 2. It seems that the keyboard will only trigger either RIGHT or D, not both together :( If I change player 1's controls to SZXC (or ESDF) it works fine. Has anyone come

Re: [Flashcoders] [OT] How to capture swf to .avi?

2007-05-23 Thread Zeh Fernando
What software are you using to capture a swf (including audio) and save as .avi? Note: I'm not talking about exporting from the .fla -- this .swf uses scripted tweens and other scripting, so I need to capture the entire animation sequence, including audio, from the .swf in either the browser

Re: [Flashcoders] Perspective Transformation

2007-06-05 Thread Zeh Fernando
I need a create Perspective Transformation in BitmapData in AS3? I don't like Sandy exist other? Well, you can use Papervision3D. Like Sandy, it doesn't transform anything, but rather project a plane using triangles. So the quality of the projection will depend on triangulation. If you're

Re: [Flashcoders] How do I get rid of enhanced stroke?

2007-06-13 Thread Zeh Fernando
Hi there, I've received some graphics in an FLA from a designer and they use enhanced stroke. I need to get rid of this as I'm publishing to Flash Player 6 and I am getting compiler errors because of this. I've tried doing this by breaking the images apart but the enhanced stroke still

Re: AW: [Flashcoders] Turn image around effect?

2007-06-30 Thread Zeh Fernando
ATR Besides if content is retrieved from inside a DB ATR or from some kind of Backend, chances are you ATR would not have a way to transform the content ON ATR THE CLIENT - meaning you would have to convert ATR the content from Text to Image on the Server -- arrghhh sounds tricky :) If you

Re: [Flashcoders] Tweener as3 garbage collection

2007-07-01 Thread Zeh Fernando
Hey dudes, We're working on a as3 project here using Tweener as our animation package, and i thought i'd pass along a tip that was driving me mad. Anyone who's used as3 knows the steep learning curve that is taming the memory usuage. Making sure nothing references an object, takes some serious

Re: [Flashcoders] Skewing text

2007-07-02 Thread Zeh Fernando
I need to skew some text to give the impression it is going off into the distance (think opening text on Star Wars, though without movement). I know this effect can be done using the triangular method as used in Papervision. However I'm not creating a 3D scene here, I just want the skewing. Can

Re: [Flashcoders] Skewing text

2007-07-03 Thread Zeh Fernando
Thanks for the replies, I found the Sandy distortImage class to be the easiest to implement. http://sandy.media-box.net/blog/distortimage-20-the-fastest-way-to-freely-distort-image-with-flash-in-actionscript.html Yes, but again - be careful. Skewing/distortion is not perspective. If you do

Re: [Flashcoders] swap depths with mask

2007-07-05 Thread Zeh Fernando
Hey guys, how is the summer treating you guys? Pretty bad, considering it's winter here. Quick question, I am running swapDepths() on a movClip and it's Mask layer. The mask doesn't work after the swap and it is going to one level above the movClip. So if anyone can direct me to how to fix

Re: [Flashcoders] Bitmap.draw versus MovieClipLoader

2007-07-06 Thread Zeh Fernando
Is there a way to proxy image data? I know for XML, it's a simple matter of createing a Microsoft.XMLHTTP object (in ASP/VBScript) and redirecting the information into the response object. Anyone know the object for an image and/or other HTML page? (e.g. Microsoft.HTML?? ) You can 'proxy' any

Re: [Flashcoders] Flipping Effect...

2007-07-11 Thread Zeh Fernando
Looking to create this effect: http://www.element79.com I've been using AnimationPackage to do programmatic flips and scales But sadly I can't get the smooth effect you get using the timeline. Anybody know of any animation tutorials on this. I'm tempted to do it in After Effects and import into

Re: [Flashcoders] Q:refresh bug in Firefox

2007-07-11 Thread Zeh Fernando
Anyone know what causes the refresh bug ONLY in the Firefox version of the FP9 player? For instance, view this site: http://www.lepers.info/test/pv3d/DrawBall.html Do you have the beta version of flash player installed on FF (the one with the mipmap feature)? Zeh

[Flashcoders] Job Post - Gringo.nu is hiring

2007-07-16 Thread Zeh Fernando
Hey list, Gringo.nu, the company I freelance for, is looking for experienced Flash developers. The studio is located in São Paulo, Brazil, and this is for *on-site*, full-time roles. It's also a great place to work for. There's a bunch of Brazilian developers on this list and that's why I'm

Re: [Flashcoders] AS 2.0 Tweening libraries

2007-07-18 Thread Zeh Fernando
So, coming off the enterFrame() tween discussion, a lot of people mentioned various tweening libraries. I still use Fuse, which has proven extremely capable for my purposes; are there any pressing flaws in Fuse, or benefits in the other packages, that might convince me to change? The ultimate

Re: [Flashcoders] AS 2.0 Tweening libraries

2007-07-18 Thread Zeh Fernando
The new Tweener seems to be a better implementation (now uses Classes and no longer uses MovieClip.prototype, etc..), but I haven't tried it out yet. Proper documentation seems to be missing however: http://code.google.com/p/tweener/wiki/Documentation Not even half of the methods are documented.

Re: [Flashcoders] AS 2.0 Tweening libraries

2007-07-18 Thread Zeh Fernando
Hey Muzak, thanks for all the comments. Your suggestions make sense. Just a small thing: (...) The first one I looked at: docked icons http://tweener.googlecode.com/svn/trunk/examples/docked_icons_as2_flash8.zip The swf in the zip file doesn't work for some reason. I had to compile the fla.

Re: [Flashcoders] Incredible Crashing Flash

2007-07-20 Thread Zeh Fernando
Funny, because the exact same thing happens on a PC, and it's been like this since forever: if you are testing on the IDE, your movie do a request, the server takes too long to respond, and you close the preview movie before the server replies, Flash crashes when the response finally arrives.

Re: [Flashcoders] Rotating, skewing and coloring TextFields using device fonts.

2007-07-24 Thread Zeh Fernando
Hi all, I'd like to gather some opinions reguarding compatibility between Gnash and the proprietary players. Current Gnash development version is able to handle device fonts exactly in the same way as embedded fonts are handled. This means you can rotate, skew, colorize each component and

Re: [Flashcoders] Rotating, skewing and coloring TextFields using device fonts.

2007-07-24 Thread Zeh Fernando
Just as a side note, textfields rendered with device fonts can be 'captured' by way of BitmapData instances and manipulated as an image, so on most aspects, they can still be manipulated although you'd need a few more steps for that (and Flash Player 8+). Can this be done with embedded fonts

Re: [Flashcoders] Textfield over Bitmap Issue

2007-07-26 Thread Zeh Fernando
Is the following a known issue? If so anyone know what I can do about it? If you look at the screenshot (linked below) there is a coloured line along the top of the word Germany (it appears all around while tweening, on the outline of the textbox). Hey Michael, I've seen this happening before

Re: [Flashcoders] Q:Papervision 3D for 'simple' rotating cube effect

2007-07-30 Thread Zeh Fernando
Use PV3D. Just create a couple of planes, place them on the correct position, rotate them, and you're done. Works with AS2 and AS3 and should be something pretty simple as long as you understand the concept of 3d space and cameras. Zeh [EMAIL PROTECTED] wrote: I am trying to achieve an

[Flashcoders] Screensaver settings?

2007-08-03 Thread Zeh Fernando
Hey list, I'll be creating a screensaver in Flash but I've reached a major obstacle. We'll need the screensaver to be configured (via the settings window on XP, and something similar on a Mac) but apparently the available wrappers don't offer this. I've tried Zinc and it's a great wrapper

Re: [Flashcoders] Some CS3 observations; library and sound

2007-08-07 Thread Zeh Fernando
AS3's substitution of attachMovie for the movieclip constructor is, while logical on the surface, somewhat baffling to me in practise. In AS2, extending MovieClip required you to declare variables to gain references to clips already instanced in the library movieclip. For instance, extending

Re: [Flashcoders] Finding a spot on a curveTo Line

2007-08-09 Thread Zeh Fernando
Quick question... I have a curveTo between points, but I'd like to get the x,y 1/2 way through the curve, ON the curve. Googling for some code but haven't seen it yet... I basically want to join another line to the midpoint of the curve, and the curve is dynamically moving throughout A quick

Re: [Flashcoders] Re: [OT] Improve my design skills

2007-08-18 Thread Zeh Fernando
Hey guys, How would we call someone who likes both coding and graphics (design) ? A Graphics Coder ? I love programming but I also love graphics design - I can see art in code and logic in design! I like mixing both worlds and creating amazing things (that's why I love the flash platform, it

Re: [Flashcoders] TWeener custom class property tweening

2007-09-13 Thread Zeh Fernando
Hey Jiri, I'm not sure if I'm getting it right; but if you want to animate a property of a class, you don't need to register anything. The special properties are meant only to wrap around features that aren't directly acessible (like data that is only acessible through methods and

Re: [Flashcoders] how are they doing this? Papervision3d or pre-rendered 3d?

2007-09-16 Thread Zeh Fernando
Hi All, Does any one know how this site achieved its card flipping effect? Papervision3d or pre-rendered 3d? http://www.tripleslanguage.com/?CMP=BAC-1TO1Q3TP7042 Judging from the animation, it's a combination of both: a 3d distortion class (like PV3D, or others similar classes like Sandy or

Re: [Flashcoders] swfobject still preferred method?

2007-10-19 Thread Zeh Fernando
Is swfobject still the preferred method of publishing flash files? For some reason I thought I heard there was a newer project he was either working on, supporting, or recommending? There was -- both SWFObject and UFO got merged into a project named SWFFix. Then SWFFix got renamed back to

Re: [Flashcoders] digest

2007-10-20 Thread Zeh Fernando
Apparently some user preferences were jostled/reset by the move. Where can I change my subscription mode to digest? d ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders For

Re: [Flashcoders] as3 + non english input charCode ?

2007-12-14 Thread Zeh Fernando
i am using arial and i am successful in typing into a textfield Ok, then are you on Windows? Using Arial won't do it--you have to use Arial Unicode MS. Regular Arial just has the ANSI character set, which is basically most Western European languages. Not really. Arial *is* unicode and has

Re: [Flashcoders] pause a loop for an set amount of time

2007-12-17 Thread Zeh Fernando
You don't use a loop. Instead, you create the variables needed as properties, then create a function that does an *iteration* of the loop. Then on every frame you do N calls to that iteration, until it's over. Or if you want: http://labs.zeh.com.br/blog/?page_id=97#lzw This is an AS2 LZW

Re: [Flashcoders] This actionscript error is driving me mad

2007-12-29 Thread Zeh Fernando
You're right, pnt = new (...) cancels it out. However, if, *somewhere* before the loop, you assign a point from pathB to pnt... pnt = pathB[n][n]; ...then the values of that same specific point instance will be changed (pnt is already assigned to a point), and as such, when you assign a new

Re: [Flashcoders] This actionscript error is driving me mad

2007-12-30 Thread Zeh Fernando
Unfortunately, pnt is not assigned anywhere else. It only appears in those lines of code I have already sent. If I replace them with pnt.x=pnt.x; pnt.y=pnt.y; the code works fine! But anything else fails. Well, that would be the equivalent of commenting out the lines since no change would take

Re: [Flashcoders] AS for using the AdjustColor filter

2008-01-02 Thread Zeh Fernando
For most of the filters available in the FlashCS3 IDE (Bevel, Blur, etc.) there seem to be equivalent AS2 filter classes; however, I don't understand how the ColorMatrixFilter relates to the AdjustColor filter, if at all. How would I set the hue shift to 100? How would I change the brightness,

Re: [Flashcoders] Making a flash game safe for work

2008-01-08 Thread Zeh Fernando
If you enclose your whole movie by a movieclip, you can then apply filters to it to change colors, desaturate, use a threshold to make it black + white, etc. But if you're really going for a safe-for-work game, it'd be a better choice to go with a version that replaced graphic assets with

Re: [Flashcoders] Classes added

2008-01-14 Thread Zeh Fernando
For example in the following: import flash.display.*; var mySprite:Sprite = new Sprite(); Does that means that only the Sprite class will be added or will all the classes under display will still be added? Only what you *use* will be added. import doesn't include anything, it merely states

Re: [Flashcoders] array access operator not working

2008-01-15 Thread Zeh Fernando
this doesnt work.. Unexpected '.' encountered any idea why? [clip+i].onRollOver = function() { You can't use a reference like that from no object. Instead, use: this[clip+i].onRollOver = function() { ... ___ Flashcoders mailing list

Re: [Flashcoders] Re: Odd Blend Mode Problem

2008-02-05 Thread Zeh Fernando
There's a series of different problems that could be causing this. It depends on a lot of parameters and vary from player to player, from system to system. Basically you have to force the entire region to be drawn so those areas won't be erased. Having a transparent box (100% transparency is

Re: [Flashcoders] Max MovieClip Size Before Filters are Dropped?

2008-02-07 Thread Zeh Fernando
2880 pixels on any dimension. It's mentioned somewhere in the documentation. Mark Hawley wrote: Anyone know the maximum size, in pixels, a MovieClip can be before Flash refuses to apply filters to it? It seems to be dependent on the filter parameters, making me think there's a max size on the

Re: [Flashcoders] getBytesLoaded() and actions execution

2008-02-09 Thread Zeh Fernando
strk wrote: Is it safe to assume that as soon as loaded.getBytesLoaded() == loaded.getBytesTotal() actions in first frame of the loaded 'loaded' movieclip were executed ? No. First because even before loading starts, the value will be the same (0 and 0 or some variation). So you have to

Re: [Flashcoders] Swap 8 bit palettes

2008-02-17 Thread Zeh Fernando
You can do a lot of color transformations with the color matrix. If you want to swap the PALLETE, oldschool-style, one color at a time, you just use the paletteMap method of the BitmapData class. It's only really useful if you don't have antialias on your image or else it becomes a monumental

Re: [Flashcoders] keeping dynamic text persistent during animation

2008-02-20 Thread Zeh Fernando
Wrap the textfield with a movieclip. Then the designer can move and animate the movieclip around in any way he pleases, but you just do modifications to the textfield that's inside. New keyframes for instances of objects that are supposed to be manipulated by code is hell. Zeh Andrew

Re: [Flashcoders] using Tween / Easing classes okay for multiple clips?

2008-02-20 Thread Zeh Fernando
Yes, but the biggest problem is usually with the rendering. If you're going to move 100 extremely complex movieclips and the framerate is bad, no tween class will help you make it faster because the bottleneck will be on rendering and not on the code. Zeh Allandt Bik-Elliott (Receptacle)

Re: [Flashcoders] using Tween / Easing classes okay for multiple clips?

2008-02-20 Thread Zeh Fernando
images etc will be loaded once the animation is complete On 20 Feb 2008, at 18:19, Zeh Fernando wrote: Yes, but the biggest problem is usually with the rendering. If you're going to move 100 extremely complex movieclips and the framerate is bad, no tween class will help you make it faster because

Re: [Flashcoders] keeping dynamic text persistent during animation

2008-02-20 Thread Zeh Fernando
Zeh Fernando wrote: Wrap the textfield with a movieclip. Then the designer can move and animate the movieclip around in any way he pleases, but you just do modifications to the textfield that's inside. But don't you still run into the same problem, because the designer has to be sure

Re: [Flashcoders] 8-Bit Grayscale Bitmap as AlphaBitMap

2008-02-21 Thread Zeh Fernando
BitmapData.copyChannel() Elia Morling wrote: Hi! I have an 8 bit grayscale bitmap saved as 8-PNG. I want to use that bitmapdata as an alpha, but I have no success. What conversions do I need to do, cause obviously I cant use it in copypixels directly as the alphabitmapdata. Thanks Elia

Re: [Flashcoders] pixelizing a bitmap

2008-03-07 Thread Zeh Fernando
You want to create a mosaic-like effect? Forget getPixel/setPixel/drawrect.. it'll be too slow. Instead, you should let Flash handle it by creating new Bitmaps, shrinking the image inside it, drawing that to a new bitmapdata, and then using that new bitmapdata on the original size. Zeh

Re: [Flashcoders] pixel-accurate _xmouse tracking?

2008-03-12 Thread Zeh Fernando
This IS as accurate as possible. Technically, your mouse never was on 2, 3, 5, 7, 8, etc. Remember mouse reading on the hardware works at a certain frequency, and everything in between is lost. You can always interpolate between read values. That'll give you the imtermediary positions where

Re: [Flashcoders] to mac or not to mac

2008-03-14 Thread Zeh Fernando
It's time for me to get a new computer and I have heard so many horror stories about Vista that I am thinking of switching to Mac. What tools are people using to develop on the Mac. I mostly Flash IDE, FlexBuilder, FlashDevelop, SWFMill, SWFDump, HaXe, FlashTracer - are these available on Mac?

Re: [Flashcoders] AS2: Tweening a very large vector file causes shaking

2008-03-21 Thread Zeh Fernando
That's a myth. If he's tweening one or two things the tweening engine makes absolutely no difference. The only differences in terms of speed between tweening engines is how each of they handle a massive number of property updates on a massive number of objects. So there's absolutely no problem

Re: [Flashcoders] strange effects when tweening alpha

2008-03-21 Thread Zeh Fernando
Our artist made an animated character by over-lapping different body parts. Strange thing, when I fade out the character using an alpha-tween of the outer-most clip, I can see the overlapping parts at the joints. It's like the alpha is affecting the individual parts within the movieClip

Re: [Flashcoders] Tweening Engines for AS3

2008-03-24 Thread Zeh Fernando
While I agree with the speed thing, let's just keep this in context - it's so when you have a lot of tweenings going on at the exact same time. A few tweens won't produce a difference in terms of framerate. If they do, there's something else wrong. Still, I think we should be glad there are

Re: [Flashcoders] Tweening Engines for AS3

2008-03-26 Thread Zeh Fernando
No. Classes add their size per SWF file, not per use. So yes, it's 8kb added to the file regardless of the number of uses. Zeh Matt S. wrote: One thing I keep seeing is all this talk of the 8k+ that Tweener, Fuse etc add to the file size. And while I absolutely understand the need for

Re: [Flashcoders] Tweening Engines for AS3

2008-03-26 Thread Zeh Fernando
Correct, but just as a matter of clarity, it's important to be clear that the exported SWF size is completely unrelated to how much memory each 'instance' takes in memory. Zeh Jack Doyle wrote: You're right, Dwayne, for a lot of non-banner work, 8k vs 3k really doesn't matter. It can,

Re: [Flashcoders] Tweening Engines for AS3

2008-03-26 Thread Zeh Fernando
About that, I was just looking at Tweener's code, and I don't think that would be a problem either. It is basically a static class, so there's no extra memory allocation for tween added, except for a relatively small TweenListObj pushed into an array. Or maybe I am wrong and Zeh can correct me

Re: [Flashcoders] Tweening movieClip frames

2008-04-03 Thread Zeh Fernando
I read it's possible to tween movieClip frames, how do I do this using Tweener ? // Once: import caurina.transitions.properties.DisplayShortcuts; DisplayShortcuts.init(); // Later: import caurina.transitions.Tweener; Tweener.addTween(mc, {_frame:100, time:1}); Using latest (svn) version.

Re: [Flashcoders] FP9 security update

2008-04-11 Thread Zeh Fernando
http://www.crossdomainxml.org/ :P Gregory Boudreaux wrote: Thanks... Is there a resource that explains all the possible tags that can be placed in a crossdomain.xml file? gregb -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Thursday,

Re: [Flashcoders] Sr. Flash Developer Position

2008-04-30 Thread Zeh Fernando
Agreed. People have always sent job posts to the list. It's not a problem. Zeh My 2 cents: Please don't stop posting jobs to this group. I am sure there are folks on this list who would welcome the opportunity. I think as long as you post each job only once you shouldn't get any

Re: [Flashcoders] FPS limit of flash player inside browser?

2008-05-08 Thread Zeh Fernando
Depends on the browser. Different browsers choke plugins in different ways. Two links: http://graphics-geek.blogspot.com/2008/04/off-bubblemark.html http://www.kaourantin.net/2006/05/frame-rates-in-flash-player.html Film is at 24fps... Disney animation, so compelling, was two-up, or twelve

Re: [Flashcoders] StageDisplayState.FULL_SCREEN

2008-05-17 Thread Zeh Fernando
screenResX:Number = Capabilities.screenResolutionX; Are you really doing this? Does it have a var in front of the code? Zeh ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] smooth animation

2008-06-06 Thread Zeh Fernando
It depends on what's the actual problem. Allow smoothing won't help you unless you're talking about REAL slow (subpixel) moving or transformations like rotation and scale. Using tweening extensions - tweener, tweenlite, tweenmax, go, fuse, etc - is a given. But other than that, if the thing

Re: [Flashcoders] Tweening a Donut Shape / Ripples / Concentric Circles

2008-06-17 Thread Zeh Fernando
If you can use the new line drawing features, and if your container is not resized in any other way, you could create a simple circle with no fill but with a given stroke set to scale on no dimension. That way, scaling the circle container would increase the overall circle size, but the stroke

Re: [Flashcoders] SimpleButton enabled vs mouseEnabled

2008-07-01 Thread Zeh Fernando
Why is there an enabled property for SimpleButton if it doesn't really work as advertised? Can anyone clarify this? Is there some situation where one can/should use the enabled property? .enabled on AS3 isn't the same as .enabled it was on AS2 (.mouseEnabled is). Basically, .enabled turns on

Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Zeh Fernando
Matt S. wrote: But I think part of the problem is the increasingly schizophrenic nature of Flash's identity as an application. This is the money quote of this whole discussion, IMO. AS3 is fine as a language. The charges are indicative of a bigger problem, however. Zeh

Re: [Flashcoders] Compare brightness of RGB values

2008-07-24 Thread Zeh Fernando
Funny, was just messing with this now. Here's a striped down version. Find RGB first: c = 0xc0ffee; r = c 16 0xff; g = c 8 0xff; b = 0xff; Brightness/Value according to HSV/HSB is simple: l = Math.max(r, g, b); // 0 to 255 Lightness according to HSL is sort of simple too:

Re: [Flashcoders] Compare brightness of RGB values

2008-07-24 Thread Zeh Fernando
Oops: c = 0xc0ffee; r = c 16 0xff; g = c 8 0xff; b = 0xff; Should be: c = 0xc0ffee; r = c 16 0xff; g = c 8 0xff; b = c 0xff; Zeh ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] ...Friday, 5:38 pm

2008-07-25 Thread Zeh Fernando
C'mon, people, that site is all about parody. There's nothing to care about and editing it to be accurate would actually go against the website's guidelines. For example: http://encyclopediadramatica.com/Microsoft I'd even say the Flash article is spot on. Zeh Zárate wrote: Hahahahaha,

Re: [Flashcoders] flv lagging when changes the frame via code

2008-07-25 Thread Zeh Fernando
I'm trying control the timeline where it is embedded. Then, if I play it goes well.. but if in frame 100, I call a gotoAndPlay(50), for example, it backs to frame 50, give a small lag, and then plays. That's because when you go to a frame that does not contain a keyframe for the movie it has

Re: [Flashcoders] OT: Questions to ask an interviewee

2008-07-30 Thread Zeh Fernando
I don't know about you guys, but that checklist of skills and the possibility of getting that on an interview make me depressed. Of that list, I'm pretty sure I can do it all, but most of that are not something I do all the time every day so I may have the gist of it, but not know the syntax

Re: [Flashcoders] OT: Questions to ask an interviewee

2008-07-30 Thread Zeh Fernando
Zeh? Sid On Jul 30, 2008, at 3:47 PM, Zeh Fernando wrote: I don't know about you guys, but that checklist of skills and the possibility of getting that on an interview make me depressed. Of that list, I'm pretty sure I can do it all, but most of that are not something I do all the time every

Re: [Flashcoders] Modifying movieclip property kills tween

2008-07-31 Thread Zeh Fernando
Whether it makes sense or not, Helmut is right and this is how it works. Changing the value of a property dynamically via code /detaches/ it from any tweening applied by the timeline. The ideal solution is have a container inside of it. Or, really, don't use the timeline tweening at all. Zeh

Re: [Flashcoders] How to achieve blob magnification effect?

2008-08-06 Thread Zeh Fernando
Exactly. Just draw the graphics and use a displacement map filter to do it. Trying to do it all manually and with scale will be a huge pain and the distribution won't be the safe as a surface that changes in scale like the displacement map would do. The only trick is creating the grayscale

Re: [Flashcoders] Re:Problem with getting a code to work

2008-08-11 Thread Zeh Fernando
1. Saying ## [Tweener] Error: The property 'transitions' doesn't seem to be a normal object property of [object ticket_1] or a registered special property. ## [Tweener] Error: The property 'frame' doesn't seem to be a normal object property of [object ticket_1] or a registered special property.

Re: [Flashcoders] Using BitmapData to make a mask (AS3)

2008-08-14 Thread Zeh Fernando
Put the bitmap on a display container, set the .mask of the masked object as being that object that contains the bitmap, set cacheAsBitmap of both to true. So it'll be a normal masked object, but it'll respect the bitmap transparency (instead of using the image's box as the transparency mask).

Re: [Flashcoders] top zines/blogs?

2008-08-15 Thread Zeh Fernando
Uhn? http://feeds.adobe.com/ sebastian wrote: hello coders, I was wondering if anyone had a favorite blog and/or zine they are reading? preferably with RSS so I can plug it into my favorite news-paper style RSS reader: http://www.netvibes.com I'm interested in the following areas related to

Re: [Flashcoders] OT: Your Best CS4 Upgrade Guesstimate

2008-08-18 Thread Zeh Fernando
There are upgrade packages, including upgrades you can do from the Macromedia packages to Adobe ones. That's what I used in the past (Studio 8 - Adobe Web pack), and it was the price of a regular upgrade. I'm not sure of your local pricing, but here, updating from a previous version to the

Re: [Flashcoders] Fading previously-drawn lines

2008-08-23 Thread Zeh Fernando
So what I would like to do is in each frame, after several frames have elapsed, is to start fading the oldest line segment, then a couple of frames later start fading the second-oldest, while continuing to further fade the oldest, etc. (...) I tried the method of creating a new Shape every frame,

Re: [Flashcoders] smooth animations? AS3

2008-09-03 Thread Zeh Fernando
I have tried basic timeline motion tween, and also the AS3 Tweener class; but in both cases I get the issue that the slow animation makes the image do little 1 pixel jumps that are VERY visible and break the effect I am going for [which needs to be extremely subtle]. If that's an image, set

Re: [Flashcoders] smooth animations? AS3

2008-09-03 Thread Zeh Fernando
tried setting the bitmapCaching at runtime to the holding MC, but none of this is helping... Any other suggestions? Am I still missing something? Is the PNG the problem? Thanks, Sebastian. Zeh Fernando wrote: I have tried basic timeline motion tween, and also the AS3 Tweener class; but in both

Re: [Flashcoders] smooth animations? AS3

2008-09-03 Thread Zeh Fernando
other suggestions? Am I still missing something? Is the PNG the problem? Thanks, Sebastian. Zeh Fernando wrote: I have tried basic timeline motion tween, and also the AS3 Tweener class; but in both cases I get the issue that the slow animation makes the image do little 1 pixel jumps

Re: [Flashcoders] smooth animations? AS3

2008-09-04 Thread Zeh Fernando
to 'normal'. No alpha is being used except for the inherent PNG's alphaness. I've also tried setting the bitmapCaching at runtime to the holding MC, but none of this is helping... Any other suggestions? Am I still missing something? Is the PNG the problem? Thanks, Sebastian. Zeh Fernando wrote

Re: [Flashcoders] Spinning world..

2008-09-05 Thread Zeh Fernando
First thought was PaperVision3D, but I really wonder if it's up to doing the rotating globe with cities attached effect. Second thought was pre-rendered sequences switched frame by frame, but it looks rather more sophisticated than that - it rotates at any angle. Your second assumption is

Re: [Flashcoders] Can I avoid distorted bitmaps when scaling dynamically?

2008-09-18 Thread Zeh Fernando
If you mean they lose quality (instead of distort), it's because they don't have interpolation on, and you have to change it. How you do so depends on how the images are featured. If they're single images (featured inside the SWF) you need to turn on smoothing on the bitmap properties on the

Re: [Flashcoders] AS3 additions/changes in CS4?

2008-09-23 Thread Zeh Fernando
Anyone know of any additions or changes to AS3 in Flash CS4? I haven't been able to find any specifics online. Maybe because those have been known for a long while: those are Flash Player 10 (Astro) features. People have been working with it for a while, compilers are already available, and

Re: [Flashcoders] AS3 additions/changes in CS4?

2008-09-23 Thread Zeh Fernando
The language *was* changed, but very little. Check out the new and awesome vector type: http://probertson.com/articles/2008/03/28/vector-as3-strongly-typed-arrays-redux/ (Also read Francis Cheng's links on the article above) The rest (that concerns developers) are just API changes and additions

Re: [Flashcoders] Can you embed .mp4 files in timeline?

2008-09-24 Thread Zeh Fernando
You just can't, Flash CS3 doesn't support the format. There's nothing else to be said. H264 support was added later, when the IDE had already shipped. Flash 9.x.115 supports it because it was added later, but the player is not the editor. Zeh On Wed, Sep 24, 2008 at 1:53 PM, Matthew Ganz [EMAIL

Re: [Flashcoders] AS3 additions/changes in CS4?

2008-09-24 Thread Zeh Fernando
Also autocompletion and member verification and such for IDEs like FDT and FlashDevelop since it already knows the type of each list item. It's a god-given once you get used to it. I've been using Vectors like there's no tomorrow on a particular project of mine and it's really awesome. Going back

Re: [BULK] Re: [Flashcoders] Layering, drawing a blank

2008-09-29 Thread Zeh Fernando
It changed: myparent.setChildIndex(mychild, myparent.numChildren-1); Or just: myparent.addChild(mychild); Even if it's already a child. It just removes and readds on the top. Zeh Lord, Susan, CTR, DSS wrote: AS3. I tried swapDepth() and getDepth, and a fewothers but none worked. Has it

Re: [Flashcoders] Flash CS4 stage width x height

2008-10-16 Thread Zeh Fernando
Flash has extended the limit of BitmapData instances, that were previously limited to 2880x2880, to 4096x4096 (or, rather, any size that has a maximum of 16,771,216 pixels, with a maximum of 8191 for either size). I had never reached an actual *stage* limit, but then again I'm restricted to

Re: [Flashcoders] Flash 10 file upload

2008-10-17 Thread Zeh Fernando
The problem is if they took that approach, the vague security hole would continue to exist - a potential exploit would simply need to compile for an old version of the player. It's awful, but I wouldn't really say it's an stupid decision. As soon as they decided to cripple the functionality,

<    1   2   3   >