Well, let's not assume anything:
private function parseArrayCollection():void
{
var myString:String = ;
for each ( var myObject:Object in myAC )
{
myString += myObject.label + | + myObject.data + ||;
}
trace(myString);
}
-TH
--- In
I've got a SWF on my website that loads images and videos from another
domain. If a client loads my web page and accesses the images, will the
traffic be routed through my ISP?
For instance, myowndomain.com hosts my.swf which loads images from
youtube and flickr. Some person on their own ISP
Not sure I understand why you're doing this but you could try to
individually access each nested object until you get to the desired
object; then you access its content. I rewrote the loop of your code to
do this.
?xml version=1.0 encoding=utf-8?
mx:Application
Is the directory that contains PromptingTextInput included in the source-path
when you run asdoc?
Stephen
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of arisco97
Sent: Thursday, June 04, 2009 4:54 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] asdoc
weird how adobe does that kind of thing, as I remember I used + sign to concat
a variable and string somewhere else but then they use no + sign ? Why the
inconsistency.
It works by the way
--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:
Try:
for each(var item:Object in
ItemRenderers are used for list based controls. When you want to
customize the look and feel of buttons, you must do it through their
skins. You can use a programmatic skin to do it.
However, from your text, I think that what you want to do is actually
add an icon to each item in the list shown
Thanks Yves,
I think that will work :)
The reason I want to do this is because I'm working on a component to allow
multiple filters to be easily assigned to a DataGrid
(http://tech.groups.yahoo.com/group/flexcoders/message/143771), and to also be
able to work with multi-dimensional
This is one of my itemrenderers:
package Renderers
{
import mx.controls.*;
import mx.controls.dataGridClasses.DataGridListData;
import mx.core.IFactory;
public class LinkCellField extends LinkButton implements IFactory
{
public function LinkCellField ()
Oh, forgot to add the code for a cell clicked event:
myDataGrid.addEventListener(ListEvent.ITEM_CLICK, cellClicked);
private function cellClicked(event:ListEvent):void
{
if(event.columnIndex == 0) // Or whatever column you want
{
navigateToURL(new URLRequest('rediff.com'));
Hi Denis,
If you've compiled using the RSL instead of merged code, you will
need to locate the framework file (in your case:
framework_3.2.03958.swf) on the computer used to compile and push that
file to your web server along with your application swf's...when you use
the RSL's and make
--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:
Try:
for each(var item:Object in nutritionXML[carousel].itemdata)
Another syntax that's more reliable and understandable is:
for each (var item:XMLList in nutritionXML.child(carousel).child(itemdata)) {
//stuff
}
--- In flexcoders@yahoogroups.com, Gordon Smith gosm...@... wrote:
Sorry, I don't have an update on that, Amy. Maybe Vera knows, so I've cc'd
her.
Thanks :-)
Exactly what I needed, and it works just as expected.
Thank you very much, Tracy!
--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:
You can do:
this[chart].series = currentSeries;
if linechart0 is an id for a component instance or a property of this
Tracy
Hello,
Suddently Amfphp is not working with my application. Before it was working
well.
I have the message :
Channel Disconnected before an acknowledgment was received.
Thank you,
Christophe,
That's right. The browser will contact YouTube and Flickr directly to
load content from those websites. Only the SWF will be loaded from
your site.
On 6/5/09, steve horvath flexcod...@stevehorvath.com wrote:
I've got a SWF on my website that loads images and videos from another
domain. If a
i had this error frequently while using ZendAMF. It was always a
Problem with the PHP code. Some call to a method which did not exist,
a class method call without $this, or any other minor thing which
should cause PHP to send a warning, but in conjunction with ZendAMF
(since
Could someone please explain to me how closures work in ActionScript? I
am attempting to create a set of Flex Form fields, and assign an
event-handler to each of them, however, it seems that after creation,
all of the fields have the same event handler.
For example:
var i:int = 0;
for
I wouldn't do it that way. I would add one event handler for all textinputs and
then figure out which textinput generated the event.
input.addEventListener(change, changeHandler);
private function changeHandler(event:Event):void
{
Alert.show(event.target.parent.label);
}
--- In
Yeah, that really is better. I just have used the bracket notation for so
much longer than e4x that I forget.
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Amy
Sent: Friday, June 05,
Yes. A gigantic 15 items. ;) I wouldn't have thought going through a list
of 15 items would be quite so processor intensive.
Though even if it's just 5 items and I use Array instead of ArrayCollection,
it's still choppy.
The problem isn't so much that it's scanning through the entire
Not sure if anyone is using ruby on rails and flex, but has anyone see this
error ( No action responded to swfobject) before?
Can't seem to find anything? Here is how I am using swfobject.
script type=text/javascript src=swfobject.js/script
script type=text/javascript
http://rrao.host.adobe.com/screencasts/DCD_WS.swf
By the way also check out this one also:
http://blog.flexgeek.in/2009/05/flash-builder-4-demo-dashboard-with-google-app-engine-built-in-10-mins/
Looks very clean, Tim!
I've been itching to create a sample showing MVP. Yours looks great!
On Thu, Jun 4, 2009 at 5:35 PM, Tim Hofftimh...@aol.com wrote:
Hi all,
For any of you interested in learning more about the Maté framework, I've
created a sample that's publically available. It's a
Thanks Richard, I appreciate it. Most of my good stuff is behind
coporate firewalls, so I wanted to put something out there that might
help others in the community.
Thanks again,
-TH
--- In flexcoders@yahoogroups.com, Richard Rodseth rrods...@... wrote:
Looks very clean, Tim!
I've been
--- In flexcoders@yahoogroups.com, Cordova Aaron basic...@... wrote:
I've looked at several examples using google. All the examples sort on an XML
attribute, but I want to sort on a value of a particular tag.
http://tech.groups.yahoo.com/group/flexcoders/message/121808
Thank you so so much.
--- On Fri, 6/5/09, valdhor valdhorli...@embarqmail.com wrote:
From: valdhor valdhorli...@embarqmail.com
Subject: [flexcoders] Re: Creating Link inisde a Data Grid Collumn
To: flexcoders@yahoogroups.com
Date: Friday, June 5, 2009, 7:59 AM
Just a shot in the dark here... I could be completely wrong, I dont use
closures much in AS.
Does AS3 have block scope? (I suspect not). If not, then you're recycling the
variable 'input' each time you loop. So each time you add a new event listener
to 'input', you're adding it to all your
Hi Jason,
Have you tried it from within the itemRenderer? Something like:
private var adg : AdvancedDataGrid;
override public function set data(value:Object):void
{
super.data = value;
adg = owner as AdvancedDataGrid;
}
override protected function updateDisplayList( w:Number,
--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:
Yeah, that really is better. I just have used the bracket notation for so
much longer than e4x that I forget.
except it should be
nutritionXML.child(carousel).child('itemdata')
oops
:o)
Hi All,
Can anyone else confirm the following bug? When using a SoundTransform
to set the Microphone volume to 0 (to avoid feedback), you get the
expected silent behavior with the default Nellymoser codec, while still
seeing microphone activity. If you switch the Microphone's codec to
SPEEX,
Hi Keith,
Main issue is that there is nothing to distinguish the TextInput instances.
Plus the I iterative isn¹t working because it indeed will be that last
number of the loop it¹s not being used for anything else or assigned to
anything.
To get around this, you could assign a different name
Hi Keith,
Main issue is that there is nothing to distinguish the TextInput instances.
Plus the I iterative isn't working because it indeed will be that last number
of the loop it's not being used for anything else or assigned to anything.
To get around this, you could assign a different name
Here is some code of what I am using today:
private function startAliveDeadCheck():void {
startMonitor(127.0.0.1, 80);
}
private function startMonitor(location:String, port:uint):void {
monitor = new SocketMonitor(location, port);
for each ( var item:Object in socketsToMonitor )
{
trace(item.ip);
}
-TH
--- In flexcoders@yahoogroups.com, Raymond Brown silenttr...@...
wrote:
Here is some code of what I am using today:
private function startAliveDeadCheck():void {
startMonitor(127.0.0.1, 80);
}
private
I couldn't find a bug related to this in JIRA so I went ahead and
created one, in case anyone would like to vote for it:
https://bugs.adobe.com/jira/browse/FP-2161
Thanks,
Ryan
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Ryan Graham
Sent: Friday,
I have a XML which has nodes .
Nodes has lot of values which has comma separated values
123,345
457,98
99,1232
When i Do a grouping in my advanced Data Grid i noticed that if data has comma
in the values , the display does not show up .
But if i remove the comma , it works perfectly fine
On Fri, Jun 5, 2009 at 7:58 PM, Keith Hughittkeith.hugh...@gmail.com wrote:
Could someone please explain to me how closures work in ActionScript? I am
attempting to create a set of Flex Form fields, and assign an event-handler
to each of them, however, it seems that after creation, all of the
Actually this works
nutritionXML.child(carousel).itemdata
NOT THIS
nutritionXML.child(carousel).child(itemdata)
the second one seems to give me back the first itemdata node not all of them
for the foreach, just an FYI for any future googler looking at this response
I found out the reason for the below issue, it has to do something with max
wait time, it was 10 seconds, when I increased to 20 seconds it started working
fine. When accessing from out of country, it is still throwing the same error
message, I think it is because it takes little longer to
39 matches
Mail list logo