You are basically trying to convert data from one format to another, so
you'll have to loop through all of it.
My previous post contained a rough code for the recommended way of doing
what you did. If you define an actual class with fields, you'll get
much better performance and type-safety
Flex always has a timer running. Use the profiler to see how many
timers there are and who created them.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Austin Kottke
Sent: Saturday, October 27, 2007 6:01 PM
To:
No official release date as of yet, and you can't force an upgrade to it
either until it is officially released.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of danielvlopes
Sent: Saturday, October 27, 2007 2:47 PM
To:
Hi Dan,
There is no stacktrace, this is the only thing i get.
- Original Message
From: Daniel Freiman [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, October 27, 2007 9:02:27 PM
Subject: Re: [flexcoders] Error with htmlText property of TextArea - Error
#2044:
hi everyone,
many times I encounter this kind of situation.
when I change the framerate to a higher number, say 60. there is some
flicker on some graphics code(ex: switch image etc.). however, if I low
the framerate to 10-30. everything is smooth.
I guess if I set the framerate to a number
I just installed the latest beta. When I run (clicking the play button
NOT the debug button), I get the dialog box that says Where is the
debugger or host application running? with radio buttons saying
localhost or other machine. Actually debugging in debugging mode works
fine, just not
Hi Alex, thanks for answer, you think can take long?
Thanks, bye.
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
No official release date as of yet, and you can't force an upgrade to it
either until it is officially released.
I had thought that too, but think about it, if you have a script that
runs for a minute users are not going to be happy. You need to break
that up into smaller parts so that the UI can update and the user
doesn't think it's broken. In fact I like the default of 15 seconds,
it helps me to
I think that this is because the beta player installs to a different
file than the official release. I think that flex is checking for
the official release and doesn't find it. I don't think there is a
way to turn off this warning, at least I haven't found one. I've
reverted back to the
I think maybe you're confused about what final is used for.
http://livedocs.adobe.com/flex/201/langref/statements.html#final
HTH,
Ben
--- In flexcoders@yahoogroups.com, arieljake [EMAIL PROTECTED] wrote:
Could you declare the productList final and force future modifiers
to call removeAll()
hi ,
here is the simple code
var image1:Image;
var image2:Image;
public function init():void
{
image1 = new Image();
image1.x = image1.y = 0;
image1.width = image1.height = 200;
image1.source = U:\\6.jpg;
image2 = new Image();
image2.source = U:\\5.jpg;
image2.x = image2.y = 0;
image2.width
by flickering, i mean there is a time between the change, the
background show up. then the second iamge appear.
i find only the first time i do the switch, the flicker appear.
seems any UIComponent the first time be drawn needs two frames to show
up.
Thanks, I'll look into this.
On 10/27/07, Bailey [EMAIL PROTECTED] wrote:
Alex probably meant BitmapData.threshold()
Anyways perhaps this actionscript example might help you
http://www.sephiroth.it/tutorials/flashPHP/thresold/
On 10/27/07, Alex Harui [EMAIL PROTECTED] wrote:
Maybe
try percentWidth verses witdh
On Oct 28, 2007, at 8:36 AM, George Georgiou wrote:
Hi there,
This is a very simple but I can't get it work. I have a panel and I
want to change it's with to 100% by means of ActionScript. Here's
what I do:
public function changeWidth():void {
Ok, if you're getting this from an rss feed then you're not going to like
this. Also this solution uses mx_internal. If you don't know what that is,
it's a set of methods/properties, that adobe says may change so they should
be used with extreme care because your code might break on updates.
thanks... how does one revert back to the older flash player?
--- In flexcoders@yahoogroups.com, Paul Decoursey [EMAIL PROTECTED] wrote:
I think that this is because the beta player installs to a
different
file than the official release. I think that flex is checking for
the official
I'm a newbie and have, what I think is, a simple task:
I have a BubbleChart populated from an ArrayCollection consisting
of fields name, x, y, and size. I populate an adjoining List
with the name field. I would like to be able to select on, possibly
multiple, names in the List and have the bubble
At Adobe Max 2007 I went to a session on creating custom components in
Flex. The example component used in the session was a custom carousel
component where objects would tween along a circular path. The source
for this example class was never released, but I am fairly certain
that the math for
Hi George,
yeah the width property will only take an integer so you must use the
percentProperty to set a percent.
So something like this would be fine~
public function changeWidth():void
{
mainPanel.percentWidth = 100;
}
On 10/28/07, George Georgiou [EMAIL PROTECTED] wrote:
correct.
9.0.60 is a beta, i.e. not ready for primetime. In fact the beta is
now... 9.0.64?
-radley
On Oct 27, 2007, at 2:46 PM, danielvlopes wrote:
Hello,
Anyone know when adobe will release flash player 9.0.60 for every
user?
If i'm not wrong, i think flash player 9.0.60 only
The more I play with this, the more I am convinced that it is acting
wrong because of Flex. I am watching the Apache server access.log as
the data goes by. And I just can't figure this out. My apologies for
the cross-post with Flash-Tiger group but I haven't heard anything and
thought it might be
I'm working with transitions. I'm trying apply an effect to a component,
then removing children, replacing children, and then applying another effect
to the component. This is working except that before the first effect
plays, the child indexes/z-order get all screwed up. Since I'm using a
I also have a use case that makes this limit very hurtful. Setting a 60
second limit because you think that users might be unhappy arrogantly
assumes you know what my app is doing.
What if FlexBuilder blew up anytime your project took longer than 60
seconds to compile? Would you be happy?
Use HTTPService. Don't mess with contentType, but send your xml as a
string in a name=value pair. Set the method as post. Set
resultFormat=e4x. It will work without any problems,
Tracy
Sample code using HTTPService, e4x, handler function to populate a list
item.
Also shows usage of
Hi all,
I'm having this strange problem while uploading file in flex using
FileReference, that even though I set the the request attribute on the
flex side, and I verified that before I call fileRef.upload, the
URLRequest object has all the attributes I set in its data property.
But when the
Hi,
Here's what I'm trying to do. Load in an xml file, assign this to a
settings singleton which extends flash_proxy and then bind to these
properties.
Essentially:
public function setupXMLProxy( contentToProxy:XML ):void {
logger.debug( setupXMLProxy() called. )
Hi,
what is a quick way to find out what colors are being used in a Bitmap
(loaded image)? As far as I know it is only possible looping through
each pixel in the bitmap.
Basically, I need to find the each color instance to create a Color
Palette/Swatch/Table for that image.
Thanks,
Claudia
Hi,
This might be a really petty question to ask, but I will great
appreciate if someone can answer.
How can I trigger a function in my main application mxml, from a popup
window(title window/panel) after a submit button click. (I am trying to
change the state of my main application by
Hi,
This might be a really petty question to ask, but I will greatly
appreciate if someone can answer.
How can I trigger a function in my main application mxml, from a popup
window(title window/panel) after a submit button click. (I am trying to
change the state of my main application by
Listen to the closeEvent from the popup and call the function from
the handler.
Bjorn
On 29/10/2007, at 12:10 PM, kalpkat9 wrote:
Hi,
This might be a really petty question to ask, but I will greatly
appreciate if someone can answer.
How can I trigger a function in my main application
I wasn't at Max, but have you seen this, http://labs.zeh.com.br/blog/?
p=95 ?
Bjorn
On 29/10/2007, at 1:34 AM, snowjunkie73 wrote:
At Adobe Max 2007 I went to a session on creating custom components in
Flex. The example component used in the session was a custom carousel
component where
Thanks for taking your time to respond, Bjorn.
I am triggering a function called submitData() from the click event of
my button inside the popup window.
private function submitData():void{
mainApp.currentState.name = secondState;
}
This doesnt seem to accomplish what I wish for (of changing the
Try from in the mainApp scope.
http://livedocs.adobe.com/labs/flex3/html/help.html?
content=controls_22.html
?xml version=1.0?
!-- controls\alert\AlertIcon.mxml --
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Script
![CDATA[
import mx.controls.Alert;
ok, I guess this will suffice if the popup was just an alert. but the
popup window i am working on is a component by itself with datagrids
and states, so i have to trigger the with button click from this
titlewindow/popup window component. how is that i could access a
function in the mainApp.mxml
I guess you would have to consider coupling.
You could have your mainApp register as a listener to your popup.
dispatch an event from your popup that triggers the method in your
mainApp view.
I guess you could also register your mainApp as a 'mediator' of your
component popup.
Normally i
For starters, the presentation you're referring from Michael Labriola to was
just posted online: http://blogs.digitalpri
mates.net/codeSlinger/index.cfm/2007/10/28/Max-Presentation
The basic idea that I think makes sense for you to approach the problem with
is that you want a function that lays
BTW, check out Josh Tynjala's writeup of some of the new stuff that's going
to be in ECMAScript:
http://www.zeuslabs.us/2007/10/28/discover-ecmascript-4-the-future-of-actionscript/
Included is Map :)
You can read the document outlining some of the new stuff in ECMAScript 4
here:
If changeState() was public you could call
Application.application.changeState() from the popup
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of kalpkat9
Sent: Sunday, October 28, 2007 7:56 PM
To: flexcoders@yahoogroups.com
Subject:
Image loading is asynchronous and could take any number of frames on a
slow network.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of icykorpio
Sent: Sunday, October 28, 2007 8:03 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
I would expect it to be before or on the date of Flex 3.0
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of danielvlopes
Sent: Sunday, October 28, 2007 6:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: flash player 9.0.60
Note sure, but you might need to set the method in URLRequest.
request.method = URLRequestMethod.POST;
-abdul
On 10/29/07, letterpigeon [EMAIL PROTECTED] wrote:
Hi all,
I'm having this strange problem while uploading file in flex using
FileReference, that even though I set the the
If that same evil person can get to your hosts file, that's the fault of
the OS and not Flash.
Yup! Machine is already compromised and that guy can do lots of other things
:)
-abdul
On 10/27/07, Alex Harui [EMAIL PROTECTED] wrote:
That's right. The goal of crossdomain.xml is to limit
Yup! To avoid that you can load the image in other loader and swap it once
it's loaded...Something like double-buffering..
-abdul
On 10/29/07, Alex Harui [EMAIL PROTECTED] wrote:
Image loading is asynchronous and could take any number of frames on a
slow network.
Note sure, if HTTPService allows anything beyond text You can use
URLLoader to send the data to server..
-abdul
On 10/25/07, Jeff Schuenke [EMAIL PROTECTED] wrote:
Hello All,
I need to do a screen capture of a UIComponenet and allow the user to save
this to their local drive. I
45 matches
Mail list logo