Re: [Flashcoders] E4X: reading CDATA

2011-06-20 Thread Zeh Fernando
The cdata tags shouldn't be included in the read data. CDATA tags are part of the xml standard and are only used to wrap tags that could break the XML format - making the content safer, but without changing the content. This: nodeTest/node Should read the same as this: node![CDATA[Test]]/node

Re: [Flashcoders] Facebook API implementations

2011-01-17 Thread Zeh Fernando
The first gotcha of either that you should have a server for testing locally (apache or something else). It makes everything easier. The second gotcha is that the 'official' Adobe AS3 API is not updated that frequently. Personally I had a lot of trouble using it and all the examples you can find

Re: [Flashcoders] AIR for Android - video on mobile problem.

2011-01-17 Thread Zeh Fernando
IIRC, Flash on a mobile device unloads the video from memory once it's past a certain point due to memory constraints, keeping only the last few seconds of it. It was mentioned on some of Adobe's docs about mobile optimization. I think it's more about memory usage rather than actual time though

Re: [Flashcoders] text to array

2010-12-30 Thread Zeh Fernando
Geografiek's reply still stands - you still use a split since the new line/carriage return is just another character (but which will depend on the file's system used). lines = alltxt.split(\r\n); // 0x0d 0x0a, windows lines = alltxt.split(\n); // 0x0a, linux/osx lines = alltxt.split(\r); // 0x0d,

Re: [Flashcoders] problem with adding two digits

2010-12-14 Thread Zeh Fernando
I like to quote this, from PHP.net's Floating Point documentation: Floating point numbers have limited precision. Although it depends on the system, PHP typically uses the IEEE 754 double precision format, which will give a maximum relative error due to rounding in the order of 1.11e-16. Non

Re: [Flashcoders] CS5 where to put tween engines etc?

2010-09-30 Thread Zeh Fernando
It's much better if you keep all classes and libraries local to the project, even if it means 'clogging' up drive space with copies of the same thing. This ensures that A) projects are portable, as you can pack/move them all from the same source without having to care about dependencies; and B)

Re: [Flashcoders] Apple changes their guidelines

2010-09-09 Thread Zeh Fernando
It supposedly compiles the AS code into native iOS binary code, with an internal framework that duplicates Flash's capabilities. So there's no middle SWF (AVM) or objective C code being generated. Zeh On Thu, Sep 9, 2010 at 9:59 AM, allandt bik-elliott (thefieldcomic.com) alla...@gmail.com

Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps

2010-09-08 Thread Zeh Fernando
Just have them all on stage and set visible on and off. No crazy setup needed. Zeh On Wed, Sep 8, 2010 at 2:50 PM, Kevin Newman capta...@unfocus.com wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame

Re: [Flashcoders] Detect player version that was published

2010-08-24 Thread Zeh Fernando
Yep; see loaderInfo.swfVersion. http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/display/LoaderInfo.html#swfVersion Or a way for a Flash Player 9 SWF to try and access a Flash Player 10 property of some kind that won't return a compile error in the IDE? Instead of trying

Re: [Flashcoders] Tweener still in development

2010-06-24 Thread Zeh Fernando
Development stopped because, quite frankly, some of the internal design of the engine didn't fit that well anymore - it did too many internal checks for the validity of objects and properties, and performance suffered. Coming from an AS2 frame of mind, if you will. Rather than radically changing

Re: [Flashcoders] LuigiBormioli.com: a good HTML5 case study

2010-05-07 Thread Zeh Fernando
Just from a quick look... performance is erratic (either stuttering or smooth), things move all the time without notice (dragging the bar is painful), dragging will randomly select HTML elements. FF 3.6.3. Most of the text is based off images, as is the company logo (why no SVG?). Performance in

Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Zeh Fernando
The problem is that pretty much all of that has already been responded to a while ago. Steve Jobs is only repeating what has already been echoing among people who want to rationalize the fact that iP* doesn't have Flash, like this stupid rollover/hover discussion. If Adobe is to respond to that,

Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Zeh Fernando
Mobile and desktop performance is already above and beyond what HTML5 can do: http://themaninblue.com/writing/perspective/2010/03/22/ http://vimeo.com/10553088 Touch events/gestures/points are supported by FP 10.1 so I'm pretty sure we'll have a way to see whether any of those are actually

