[flexcoders] Normalize removing my data??? Is this a bug in Flex?

2008-08-20 Thread flexaustin
I have been tracing this bug for two days and finally found it. I don't see how this .normalize method is changing data in other areas of my code? So when makeData is called I pass it xml with child nodes. It is stored in _data and then I se several variables and call the the buildXMLObj method.

Re: [flexcoders] LCDS and real-time performance

2008-08-20 Thread Rogier Oorburg
Hi, Sorry about the long post, I have gathered some more logging information in this mail. To maybe make clearer where all the time is spent. Is there a way to set the packet-size (or 'chunk' size?) to be able to send rather large messages (or a lot of small ones) more efficiently? Or could

Re: [flexcoders] Headless compilation with AdvancedDataGrid

2008-08-20 Thread Sebastien ARBOGAST
I tried with your settings but I'm still having this OutOfMemoryError. 2008/8/20 Jim Hayes [EMAIL PROTECTED] I'm afraid I know very little about ant builds myself, just had the help bookmarked since I've been making a few simple ones myself. I've tried to copy all the swc's from

[flexcoders] WTF is an .ABC file?

2008-08-20 Thread Josh McDonald
What's an .abc file? It's too generic a name for me to be able to google up an answer it seems :( -Josh -- Therefore, send not to know For whom the bell tolls. It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

Re: [flexcoders] WTF is an .ABC file?

2008-08-20 Thread Anirudh Sasikumar
ActionScript Byte Code File. Cheers, -- Anirudh Sasikumar http://anirudhs.chaosnet.org/

Re: [flexcoders] WTF is an .ABC file?

2008-08-20 Thread Josh McDonald
Cheers :) Are they analogous to a .class file, or more complicated? Can you load them at runtime, or only embed them at compile time? Any good reads on the subject? -Josh On Wed, Aug 20, 2008 at 5:34 PM, Anirudh Sasikumar [EMAIL PROTECTED] wrote: ActionScript Byte Code File. Cheers, --

[flexcoders] Re: Accessing two canvas in a viewStack

2008-08-20 Thread pvgirishkumar11
I have finally solved the issue..Solution: when again i initialiize the component it works fine,without anyproblems.. Cheers Girish.. --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: A little confusing at the end. You're probably saying that the component that

[flexcoders] integrating apahe velocity and flex

2008-08-20 Thread Ganesh Suyampirakasam
Hi,          How it is possible to communicate between apache velocity template in server side and adobe flex in client side, is there any method to make the communication possible. my main aim is to use apache template inside adobe flex Regards Ganesh Suyampirakasam Add more friends

Re: [flexcoders] Re: 3rd party compiler for AIR with some extension?

2008-08-20 Thread Berkay Unal
Thanks this will also work out. On Fri, Aug 15, 2008 at 5:03 PM, haykelbj [EMAIL PROTECTED] wrote: don't know if this is what you meant: http://www.shu-player.com/ but this is not a compiler but a tool to wrap AIR applications in exe files. --- In flexcoders@yahoogroups.com

[flexcoders] Re: Send crypted password

2008-08-20 Thread Aymen
Thanks gays for your response, can anyone paste me here a portion of code that help me to use MDS hash. i have download as3crypo.swc, and i can't work with it. so please help. and Thanks Aymen A+

[flexcoders] Re: Flex Newbie help basic Photoviewer

2008-08-20 Thread nmunky
For a start, the reason why the slideshow goes back to the start when you press the 'start slideshow' button is defined in the code for the function onSlideshow, it explicitly states _slideIndex = 0. Without going through the code carefully, I'd say at a guess the slideshow isn't advancing

[flexcoders] can't get XML working -- please help

2008-08-20 Thread vetricom vetricom
Hello, I am trying to use XML object that I want to create and pass around and parse it at the receiving end and I can't get this simple code working. Any help is greatly appreciated. Here is the code. It says xmlVar.MyEvent.x can't be resolved. I tried the lower case as well? but if I dump

[flexcoders] is there a performance hit defining more messaging destinations over a channel?

