Re: [Flashcoders] bidimensional array in as

2005-10-31 Thread Zeh Fernando
int matrix[3][3]; for(i=0;i3;i++) for(j=0;j3;j++) matrix[i][j]=0; You have to create the initial array and then create any sub array. Kinda like: matrix = []; for(i=0;i3;i++) { matrix[i] = []; for(j=0;j3;j++) { matrix[i][j] = 0; } }

Re: [Flashcoders] zeh/laco and MovieClip.as

2005-11-15 Thread Zeh Fernando
What do you think about this? About modifying the MovieClip.as -it cant be of good practice? It isn't. Usually you shouldn't even think about it. However, I believe both of these tweens work without major problems or warnings under AS2. The only problem I know is mctween can't tween sound

Re: [Flashcoders] Drawing gradients

2005-11-18 Thread Zeh Fernando
http://www.fnordware.com/superpng/samples.html I’m not really sure what the name of these type of gradients are, but they are usually found in color selectors in graphics tools i.e. Photoshop. And have four colors equally bended from each corner. Could you give me a hint on how I could achieve

Re: [flashcoders] Q for the Pro's: How did you learn flash?

2005-11-21 Thread Zeh Fernando
Hi All. I'm an advanced beginner, i know the basics, how the application works, a bit of actionscript... Now I was wondering how did the pro's/advanced users evolve from here? Did you use a book(s) or just a lot of tutorials and experimenting? (What book(s)?) As someone said, most people

Re: [Flashcoders] Applying tween class to textfields

2005-12-03 Thread Zeh Fernando
I am trying to apply a tween class to a textfield. Nothing I do to it seems to work. Ive tried using the class on the textfield itself as well as placing it in a movieclip first and applying the class to that. Is there something im missing? It depends on the class. No one can tell you in

Re: [Flashcoders] FAQ Adobe acquisition of Macromedia

2005-12-08 Thread Zeh Fernando
The only thing I really like on the surface of this merger is the fact the Macromedia apps will get tabbed palettes back. Doesn't Flash 8, Dreamweaver 8, etc. already have that? At least, they do on my machine. Unless what you mean by a tabbed palette isn't what I am thinking. Not really.

Re: SPAM-LOW: Re: [Flashcoders] FAQ Adobe acquisition of Macromedia

2005-12-08 Thread Zeh Fernando
Actually you can group panels together in Flash 8, and they'll have tabs. Click the icon on the right in a tab header and select Group [PanelName] with. Then choose the panel you want it to be grouped with. Once they are grouped, they'll each have a tab. There seems to be a bug: the first

Re: [Flashcoders] OT: After Effects and Flash

2005-12-15 Thread Zeh Fernando
My question is, I would like to know what kinds of things I could utilize After Effects for (BESIDES nifty effects in digital video clips, obviously), for my Flash work - just some ideas from those of you who know it and use it for effects in their Flash projects. Nothing. Nifty effects in

Re: [Flashcoders] OT: After Effects and Flash

2005-12-15 Thread Zeh Fernando
Nothing. Zeh, I don't 100% believe you. :) I know After Effects is for motion effects, and primarily for video, but I could have sworn people have used it for image sequences for movie clip effects in Flash movies. For example, there is a neat effect you can do with Photoshop where you

Re: [Flashcoders]flash 8.5 or 8 binary

2005-12-21 Thread Zeh Fernando
Is it easily possible to create images from binary data today in Flash8? Or do we have to wait for 8.5? and What would the approach be in flash8? You can do both - decode binary data to form an image, and encode binary data from an image. However, you would need to code the image

Re: [Flashcoders] Benefits of Flash 7 published file viewed in Flash 8player (?)

2006-01-23 Thread Zeh Fernando
I've noticed that text in files created in Flash 8 default to Anti-alias for readability . What is the default setting of SWFs that were published in Flash 7 or earlier. In order to get the benefit of the best looking font would we need to republish these files from the Flash 8 IDE? The

Re: working with numbers loaded from XML was [Flashcoders] if notworking. (urgent help again?)

2006-02-04 Thread Zeh Fernando
Would this be a correct use of parseInt? parseInt (_root.first) Yes, but it's usually a best idea to pass the number base as a parameter - in this case, 10 for decimal var xx = parseInt (_root.first, 10); If you don't, it will still work, but if you have some number with trailing zeros

Re: [Flashcoders] MovieclipTween120.mxp from http://laco.wz.cz/tween/

