Hi
Has anyone got experience with using flash and Amazons S3?
What I have to do is send this key to amazon
http://webdeploy/r/mixes/mixreq.aspx?username=+username+mixname=+mixname,
_parent;
Amazon then returns a unique key to me.
I've been trying to use getURL method but all that does is open
hello list,
I am making some tests to discover if it is possibile to pixelize a bitmap
with AS3, with a reasonable speed. I wrote the code below, but it works only
with images until 50x50 (in a quadcore). You can see the effect
http://www.andreithomaz.com/labs/files/pixel/teste1.html.
I would
Hi,
Would it not be quicker to shrink the source bitmap to a size that
is proportional to the pixelized square size, copy the pixels into a
destination bitmap, then scale the destination back to the original size?
Not sure if that works, but just a suggestion.
Glen
Andrei Thomaz
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
hello glen,
it worked fine, thank you. Scaling the bitmaps produces a more discrete
animations (i.e., it is not so continuous; the pixel size is incremented in
such a way that there is no small pixels at the corners), but, for what I
have to do, that is not a problem:
I need to create an animation, increasing the pixel size. The Glen's
suggestion (the same you game) worked fine. Thank you.
andrei
On Fri, Mar 7, 2008 at 11:17 AM, Zeh Fernando [EMAIL PROTECTED]
wrote:
You want to create a mosaic-like effect?
Forget getPixel/setPixel/drawrect.. it'll be
Does this help?
http://www.flash-db.com/Tutorials/transitions/transition.php
regards,
Muzak
- Original Message -
From: Andrei Thomaz [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Friday, March 07, 2008 2:31 PM
Subject: [Flashcoders] pixelizing a
Also have a look at some of these:
http://www.zeropointnine.com/blog/actionscript-halftone-effect
http://www.zeropointnine.com/blog/bitmap-pixel-dissolve
regards,
Muzak
- Original Message -
From: Andrei Thomaz [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
I am getting a type Coercion error. TypeError: Error #1034: Type Coercion
failed
Really the whole goal here is to be able to load swfs (from a different
server) that implement some public api. Then have the loading swf cast the
loaded swf to that api, so code hints and type checking are
Hi list...
Within a V2 ScrollPane, I'm trying to figure out what the top edge and
bottom edge of the content's visible area are. Anyone have an idea?
Thanks,
- Michael M.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
Hi Michael,
The top value is ScrollPane.vPosition, the bottom will be
ScrollPane.vPosition + ScrollPane.height
HTH,
Piers
On 7 Mar 2008, at 20:29, Mendelsohn, Michael wrote:
Hi list...
Within a V2 ScrollPane, I'm trying to figure out what the top edge and
bottom edge of the content's
I have a question about MXML and ActionScript and how they communicate with
each other. I'm working with the State tage to change views. I have a Class
called SpacePorter; it has 4 buttons that dispatchEvents(
MyButton.BUTTON_CLICKED). Space Porter is instantiated into my Home Class.
Home class
If your button in the custom class is broadcasting an event, say for an
example, and event called changed, you can add an event listener in a
script tag in the main MXML. A snippet would be:
private function addListeners():void
{
In addition, your custom class can take a reference to the main Flex
MXML class and use that to change the state right within the class
(though this is not good encapsulation practice!)
To do that, (and I don't know why I'm recommending it bad idea
architecturally...but oh well) you would
Would there be any reason why some code would work on one server and the
same code would not work on another server? I have an application that is
working properly in flash IDE, testing local html and testing server. but
once it goes live to a different server some things do not function
properly.
Helmut Granda wrote:
some things do not function properly.
Can you be more specific? What things?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Elaborate on what the code looks like that has the problem. Without
seeing what you're trying to do, the only reasons I can think of are all
external to the Flash player - Actionscript that calls external stuff
and therefore you can have problems with case (Unix for example, is very
thanks guys this is the code in question:
--
private function alignBases ( ) : void
{
for ( var i : uint = 0 ; i numButtons ; i ++ )
{
var btn: Object ;
var optionBtn: String ;
hello Muzak,
thanks for the links. They made me think that what makes the pixelize effect
so slow are the division need to get the middle value of r, g and b
components of the color. I guess I will stay with the scaling bitmaps
solution.
best regards,
andrei
On Fri, Mar 7, 2008 at 12:23 PM,
The custom class that has the button event is a composite class inside
another class (we'll call that MainInterActive class). MainInterActive is
than instantiated in a main mxml application inside a state node. I could
try what you mentioned but the composite classes' buttons are not really
you probably have to use a LoadVars.sendAndLoad
On Fri, Mar 7, 2008 at 4:28 AM, Barry Duggan [EMAIL PROTECTED]
wrote:
Hi
Has anyone got experience with using flash and Amazons S3?
What I have to do is send this key to amazon
http://webdeploy/r/mixes/mixreq.aspx?username=
Well after hours and hours and hours the problem was the server, so it
is all fixed now and the code works properly.
Thanks again.
On 3/7/08, Helmut Granda [EMAIL PROTECTED] wrote:
thanks guys this is the code in question:
--
private function alignBases ( ) : void
22 matches
Mail list logo