2008-08-20 Thread ferriejbank
When using LCDS 2.5.1 and Polling-AMF, should I keep the number of destinations to a minimum, perhaps separating them using subtopics? Or is it all going via the same channel anyway and is there no difference in performance to have multiple destinations? Regards, Ferrie Bank

[flexcoders] flex taglibs

2008-08-20 Thread vidhuparthi
In J2EE project we use taglibs for custom actions during the execution of JSP pages, In flex is there any way to use taglibs or is there anyother way to control the flow instead of hard coding it in all places. can anyone help me please??? Thanks in advance

[flexcoders] Importing Address book contacts.

2008-08-20 Thread [EMAIL PROTECTED] Uttarwar
Hi All . There is a requirement in our social networking site of importing address book contacts from yahoo and aol. i want to import it using java. Is there any way that anybody know? or is anybody done before then please let me know asap. Kind Regards, ** *Pravin Uttarwar**| Perennial**

Re: [flexcoders] flex taglibs

2008-08-20 Thread Pedro Sena
Hi, When talking about Flex, you need to compare it more with SWING than JSP. Thinking that way you can work with flex without problems. The best way to structure your code is following the main patterns, I recommend you a framework, like Cairngorm or PureMVC, they can help you to adopt good

[flexcoders] Re: loading flv videos dynamically

2008-08-20 Thread stinasius
hi guys still haven't made progress from my last post. please help me figure out this. thanks alot

[flexcoders] Generic Axis class?

2008-08-20 Thread netdeep
I am creating a chart where the user can specify what type of horizontal axis he desires. Right now, I'm trying to allow both CategoryAxis and DateTimeAxis options. But in the API it seems like these two do not share a useable, generic ancestry. I tried AxisBase and IAxis, but neither

[flexcoders] Vote or loose! MXML diff sucks, let's change it!

2008-08-20 Thread Dmitri Girski
Hi guys, Internal diff tool in FB3 sucks big time. It worked in FB2, but someone decided that this thing is too good for this world and changed it. This ugly proportional font and this terrible performance are just unbearable! Single diff on 1000 lines files takes around 50 seconds. Multiply it

[flexcoders] Re: Normalize removing my data??? Is this a bug in Flex?

2008-08-20 Thread Amy
--- In flexcoders@yahoogroups.com, flexaustin [EMAIL PROTECTED] wrote: I have been tracing this bug for two days and finally found it. I don't see how this .normalize method is changing data in other areas of my code? So when makeData is called I pass it xml with child nodes. It is stored

Re: [flexcoders] WTF is an .ABC file?

2008-08-20 Thread Anirudh Sasikumar
Cheers indeed! abc is analogous to class file except that by itself it cannot be executed by the flash player. It has to be wrapped in a container format known as... (drum roll) ... SWF! -- Anirudh Sasikumar http://anirudhs.chaosnet.org/

[flexcoders] Re: Send crypted password

2008-08-20 Thread gabriela.perry
Hi. Im not a guy, but I can help you ;0) Try googling for corelib. They have an (open) md5 encryption class. Hope it helps

[flexcoders] Re: can't get XML working -- please help

2008-08-20 Thread gabriela.perry
Hi. A call to the first node (the root) is not necessary. Try tracing xmlVar.x instead. Also check these rules for good XML writing at http://www.w3schools.com/xml/xml_dtd.asp Hope it helps :0)

[flexcoders] Label function object access, with array as parameters

2008-08-20 Thread Bernardo Salazar
Hello, I have a calling to a labelFunction, which obviously receives the object with the data that I will choose and concatenate to return and display, example: public function getLabel(dato : Object) : String { return dato.name + + dato.lastname; } I want to pass through an array the

[flexcoders] new message unpublished

2008-08-20 Thread ferriejbank
Hi, Some hours ago I posted a question in this group that still hasnt been published yet. Could the list owner please inform me why this didnt pass moderation? Did I miss a rule for this list, or was there a technical problem why the post didnt come through? Kind regards, Ferrie Bank

Re: [flexcoders] new message unpublished

2008-08-20 Thread Sherif Abdou
It got published, It is right here http://tech.groups.yahoo.com/group/flexcoders/message/122797, It got approved 8/20/2008 6:41AM - Original Message - From: ferriejbank To: flexcoders@yahoogroups.com Sent: Wednesday, August 20, 2008 9:27 AM Subject: [flexcoders] new message