2006-02-09 Thread Zeh Fernando
Oh has anyone made the zigo engine class based sort of thing? rather than extending the movieclass? Yes, it's called Fuse, and it's based on the zigo engine: http://www.mosessupposes.com/fuse/index.html (Note that there are other clean tween engines out there) And I would add that it's a

Re: [Flashcoders] adding tiny decimals to _x

2006-02-14 Thread Zeh Fernando
Just discovered this. I have a character moving across the screen at a very slow rate. His complete journey should be around 20 minutes, making every frame increment at 0.02565278. However, adding this to _x isn't even registred, meaning adding 0.02565278 to 0 (as _x) means _x

Re: [Flashcoders] simple FUSE question

2006-02-23 Thread Zeh Fernando
I would use zmc_tween: http://hosted.zeh.com.br/mctween/using.html #include zmc_tween.as ... Of course I'm using his old stuff. Just remember that, in this case, the filename would be mc_tween2.as, and it's not so old. Just oldschool. :) i want to create a tween that loops the _y value of

Re: [Flashcoders] Easing equations - explanation of parameters

2006-02-27 Thread Zeh Fernando
In 'back' easing: the fifth parameter means 'overshoot'. In words by Mr. Penner himself, slightly edited: a controls the amount of overshoot: higher a means greater overshoot a has a default value of 1.70158, which produces an overshoot of 10 percent a==0 produces cubic easing with no

Re: [Flashcoders] prototypes?

2006-03-01 Thread Zeh Fernando
i found a prototype on a website for easing. it works in their fla... i am trying to get it work here. when i load the swf, nothing happens... the object i am trying to ease is ball1 is the instance. the name in the library is test. Regardless of the code you have in hand, you might want to

Re: [Flashcoders] Move object along a curve

2006-03-03 Thread Zeh Fernando
Thats very cool too - but I would like to dynamically affect the position of a MC, not using a tween engine where i tell it go from here to there. I just wanna be able to tell a mc to be: a scale an alpha at this x, y and when I move my mouse up/down, affect all three of those, while moving it

Re: [Flashcoders] Shape tweens through AS?

2006-03-06 Thread Zeh Fernando
I haven't dug very deeply into the tween class. Anyone know if it is possible to do shape tweens with it (or has someone written a custom class to do this)? Well, short answer: you can't do it. It isn't a matter of building classes for it; you can't just modify an existing drawing. There

Re: [Flashcoders] Actionscript 2 - suitable for designers?

2006-03-27 Thread Zeh Fernando
I'm wondering if AS2 offers any advantages to me, or if sticking with AS1 would be better. Is AS2 (and now 3) the natural progression of Flash coding, is there even a future for AS1, all the useful libraries seem to be AS2 only these days too, perhaps that alone is a reason to switch. I'm

Re: [Flashcoders] Actionscript 2 - suitable for designers?

2006-03-27 Thread Zeh Fernando
I agree with what's already been said - and just wanted to say that one of the big advantages you may find with AS 2 is the debugging features you get by typecasting, and also the re-usability of classes. Once you really get into it and start creating your own libraries, your efficiency level

Re: [Flashcoders] Tween and actionscript

2006-03-29 Thread Zeh Fernando
I have a movieclip animating across the stage using a tween in the timeline. Halfway through that tween I'm using AS to set the _alpha of the clip to 50%. At the moment I do this, if forgets about the tween in the timeline and stops moving. Why is this happenning? How do I tell Flash that I

Re: [Flashcoders] Smooth Scripted Blurs

2006-04-02 Thread Zeh Fernando
from blurred to clear. Am I missing something here that would make my clip, main_image_mc, smoothly transition? Would you consider this the best practice for doing a blurred image-clear image transition? It seems to work as expected here. However, I don't know if that's what you're

Re: [Flashcoders] Good Math script for sheet movement whendragedontable

2006-04-03 Thread Zeh Fernando
Another good article on something like that is this -- http://www.mactech.com/articles/mactech/Vol.12/12.08/GXRigidBodyDragging/index.html It's done for some kind of Apple scripting language, but of course the important part (trigonometry) still holds. That's what I used as a guide when I

Re: [Flashcoders] Good Math script for sheet movementwhendragedontable

2006-04-03 Thread Zeh Fernando
Another good article on something like that is this -- http://www.mactech.com/articles/mactech/Vol.12/12.08/ GXRigidBodyDragging/index.html Here's one of my test SWFs by the way, so you can see what I'm talking about: http://hosted.zeh.com.br/misc/novo2.swf looks great! i thought that

