RE: [flexcoders] filterFunction on ArrayCollection

2007-08-26 Thread Alex Harui
When does startFIlter get called? Can you post the entire call stack with the error? startFilter may be called before the result from the HTTPService. Add trace statements to startFilter and the result handler and see which one gets called first. From: flexcoder

Re: [flexcoders] tree display not refreshing

2007-08-26 Thread Toby Tremayne
Thanks for that, I'll try switching to manipulating the datadescriptor and see how it goes. Toby On 27/08/2007, at 16:30 , Alex Harui wrote: In short, you can't use XMLList or Array manipulation, you must access children via the dataDescriptor so the Tree gets notifications of the chang

RE: [flexcoders] Printing having the mutliple PrintDataGrid

2007-08-26 Thread Alex Harui
You would use the example to print the first datagrid, then start over with the same PDG and different columns and dataprovider. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rajanjainflex Sent: Sunday, August 26, 2007 4:17 PM To: flexcod

RE: [flexcoders] tree display not refreshing

2007-08-26 Thread Alex Harui
In short, you can't use XMLList or Array manipulation, you must access children via the dataDescriptor so the Tree gets notifications of the changes (and use XMLListCollection or ArrayCollection methods). I hope to find a way to allow XMLList in Moxie, but no guarantees.

RE: [flexcoders] Verify an Object in Memory.

2007-08-26 Thread Alex Harui
Not sure I understand. Do you want to know if a class had an instance made from it? I'd put a static variable like a counter in the constructor. Do you want to use keyboard to switch between a Flash App and Windows? Or between popups in a Flex app? Or use the mouse to switch Windows? Flex han

