Maybe look into a timer and ans external function
On Thu, Mar 11, 2010 at 5:47 PM, chuckjr itsmechuc...@yahoo.com wrote:
I'm giving up on this one and trying a different approach. I'm loading the
image as a child of the canvas instead of loading it into the
backgroundImage.
--- In
I'm giving up on this one and trying a different approach. I'm loading the
image as a child of the canvas instead of loading it into the backgroundImage.
--- In flexcoders@yahoogroups.com, chuckjr itsmechuc...@... wrote:
Hello all,
I'm building an app where a canvas component gets its
Thanks for the answer. My additional questions would be:
1. Is the sizespeed difference really big?
2. I understand that instead of Shape i could use Canvas, right? What is the
alternative for the SimpleButton in Flex then. I'm really new to Flex.
Best from sunny nut cold Poland,
trzewiczek
Many folks have been quite successful with Flex UIComponent and Button instead
of Shape and SimpleButton. You’d have to have tons of them to really suffer
from the difference.
On 2/5/10 1:55 AM, trzewiczek trzewic...@yahoo.pl wrote:
Thanks for the answer. My additional questions would
@yahoogroups.com
*Subject:* [flexcoders] Re: canvas backgroundimage loadercontext
Thanks for the reply.
Assuming that I am willing to take the risk of the server going down (the
images are stored on Amazon S3 so they are pretty safe), how can I have a
backgroundimage check the policy file, using
--- In flexcoders@yahoogroups.com, rdibona rdib...@... wrote:
Thanks for the reply.
Assuming that I am willing to take the risk of the server going down (the
images are stored on Amazon S3 so they are pretty safe), how can I have a
backgroundimage check the policy file, using
--- In flexcoders@yahoogroups.com, rdibona rdib...@... wrote:
Thanks for the reply.
Assuming that I am willing to take the risk of the server going down (the
images are stored on Amazon S3 so they are pretty safe), how can I have a
backgroundimage check the policy file, using
Thanks for the reply.
Assuming that I am willing to take the risk of the server going down (the
images are stored on Amazon S3 so they are pretty safe), how can I have a
backgroundimage check the policy file, using LoaderContext or otherwise?
This is an app that has been working great for over
Thanks for the reply.
Assuming that I am willing to take the risk of the server going down (the
images are stored on Amazon S3 so they are pretty safe), how can I have a
backgroundimage check the policy file, using LoaderContext or otherwise?
This is an app that has been working great for over
[mailto:flexcod...@yahoogroups.com] On Behalf
Of rdibona
Sent: Friday, March 13, 2009 3:44 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: canvas backgroundimage loadercontext
Thanks for the reply.
Assuming that I am willing to take the risk of the server going down (the
images are stored
import mx.containers.Canvas;
private function onCanvasClick(event:MouseEvent):void
{
if (event.target is Canvas)
{
// do canvas click stuff
}
}
private function onButtonClick():void
{
// do button click stuff
}
-TH
--- In flexcoders@yahoogroups.com,
thx man, worked great !
--- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote:
import mx.containers.Canvas;
private function onCanvasClick(event:MouseEvent):void
{
if (event.target is Canvas)
{
// do canvas click stuff
}
}
private
Hi Kalle,
I was able to get this to work by using the HTMLButton and extending
TabNavigator, TabBar, Tab, and ToggleButtonBar. However, there might be
a little loss of style; since the include statements had to be taken
out. It's too much code to post here. But, contact me offline, if you
Perhaps you should be adding the cards in createChildren() and setting
the x, y, and z in updateDisplayList().
-TH
--- In flexcoders@yahoogroups.com, bmilesp [EMAIL PROTECTED] wrote:
Hello,
I've tried posting this on actionscript.org with no luck.
I have a class that extends canvas and i
mx:Canvas click=doStuff( event ) styleName=myCanvasStyle /
--- In flexcoders@yahoogroups.com, David Pariente [EMAIL PROTECTED] wrote:
i will check it later...im interested in components...
but actually i saw what i mean in plenty of sites, so i guess is
just so difficult to achieve. Maybe
, 2008 16:17:18
Asunto: [flexcoders] Re: canvas with styles and clickable? how to??
mx:Canvas click=doStuff( event ) styleName=myCanvas Style /
--- In [EMAIL PROTECTED] ups.com, David Pariente xxmapachexx@ ... wrote:
i will check it later...im interested in components.. .
but actually i saw
Enviado: jueves, 26 de junio, 2008 16:17:18
Asunto: [flexcoders] Re: canvas with styles and clickable? how to??
mx:Canvas click=doStuff( event ) styleName=myCanvas Style /
--- In [EMAIL PROTECTED] ups.com, David Pariente xxmapachexx@
... wrote:
i will check it later...im interested
Hi, thanks for helping!
Actually the canvas contains the component's instance and so the
component shouldn't need to know anything about the canvas.
I solved the issue with setting explicitWidth and explicitHeight of
the component at change. It made the canvas update automatically.
Before that I
Thank you for your reply!
Explicitly calling is something I didn't try. I thought of doing it,
but it means tighter coupling and also implementation overhead in
handling events etc. I thought if a child's invalidateDisplayList(),
or at least invalidateSize has been called, the the parent container
Ok, I solved this with the setChildAt()
--- In flexcoders@yahoogroups.com, michrx7 [EMAIL PROTECTED] wrote:
How does one go about changing the layer for multiple canvas' in AS3?
I have two canvas' and Canvas2 is slightly on top of Canvas1 and I
want
to switch it so Canvas1 is slightly on
I did what I said before to accomplish what I wanted :
- BitmapData.draw to get a bitmap containing my Canvas snapshot
- UIComponent.scaleX/Y to zoom...
I commented my sources if anyone is interested in using it.
eaurizon.org/labs_maz/AdvancedCanvas/src.zip
The package contains :
- AdvancedCanvas
Hi theo,
Thanks for your answers. I already tested your first solution but i
don't be satisfied because, in my mxml code, i have to define exactly
how many canvas i want to display. is it possible to display canvas
(mxml component) into a canvas object of a mxml application whithout
define
Hi Titipouns,
If I understand you question correctly, I would go with a ViewStack as
a solution. Here is my completed code (I colored each of the Canvases
so you can see the change):
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
Hi Titipouns,
It's me again. Here is my second solution to the question you posted:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
xmlns:com=* layout=absolute
mx:states
mx:State name=addCanvas01
Regarding generating the snapshot or thumbnail drawing... Sorry if
this isn't incredibly helpful, but I'd start with understanding
BitmapData stuff. To do the snapshot I'm guessing you're going to want
to capture the BitmapData of the Canvas (and that will include all the
components it
Yes that is exactly what I needed ! I will come back to you when I
will have solved that clipping issue.
For the zoom feature, I just found a property of the Canvas : scaleX,
scaleY... looks pretty much what I was looking for !
Mathieu LEMAIRE
26 matches
Mail list logo