Re: [flexcoders] new message unpublished

2008-08-20 Thread Howard Fore
Is this the one you mean? If so, it did come through... When using LCDS 2.5.1 and Polling-AMF, should I keep the number of destinations to a minimum, perhaps separating them using subtopics? Or is it all going via the same channel anyway and is there no difference in performance to have

[flexcoders] Re: is there a performance hit defining more messaging destinations over a channel?

2008-08-20 Thread ferriejbank
sorry, my subject got truncated... The original question reads: Is there a performance hit defining multiple messaging destinations over the same channel?

[flexcoders] mx.core.Container - Event when child objects have been shifted?

2008-08-20 Thread John Hauf
Hi, I have a question about the mx.core.Container-component. The following I found in the documentation: At the time when this event is dispatched, the scrollbar has been updated to the new position, but the container's child objects have not been shifted to reflect the new scroll position. Is

[flexcoders] Re: new message unpublished

2008-08-20 Thread ferriejbank
Thanks, sorry, must have missed it in the digest. --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: It got published, It is right here http://tech.groups.yahoo.com/group/flexcoders/message/122797, It got approved 8/20/2008 6:41AM - Original Message - From:

[flexcoders] Re: LCDS ds-console WAR

2008-08-20 Thread zdenekmikan
You have to run it through http access (e.g. http://localhost:8400/ds-console/), not by double-clicking on html file in deployed folder. --- In flexcoders@yahoogroups.com, Geoffrey [EMAIL PROTECTED] wrote: Does anyone use it? What does it do? I deployed it, and can run it, but I'm getting

[flexcoders] Re: LCDS: data management and limited access - solved

2008-08-20 Thread zdenekmikan
The setting from my-nio-server configuration does not apply to rtmp channel, the whitelist (or blacklist) has to be configured directly in the rtmp channel description. Zdenek --- In flexcoders@yahoogroups.com, aglosband [EMAIL PROTECTED] wrote: Hi Zdenek, I did some testing of the

[flexcoders] Re: Stupid question regarding sizing of mxml components

2008-08-20 Thread lddarksoul84
--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Have you tried something like this? mx:VBox minHeight=0 id=in1 maxHeight={ _outer.height - in2.height } ... /mx:VBox mx:VBox id=in2

RE: [flexcoders] Why does ComboBox not invalidateSize() on DATA_CHANGE (at least once)?

2008-08-20 Thread Alex Harui
invalidateDisplayList doesn't include invalidateSize. There probably isn't a good reason we don't invalidateSize on a collectionChange. We do on a dataProvider change. Sometimes we don't want to recalc layout on data items changing. From:

[flexcoders] Intriguing AMFPHP sample

2008-08-20 Thread Nik Derewianka
Hi, Was just looking through some blogs on AMFPHP and came across a php snippet that showed: function getSwf() { return new ByteArray(file_get_contents(my.swf)); } But no sample of what to do on the Flex side to turn it back into something useable. How would you convert that ByteArray

Re: [flexcoders] Re: Optimize with callLater() -- help?

2008-08-20 Thread David Ham
Thanks Tracy, this looks great, I'll try it out. OK DAH On Aug 19, 2008, at 8:22 PM, Tracy Spratt wrote: What I usually do is to declare an iIteration:int = 0 variable and an iEndIndex:int = number of iterations instance vars. Then I call a control function, which checks to see if the

[flexcoders] Force updateDisplayList

2008-08-20 Thread markgoldin_2000
I am using updateDisplayList to highlight cells in DG. Users can select some cells and these cells will have different background color. In the underlying data I am setting up some flags that repersent cell's state. Here is a fragment of my code: override protected function

Re: [flexcoders] Re: can't get XML working -- please help

2008-08-20 Thread vetricom vetricom
Hi, Thanks a lot for your reply. Yes your suggestion did fix the issue. After some more search on the google, I did find the issue as well. By default it assigns the root node to the variable. Related to this, I did find another issue related to this which is converting an existing object to

[flexcoders] Question for AIR Application?

2008-08-20 Thread markflex2007
Hi, I want to make sure if AIR can load local application and execute it. Thanks Mark

Re: [flexcoders] Question for AIR Application?

2008-08-20 Thread Doug McCune
nope, unless the local application is another air application that you know specific details about. But in general the answer is no, you can't launch other apps. On Wed, Aug 20, 2008 at 9:58 AM, markflex2007 [EMAIL PROTECTED]wrote: Hi, I want to make sure if AIR can load local application

[flexcoders] Re: XML Document and Navigation

2008-08-20 Thread roopeshjenu
Hi If u r developing with flex then u should refer E4X when u work with XML. flex provide with powerfull xml handling operators like (..), with which u can get to any level if used properly. Regds RJ

[flexcoders] Date type in AIR application?

2008-08-20 Thread markflex2007
Hi, It seems SQLite doesn't have Date type. I am working in a AIR application now. I want to know how to save data with Date type to SQLite and how to read it from SQLite and convert to actionscript date type data. Do you have a simple demo? Thanks Mark

[flexcoders] Coldfusion 8 Air: Connect to online db?

2008-08-20 Thread cox.blair
Question: Can Air, in general, connect to an online database? Can this be done with Coldfusion? I have little information about an Air application retrieving data from online, but it must happen. What I don't want to do is use the SQlite db, all data must be retrieved and stored online -

[flexcoders] Re: Custom Component: Instantiation attempted on a non-constructor.

2008-08-20 Thread bryancostanich
i'm not sure what you mean by 'trying to solve the wrong problem.' all i've done is subclass the Slider class. that's it. nothing more. it compiles and then crashes at runtime and the stack trace points to internal framework errors. without debugging the framework, i was thinking maybe someone

Re: [flexcoders] Question for AIR Application?

2008-08-20 Thread Jo Morano
You would have to start out with C++ and call the flash app directly without AIR. Clearly AIR is not ready for any serious desktop stuff. Use the Active/X control. I'm still trying to figure out how to do it on Mac. Regards -- On Wed, Aug 20, 2008 at 9:58 AM, markflex2007 [EMAIL PROTECTED]wrote:

RE: [flexcoders] Date type in AIR application?

2008-08-20 Thread Kevin Benz
Adobe did add support for dates in SQLite, see excerpt below. The problem is most third party applications that support SQLite don't understand it so you will have limited ability to work with them, for example in the Firefox SQLite Extension For precision and for wider access to the database

RE: [flexcoders] Re: can't get XML working -- please help

2008-08-20 Thread Tracy Spratt
The XML() function will not create an XML class out of an Object. It will only return an XML object if the Object contains and XML object. You can look at the XMLEncoder/decoder, or build the xml manually, which is what I usually do. Tracy From:

[flexcoders] PHP vs. Coldfusion 8 for beginner?

2008-08-20 Thread cox.blair
Okay, so I'm probably going to get a biased response, but which would you say would be the best long term strategy for a beginner to learn to become proficient with? I'm not looking to learn both, I want to pick a combination and stick to it. I suspect it is dependant on your background knowledge

[flexcoders] returning an Array from an ArrayCollection

2008-08-20 Thread Jayson
I have a class that extends PieChart(I'm calling this CustomPie) and I'm passing in an array returned from an ArrayCollection. The new array I've called alternateLegendData. So I define this as a public variable(Object) in the class and I can now pass in a new parameter. My goal is to use this

RE: [flexcoders] Question for AIR Application?

2008-08-20 Thread Kevin Benz
Good luck.. I suggest looking at Mike Chambers Post http://www.mikechambers.com/blog/2008/01/17/commandproxy-net-air-integra tion-proof-of-concept/ regarding the CommandProxy concept. It's interesting reading along with his conclusions. I would almost think the Mac piece might be a little

RE: [flexcoders] Coldfusion 8 Air: Connect to online db?

2008-08-20 Thread Jim Hayes
Yes, AIR can communicate with your server of choice in pretty well the same way as a flex swf can. I've never used coldfusion myself, but there seem to be plenty of online resources regarding flex and coldfusion, so you should be fine. It's important to understand that you'll need to implement a

RE: [flexcoders] Force updateDisplayList

2008-08-20 Thread Alex Harui
You should save off the selectedIndices and restore it From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Wednesday, August 20, 2008 8:36 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Force updateDisplayList

[flexcoders] Re: getChildByName using it to get the value of a textbox

2008-08-20 Thread Jason B
Can i loop through the items in that object example for each(var items:String as dynamicallyCreatedComponents){ var t:TextInput = dynamicallyCreatedComponents[items] as TextInput; Alert.show(t.text); //THROWS ERROR } I was hoping to set the array key dynamically and loop through it

[flexcoders] SOLVED Re: Casting parent to HSlider fails

2008-08-20 Thread bryancostanich
A.. got it, thanks Alex. -b --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Thumb owner gets fixed up, but not the track which is parented by a UIComponent which is a child of the Slider From: flexcoders@yahoogroups.com

[flexcoders] Server self-signed certificate for the air application

2008-08-20 Thread sarakwong
I have a application that is built in the air enviroment. This application is sending http and https messages to a RESTful PHP api server. We are not planning on purchasing a certificate to connect to the server. We would like to use our own self-signed certificate for the server. How

Re: [flexcoders] returning an Array from an ArrayCollection

2008-08-20 Thread Ralf Bokelberg
The as operator might help you out, eg. var a : Array = SomethingFromSomwhere as Array; Ralf. On Wed, Aug 20, 2008 at 7:39 PM, Jayson [EMAIL PROTECTED] wrote: I have a class that extends PieChart(I'm calling this CustomPie) and I'm passing in an array returned from an ArrayCollection. The

[flexcoders] Re: returning an Array from an ArrayCollection

2008-08-20 Thread Jayson
Yeah, Flex suggests that when you do Array(Object) - it gives you a warning and suggests do to what you suggested. That didn't work for me either. --- In flexcoders@yahoogroups.com, Ralf Bokelberg [EMAIL PROTECTED] wrote: The as operator might help you out, eg. var a : Array =

Re: [flexcoders] Re: returning an Array from an ArrayCollection

2008-08-20 Thread Ralf Bokelberg
Hi Jayson What exactly is not working? Ralf. On Wed, Aug 20, 2008 at 8:32 PM, Jayson [EMAIL PROTECTED] wrote: Yeah, Flex suggests that when you do Array(Object) - it gives you a warning and suggests do to what you suggested. That didn't work for me either. --- In

[flexcoders] Re: Force updateDisplayList

2008-08-20 Thread markgoldin_2000
You mean set selectedIndex on a DG to the saved one while loading a copy? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: You should save off the selectedIndices and restore it From: flexcoders@yahoogroups.com [mailto:[EMAIL

Re: [flexcoders] Headless compilation with AdvancedDataGrid

2008-08-20 Thread Sebastien ARBOGAST
I managed to get it working: target name=main depends=wrapper mxmlc file=${src.dir}/index.mxml output=${output.dir}/index.swf keep-generated-actionscript=false jvmarg value=-Xmx1024M / jvmarg value=-Xms256M / load-config filename=${FLEX_HOME}/frameworks/flex-config.xml / source-path

Re: [flexcoders] PHP vs. Coldfusion 8 for beginner?

2008-08-20 Thread Mike Chabot
You are correct that there are a lot of factors, but if your UI is Flex, then ColdFusion is certainly a better starting point. Both Flex and CF are made by the same company and ColdFusion 8 includes Flex and LCDS integration without needing to install anything else. Most of the books and examples

Re: [flexcoders] PHP vs. Coldfusion 8 for beginner?

2008-08-20 Thread Howard Fore
I think you could probably do well in either. I've worked in both. I think that there's a lot to ColdFusion's Java underpinnings that allow you to take advantage of Java libraries in the open source world. Since you mention reports, you should know that CFReport/ReportBuilder are based on some

Re: [flexcoders] PHP vs. Coldfusion 8 for beginner?

2008-08-20 Thread Guilherme Blanco
It's a bit offtopic, but let's go... I'd suggest you PHP. Why? Because it's similar to a lot of languages and the learn path to these others will be minimized. Learning PHP you'll be able to learn C, Java, ... Like if you learn a tab-based language (read as ColdFusion) you'll have some hard times

Re: [flexcoders] PHP vs. Coldfusion 8 for beginner?

2008-08-20 Thread Howard Fore
To take this further off-topic, what is it about your PHP experiences that have taught you Java and C? What similarities do you find between PHP and other languages? On Wed, Aug 20, 2008 at 2:53 PM, Guilherme Blanco [EMAIL PROTECTED] wrote: I'd suggest you PHP. Why? Because it's similar to a

Re: [flexcoders] PHP vs. Coldfusion 8 for beginner?

2008-08-20 Thread Blair Cox
Thanks Guilherme, we¹ve just come to the same conclusion. Given the cost of implementing ColdFusion and the limited number features we are currently interested in using, we simply can¹t justify the switch. PHP appears to be able to do everything we want to do and it is rooted deeply in our current

Re: [flexcoders] PHP vs. Coldfusion 8 for beginner?

2008-08-20 Thread Guilherme Blanco
Pay attention to the way you write your software and you notice what am I meaning... Notice to syntax, it's the main reason I said that. In ColdFusion, to define a variable you do a tag like in HTML: cfset message=Hello World! In PHP: $message = (string) Hello World!; In C#: string message =

Re: [flexcoders] PHP vs. Coldfusion 8 for beginner?

2008-08-20 Thread Guilherme Blanco
Just keep in mind that PHP doesn't do everything. There're thousands of things PHP can't handle while Java for example does very well. BBBUTTT... when PHP isn't able to do, it has bridges to communicate with someone else that does. What am I talking about? PHP has an extension to communicate

Re: [flexcoders] PHP vs. Coldfusion 8 for beginner?

2008-08-20 Thread Howard Fore
On Wed, Aug 20, 2008 at 3:19 PM, Guilherme Blanco [EMAIL PROTECTED] wrote: Pay attention to the way you write your software and you notice what am I meaning... Notice to syntax, it's the main reason I said that. You left out cfscript for cf: message = Hello world!; and if (message eq

[flexcoders] Re: returning an Array from an ArrayCollection

2008-08-20 Thread Jayson
The Array that is being passed in to the class, is in the format of Object, not Array. The array is coming from an ArrayCollection, and I am using getItemAt to reference it. Below is my PieChart class. It will display the first object in the array as an item in the chart legend, but only the

RE: [flexcoders] Re: getChildByName using it to get the value of a textbox

2008-08-20 Thread Gordon Smith
If you want to loop over the keys (the names of the components), you need a for-in loop: for (var key:String in dynamicallyCreatedComponents) A for-each-in loop loops over the values (the references to the componetns). There is no such thing as a for-each-as loop as you've written

Re: [flexcoders] PHP vs. Coldfusion 8 for beginner?

2008-08-20 Thread Guilherme Blanco
Talking about implementation similarities, you're true. PHP has almost nothing related to Java. As an example, I'll show you how to concatenate an array using a separator in PHP and Java: PHP: $myArray = array(1, 2, 3, 4, 5); $myString = implode(', ', $myArray); echo $myString; // prints: 1, 2,

Re: [flexcoders] Re: returning an Array from an ArrayCollection

2008-08-20 Thread Ralf Bokelberg
Yep, it is the initializer for the array, which isn't correct. Array({label: 'A', label: 'B', label: 'C', label: 'D'}); This creates an array with one object having a label property. If you want to create an array of four objects with a label property, you have to write it like that:

Re: [flexcoders] Intriguing AMFPHP sample

2008-08-20 Thread Aaron Miller
ObjectUtil.toString(result) and see what it is. I'm curios to know too. Best Regards, ~Aaron On Wed, Aug 20, 2008 at 8:22 AM, Nik Derewianka [EMAIL PROTECTED] wrote: Hi, Was just looking through some blogs on AMFPHP and came across a php snippet that showed: function getSwf() { return

[flexcoders] Re: returning an Array from an ArrayCollection

2008-08-20 Thread Jayson
Perfect! That makes sense. Thank you! Now I just have to figure out how to have the correct colors chosen dynamically. --- In flexcoders@yahoogroups.com, Ralf Bokelberg [EMAIL PROTECTED] wrote: Yep, it is the initializer for the array, which isn't correct. Array({label: 'A', label: 'B',

[flexcoders] ::: uploading Fonts into a live site--possible?

2008-08-20 Thread artur_desig2dev
just wondering if anyone achieved this successfully yet? from both a mac and pc. is this doable via Air? basically embed the user's local font into a shared swf. then upload and share that swf's embedded font set with the main site swf? ( after recompiling everything on the server of course )

RE: [flexcoders] Re: Force updateDisplayList

2008-08-20 Thread Alex Harui
Yes From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Wednesday, August 20, 2008 11:40 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Force updateDisplayList You mean set selectedIndex on a DG to the

RE: [flexcoders] Re: Custom Component: Instantiation attempted on a non-constructor.

2008-08-20 Thread Alex Harui
We can't, (and don't) want to see all your app, so I don't know if you mucked with the styles or not, but the stack trace indicates that's what's going on. Normally there shouldn't be a problem with subclassing like you did. From: flexcoders@yahoogroups.com

RE: [flexcoders] mx.core.Container - Event when child objects have been shifted?

2008-08-20 Thread Alex Harui
Code looks like updateComplete is the right event. A component's x,y will not change when scrolled, it is the container's viewport that is moving. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John Hauf Sent: Wednesday, August 20,

RE: [flexcoders] Label function object access, with array as parameters

2008-08-20 Thread Alex Harui
Dato is an item in your dataProvider. You can have it reference that array, or you can associate the array with the List in some way, or associate the array with the renderer. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bernardo

RE: [flexcoders] Re: ItemRenderer returns empty Object instead of encapsuled data - update

2008-08-20 Thread Alex Harui
No, there is no explicit documentation of this issue. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of florian.salihovic Sent: Tuesday, August 19, 2008 10:33 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ItemRenderer

RE: [flexcoders] Question about binding via AS

2008-08-20 Thread Alex Harui
I think you have to call unwatch otherwise the CW may not get GC'd From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Tuesday, August 19, 2008 10:57 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Question about

RE: [flexcoders] ::: uploading Fonts into a live site--possible?

2008-08-20 Thread Lukas Ruebbelke
Pulling this off would be a legal quagmire that would basically walk all over any licensing the local font has. _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of artur_desig2dev Sent: Wednesday, August 20, 2008 1:30 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Normalize removing my data??? Is this a bug in Flex?

2008-08-20 Thread Alex Harui
Isn't it because the XMLList has references to the original nodes and not copies? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Tuesday, August 19, 2008 11:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

[flexcoders] Re: ::: uploading Fonts into a live site--possible?

2008-08-20 Thread artur_desig2dev
how so? a - its for use for only that user's site..not to share for other people's site..or anywhere else. so its no different if they made their site by themselves with that font. b - youtube solves this by making each user confirm they own their content..ie font in this case.

Re: [flexcoders] FTP question

2008-08-20 Thread Samuel Neff
Not possible in web hosted Flex. Even with FP10 which supports reading and writing local files with restrictions, you can't iterate through files in a direcory and upload them. AIR can do it though, if that's an option for you. Sam

[flexcoders] Re: ::: uploading Fonts into a live site--possible?

2008-08-20 Thread Jayson
I think that if you have a SWF inside an SWF, you cannot communicate between the two. I've never needed to try this, but this is what I've read. --- In flexcoders@yahoogroups.com, artur_desig2dev [EMAIL PROTECTED] wrote: how so? a - its for use for only that user's site..not to share for

[flexcoders] Re: ::: uploading Fonts into a live site--possible?

2008-08-20 Thread artur_desig2dev
Runtime Shared Libraries? http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:Flex_3_RSLs

Re: [flexcoders] Question about binding via AS

2008-08-20 Thread yigit
When u create a binding from object A to B, a reference is added to A. (A keeps a reference to B). It will not be garbage collected until you unwatch the changeWatcher it or delete A. So if your concern is whether u need to keep a reference to ChangeWatcher object returned by mx.binding.utils

[flexcoders] Re: Force updateDisplayList

2008-08-20 Thread markgoldin_2000
I am doing it here: override public function set dataProvider(value:Object):void { super.dataProvider = value; if (dataProvider.length != 0) { var cursor:IViewCursor = (dataProvider as ICollectionView).createCursor(); var recNum:int = 0;

Re: [flexcoders] Re: Force updateDisplayList

2008-08-20 Thread yigit
did u try callLater ? Make your code that sets the selectedIndex a function and call it using calllater. http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1438.html yigit markgoldin_2000 wrote: I am doing it here: override public

Re: [flexcoders] Why does ComboBox not invalidateSize() on DATA_CHANGE (at least once)?

2008-08-20 Thread Josh McDonald
I think it'd make sense to do it, at least when you're going from an empty collection to one with items in it. Thanks for the clarification Alex. On Thu, Aug 21, 2008 at 1:13 AM, Alex Harui [EMAIL PROTECTED] wrote: invalidateDisplayList doesn't include invalidateSize. There probably isn't

Re: [flexcoders] Question about binding via AS

2008-08-20 Thread Josh McDonald
I'd say if A is long-lived you'd definitely want to keep a reference to the watcher so you can unwatch it, or at least re-use it :) Just thinking of the best way to have an editor component have the VO injected but still be able to know when the entire object is replaced behind its back. I think

[flexcoders] Problems implementing tweening in FLEX

2008-08-20 Thread anuj181
Hi All I implemented transition with effects in Flash using the following code. My aim is as soon as user rolls over the arrow it brings up the menu.As long as the mouse remains on the menu, the menu stays else menu goes away. I am succesful in implmenting that in Flash.I used Tween and changes

[flexcoders] Slider Change Events on Resize

2008-08-20 Thread wwwpl
I am getting slider control change events when the user changes the size of the application or when I go into fullscreen view. Is this a bug? I have 2 different sliders on 2 screens and I am getting the same from both.

RE: [flexcoders] Re: ::: uploading Fonts into a live site--possible?

2008-08-20 Thread Kyle Quevillon
Like this: http://blog.flexmonkeypatches.com/2007/02/12/changing-embedded-true-type-fonts-at-runtime-in-flex-applications/ http://blog.flexmonkeypatches.com/2007/02/23/using-modules-to-change-embedded-true-type-fonts-at-runtime-in-flex-applications/

RE: [flexcoders] Normalize removing my data??? Is this a bug in Flex?

2008-08-20 Thread Jim Hayes
XML has a copy method that might help here : from the docs : Example This example shows that the copy() method creates a new instance of an XML object. When you modify the copy, the original remains unchanged: var xml1:XML = foo /; var xml2:XML = xml1.copy(); xml2.appendChild(bar /);

[flexcoders] constraint Columns/Rows problem

2008-08-20 Thread reflexactions
I have a canvas inside of which I have set the following constraints: mx:constraintColumns mx:ConstraintColumn id=col1 width=25/ mx:ConstraintColumn id=col2 width=100%/ /mx:constraintColumns mx:constraintRows mx:ConstraintRow id=row1 height=25/ mx:ConstraintRow

[flexcoders] regexp problem

2008-08-20 Thread ibo
Hi guys, this might be a trivial prob but Im having problem with regexp pattern. This wont compile: var singleDatePattern:RegExp = \d{2}(/)\d{2}(/)\d{4}; I've tried this: var singleDatePattern:RegExp = new RegExp(/\d{2}(/)\d{2}(/)\d{4}/); but it wont match against the string 08/20/2008.

Re: [flexcoders] regexp problem

2008-08-20 Thread Josh McDonald
Try var regex : RegExp = /\d{2}\/\d{2}\/\d{4}/; On Thu, Aug 21, 2008 at 9:35 AM, ibo [EMAIL PROTECTED] wrote: Hi guys, this might be a trivial prob but Im having problem with regexp pattern. This wont compile: var singleDatePattern:RegExp = \d{2}(/)\d{2}(/)\d{4}; I've tried this:

Re: [flexcoders] regexp problem

2008-08-20 Thread ibo
Thanks. Worked for me :) - Original Message From: Josh McDonald [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, August 20, 2008 7:40:48 PM Subject: Re: [flexcoders] regexp problem Try var regex : RegExp = /\d{2}\/\d{2} \/\d{4}/; On Thu, Aug 21, 2008 at 9:35 AM,

  1   2   >