Re: [Flashcoders] flash for Android: resources?

2010-04-23 Thread Zeh Fernando
PM, Zeh Fernando z...@zehfernando.com wrote: This is how it's gonna be soon, but not now. Android 2.1 (Nexus One, et al) come without any kind of Flash Player installed, so you can't see Flash content. Zeh On Thu, Apr 22, 2010 at 6:30 PM, jared stanley jared.stan...@gmail.com wrote

Re: [Flashcoders] JW Player API documentation

2010-04-22 Thread Zeh Fernando
This? http://developer.longtailvideo.com/trac/wiki/Player5Api On Thu, Apr 22, 2010 at 1:10 PM, Mattheis, Erik (MIN - WSW) ematth...@webershandwick.com wrote: Thanks, have seen that page - I'm looking for documentation in the sense of definitions of the properties, methods and events available

Re: [Flashcoders] Restrict Copypixels to a Specific Rectangle

2010-04-22 Thread Zeh Fernando
sourceRect is one of the parameters of the copyPixels method. It describes which is the rectangle to be used when copying. No masking is necessary. This has the same effect as limiting the target area to a specific rectangle.

Re: [Flashcoders] flash for Android: resources?

2010-04-22 Thread Zeh Fernando
It will be pretty much the same as 'normal' Flash, but with less CPU/memory and with additional APIs. For optimization tips: http://help.adobe.com/en_US/as3/mobile/index.html For the additional APIs, I guess we have to wait for the proper (?) AIR 2 documentation. But NativeMenu and such should

Re: [Flashcoders] flash for Android: resources?

2010-04-22 Thread Zeh Fernando
? Or does it actually go to the phone still in AIR format? Is there not equivalent conversion similar to packager for iPhone? .m On Thu, Apr 22, 2010 at 5:07 PM, Zeh Fernando z...@zehfernando.com wrote: It will be pretty much the same as 'normal' Flash, but with less CPU/memory

Re: [Flashcoders] current consensus of available Flash 3D engines?

2010-04-14 Thread Zeh Fernando
I'm not a unity3d dev, but from my point of view: . Penetration is low but installation is easy. And the fact that a first-time instalation don't usually need a browser restart is a huge plus; since it's supposed to be used to more advanced experiences like games, I think it's a small barrier of

Re: [Flashcoders] flash builder 4 released

2010-03-29 Thread Zeh Fernando
They are. In FDT, with the caret on a method/property/reference, F3 takes you to the definition. F4 in a reference takes you straight to the class. The ctrl+cursor thing also works, but in all honesty I seldom use it. Back to the last edited location is ctrl+q. Zeh On Mon, Mar 29, 2010 at 9:23

Re: [Flashcoders] Ángel Ambrosio quiere mantener el contacto en LinkedIn

2010-03-22 Thread Zeh Fernando
Yeah. Just the normal someone wants to keep contact in linkedin type of stuff. 2010/3/22 Karl DeSaulniers k...@designdrumm.com My spanish is rusty, what did he/she ask? Is this another one of those emails where someone is wanting Flashcoders as a friend on LinkedIn? Karl On Mar 22,

Re: [Flashcoders] Ángel Ambrosio quiere mantener el contacto en LinkedIn

2010-03-22 Thread Zeh Fernando
as the contact for their LinkedIn profile? lol Or is it because of the groups? Karl On Mar 22, 2010, at 9:04 PM, Zeh Fernando wrote: Yeah. Just the normal someone wants to keep contact in linkedin type of stuff. 2010/3/22 Karl DeSaulniers k...@designdrumm.com My spanish is rusty, what did he