RE: [flexcoders] Play multiple SWF files in SWF loader (Detect SWF(SWFLoader) finish playing

2007-08-26 Thread Alex Harui
It depends on the SWF. Pure frame-based animation swfs can be checked for currentFrame = totalFrames. Anything that uses script-based animations requires an event from the script. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ary Sent: S

Re: [flexcoders] how to add new event for button?

2007-08-26 Thread Carlo Gulliani
sorry, i forget say, it'squestion from as 2.0 and flash - Original Message From: Carlo Gulliani <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Monday, August 27, 2007 10:07:15 AM Subject: Re: [flexcoders] how to add new event for button? button,

Re: [flexcoders] how to add new event for button?

2007-08-26 Thread Carlo Gulliani
button, which was maded in flash, but it's in different swf's. I want to do new rule to all buttons. - Original Message From: Tracy Spratt <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Monday, August 27, 2007 3:32:36 AM Subject: RE: [flexcoders] how to add new event for button

RE: [flexcoders] Play multiple SWF files in SWF loader (Detect SWF(SWFLoader) finish playing

2007-08-26 Thread Ary
Yes, i did think this solution before, i should generate some event at the end of the frame, the problem is that i might dont have access to all the swf..the swf might come from somewhere and i cant put a trigger inside it. ary. --- Tracy Spratt <[EMAIL PROTECTED]> wrote: > "playing", huh, tha

Re: [flexcoders] filterFunction on ArrayCollection

2007-08-26 Thread Ary
Hi Guys, make sure you have a crossdomain. xml file on ur server< could you explain me more details on this? :)thank you Also, this is probably not the best thing: playlist=userReques t.lastResult. videolink. video < yes im getting my data, since at first its not filtered and it return all the da

Re: [flexcoders] filterFunction on ArrayCollection

2007-08-26 Thread Arpit Mathur
make sure you have a crossdomain.xml file on ur server On 8/26/07, Tracy Spratt <[EMAIL PROTECTED]> wrote: > >"Works local but not on server" often indicates a security issue. Are > you sure you are getting your data? > > > > Also, this is probably not the best thing: > > playlist=userRequest

[flexcoders] Re: Flex builder and VISTA

2007-08-26 Thread ben.clinkinbeard
FB3 supports Eclipse 3.3 --- In flexcoders@yahoogroups.com, "Andrew Scott" <[EMAIL PROTECTED]> wrote: > > Its an Eclipse 3.2 thing. > > And Adobe really should support Eclipse 3.3, because it has serious problems > running under Vista on Eclipse 3.2. > > > On 8/26/07, rieraraul <[EMAIL PROTECT

[flexcoders] Verify an Object in Memory.

2007-08-26 Thread Rodrigo Pereira Fraga
how I can verify if an Object was instancied, (mxml or as3)? and.. i need to make the logic to advance and to back of the windows common in MSWindowsÂ… somebody has an idea of which would be the best solution? Good Week! Thanks!

[flexcoders] file upload max?

2007-08-26 Thread grimmwerks
Is the max filesize 100 megs? Testing upload functionality and it seems to be working, but I'm testing the max size, and huge files (224megs) report that they upload but then they're not there on the server...

[flexcoders] tree display not refreshing

2007-08-26 Thread Toby Tremayne
When I drag an item into my tree or I delete a node, I'm finding the tree display is becoming corrupt - it copies some of the branches / nodes to the bottom of the tree. If I then expand or collapse a node the display refreshes and fixes itself. I've tried calling tree.invalidateDisplayLi

Re: [flexcoders] Making custom class data global

2007-08-26 Thread Tony Alves
Don, I currently use a similar method of authenticating my users in Flex and store user access information. My method might not be the best, but it works well for my configuration. I am using modules and other components that check login information. Here it is: I store all user data in an objec

Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-26 Thread hank williams
lol. You cant take my statement 100% literally. Yeah I know this is a programmers forum but how about allow for a little err... creative license. There is almost nothing that is 100% true. But there are *very* few programs that are sold today that do not have a connected component. I used to write

Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-26 Thread hank williams
> I disagree. I am not certain how Director works, since I've never > used it except to make movies that were then integrated into > Authorware, but Authorware has the ability to either incorporate the > runtime into the content file as a new exe or to provide it > separately. The fact that

Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-26 Thread Tony Alves
Jeffry, What about the updates in Flex Builder? Updates check the internet. I do agree that not all apps are connected to the internet. Jeffry Houser wrote: > > > Interesting perspective. I believe it is incorrect. I use many > desktop applications that do not need /have connectivity. Flex Buil

Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-26 Thread hank williams
> > > > AIR apps *cannot* currently be distributed on CD. > > I'm unsure of specifics, but why not? It will be a 'version 1' > feature, per this FAQ: > > > http://labs.adobe.com/wiki/index.php/AIR:Developer_FAQ#Can_I_create_CD-ROM_or_Kiosk_applications_that_leverage_Adobe_AIR.3F > > If they ha

[flexcoders] Making custom class data global

2007-08-26 Thread donvoltz
What is the best way to make the data in a custom class globally accessible to a multi-component application? I have a custom component called userlogin that consists of a form and connects to a database. When a user correctly logs in, the database returns a number of fields of data that I then us

Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-26 Thread Jeffry Houser
hank williams wrote: >> > >> > Actually, AIR uses special non publicly available pieces of the flash >> > platform to make installing totally seamless. When you click on an AIR >> > app to download, it it leverages this not publicly available stuff to >> > download the AIR runtime in the ba

RE: [flexcoders] how to add new event for button?

2007-08-26 Thread Tracy Spratt
Extend Button? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carlo Gulliani Sent: Sunday, August 26, 2007 12:51 PM To: Flexcoders Subject: [flexcoders] how to add new event for button? Hi, everybody. Sorry for offtop, but i

Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-26 Thread Jeffry Houser
Interesting perspective. I believe it is incorrect. I use many desktop applications that do not need /have connectivity. Flex Builder is one great example. hank williams wrote: > > > > > > I'm saying that there is no market for AIR in non-connected desktop > > applications. > > > >

RE: [flexcoders] filterFunction on ArrayCollection

2007-08-26 Thread Tracy Spratt
"Works local but not on server" often indicates a security issue. Are you sure you are getting your data? Also, this is probably not the best thing: playlist=userRequest.lastResult.videolink.video Use a result handler function to assign the event.result(don't use lastResult, it is intende

[flexcoders] Re: AIR vs DLL vs. External code?

2007-08-26 Thread droponrcll
--- In flexcoders@yahoogroups.com, "hank williams" <[EMAIL PROTECTED]> wrote: > > On 8/25/07, Jeffry Houser <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > hank williams wrote: > > > > > > > > > > > So in your mind, Adobe's goal of being cross platform should be > > > > > abando

[flexcoders] Printing having the mutliple PrintDataGrid

2007-08-26 Thread rajanjainflex
Hi, I have modified the Adobe Example and now i am having multiple printdatagrid.Now i wan to show the complete data of the first datagrid and then show the complete data the second datagrid. Any ideas how to do that? Thanks Rajan

[flexcoders] Problem with htaccess dirs in Internet Explorer

2007-08-26 Thread Randy Cooper
This is gonna sound crazy but maybe somebody's been through this before... 1) Created cool flex app 2) Posted to live server and tested (yeah, it works!) 3) Locked down dir using a htaccess file and tested. 4) Works great in Firefox 5) Prompts for authentication in IE but shows no data (app does a

Re: [flexcoders] Flex builder and VISTA

2007-08-26 Thread Andrew Scott
Its an Eclipse 3.2 thing. And Adobe really should support Eclipse 3.3, because it has serious problems running under Vista on Eclipse 3.2. On 8/26/07, rieraraul <[EMAIL PROTECTED]> wrote: > > Hi, I'm using Flex Builder 3 with Windows Vista, and the "syntax > coloring doesn't work, I see all th

RE: [flexcoders] Play multiple SWF files in SWF loader (Detect SWF(SWFLoader) finish playing

2007-08-26 Thread Tracy Spratt
"playing", huh, that must be some of that Flash stuff. I don't do Flash, yet, so I'm probably not the one to answer this, but I am pretty sure that your swf is gong to have to dispatch an event that your parent app can listen for. Tracy From: flexcoders@ya

[flexcoders] how to reset Date validator

2007-08-26 Thread gur_sukh
Hi all, I have a date Mask on a TextInput field which works fine. I attached a dateValidator to this field which works. The problem is that once we enter a date and then deletes it the validator complains for the mask. That is for something like DD\12\2006 it says type the Date in the format

RE: [flexcoders] filterFunction on ArrayCollection

2007-08-26 Thread Ary
Hi Alex, thx for replying, yes i thought so too...but if it is...it won't work on local either..but it works on localhost... here's the code private function startFilter(toFilter:String):void { categoryString=toFilter; tabSwitch(toFilter); playlist=userRequest.lastResult

RE: [flexcoders] Total Number of Items in a Tree

2007-08-26 Thread Alex Harui
Depends on what number you're looking for. The total number of possible nodes or the total number based on what nodes are open? The latter, for large trees can be calculated by checking maxVerticalScrollPosition and adding the number of visible rows (rowCount).

RE: [flexcoders] filterFunction on ArrayCollection

2007-08-26 Thread Alex Harui
please post some code. Sounds like you might be filtering before the results come back from the server. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ary Sent: Sunday, August 26, 2007 9:00 AM To: flexcoders@yahoogroups.com Subject: RE: [

[flexcoders] Re: AIR vs Janus/Zinc?

2007-08-26 Thread candysmate
--- In flexcoders@yahoogroups.com, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > janus is win only though, right? > Win right now with Pocket PC and Symbian mobile phone support in the next release (I've been testing the beta). I have no idea as to their Mac intentions, if any.

[flexcoders] Re: Problem with Event listeners

2007-08-26 Thread donvoltz
Hi Shaun, Thank you, this is all it took to get this to work. Sincerely, Don

Re: [flexcoders] AIR vs Janus/Zinc?

2007-08-26 Thread [EMAIL PROTECTED]
janus is win only though, right?

[flexcoders] how to add new event for button?

2007-08-26 Thread Carlo Gulliani
Hi, everybody. Sorry for offtop, but i dont know what is doing( I've main scene (_root), in which load some swf's... My swf files have a lot of buttons How can I add new properties for button, that when mouse rollover playing special sound... I can write so: button.onRollover = function(){

[flexcoders] AIR vs Janus/Zinc?

2007-08-26 Thread candysmate
What are the views here regarding AIR vs using exe wrappers such as Janus or Zinc? For those asking themselves "WTF? ..." here are the links. :) Janus: http://www.spaghettisort.com/cms/ Zinc: http://www.multidmedia.com I'm really getting 100% behind using Janus with Flex as it's really working o

RE: [flexcoders] Play multiple SWF files in SWF loader (Detect SWF(SWFLoader) finish playing

2007-08-26 Thread Ary
Hi Tracy, Yes, but how to detect when a swf (loaded by swfloader) finish playing?so i can point to the next swf? i cant found any sample or reference to do this :( thanks in advance for the enlightment. ary. --- Tracy Spratt <[EMAIL PROTECTED]> wrote: > Just set the SWFLoader.source property

RE: [flexcoders] filterFunction on ArrayCollection

2007-08-26 Thread Ary
Yes, i called a php file who generate data from mysql strange ..cause it works fine on my localhost but not when i upload it to server. --- Alex Harui <[EMAIL PROTECTED]> wrote: > Are you filtering when the result event comes back > from the webservice? > > > >

Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-26 Thread hank williams
The issue I was referring to was whether it would be possible to do so without being online and Via CD. My understanding was that this was not the case. These two concepts I suspect are not in conflict. The FAQ merely says that people will be able to write their own installers. Writing your own ins

Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-26 Thread Thijs Triemstra | Collab
On Aug 26, 2007, at 10:52 AM, hank williams wrote: > > AIR apps *cannot* currently be distributed on CD. The SDK can, just as > the Flex SDK can or any library or compiler can. The SDK is just > libraries, and distributing them via CD does not mean that the > resulting apps can be distributed via

Re: [flexcoders] Problem with Event listeners

2007-08-26 Thread shaun
Howdy, donvoltz wrote: > Hi Everyone, > > I continue to struggle with getting an event listener to work. I have > a main mxml file where I am adding two custom components, a login > component and a control bar for the application. I can not seem to get > the control bar to respond to an event dis

[flexcoders] Problem with Event listeners

2007-08-26 Thread donvoltz
Hi Everyone, I continue to struggle with getting an event listener to work. I have a main mxml file where I am adding two custom components, a login component and a control bar for the application. I can not seem to get the control bar to respond to an event dispatched from the login component. Wo

Re: [flexcoders] Memory leaks - binding to e4x XML?

2007-08-26 Thread Scott - FastLane
Alex - No feathers ruffled at all... I just wanted to make it clear that I take the accuracy of the information very seriously. My goal is to help others avoid the types of problems that I ran into. When more accurate information becomes available I will be sure to update as appropriate. I

Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-26 Thread Claus Wahlers
hank williams wrote: > I think in 2007 we can almost safely say there is no market for *any* > non-connected desktop applications, with or without AIR. Bold words... Cheers, Claus.

[flexcoders] Total Number of Items in a Tree

2007-08-26 Thread Stefan Schmalhaus
I'm using the Tree component with an XMLListCollection as data provider. Is there an easy way to tell the total number of items in the tree? The XMLListCollection's length property gives me only the number of items on the first level of the hierarchy. Do I have to recursively run through the XMLLis

Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-26 Thread hank williams
> > I'm saying that there is no market for AIR in non-connected desktop > applications. > > -- I think in 2007 we can almost safely say there is no market for *any* non-connected desktop applications, with or without AIR. Hank

Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-26 Thread hank williams
> > > > > Actually, AIR uses special non publicly available pieces of the flash > > platform to make installing totally seamless. When you click on an AIR > > app to download, it it leverages this not publicly available stuff to > > download the AIR runtime in the background. > > That all s

[flexcoders] Flex builder and VISTA

2007-08-26 Thread rieraraul
Hi, I'm using Flex Builder 3 with Windows Vista, and the "syntax coloring doesn't work, I see all the text black (much like notepad) then when I "hit enter between the tags" some of the tags get the proper colors. Is this a windows thing? or a Flex builder thing? Thanks