Re: [Flashcoders] allowing slow animation

2006-04-04 Thread Zeh Fernando
There's something that I really can't understand in Flash 8 Before ('till Flash 7), if you made a 100 pixels object animation in 10 frames, flash knew how to display a 1/10 pixel and the animation was quite smooth. That was sometimes a problem because when we wanted a aliased display, we

Re: [Flashcoders] jpg in flash 7 and 8

2006-04-10 Thread Zeh Fernando
i got problem with jpg image in flash, when publishing to 7 it looks better (if scale is lower then 100) then when published to 8, does anyone have the same experience? It's because, when publishing to Flash 8, the flash player properly respects the smoothing property of each image, instead

Re: RE:[Flashcoders] New wrinkle in IE activation issue...

2006-04-20 Thread Zeh Fernando
Maybe Microsoft took their own initiative, but it is still a reaction to Eoals. If Eolas wasn't pushing their bogus patent, Microsoft would not have done this. Its silly to say they did this to hurt Adobe as it affects all active x objects including Microsoft's own windows media player. The

Re: [Flashcoders] coordinates of a scaled movieclip

2006-04-24 Thread Zeh Fernando
actually, I'm not sure if localToGlobal does anything with the scaling. I have the feeling it simply adds coordinates of parent movieclips to the local ones.. I'm not sure what you're doing and how, but it *does* take into consideration the whole movieclip matrix info - rotation, scaling,

Re: [Flashcoders] coordinates of a scaled movieclip

2006-04-24 Thread Zeh Fernando
actually, I'm not sure if localToGlobal does anything with the scaling. I have the feeling it simply adds coordinates of parent movieclips to the local ones.. I'm not sure what you're doing and how, but it *does* take into consideration the whole movieclip matrix info - rotation, scaling,

Re: [Flashcoders] coordinates of a scaled movieclip

2006-04-24 Thread Zeh Fernando
When I found this out It confused the hell out of me as localToGlobal had never worked like that before - I just assumed I'd never used it with anything scaled by hand before and wrote that off as the reason. Now if what you're saying is true then it gets even more confusing. One difference may

Re: AW: [Flashcoders] Is a colour stated as 0xFF00FF an object?

2006-04-27 Thread Zeh Fernando
That is exactly what it does, eg 0x73 becomes 7558485, but that's not what I need. I need it to stay hexadecimal, but to be recognised as a number type. It shouldn't be converted, its type needs to be changed. Well, a number is a number - 0xff *is* 255. If you need it to be hexadecimal

Re: [Flashcoders] MC Tween

2006-04-28 Thread Zeh Fernando
I'm using MC Tween on some navigation blocks. Three blocks on top of each other, they start out equal in side, when you click on one, it opens up and the others close up. This involves tweening the clip's height and y coord. It works great for basic MCs(see the good link below), but when I

Re: [Flashcoders] duplicateMovie issue

2006-05-02 Thread Zeh Fernando
Im trying to find a way to duplicate one movie clip into a new movieclip so that it can take advantage of the new target MC's rotation, location etc. It looks like duplicateMovieClip is what i want, but as far as i can tell it seems to only duplicate an MC within the same parent MC - is this

Re: [Flashcoders] Can this be true?

2006-05-02 Thread Zeh Fernando
Interesting, a movie set at 30fps plays around 29/30 in the ide using the below code, but does indeed return 23/24 fps in IE. I knew flash ran better in the ide - but that is quite a difference. From what I've learnt, that kind of stuff happens even when there's nothing being processed - ie,

Re: [Flashcoders] Export Bitmap Data at runtime

2006-05-04 Thread Zeh Fernando
With Flash 8, is there a way to turn a bitmapped movieclip into a PNG or compress it somehow to send it back to the server as a bitmap at runtime? I imagine you could send it as raw bitmap data, but it would be quite large. This has been discussed a while ago, but briefly -- Yes, you have to

Re: [Flashcoders] Inverting colours of the menu

2006-05-05 Thread Zeh Fernando
I probably have a really simple question.. I have a movieclip which containts the menu items (each button is a movieclip), and know one section has a white background so the white buttons become invisible. Now I would like to invert/change the colours of the buttons. Only when I use setRGB() of

Re: [Flashcoders] Inverting colours of the menu

2006-05-05 Thread Zeh Fernando
Check setTransform on the help docs. But briefly, to invert a movieclip (make it 'negative', you can do: new Color(myMC).setTransform({ra:-100, rb:255, ga:-100, gb:255, ba:-100, bb:255}); Yes, I found some similar code too, only doesn't seem to work. You can't invert it again to get white

Re: [Flashcoders] Convert Flash 7 swf to Flash 8

2006-05-06 Thread Zeh Fernando
Hi, I remember when Flash 8 player was released there was a tool that would change a swf to make it act like a Flash 8 one, but I can't find that now. I just have a little app that loas images, and want to convert it to F8 so it can load pngs. I've tried playing with mtasc but it's a pretty

Re: [Flashcoders] load two flv's and merge them into one flv?

2006-05-06 Thread Zeh Fernando
does anyone know if you can load two flv's then put them together somehow. I need to be able to play the two flv's as one and be able to scrub the whole thing too.. Anyone have any ideas? Well, IMO: you don't have to merge them - you can load them as two different files and have a separate

Re: [Flashcoders] xml file location

2006-05-10 Thread Zeh Fernando
If I have a swf that's embedded in an html page that lives on the root of the site, does the xml file the swf is trying to load need to also exist in the root? I was thinking the path to the xml would be relative to the swf's location in the directory structure, but I'm thinking this isn't the

Re: [Flashcoders] netstream and seeking. high fps.

2006-05-17 Thread Zeh Fernando
between. I have read about this in various place and what not. I just wanted to hear from somebody else who also had experience with this issue. the solution is just to export flv's at a high frame rate. so you get way more keyframes. right? after sayng and asking that. how does youtube seek?

Re: [Flashcoders] Problem with delayed Zigo Tweens

2006-05-18 Thread Zeh Fernando
I am having problems with a MC (instanceA) that has quite a few Zigo Tweens (ver. 1.2) on it's children MCs, with delay parameters spanning over approx. 90 seconds. InstanceA is one of 19 MC instances that sit on consecutive frames in the parent MC. This parent swf is loaded into an interface

Re: [Flashcoders] Tweening Multiple Objects at the same time

2006-05-22 Thread Zeh Fernando
tried to resolve it by changing the # of frames / seconds, but this is somewhat tedious to match up between the 2 objects. Can anyone offer a suggestion on how to resolve this issue so that the 2 objects start tweening simultaneously? Any suggestions on an alternate class? I never user

Re: [Flashcoders] setRGB for Several Instances of MovieClip

2006-05-23 Thread Zeh Fernando
of MovieClipB inside of it? In theory, I should be able to set the color of MovieClipB, and thereby change the appearance of all instances of MovieClipA? Doesn't work though -- it only changes the appearance of the instance of MovieClipA in which I changed the color of MovieClipB. It doesn't

Re: [Flashcoders] Alpha fade problem

2006-06-01 Thread Zeh Fernando
So, the following script will cause a MC to fade in. What would I change to make a MC fade out? You could use the alphaTo property of the tween class. It's much easier. Just to add: yes, use any other of the tweening extensions or classes available (fuse kit, laco tween, mctween). It's

Re: [Flashcoders] cool bitmapData api

2006-06-01 Thread Zeh Fernando
Hey guys gals I am looking for a few examples of cool uses of the bitmapData api Not only fancy but clever practical examples too Any links would be greatly appreciated :) The most 'practical' approach would be of storing loaded images as BitmapData to allow reuse (and smooth bitmap use!) of

Re: [Flashcoders] Sharing fla over network

2006-06-15 Thread Zeh Fernando
I recently hired an assistant and we need to share and simultaneously work on .fla files over a local network. There must be tools for this, but a search on google didn't yield anything (must not be using the right terminology). There isn't. Only one people can work on a .FLA at a time. You

Re: [Flashcoders] Sharing fla over network

2006-06-15 Thread Zeh Fernando
Makes sense. Thanks Zeh. Maybe you can tell me if there if there is any way to ensure that accessing fla files over the network is stable. I know in the past that flas have disappeared on me when working off a network drive. I'm guessing you'd say that I should duplicate whatever it is and

Re: [Flashcoders] Flex 2 and Flash 9 Press Releases

2006-06-28 Thread Zeh Fernando
Did ya'll know it's possible to code AS 3.0 in Flash 8 IDE now too? To coincide with the release of Flash Player 9 http://www.adobe.com/products/flashplayer/ and the underlying ActionScript 3.0 http://www.adobe.com/devnet/actionscript/articles/actionscript3_overview.html language, we are

Re: [Flashcoders] Flex 2 and Flash 9 Press Releases

2006-06-28 Thread Zeh Fernando
This seems pretty clear to me... This preview extends the capabilities of Flash Professional 8 to include support for the new ActionScript 3.0 language in Flash Player 9. http://www.adobe.com/go/labs_flash9as3preview_downloads Did you follow the wrong link No, man, it's the same link. It takes

Re: [Flashcoders] Flash 9 Professional AS 3 Preview on labs

2006-06-28 Thread Zeh Fernando
Well, I am unable to download it... the download isn't available on: http://www.adobe.com/products/flex/?e=labs_flpro9_as3 Maybe I am blind? The link above is what I get when I press on the download-button at fl9 labspage. Try this link: http://labs.adobe.com/technologies/flash9as3preview/

Re: [Flashcoders] How to japanese people embed fonts?

2006-06-30 Thread Zeh Fernando
i have to get japanese characters into our application, but as i see it, there is no solution for this :( If you embed a Japanese font the file size will increase by 1.75MB or more per font, so I would not embed Japanese fonts for on-line delivery. I would use generic device fonts for

Re: [Flashcoders] Issue with reapeat test publish

2006-07-02 Thread Zeh Fernando
Thank you, Dave, for your response. While I realize that I am simulating download, this does not produce the problem that I am speaking of. I still get the same issue irrespective if I am under download simulation or not. I can close the window, re-publish, and then select simulate download...

Re: [Flashcoders] BitmapData and security.allowDomain

2006-07-04 Thread Zeh Fernando
There is an issue with loading an extermal JPEGs form a remote server. It seems to be a bug. I am loading a JPG image to a movie clip and cloning it using Bitmap.draw(input_mc). (SWF is hosted on domain A, JPG hosted on domain B.) In this case loaded JPEG behaves exactly as an SWF loaded from a

Re: [Flashcoders] JPEG compression for PNG details

2006-07-05 Thread Zeh Fernando
Wondering if someone here could provide or point me in the direction of details on the inner workings of jpeg compression for png images in the swf format? I am particularly interested in how the alpha channel in the PNG is translated and stored. When you import a PNG image with an alpha

Re: [Flashcoders] setInterval and loadMovie

2006-07-09 Thread Zeh Fernando
Here is my problem, when loading the the .swfs into the main movie, the first one naturally, is ok. But when I try loading another .swf to replace the current on, the old .swf is gone but its interval is still alive and kicking. What, what?! What is happening? setIntervals continue to be

Re: [Flashcoders] Php Host

2006-07-11 Thread Zeh Fernando
I am looking for a good Php host with decent customer support. Anyone have recommendations? I'd recommend www.dreamhost.net. I've been using them for a few years and they kick ass - you can do almost everything through their control panel with no hassle, but if you need human support, it's

Re: [Flashcoders] Php Host

2006-07-11 Thread Zeh Fernando
I am looking for a good Php host with decent customer support. Anyone have recommendations? I'd recommend www.dreamhost.net. I've been using them for a few years and do you mean http://www.dreamhost.com/? Oops. Yes, I mean dreamhost.com. Sorry. - Zeh

Re: [Flashcoders] Php Host

2006-07-11 Thread Zeh Fernando
And if you're wondering why they seem to get good reviews in a lot of places, it may be related to their policy of paying people to refer them. I'm also pretty disappointed with most of the sites that review web hosting, which are in many cases not impartial. Thanks for letting us know of

Re: [Flashcoders] sequential tweens ?

2006-07-23 Thread Zeh Fernando
Hi All, I need some ideas how to workaround the following situation I have na mc as an holder for some photoStrip this photoStrip has n photos as mcs in it I want to produce some tween over each one BUT the next tween should only begin after the previous has finished João, Your best bet

Re: [Flashcoders] sequential tweens ?

2006-07-23 Thread Zeh Fernando
couldnt you just use 2 methods in your class to control the sequence of tweens? // Start a tween for a photo private function tweenPhoto() (...) You see, that's what I'm totally against when writing code: overcomplication. Going around and around and around to come back and do something

Re: [Flashcoders] Problems getting the brightness of a color returnedfrom getPixel

2006-07-29 Thread Zeh Fernando
Thanks very much for your response Martin but I don't understand it. I don't have three vars called R G and B. I just have a number which was retuned from getPixel. Am I being stupid? I can't see how I should do what you sugest. Pease explain a little further. That number you're getting is a

Re: [Flashcoders] How do I make a dynamically created input text boxretain text formatting?

2006-08-17 Thread Zeh Fernando
5. How do I make a dynamically created input text box retain text formatting? Try using .setNewTextFormat(), as .setTextFormat() only sets the current (existing) text. - Zeh ___ Flashcoders@chattyfig.figleaf.com To change your

Re: [Flashcoders] vars with $

2006-08-18 Thread Zeh Fernando
So I really am in my own little universe. Far out, moon doggie! I use p_ for parameters, _ for private properties, and $ for (almost) everything temporary (ie, var functions). Like $tmc for a movieclip. I think we're each other on our very own universe. :) Zeh

Re: [Flashcoders] Is this for real?

2006-08-19 Thread Zeh Fernando
Forgive me if there is already a thread about Flash 9 performance here on the list. I don't keep up with this list as well as I should. I just looked at this, however... http://www.oddhammer.com/actionscriptperformance/set4/ ...and I am astounded by those numbers. Is Flash 9 really that fast?

Re: [Flashcoders] Math Prob...

2006-08-31 Thread Zeh Fernando
I have a listBox with 6 labels ( at the moment) and corresponding data. The labels are title of a image and the data is the URL of the image. I'm not sure what the problem actually is since it wasn't stated on the email, but if you mean that going to the next 'page' isn't working, it's

Re: [Flashcoders] {OT} Job Postings?

2006-09-12 Thread Zeh Fernando
I have been on this list for years and have seen all the job postings and have posted some myself. I am looking to hire 5 Flex 2.0 and 3 flash developers. I have tried posting on dice and monster and have yet to get resumes that come close to the qualifications that I need. So I have to ask where

Re: [Flashcoders] BitmapData.getPixel() - negative value ?

2006-09-15 Thread Zeh Fernando
Oooops, you are right, I meant 0x00 Nevertheless, you had said, 0xff00 (solid black) ?? It's because it has the alpha value on it (ARGB) with a opacity of 255 (100% opaque, or 0% transparent). 0x00 (or just 0) *IS* solid black, but if you're painting on a bitmap with an alpha

Re: [Flashcoders] Find point after rotation

2006-10-04 Thread Zeh Fernando
orry, I'm s rusty with math and hoping someone can push me in the right direction. Right now I'm trying to figure out the radius of the 'circle' that is formed while rotating, but that isn't going anywhere (fast anway). Just to kinda repeat what everybody has said -- You could easily

Re: [Flashcoders] Flash Player 9 FullScreen Mode

2006-10-04 Thread Zeh Fernando
There will have to be ?? I propose a test what happens when launching 20 banners ads all fighting for fullscreen, In windows are you able to alt+tab between fullscreen swf's? Well, this is a huge can of worms. Thankfully, there's this:

Re: [Flashcoders] Playing video backwards kills my CPU

2006-10-10 Thread Zeh Fernando
It seems to work but it kills my CPU making everyother thing in the site not working and making the video running slowlier. When I go back to fordward playing everything goes back to normality. Any clues? Do I have to look for some flaws in my code or is there something wrong with embbebed

Re: [Flashcoders] why the result is true

2006-10-13 Thread Zeh Fernando
hi everyone i found the result is true when undefined = or = any value in flash2004 and flash8. that makes me wonder,the result was undefined in my sense as same as undefined or any value. i don't know flash player how get that,it really weird...orz It's because instead of really comparing if

Re: [Flashcoders] Tween question

2006-11-02 Thread Zeh Fernando
All works fine until I also try to move that mc horizontally using actionscript and the ._x property, the timeline motion tween stops working, the mc moves horizontally but not vertically. Is this just Flash's normal behavior, that moving an object using actionscript means that the timeline will

Re: [Flashcoders] Preciso de programador actionscript/flash/php

2006-11-07 Thread Zeh Fernando
Preciso de programador actionscript/flash/php se tiver alguem na lista que seja do Brasil e esteja disponivel para freela ..responda a este email. The above email reads: I need a actionscript/flash/php programmer if there's anyone on this list that's from Brazil and is available for freelance

Re: [Flashcoders] about BitmapData.draw() crossdomain

2006-11-08 Thread Zeh Fernando
when crossdomain , BitmapData.draw Expiration,the swf in a.com,and the jpg in b.com,have any Solution in this? No, you can't do a BitmapData.draw from content from other domain, regardless of crossdomain policy files or whatnot. Solutions are: 1. Use AS3 as this issue seem to have been

Re: Re: [Flashcoders] about BitmapData.draw() crossdomain

2006-11-09 Thread Zeh Fernando
/2005-March/132835.html (you might have to make the target url a parameter, and change the contentType) Zeh i want to know the second method how to do,have any Data in this? 赵洪日 2006-11-09 发件人: Zeh Fernando 发送时间: 2006-11-08 19:44:33 收件人: Flashcoders mailing list 抄送: 主题: Re: [Flashcoders

Re: [Flashcoders] Faking 3D perspective of a 2D map in Flash 8..?

2006-11-10 Thread Zeh Fernando
So far I've only been able to achieve that in Illustrator and then saving the perspectively squished vectors as a .swf What I'd love to do is to get that perspective squish done within Flash 8 using script. I know about 3D program extensions for Flash like Sandy, but I find them cryptic (at

Re: [Flashcoders] MC Tween Problem - Urgent

2006-12-15 Thread Zeh Fernando
Hi Coders, I have a strange problem. When i try to use an Array prototype with a MC Tween (http://hosted.zeh.com.br/mctween/) , the callback of the MC Tween prototype do not work. Berkay, One problem might be the fact that you're adding a prototype but not hiding it for..in loops. This can

Re: [Flashcoders] MC Tween Problem - Urgent

2006-12-15 Thread Zeh Fernando
Try doing this right after your prototype is created: ASSetPropFlags(Array, in_array, 1, 0); Oops, a little mistake - it's... ASSetPropFlags(Array.prototype, in_array, 1, 0); ...instead since you're adding something to the prototype, not to the 'static' class. Zeh

Re: [Flashcoders] Senior Developer Posisition

2006-12-20 Thread Zeh Fernando
Interesting that San Francisco ranks at #34 together with São Paulo. Uh? So, say if a senior Flash dev earns an average of US$ 80k, so should a senior Flash dev in São Paulo, right? That'd be R$ 168k, or about R$ 13k a month (13 salaries per year). I'm living in São Paulo, but i'm not working

Re: [Flashcoders] Timeline motion tween: disappears (not good)

2006-12-21 Thread Zeh Fernando
What is that 'Save and Compact' command? Doing so actually caused all of those tweens to break in mine, so now I'll have to go through and open up each and re-compile! Save and compact is the same as saving the .fla with a different filename - meaning it creates a new version of the .fla file

Re: [Flashcoders] which tool to 3d rotate image?

2006-12-28 Thread Zeh Fernando
I'm trying to figure out which tool is best to 3d rotate an image on a plane. Something like this: http://karmapop.com/content/cardFlip.swf but with a dynamically loaded image on the front and another image on the back with a font superimposed on it. this is going to be a postcard. this is

Re: [Flashcoders] simple load vars function - why doesn't this work?

2006-12-28 Thread Zeh Fernando
Mike Dunlop wrote: function loadMyVars(url,type) { (...) } This always returns false You are creating events and expecting them to run at the same time; they won't. They're just skipped and it goes straight to return false after creating them. When creating your onLoads, you're just

Re: [Flashcoders] Problem with BitmapData

2007-01-05 Thread Zeh Fernando
Ok so I'm having problems with the bitmap data class. I am creating a marquee of images and duplicating them using the draw method. This works fine locally, but when uploaded it does nothing. I figure it has something to do with the fact the I have all my media on a separate server, but I thought

Re: [Flashcoders] Copy negative pixels from a movie clip using draw()

2007-01-10 Thread Zeh Fernando
Hi all, I'm using the BitmapData.draw method, and I've bumped into a problem. I need to copy all the pixels from a movie clip, including the pixels which are on negative coordinates. I've only succeeded copying the ones on positive coordinates. Has anyone experienced the same thing, and,

Re: [Flashcoders] ExternalInterface.call - javascript error

2007-01-23 Thread Zeh Fernando
But they have. There are capital glyphs, and small capital glyphs (smallcaps). They're not capital glyphs with a different size, mind you, as there's change in shape size but not in weight. http://en.wikipedia.org/wiki/Smallcaps The more you learn... Zeh small capital letters? I didn't

Re: [Flashcoders] math simple operation

2007-01-27 Thread Zeh Fernando
I'm kind of disapointed : trace (1.3-1) // traces:0.3 but : trace (9.3-9) // traces: 0.301 trace (100.3-100) //traces: 0.297 ... is there a way that it can traces always 0.3 has it should be normal ?

Re: [Flashcoders] Player 8 fluidity

2007-01-30 Thread Zeh Fernando
Since player 8 is out, it seems to be impossible to make a fluent animation if there are more frames than pixels, i.e a simple 100 pix tween on _x in 50 frames It's not really the player, but the compiler. see example here, it's the same code, juste changed the export player version, and

Re: [Flashcoders] Player 8 fluidity

2007-01-30 Thread Zeh Fernando
related to textfield, as the problem remains the same with a shape or bitmap inside a movieClip... it seems that it's alaways moved on pixels... ++ PiR Zeh Fernando a écrit : Since player 8 is out, it seems to be impossible to make a fluent animation if there are more frames than pixels

Re: [Flashcoders] very basic movie freezing up (???)

2007-01-31 Thread Zeh Fernando
The following movie freezes up for no discernable reason, there's not even any actionscript or tweening or anything. It's just shapes in keys: http://www.mentalpicture.net/misc/test.html The small web file (http://www.mentalpicture.net/misc/test.swf) runs fine directly in the flash player,

Re: [Flashcoders] Antialiasing BitmapData in AS2?

2007-02-05 Thread Zeh Fernando
I guess an algorithm could be conceived that would somehow infer sub-pixel values, but this feels like it would be unnecessary faff, and very slow. Anyone know of a quick-and-dirty way of smoothing a bitmap? I guess I could render at a higher resolution than needed and scale down, to mimic

Re: [Flashcoders] bitmap RLE example

2007-02-05 Thread Zeh Fernando
I have a project that creates comic strips, and the owner would like me to make it so that users can download an image of the comics they create. I have looked around, and found that this is possible to do in Flash 8, but there are some performance considerations. I've seen it mentioned a few

Re: [Flashcoders] AS2 to AS3 migration issues?

2007-02-15 Thread Zeh Fernando
Just wondering if anyone else had this problem. I decided to migrate by asteroids code to AS3, and found most of the commands I used were either completely removed or redefined. It looks like I'm going to have to rewrite the entire program rather thans simply change a few things. Really, really

Re: [Flashcoders] AGAIN!! AS2 Question

2007-02-15 Thread Zeh Fernando
now the question is (even if it maight seen silly but i don't get the concept yet), what is the difference between declaring the variables before methods (after the class declaration) and declaring them inside the method itself, or even in the method parameters??? In short, declaring them on

Re: [Flashcoders] add-in for Flash

2007-02-18 Thread Zeh Fernando
i want to create an add-in for flash. But i don't know if it is possible. There are many add-in tools for software as, for example, PowerPoint. Have you any ideas about how to add menu or options to Flash IDE? where should i work? Yes, there are, through javascript 'macros', and menu and dialog

Re: [Flashcoders] Cache Killer... is it bulletproof ???

2007-03-02 Thread Zeh Fernando
Is this method bulletproof (it works in all browsers on all operating systems)? Is this something that you would really rely on for big projects? Has anyone ever used this method and had big problems with it or even minor glitches? It is bulletproof. There's no reason why it shouldn't work.

Re: [Flashcoders] What is deprecated from AS2 in AS3 ...

2007-03-17 Thread Zeh Fernando
Anyone have a list of what is deprecated from AS2 when migrating to AS3 (or even whats deprecated from AS1 to AS2).I'm currently skimming every single class available in Flash AS2 and want to know what I can skip (i.e: what is no longer relevant).There must be a list of something like this

Re: [Flashcoders] Does ByteLoaded/bytesTotal work loading from CDROM ?

2007-03-19 Thread Zeh Fernando
Does ByteLoaded / bytesTotal work loading from CDROM ? when I try, I get ByeLoaded = byteTotal since the beginning... When loading local content, bytes loaded/total are either 0 or close values, or the correct number of total bytes. There's no streaming process involved as it happens

Re: [Flashcoders] chinese characters

2007-03-20 Thread Zeh Fernando
The problem with Chinese characters and a few other sets (japanese, etc) is that there are too many of them for you to embed, so it either becomes a case that you need 2mb+ of embedded fonts, or simply set the textfield to use _sans or _serif as its font. It should work on this case, because

  1   2   3   >