Re: [Flashcoders] An event when a Sprite's visible changes?

2010-02-21 Thread Zeh Fernando
Your best bet is to create a new class that overrides .visible with a getter/setter, and add the event there (pretty much the same Henrik Andersson said). It's pretty clean and doesn't require changes anywhere else, but it also means you cannot use a Sprite but rather your new class. Zeh On Sun,

Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-03 Thread Zeh Fernando
IE7 and IE8 are a far cry from any sort of HTML5 support. I don't think it's to support it at all, it's just to make the developer's job less miserable (considering IE6 is a small part of their audience and it's on the way out anyway). Here's something everyone has to keep in mind: even if the

Re: [Flashcoders] WIRED hates Flash

2010-02-01 Thread Zeh Fernando
http://wiki.github.com/tobeytailor/gordon/swf-tag-support-table http://wiki.github.com/tobeytailor/gordon/browser-support-table The guy is probably a genius, but Gordon is nowhere near feasible for anything other than displaying some animated vectors. Zeh On Mon, Feb 1, 2010 at 11:10 AM,

Re: [Flashcoders] WIRED hates Flash

2010-02-01 Thread Zeh Fernando
No point. It's an interesting experiment I'm quite sure. But I guess in a world where people are impressed by acronyms being thrown around without regard for accuracy or fact-checking, it fits the bill perfectly. Suddenly parsing a SWF format means supporting Flash 99.9%, as much as other

Re: [Flashcoders] Sprite alpha

2010-01-25 Thread Zeh Fernando
1. How much is any other alpha? 2. What is the content of the sprite? On Mon, Jan 25, 2010 at 6:33 PM, Eric E. Dolecki edole...@gmail.com wrote: You mean at 0.5 it's fully on? Or are you doing alpha = 50 expecting 50% alpha? On Mon, Jan 25, 2010 at 6:22 PM, Paul Andrews p...@ipauland.com

Re: [Flashcoders] Sprite alpha

2010-01-25 Thread Zeh Fernando
What's the content of the sprite? On Mon, Jan 25, 2010 at 8:30 PM, jared stanley jared.stan...@gmail.comwrote: whenever I see odd behavior with alpha I assume it has to do with a parent clip or setting it to 50 instead of .5 - and it usually happens when I'm feeling frantic on a project.

Re: [Flashcoders] Clearing Cache

2010-01-14 Thread Zeh Fernando
Not directly, and that is not something you should be looking into doing anyway. If you want to make sure you're loading dynamic data, just add a variable with a random value as querystrings to the URLs you're loading and that'll do the trick. Zeh On Thu, Jan 14, 2010 at 12:20 PM, Lehr, Theodore

Re: [Flashcoders] Settiing the default format of TextFields in CS3

2010-01-04 Thread Zeh Fernando
Not saying much, but: no normal workaround that I know. This is behavior that has been in Flash since the AS2 days - certain properties (like letterSpacing) are always lost with defaultTextFormat so you always need to set it again. I always used something similar to your code. Zeh On Mon, Jan 4,

Re: [Flashcoders] Bizarre Issue

2009-12-15 Thread Zeh Fernando
From my experience, Flash has had issues composing many Bitmaps when they're overlapping each other. It'd just start hiding some of the images, roughly after 20 of them were present. Are your images overlapping? If that's what's going on, you may be able to solve it by 'grouping' the MCs in

Re: [Flashcoders] The Flash Debug Player

2009-12-04 Thread Zeh Fernando
It displays error messages in a new dialog when an error occurs (otherwise it'd just ignore them blindly), connects to external tools for debugging (tracing and things like that), and provides additional methods (like System.gc()). It's also a very small bit slower than the normal player. I'd

Re: [Flashcoders] OT: PHP books

2009-11-23 Thread Zeh Fernando
If you just want to use it for a few things (as opposed to building a huge system), some online tutorials is all you need. If you know any sort of programming language, PHP is really simple to use and the documentation in php.net is extremely helpful - you look for a method or function and the

Re: [Flashcoders] Swfs not loading in FF on PC

2009-11-19 Thread Zeh Fernando
Yes. While loading a SWF using wmode=transparent, loaderInfo doesn't fire ProgressEvent.PROGRESS and Event.COMPLETE events for itself inside FireFox. The solution is using a separate ENTER_FRAME event to check on the loading state. You can read the bytesLoaded and bytesTotal (they're correctly

Re: [Flashcoders] AS2 to AS3 Translation

2009-11-18 Thread Zeh Fernando
http://livedocs.adobe.com/flex/2/langref/migration.html On Wed, Nov 18, 2009 at 10:20 AM, beno - flashmeb...@gmail.com wrote: Hi; I've found the following AS2 script I'm trying to translate into AS3. Right now, I'd just like a little help understanding how to rewrite some code variables.

Re: [Flashcoders] Windows 7 Compatibility with Flash

2009-10-23 Thread Zeh Fernando
Flash Player: http://www.microsoft.com/windows/compatibility/windows-7/en-us/Details.aspx?type=Softwarep=Adobe%20Flash%20Playerv=Adobeuid=10pf=0pi=1s=flashos=32-bit On Fri, Oct 23, 2009 at 6:02 PM, AutGlass Jobs autgl...@gmail.com wrote: Thanks Helmut, but the link shows compatibility with

Re: [Flashcoders] bounce easing function for tweener

2009-08-13 Thread Zeh Fernando
You can copy the original bounce function from the Equations class and then use it as the transition parameter (like you probably already know). But yeah, you'll need to change the original code to achieve whatever effect you want. Usually tweaking some of the constant numbers is enough to make it

Re: [Flashcoders] bounce easing function for tweener

2009-08-13 Thread Zeh Fernando
What I said probably applies to 99% of the tweening engines available out there anyway. PS. Awesome link on that uize tool. I didn't know that. There are some very good equation samples - based on Penner's work but much more flexible to animation use. With some ingenuity the code can probably be

Re: [Flashcoders] Dynamic fonts and Tweens

2009-06-05 Thread Zeh Fernando
It's likely it's not using an embedded font (whether it's embedded on the library or not is just a detail and doesn't say much about your actual textfield). Can you rotate the mc? If you can't, it's not using it. If you use embedded fonts you'll be able to change its _alpha. If you *can* rotate

Re: [Flashcoders] does as3 optimize functions called by the constructor?

2009-06-05 Thread Zeh Fernando
From what I've heard; the functions themselves *are* optimized, as opposed to how the constructor works. So it's just the actual stuff inside the constructor that's jit-compiled. To be honest, though, I tried testing that scenario that and found no stable difference at all by moving all the

Re: [Flashcoders] AS3: for-loop in a static initializer - Access of undefined property i

2009-04-12 Thread Zeh Fernando
Many thanks for the in-depth reply, Juan. I learned something today. Zeh On Sun, Apr 12, 2009 at 5:14 PM, Juan Pablo Califano califa010.flashcod...@gmail.com wrote: The problem is that, while static initializer blocks look like their counterparts in Java, they have a little but important

Re: [Flashcoders] not smooth interpolation

2009-04-10 Thread Zeh Fernando
1. You're using the hinted rendering path for the text (custom anti-alias). It'll not move to subpixels so slow sliding like that will always look stramge. Use antialias for animation on your textfield. 2. The duck animation *is* smooth. The graphic asset isn't. Go to the library and turn on its

Re: [Flashcoders] Tween AS3 issue with Firefox

2009-03-26 Thread Zeh Fernando
...@telenet.be wrote: My guess is whatever he's talking about is beyond the login? - Original Message - From: Zeh Fernando z...@zehfernando.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 26, 2009 12:01 AM Subject: Re: [Flashcoders] Tween AS3 issue

Re: [Flashcoders] Tween AS3 issue with Firefox

2009-03-25 Thread Zeh Fernando
What animation? It works the same in both FF and IE here and there's no Tween whatsoever. Zeh On Wed, Mar 25, 2009 at 3:23 PM, Reina Lyn Ben rly...@gmail.com wrote: has anyone had the same problem. I have a website up.. http://kozonline.com/epk the animation is created in AS3, when I use

[Flashcoders] try with webcam

2009-02-13 Thread Fernando Nunes
http://www.f-nunes.com -- Fernando Nunes Cel.: +55 51 8100.6045 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] play sound via linkage

2009-02-13 Thread Zeh Fernando
Exactly. Or, if you know the name and you don't need it to be a dynamic reference, just do... var snd:MySoundName = new MySoundName(); snd.play(); Where MySoundName is the name given to it in the library. Zeh On Fri, Feb 13, 2009 at 12:35 PM, Kenneth Kawamoto kennethkawam...@gmail.com wrote:

Re: [Flashcoders] NativeMenuItem keyModifier with function key (AIR)

2009-01-08 Thread Zeh Fernando
. Thanks again, Zeh On Thu, Jan 8, 2009 at 6:25 AM, Sidney de Koning sid...@funky-monkey.nl wrote: Oh one more link for you: Function key can't be used as keyEquivalents http://bugs.adobe.com/jira/browse/SDK-17901 Good luck, Sid On Jan 8, 2009, at 1:46 AM, Zeh Fernando wrote: Hey list

[Flashcoders] NativeMenuItem keyModifier with function key (AIR)

2009-01-07 Thread Zeh Fernando
Hey list, Do people here work with AIR? Or is there any better-aligned mailing list? Anyway. I'm using AIR 1.5's NativeMenuItem's .keyEquivalent and .keyEquivalentModifier. That feature is pretty cool and works like this: var item:NativeMenuItem = new NativeMenuItem(Do Whatever);

Re: [Flashcoders] Easing a selection

2008-11-06 Thread Zeh Fernando
There's maybe some elegant way to do that with normal Timers, or maybe to wrap around a function to make TweenLite use it, but if you're in a hurry, Tweener does that with the (slightly) cryptic addCaller() method: http://hosted.zeh.com.br/tweener/docs/en-us/methods/Tweener_addCaller.html Zeh

Re: [Flashcoders] FULL_SCREEN problem Flash CS3 and AS3

2008-11-04 Thread Zeh Fernando
Fullscreen can only be activated on certain events, so you cannot hijack the user browser to set the fullscreen mode. Full-screen mode is initiated in response to a mouse click or key press by the user; the movie cannot change Stage.displayState without user input

[Flashcoders] Rotating device text in AS3 for Flash 10

2008-10-29 Thread Zeh Fernando
List, you're my last resort. Has anyone ran into any way of rotating textfields that use 'device' fonts in Flash 10? Other than making a BitmapData copy and using that instead, that is. I'm not sure this is at all possible now, but with so many changes to the way text works, I'm having a hard

Re: [Flashcoders] AS3 Object.watch equivalent

2008-10-27 Thread Zeh Fernando
The ethos of AS3 is that instead of watching something, you indeed setup events that are fired when they change. So instead you just do an .addEventListener() to the object created. Each object type has particular events it can fire. A LoaderInfo class dispatches complete, httpStatus, init,

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,

Re: [Flashcoders] Flash 10 file upload

2008-10-17 Thread Zeh Fernando
:[EMAIL PROTECTED] On Behalf Of Zeh Fernando Sent: Friday, October 17, 2008 4:25 PM To: Flash Coders List Subject: Re: [Flashcoders] Flash 10 file upload The problem is if they took that approach, the vague security hole would continue to exist - a potential exploit would simply need

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: [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] 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: [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 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] ...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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 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] 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] 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] 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] 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] 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] 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)

  1   2   3   >